functions.php 624 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * SquirrelMail Test Plugin
  4. * @copyright &copy; 2006 The SquirrelMail Project Team
  5. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  6. * @version $Id: setup.php 11080 2006-04-23 19:00:45Z tokul $
  7. * @package plugins
  8. * @subpackage test
  9. */
  10. /**
  11. * Add link to menu at top of content pane
  12. *
  13. * @return void
  14. *
  15. */
  16. function test_menuline_do() {
  17. global $oTemplate;
  18. $nbsp = $oTemplate->fetch('non_breaking_space.tpl');
  19. $output = makeInternalLink('plugins/test/test.php', 'Test', 'right')
  20. . $nbsp . $nbsp;
  21. return array('menuline' => $output);
  22. }