Changeset 1079 for trunk/admin


Ignore:
Timestamp:
Mar 14, 2006, 10:31:31 PM (19 years ago)
Author:
rub
Message:

Step 2 improvement issue 0000127:

o Allow to chage high property on user list
o Set initial value for the 2 default users

+ Correction of permissions.png in user list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/user_list.php

    r1072 r1079  
    9797                u.'.$conf['user_fields']['username'].' AS username,
    9898                u.'.$conf['user_fields']['email'].' AS email,
    99                 ui.status
     99                ui.status,
     100                ui.enabled_high
    100101  FROM '.USERS_TABLE.' AS u
    101102    INNER JOIN '.USER_INFOS_TABLE.' AS ui
     
    273274      foreach ($page['filtered_users'] as $filter_key => $filter_user)
    274275      {
    275         if (in_array($filter_user['id'], $collection))
    276         {
    277           unset($page['filtered_users'][$filter_key]);
    278         }
     276        if (in_array($filter_user['id'], $collection))
     277        {
     278          unset($page['filtered_users'][$filter_key]);
     279        }
    279280      }
    280281    }
     
    337338    array('nb_image_line', 'nb_line_page', 'template', 'language',
    338339          'recent_period', 'maxwidth', 'expand', 'show_nb_comments',
    339           'maxheight', 'status');
    340  
    341   $true_false_fields = array('expand', 'show_nb_comments');
     340          'maxheight', 'status', 'enabled_high');
     341 
     342  $true_false_fields = array('expand', 'show_nb_comments', 'enabled_high');
    342343 
    343344  foreach ($formfields as $formfield)
     
    452453    'L_ORDER_BY' => $lang['order_by'],
    453454    'L_ACTIONS' => $lang['actions'],
     455    'L_PROPERTIES' => $lang['properties'],
    454456    'L_PERMISSIONS' => $lang['permissions'],
    455457    'L_USERS_LIST' => $lang['title_liste_users'],
     
    802804      'STATUS' => $lang['user_status_'.$local_user['status']],
    803805      'EMAIL' => isset($local_user['email']) ? $local_user['email'] : '',
    804       'GROUPS' => $groups_string
     806      'GROUPS' => $groups_string,
     807      'PROPERTIES' => (isset($local_user['enabled_high']) and ($local_user['enabled_high'] == 'true')) ? $lang['is_high_enabled'] : $lang['is_high_disabled']
    805808      )
    806809    );
Note: See TracChangeset for help on using the changeset viewer.