mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/tags/postfixadmin-2.0.2@1 a1433add-5e2c-0410-b055-b7f2511e0802
42 lines
908 B
PHP
42 lines
908 B
PHP
<?php
|
|
//
|
|
// File: list-admin.php
|
|
//
|
|
// Template File: list-admin.tpl
|
|
//
|
|
// Template Variables:
|
|
//
|
|
// -none-
|
|
//
|
|
// Form POST \ GET Variables:
|
|
//
|
|
// -none-
|
|
//
|
|
require ("../variables.inc.php");
|
|
require ("../config.inc.php");
|
|
require ("../functions.inc.php");
|
|
include ("../languages/" . $CONF['language'] . ".lang");
|
|
|
|
$list_admins = list_admins ();
|
|
for ($i = 0; $i < sizeof ($list_admins); $i++)
|
|
{
|
|
$admin_properties[$i] = get_admin_properties ($list_admins[$i]);
|
|
}
|
|
|
|
if ($_SERVER['REQUEST_METHOD'] == "GET")
|
|
{
|
|
include ("../templates/header.tpl");
|
|
include ("../templates/admin_menu.tpl");
|
|
include ("../templates/admin_list-admin.tpl");
|
|
include ("../templates/footer.tpl");
|
|
}
|
|
|
|
if ($_SERVER['REQUEST_METHOD'] == "POST")
|
|
{
|
|
include ("../templates/header.tpl");
|
|
include ("../templates/admin_menu.tpl");
|
|
include ("../templates/admin_list-admin.tpl");
|
|
include ("../templates/footer.tpl");
|
|
}
|
|
?>
|