demo.php 643 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * SquirrelMail Demo Plugin
  4. *
  5. * This page is used as a place holder for custom plugin
  6. * pages that are accessed directly by the client.
  7. *
  8. * @copyright 2006-2025 The SquirrelMail Project Team
  9. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  10. * @version $Id$
  11. * @package plugins
  12. * @subpackage demo
  13. */
  14. include_once('../../include/init.php');
  15. // Make sure plugin is activated!
  16. //
  17. global $plugins;
  18. if (!in_array('demo', $plugins))
  19. exit;
  20. global $oTemplate, $color;
  21. displayPageHeader($color, '');
  22. $oTemplate->display('plugins/demo/demo.tpl');
  23. $oTemplate->display('footer.tpl');