PostfixAdmin - web based virtual user administration interface for Postfix mail servers
https://postfixadmin.github.io/postfixadmin/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
908 B
41 lines
908 B
<?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");
|
|
}
|
|
?>
|