diff options
author | mistic100 <mistic@piwigo.org> | 2011-04-09 14:52:15 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2011-04-09 14:52:15 +0000 |
commit | 76194270be6a529ff499900ed61e6266d2347d34 (patch) | |
tree | a4b94f25ffab5ce812ece8757d9365f55cb9bf4f /admin/user_list.php | |
parent | fe28570fdf8754467a35d6b03c1ff13dc536beea (diff) |
bug:2224 one parameter for change thumnails number (needs some translations)
git-svn-id: http://piwigo.org/svn/trunk@10198 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/user_list.php')
-rw-r--r-- | admin/user_list.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/admin/user_list.php b/admin/user_list.php index 18e9ce2b4..eb17f1137 100644 --- a/admin/user_list.php +++ b/admin/user_list.php @@ -384,7 +384,7 @@ DELETE FROM '.USER_GROUP_TABLE.' $dbfields = array('primary' => array('user_id'), 'update' => array()); $formfields = - array('nb_image_line', 'nb_line_page', 'theme', 'language', + array('nb_image_page', 'theme', 'language', 'recent_period', 'maxwidth', 'expand', 'show_nb_comments', 'show_nb_hits', 'maxheight', 'status', 'enabled_high', 'level'); @@ -559,8 +559,7 @@ if (isset($_POST['pref_submit'])) { $template->assign( array( - 'NB_IMAGE_LINE' => $_POST['nb_image_line'], - 'NB_LINE_PAGE' => $_POST['nb_line_page'], + 'NB_IMAGE_PAGE' => $_POST['nb_image_page'], 'MAXWIDTH' => $_POST['maxwidth'], 'MAXHEIGHT' => $_POST['maxheight'], 'RECENT_PERIOD' => $_POST['recent_period'], @@ -571,8 +570,7 @@ else $default_user = get_default_user_info(true); $template->assign( array( - 'NB_IMAGE_LINE' => $default_user['nb_image_line'], - 'NB_LINE_PAGE' => $default_user['nb_line_page'], + 'NB_IMAGE_PAGE' => $default_user['nb_image_page'], 'MAXWIDTH' => $default_user['maxwidth'], 'MAXHEIGHT' => $default_user['maxheight'], 'RECENT_PERIOD' => $default_user['recent_period'], |