mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-20 03:36:20 +02:00
02195254d7
- 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
28 lines
1.0 KiB
PHP
28 lines
1.0 KiB
PHP
<?php if( !defined('POSTFIXADMIN') ) die( "This file cannot be used standalone." ); ?>
|
|
<div id="main_menu">
|
|
<table>
|
|
<tr>
|
|
<td> </td>
|
|
<td><?php print $_SESSION['sessid']['username']; ?></td>
|
|
</tr>
|
|
<?php if ($CONF['vacation'] == 'YES') { ?>
|
|
<tr>
|
|
<td nowrap><a target="_top" href="vacation.php"><?php print $PALANG['pUsersMenu_vacation']; ?></a></td>
|
|
<td><?php print $tummVacationtext; ?></td>
|
|
</tr>
|
|
<?php } ?>
|
|
<tr>
|
|
<td nowrap><a target="_top" href="edit-alias.php"><?php print $PALANG['pUsersMenu_edit_alias']; ?></a></td>
|
|
<td><?php print $PALANG['pUsersMain_edit_alias']; ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap><a target="_top" href="password.php"><?php print $PALANG['pUsersMenu_password']; ?></a></td>
|
|
<td><?php print $PALANG['pUsersMain_password']; ?></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>
|