Changeset 10857


Ignore:
Timestamp:
May 12, 2011, 3:11:33 PM (13 years ago)
Author:
flop25
Message:

merge r10856 from trunk to branch 2.2
bug:2297
stripslashes added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/admin/user_list.php

    r10006 r10857  
    236236        sprintf(
    237237          l10n('user "%s" added'),
    238           $_POST['login']
     238          stripslashes($_POST['login'])
    239239          )
    240240        );
     
    385385
    386386  $formfields =
    387     array('nb_image_line', 'nb_line_page', 'theme', 'language',
     387    array('nb_image_page', 'theme', 'language',
    388388          'recent_period', 'maxwidth', 'expand', 'show_nb_comments',
    389389          'show_nb_hits', 'maxheight', 'status', 'enabled_high',
     
    560560  $template->assign(
    561561    array(
    562       'NB_IMAGE_LINE' => $_POST['nb_image_line'],
    563       'NB_LINE_PAGE' => $_POST['nb_line_page'],
     562      'NB_IMAGE_PAGE' => $_POST['nb_image_page'],
    564563      'MAXWIDTH' => $_POST['maxwidth'],
    565564      'MAXHEIGHT' => $_POST['maxheight'],
     
    572571  $template->assign(
    573572    array(
    574       'NB_IMAGE_LINE' => $default_user['nb_image_line'],
    575       'NB_LINE_PAGE' => $default_user['nb_line_page'],
     573      'NB_IMAGE_PAGE' => $default_user['nb_image_page'],
    576574      'MAXWIDTH' => $default_user['maxwidth'],
    577575      'MAXHEIGHT' => $default_user['maxheight'],
Note: See TracChangeset for help on using the changeset viewer.