Ignore:
Timestamp:
Jun 11, 2005, 4:10:04 PM (19 years ago)
Author:
plg
Message:
  • errors and informations boxes : management centralized in admin.php, $errors and $infos arrays replaced by $pageerrors and $pageinfos, special management for admin/update.php (more complex management)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/user_list.php

    r787 r792  
    4646if (isset($_POST['submit_add']))
    4747{
    48   $errors = register_user($_POST['login'],
    49                           $_POST['password'],
    50                           $_POST['password'],
    51                           '');
     48  $page['errors'] = register_user($_POST['login'],
     49                                  $_POST['password'],
     50                                  $_POST['password'],
     51                                  '');
    5252}
    5353
     
    5555// |                       preferences form submission                     |
    5656// +-----------------------------------------------------------------------+
    57 
    58 $errors = array();
    5957
    6058if (isset($_POST['pref_submit']))
     
    194192$base_url = add_session_id(PHPWG_ROOT_PATH.'admin.php?page=user_list');
    195193
    196 $conf['users_page'] = 20;
     194$conf['users_page'] = 10;
    197195
    198196if (isset($_GET['start']) and is_numeric($_GET['start']))
Note: See TracChangeset for help on using the changeset viewer.