enabled) { $msg->raise("ERROR", "admin", _("This page is restricted to authorized staff")); echo $msg->msg_html_all(); include_once('foot.php'); exit(); } $fields = array( "show" => array("request", "string", ""), "creator" => array("request", "integer", 0), "short" => array("request", "integer", -1), "pattern" => array("request", "string", "*"), "pattern_type" => array("request", "string", "login"), ); getFields($fields); if (empty($pattern)) $pattern = "*"; if ($short != -1) { $mem->adminpref($short); $mem->user["admlist"] = $short; } $subadmin = variable_get("subadmin_restriction", 0); // If we ask for all account but we aren't "admin" and // subadmin var is not 1 if ($show == "all" && !$subadmin == 1 && $cuid != 2000) { $msg->raise("ERROR", "admin", _("This page is restricted to authorized staff")); echo $msg->msg_html_all(); include('foot.php'); exit(); } // show all accounts by default for admin-like accounts if (($show=="")&&($subadmin == 1 || $cuid == 2000)) $show="all"; if ($pattern && $pattern_type) { $accountList = $admin->get_list($show == 'all' ? 1 : 0, $creator, $pattern, $pattern_type); } else { $accountList = FALSE; } ?>
()
raise("ERROR", "admin", _("No account defined for now")); echo $msg->msg_html_all(); include('foot.php'); } ?> user["admlist"] == 1) { // SHORT MODE ?> [ ] [ ] [ ]50) { ?> " /> 50 ?>
'; } else { echo ' | '; } // if $val["su"] ?> | " title="">[ ] " title="">[ ] checkcreator($val['uid'])||($show=="all")) { ?> " title="">[ ]checkcreator $creator_name = ( ($val['creator'] == '0') ? _("himself") : $list_creators[$val['creator']]['login']) ?> | "> | '; } ++$count_r; } // foreach $accountList ?>
" />