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

21 lines
1.0 KiB
Smarty

<div id="menu">
<ul>
<li><a target="_top" href="overview.php"><?php print $PALANG['pMenu_overview']; ?></a></li>
<?php $url = "create-alias.php"; if (isset($_GET['domain'])) $url .= "?domain=" . $_GET['domain']; ?>
<li><a target="_top" href="<?php print $url; ?>"><?php print $PALANG['pMenu_create_alias']; ?></a></li>
<?php $url = "create-mailbox.php"; if (isset($_GET['domain'])) $url .= "?domain=" . $_GET['domain']; ?>
<li><a target="_top" href="<?php print $url; ?>"><?php print $PALANG['pMenu_create_mailbox']; ?></a></li>
<li><a target="_top" href="sendmail.php"><?php print $PALANG['pMenu_sendmail']; ?></a></li>
<li><a target="_top" href="password.php"><?php print $PALANG['pMenu_password']; ?></a></li>
<li><a target="_top" href="viewlog.php"><?php print $PALANG['pMenu_viewlog']; ?></a></li>
<li><a target="_top" href="logout.php"><?php print $PALANG['pMenu_logout']; ?></a></li>
</ul>
</div>
<?php
if (file_exists(realpath("motd.txt"))) {
print "<div id=\"motd\">\n";
include("motd.txt");
print "</div>";
}
?>