reformatting; should be ignorable

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@118 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
David Goodwin 17 years ago
parent e4f2e45039
commit 72991a4aa6

@ -25,11 +25,9 @@ require_once("../common.php");
authentication_require_role('global-admin'); authentication_require_role('global-admin');
$list_admins = list_admins (); $list_admins = list_admins();
if ((is_array ($list_admins) and sizeof ($list_admins) > 0)) if ((is_array ($list_admins) and sizeof ($list_admins) > 0)) {
{ for ($i = 0; $i < sizeof ($list_admins); $i++) {
for ($i = 0; $i < sizeof ($list_admins); $i++)
{
$admin_properties[$i] = get_admin_properties ($list_admins[$i]); $admin_properties[$i] = get_admin_properties ($list_admins[$i]);
} }
} }

@ -31,12 +31,9 @@ authentication_require_role('global-admin');
$list_admins = list_admins (); $list_admins = list_admins ();
if ($_SERVER['REQUEST_METHOD'] == "GET") if ($_SERVER['REQUEST_METHOD'] == "GET") {
{ if (isset ($_GET['username'])) {
if (isset ($_GET['username']))
{
$fUsername = escape_string ($_GET['username']); $fUsername = escape_string ($_GET['username']);
$list_domains = list_domains_for_admin ($fUsername); $list_domains = list_domains_for_admin ($fUsername);
if ($list_domains != 0) if ($list_domains != 0)
{ {

Loading…
Cancel
Save