PostfixAdmin - web based virtual user administration interface for Postfix mail servers https://postfixadmin.github.io/postfixadmin/
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.

34 lines
759 B

  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 :
  10. * http://www.postfixadmin.com or http://postfixadmin.sf.net
  11. *
  12. * @version $Id$
  13. * @license GNU GPL v2 or later.
  14. *
  15. * File: main.php
  16. * Displays a menu/home page.
  17. * Template File: main.tpl
  18. *
  19. * Template Variables: -none-
  20. *
  21. * Form POST \ GET Variables: -none-
  22. */
  23. require_once('common.php');
  24. $SESSID_USERNAME = authentication_get_username();
  25. authentication_require_role('admin');
  26. include ("./templates/header.tpl");
  27. include ("./templates/menu.tpl");
  28. include ("./templates/main.tpl");
  29. include ("./templates/footer.tpl");
  30. ?>