From 91a50b5119b24205f634c33d83ef9e2b4e94646d Mon Sep 17 00:00:00 2001 From: mischa Date: Sun, 4 Sep 2022 12:51:09 +0000 Subject: [PATCH] change list-virtuals / list-domains --- templates/list-domains.tpl | 28 ----------- templates/list-virtuals.tpl | 96 ------------------------------------- 2 files changed, 124 deletions(-) delete mode 100644 templates/list-domains.tpl delete mode 100644 templates/list-virtuals.tpl diff --git a/templates/list-domains.tpl b/templates/list-domains.tpl deleted file mode 100644 index a00158a..0000000 --- a/templates/list-domains.tpl +++ /dev/null @@ -1,28 +0,0 @@ -
-
-Search: -
-
-\n"; -echo " \n"; -echo "

".$LANG['Overview_title']."

"; -echo " "; -echo " \n"; -echo " " . $LANG['Overview_get_domain'] . "\n"; -echo " " . $LANG['Overview_get_aliases'] . "\n"; -echo " " . $LANG['Overview_get_mailboxes'] . "\n"; -echo " \n"; -foreach ($list_domains as $row) { - if ($row['aliases'] == 0) $row['aliases'] = $LANG['Overview_unlimited']; - if ($row['mailboxes'] == 0) $row['mailboxes'] = $LANG['Overview_unlimited']; - if ($row['aliases'] < 0) $row['aliases'] = $LANG['Overview_disabled']; - if ($row['mailboxes'] < 0) $row['mailboxes'] = $LANG['Overview_disabled']; - echo " \n"; - echo " " . $row['domain'] . "\n"; - echo " " . $row['alias_count'] . " / " . $row['aliases'] . "\n"; - echo " " . $row['mailbox_count'] . " / " . $row['mailboxes'] . "\n"; - echo " \n"; -} -echo "\n"; -?> diff --git a/templates/list-virtuals.tpl b/templates/list-virtuals.tpl deleted file mode 100644 index 839685c..0000000 --- a/templates/list-virtuals.tpl +++ /dev/null @@ -1,96 +0,0 @@ -
-
- - - -
- -

-

-

- -
- -
-
- $limit || $list_domains[$domain_key]['mailbox_count'] > $limit) { - echo "
\n"; - if ($offset >= $limit) { - - echo "\n"; - } - if (($list_domains[$domain_key]['alias_count'] > $limit) || ($list_domains[$domain_key]['mailbox_count'] > $limit)) { - - echo "\n"; - } - if ((($offset + $limit) < $list_domains[$domain_key]['alias_count']) || (($offset + $limit) < $list_domains[$domain_key]['mailbox_count'])) { - echo "\n"; - } - echo "
\n"; -} - -if (count($list_alias) > 0) { - echo "\n"; - echo " \n"; - echo " "; - echo " "; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - - foreach ($list_alias as $row) { - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - } - echo "

".$LANG['Overview_alias_title']."

" . $LANG['Overview_alias_address'] . "" . $LANG['Overview_alias_goto'] . "" . $LANG['Overview_alias_modified'] . " 
" . $row['address'] . "" . preg_replace("/,/", "
", $row['goto']) . "
" . $row['modified'] . "" . $LANG['edit'] . "" . $LANG['del'] . "
\n"; -} - -if (count($list_mailbox) > 0) { - echo "\n"; - echo " \n"; - echo " "; - echo " "; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - - foreach ($list_mailbox as $row) { - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - echo " \n"; - } - echo "

".$LANG['Overview_mailbox_title']."

" . $LANG['Overview_mailbox_username'] . "" . $LANG['Overview_mailbox_name'] . "" . $LANG['Overview_mailbox_modified'] . " 
" . $row['username'] . "" . $row['name'] . "" . $row['modified'] . "" . $LANG['edit'] . "" . $LANG['del'] . "
\n"; -} -?>