Changeset 12877 for trunk/admin
- Timestamp:
- Jan 12, 2012, 6:57:43 AM (13 years ago)
- Location:
- trunk/admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/profile.php
r8728 r12877 3 3 // | Piwigo - a PHP based photo gallery | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2008-201 1Piwigo Team http://piwigo.org |5 // | Copyright(C) 2008-2012 Piwigo Team http://piwigo.org | 6 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -
trunk/admin/themes/default/template/profile_content.tpl
r12470 r12877 82 82 {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS} 83 83 </li> 84 <li>85 <span class="property">86 <label for="maxwidth">{'Maximum photo width'|@translate}</label>87 </span>88 <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}">89 </li>90 <li>91 <span class="property">92 <label for="maxheight">{'Maximum photo height'|@translate}</label>93 </span>94 <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{$MAXHEIGHT}">95 </li>96 84 </ul> 97 85 </fieldset> -
trunk/admin/themes/default/template/user_list.tpl
r12482 r12877 255 255 </tr> 256 256 257 <tr>258 <td>{'Maximum photo width'|@translate}</td>259 <td>260 <label><input type="radio" name="maxwidth_action" value="leave" checked="checked"> {'leave'|@translate}</label>261 <label><input type="radio" name="maxwidth_action" value="unset"> {'unset'|@translate}</label>262 <label><input type="radio" name="maxwidth_action" value="set" id="maxwidth_action_set"> {'set to'|@translate}</label>263 <input onmousedown="document.getElementById('maxwidth_action_set').checked = true;"264 type="text" size="4" maxlength="4" name="maxwidth" value="{$MAXWIDTH}">265 </td>266 </tr>267 268 269 <tr>270 <td>{'Maximum photo height'|@translate}</td>271 <td>272 <label><input type="radio" name="maxheight_action" value="leave" checked="checked"> {'leave'|@translate}</label>273 <label><input type="radio" name="maxheight_action" value="unset"> {'unset'|@translate}</label>274 <label><input type="radio" name="maxheight_action" value="set" id="maxheight_action_set"> {'set to'|@translate}</label>275 <input onmousedown="document.getElementById('maxheight_action_set').checked = true;"276 type="text" size="4" maxlength="4" name="maxheight" value="{$MAXHEIGHT}">277 </td>278 </tr>279 280 281 257 </table> 282 258 -
trunk/admin/user_list.php
r12681 r12877 386 386 $formfields = 387 387 array('nb_image_page', 'theme', 'language', 388 'recent_period', ' maxwidth', 'expand', 'show_nb_comments',389 'show_nb_hits', ' maxheight', 'status', 'enabled_high',388 'recent_period', 'expand', 'show_nb_comments', 389 'show_nb_hits', 'status', 'enabled_high', 390 390 'level'); 391 391 … … 561 561 array( 562 562 'NB_IMAGE_PAGE' => $_POST['nb_image_page'], 563 'MAXWIDTH' => $_POST['maxwidth'],564 'MAXHEIGHT' => $_POST['maxheight'],565 563 'RECENT_PERIOD' => $_POST['recent_period'], 566 564 )); … … 572 570 array( 573 571 'NB_IMAGE_PAGE' => $default_user['nb_image_page'], 574 'MAXWIDTH' => $default_user['maxwidth'],575 'MAXHEIGHT' => $default_user['maxheight'],576 572 'RECENT_PERIOD' => $default_user['recent_period'], 577 573 ));
Note: See TracChangeset
for help on using the changeset viewer.