Changeset 12877 for trunk/admin


Ignore:
Timestamp:
Jan 12, 2012, 6:57:43 AM (12 years ago)
Author:
rvelices
Message:

remove max photo width/height from user profile because not used anymore

Location:
trunk/admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/profile.php

    r8728 r12877  
    33// | Piwigo - a PHP based photo gallery                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2011 Piwigo Team                  http://piwigo.org |
     5// | Copyright(C) 2008-2012 Piwigo Team                  http://piwigo.org |
    66// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    77// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
  • trunk/admin/themes/default/template/profile_content.tpl

    r12470 r12877  
    8282        {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS}
    8383      </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>
    9684    </ul>
    9785  </fieldset>
  • trunk/admin/themes/default/template/user_list.tpl

    r12482 r12877  
    255255  </tr>
    256256
    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 
    281257</table>
    282258
  • trunk/admin/user_list.php

    r12681 r12877  
    386386  $formfields =
    387387    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',
    390390          'level');
    391391
     
    561561    array(
    562562      'NB_IMAGE_PAGE' => $_POST['nb_image_page'],
    563       'MAXWIDTH' => $_POST['maxwidth'],
    564       'MAXHEIGHT' => $_POST['maxheight'],
    565563      'RECENT_PERIOD' => $_POST['recent_period'],
    566564      ));
     
    572570    array(
    573571      'NB_IMAGE_PAGE' => $default_user['nb_image_page'],
    574       'MAXWIDTH' => $default_user['maxwidth'],
    575       'MAXHEIGHT' => $default_user['maxheight'],
    576572      'RECENT_PERIOD' => $default_user['recent_period'],
    577573      ));
Note: See TracChangeset for help on using the changeset viewer.