Source for file toolbar.comment.html.php

Documentation is available at toolbar.comment.html.php

  1. <?php
  2. /**
  3. @package Mambo
  4. @subpackage Comment
  5. @copyright  Refer to copyright.php
  6. @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
  7. @author Mambo Foundation Inc see README.php
  8. */
  9.  
  10. /** ensure this file is being included by a parent file */
  11. defined'_VALID_MOS' or die'Direct Access to this location is not allowed.' );
  12.  
  13.  
  14.     function CONFIG_MENU({
  15.         mosMenuBar::startTable();
  16.         mosMenuBar::save'savesettings'T_('Save') );
  17.         mosMenuBar::spacer();
  18.         mosMenuBar::cancel();
  19.         mosMenuBar::spacer();
  20.         mosMenuBar::help'settings' );
  21.         mosMenuBar::endTable();
  22.     }
  23.  
  24.     function FILE_MENU({
  25.         mosMenuBar::startTable();
  26.         mosMenuBar::save();
  27.         mosMenuBar::spacer();
  28.         mosMenuBar::cancel();
  29.         mosMenuBar::spacer();
  30.         if ($GLOBALS['task'== 'new'{
  31.         mosMenuBar::help'new' );
  32.         else {
  33.         mosMenuBar::help'edit' );
  34.         }
  35.         mosMenuBar::endTable();
  36.     }
  37.  
  38.     function DEFAULT_MENU({
  39.         mosMenuBar::startTable();
  40.         mosMenuBar::publishList();
  41.         mosMenuBar::spacer();
  42.         mosMenuBar::unpublishList();
  43.         mosMenuBar::spacer();
  44.         mosMenuBar::addNewX();
  45.         mosMenuBar::spacer();
  46.         mosMenuBar::editListX();
  47.         mosMenuBar::spacer();
  48.         mosMenuBar::deleteList();
  49.         mosMenuBar::spacer();
  50.         mosMenuBar::help'manager' );
  51.         mosMenuBar::endTable();
  52.     }
  53.  
  54. }
  55. ?>

Documentation generated on Mon, 05 May 2008 16:23:25 +0400 by phpDocumentor 1.4.0