opensmtpdadmin/templates/menu.tpl.orig
2022-08-18 14:01:52 +02:00

25 lines
1.5 KiB
Smarty

<div id="submenu">
<a target="_top" href="<?php print $_SERVER['PHP_SELF']; ?>"><?php print date("Y/m/d - H:i"); ?></a>&middot;
<?php
if (($CONF['show_footer_text'] == "YES") and ($CONF['footer_link']))
{
print "<a target=\"_top\" href=\"" . $CONF['footer_link'] . "\">" . $CONF['footer_text'] . "</a>&middot;\n";
}
?>
<a target="_blank" href="http://postfixadmin.com/?version=<?php print $version; ?>"><?php print $PALANG['check_update']; ?></a>&middot;
<a target="_blank" href="http://postfixadmin.com/">Postfix Admin <?php print $version; ?></a>
</div>
<div id="menu">
<a target="_top" href="overview.php"><?php print $PALANG['pMenu_overview']; ?></a>&middot;
<?php $url = "create-alias.php"; if (isset ($_GET['domain'])) $url .= "?domain=" . $_GET['domain']; ?>
<a target="_top" href="<?php print $url; ?>"><?php print $PALANG['pMenu_create_alias']; ?></a>&middot;
<?php $url = "create-mailbox.php"; if (isset ($_GET['domain'])) $url .= "?domain=" . $_GET['domain']; ?>
<a target="_top" href="<?php print $url; ?>"><?php print $PALANG['pMenu_create_mailbox']; ?></a>&middot;
<a target="_top" href="sendmail.php"><?php print $PALANG['pMenu_sendmail']; ?></a>&middot;
<a target="_top" href="password.php"><?php print $PALANG['pMenu_password']; ?></a>&middot;
<a target="_top" href="viewlog.php"><?php print $PALANG['pMenu_viewlog']; ?></a>&middot;
<a target="_top" href="logout.php"><?php print $PALANG['pMenu_logout']; ?></a>
</div>
<?php if (file_exists (realpath ("motd.txt"))) include ("motd.txt"); ?>
<p>