File: users_menu.php

package info (click to toggle)
postfixadmin 2.3.5-2%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 6,200 kB
  • sloc: php: 25,767; xml: 14,485; perl: 964; sh: 664; python: 169; makefile: 84
file content (23 lines) | stat: -rw-r--r-- 871 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php if( !defined('POSTFIXADMIN') ) die( "This file cannot be used standalone." ); ?>
<div id="menu">
<ul>
   <li><a target="_top" href="<?php print $CONF['user_footer_link']; ?>"><?php print $PALANG['pMenu_main']; ?></a></li>
   <?php if ($CONF['vacation'] == "YES") { ?>
   <li><a target="_top" href="vacation.php"><?php print $PALANG['pUsersMenu_vacation']; ?></a></li>
   <?php } ?>
   <li><a target="_top" href="edit-alias.php"><?php print $PALANG['pUsersMenu_edit_alias']; ?></a></li>
   <li><a target="_top" href="password.php"><?php print $PALANG['pUsersMenu_password']; ?></a></li>
   <li><a target="_top" href="logout.php"><?php print $PALANG['pMenu_logout']; ?></a></li>
</ul>
</div>

<br clear='all' /><br>

<?php 
if (file_exists (realpath ("../motd-users.txt"))) 
{
   print "<div id=\"motd\">\n";
   include ("../motd-users.txt");
   print "</div>";
}
?>