0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
postfixadmin/templates/main.php
Christian Boltz 02195254d7 common.php
- define('POSTFIXADMIN', 1)

templates/*.php
- check if POSTFIXADMIN is defined to prevent direct access to the
  template files


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@256 a1433add-5e2c-0410-b055-b7f2511e0802
2007-12-02 19:23:08 +00:00

36 lines
1.4 KiB
PHP

<?php if( !defined('POSTFIXADMIN') ) die( "This file cannot be used standalone." ); ?>
<div id="main_menu">
<table>
<tr>
<td nowrap><a target="_top" href="list-domain.php"><?php print $PALANG['pMenu_overview']; ?></a></td>
<td><?php print $PALANG['pMain_overview']; ?></td>
</tr>
<tr>
<td nowrap><a target="_top" href="create-alias.php"><?php print $PALANG['pMenu_create_alias']; ?></a></td>
<td><?php print $PALANG['pMain_create_alias']; ?></td>
</tr>
<tr>
<td nowrap><a target="_top" href="create-mailbox.php"><?php print $PALANG['pMenu_create_mailbox']; ?></a></td>
<td><?php print $PALANG['pMain_create_mailbox']; ?></td>
</tr>
<? if ($CONF['sendmail'] == "YES") { ?>
<tr>
<td nowrap><a target="_top" href="sendmail.php"><?php print $PALANG['pMenu_sendmail']; ?></a></td>
<td><?php print $PALANG['pMain_sendmail']; ?></td>
</tr>
<? } ?>
<tr>
<td nowrap><a target="_top" href="password.php"><?php print $PALANG['pMenu_password']; ?></a></td>
<td><?php print $PALANG['pMain_password']; ?></td>
</tr>
<tr>
<td nowrap><a target="_top" href="viewlog.php"><?php print $PALANG['pMenu_viewlog']; ?></a></td>
<td><?php print $PALANG['pMain_viewlog']; ?></td>
</tr>
<tr>
<td nowrap><a target="_top" href="logout.php"><?php print $PALANG['pMenu_logout']; ?></a></td>
<td><?php print $PALANG['pMain_logout']; ?></td>
</tr>
</table>
</div>