opensmtpdadmin/admin/list-admin.php
2022-08-18 14:01:52 +02:00

41 lines
884 B
PHP

<?php
//
// OpenSMTPD Admin
// by Mischa Peters <mischa at high5 dot nl>
// Copyright (c) 2022 High5!
// License Info: LICENSE.TXT
//
// 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/" . check_language() . ".lang");
$list_admins = list_admins();
if (!empty($list_admins)) {
$list_admins_count = count($list_admins);
if ((is_array($list_admins) and $list_admins_count > 0)) {
for ($i = 0; $i < $list_admins_count; $i++) {
$admin_properties[$i] = get_admin_properties($list_admins[$i]);
}
}
}
include("../templates/header.tpl");
include("../templates/admin_menu.tpl");
include("../templates/admin_list-admin.tpl");
include("../templates/footer.tpl");
?>