You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.php 771B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Postfix Admin
  4. *
  5. * LICENSE
  6. * This source file is subject to the GPL license that is bundled with
  7. * this package in the file LICENSE.TXT.
  8. *
  9. * Further details on the project are available at http://postfixadmin.sf.net
  10. *
  11. * @version $Id: main.php 1558 2013-11-10 15:57:32Z christian_boltz $
  12. * @license GNU GPL v2 or later.
  13. *
  14. * File: main.php
  15. * Displays a menu/home page.
  16. * Template File: main.php
  17. *
  18. * Template Variables: -none-
  19. *
  20. * Form POST \ GET Variables: -none-
  21. */
  22. require_once('common.php');
  23. $SESSID_USERNAME = authentication_get_username();
  24. authentication_require_role('admin');
  25. $smarty->assign ('smarty_template', 'main');
  26. $smarty->display ('index.tpl');
  27. /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ ?>