Source for file toolbar.menumanager.html.php

Documentation is available at toolbar.menumanager.html.php

  1. <?php
  2. /**
  3. @package Mambo
  4. @subpackage Menus
  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.     * Draws the menu for the Menu Manager
  15.     */
  16.     function _DEFAULT({
  17.         mosMenuBar::startTable();
  18.         mosMenuBar::addNewX();
  19.         mosMenuBar::spacer();
  20.         mosMenuBar::editListX();
  21.         mosMenuBar::spacer();
  22.         mosMenuBar::customX'copyconfirm''copy.png''copy_f2.png'T_('Copy')true );
  23.         mosMenuBar::spacer();
  24.         mosMenuBar::customX'deleteconfirm''delete.png''delete_f2.png'T_('Delete')true );
  25.         mosMenuBar::spacer();
  26.         mosMenuBar::help'main' );
  27.         mosMenuBar::endTable();
  28.     }
  29.  
  30.     /**
  31.     * Draws the menu to delete a menu
  32.     */
  33.     function _DELETE({
  34.         mosMenuBar::startTable();
  35.         mosMenuBar::cancel);
  36.         mosMenuBar::endTable();
  37.     }
  38.  
  39.     /**
  40.     * Draws the menu to create a New menu
  41.     */
  42.     function _NEWMENU($task 'new')    {
  43.         mosMenuBar::startTable();
  44.         mosMenuBar::custom'savemenu''save.png''save_f2.png'T_('Save')false );
  45.         mosMenuBar::spacer();
  46.         mosMenuBar::cancel();
  47.         mosMenuBar::spacer();
  48.         mosMenuBar::help$task );
  49.         mosMenuBar::endTable();
  50.     }
  51.  
  52.     /**
  53.     * Draws the menu to create a New menu
  54.     */
  55.     function _COPYMENU()    {
  56.         mosMenuBar::startTable();
  57.         mosMenuBar::custom'copymenu''copy.png''copy_f2.png'T_('Copy')false );
  58.         mosMenuBar::spacer();
  59.         mosMenuBar::cancel();
  60.         mosMenuBar::spacer();
  61.         mosMenuBar::help'copy' );
  62.         mosMenuBar::endTable();
  63.     }
  64.  
  65. }
  66. ?>

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