Annotation of /mambo/branches/4.5.3h/administrator/components/com_menumanager/toolbar.menumanager.html.php
Parent Directory
|
Revision Log
Revision 536 - (view) (download)
| 1 : | root | 1 | <?php |
| 2 : | /** | ||
| 3 : | * @version $Id: toolbar.menumanager.html.php,v 1.2 2005/11/08 10:26:19 eliasan Exp $ | ||
| 4 : | * @package Mambo | ||
| 5 : | * @subpackage Menus | ||
| 6 : | * @copyright (C) 2000 - 2005 Miro International Pty Ltd | ||
| 7 : | * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL | ||
| 8 : | * Mambo is Free Software | ||
| 9 : | */ | ||
| 10 : | |||
| 11 : | /** ensure this file is being included by a parent file */ | ||
| 12 : | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); | ||
| 13 : | |||
| 14 : | /** | ||
| 15 : | * @package Mambo | ||
| 16 : | * @subpackage Menus | ||
| 17 : | */ | ||
| 18 : | class TOOLBAR_menumanager { | ||
| 19 : | /** | ||
| 20 : | * Draws the menu for the Menu Manager | ||
| 21 : | */ | ||
| 22 : | function _DEFAULT() { | ||
| 23 : | mosMenuBar::startTable(); | ||
| 24 : | mosMenuBar::addNewX(); | ||
| 25 : | mosMenuBar::spacer(); | ||
| 26 : | mosMenuBar::editListX(); | ||
| 27 : | mosMenuBar::spacer(); | ||
| 28 : | mosMenuBar::customX( 'copyconfirm', 'copy.png', 'copy_f2.png', 'Copy', true ); | ||
| 29 : | mosMenuBar::spacer(); | ||
| 30 : | mosMenuBar::customX( 'deleteconfirm', 'delete.png', 'delete_f2.png', 'Delete', true ); | ||
| 31 : | mosMenuBar::spacer(); | ||
| 32 : | cauld | 536 | mosMenuBar::help( '454.screen.menumanager.main' ); |
| 33 : | root | 1 | mosMenuBar::endTable(); |
| 34 : | } | ||
| 35 : | |||
| 36 : | /** | ||
| 37 : | * Draws the menu to delete a menu | ||
| 38 : | */ | ||
| 39 : | function _DELETE() { | ||
| 40 : | mosMenuBar::startTable(); | ||
| 41 : | mosMenuBar::cancel( ); | ||
| 42 : | mosMenuBar::endTable(); | ||
| 43 : | } | ||
| 44 : | |||
| 45 : | /** | ||
| 46 : | * Draws the menu to create a New menu | ||
| 47 : | */ | ||
| 48 : | function _NEWMENU() { | ||
| 49 : | mosMenuBar::startTable(); | ||
| 50 : | mosMenuBar::custom( 'savemenu', 'save.png', 'save_f2.png', 'Save', false ); | ||
| 51 : | mosMenuBar::spacer(); | ||
| 52 : | mosMenuBar::cancel(); | ||
| 53 : | mosMenuBar::spacer(); | ||
| 54 : | cauld | 536 | mosMenuBar::help( '454.screen.menumanager.new' ); |
| 55 : | root | 1 | mosMenuBar::endTable(); |
| 56 : | } | ||
| 57 : | |||
| 58 : | /** | ||
| 59 : | * Draws the menu to create a New menu | ||
| 60 : | */ | ||
| 61 : | function _COPYMENU() { | ||
| 62 : | mosMenuBar::startTable(); | ||
| 63 : | mosMenuBar::custom( 'copymenu', 'copy.png', 'copy_f2.png', 'Copy', false ); | ||
| 64 : | mosMenuBar::spacer(); | ||
| 65 : | mosMenuBar::cancel(); | ||
| 66 : | mosMenuBar::spacer(); | ||
| 67 : | cauld | 536 | mosMenuBar::help( '454.screen.menumanager.copy' ); |
| 68 : | root | 1 | mosMenuBar::endTable(); |
| 69 : | } | ||
| 70 : | |||
| 71 : | } | ||
| 72 : | ?> |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

