Changeset 2447 for alternc/trunk/bureau/admin/adm_list.php
- Timestamp:
- 01/28/09 21:02:01 (4 years ago)
- File:
-
- 1 edited
-
alternc/trunk/bureau/admin/adm_list.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/bureau/admin/adm_list.php
r2446 r2447 38 38 } 39 39 40 $r=$admin->get_list($_REQUEST['show'] == 'all' ? 1 : 0); 40 $creator_id = intval($_REQUEST['creator']); 41 42 $r=$admin->get_list($_REQUEST['show'] == 'all' ? 1 : 0, $creator_id); 41 43 42 44 include("head.php"); … … 54 56 <?php if($_REQUEST['show'] != 'all') { 55 57 echo '<br /><a href="adm_list.php?show=all">' . _('List all the accounts') . '</a>'; 58 59 if ($cuid == 2000) { 60 $list_creators = $admin->get_creator_list(); 61 $infos_creators = array(); 62 63 foreach ($list_creators as $key => $val) { 64 $infos_creators[] = '<a href="adm_list.php?show_all&creator=' . $val['uid'] . '">' . $val['login'] . '</a>'; 65 } 66 67 if (count($infos_creators)) { 68 echo ' (' . implode(', ', $infos_creators) . ')'; 69 } 70 } 56 71 } else { 57 72 echo '<br /><a href="adm_list.php">' . _('List only my accounts') . '</a>';
Note: See TracChangeset
for help on using the changeset viewer.
