| [ Index ] | PHP Cross Reference of Mambo 4.6.5 |
|
| [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @package Mambo 4 * @subpackage Comment 5 * @author Mambo Foundation Inc see README.php 6 * @copyright (C) 2000 - 2009 Mambo Foundation Inc. 7 * See COPYRIGHT.php for copyright notices and details. 8 * @license GNU/GPL Version 2, see LICENSE.php 9 * 10 * Redistributions of files must retain the above copyright notice. 11 * 12 * Mambo is free software; you can redistribute it and/or 13 * modify it under the terms of the GNU General Public License 14 * as published by the Free Software Foundation; version 2 of the License. 15 */ 16 17 /** ensure this file is being included by a parent file */ 18 defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); 19 20 class TOOLBAR_MenuComment { 21 22 function CONFIG_MENU() { 23 mosMenuBar::startTable(); 24 mosMenuBar::save( 'savesettings', T_('Save') ); 25 mosMenuBar::spacer(); 26 mosMenuBar::cancel(); 27 mosMenuBar::spacer(); 28 mosMenuBar::help( 'settings' ); 29 mosMenuBar::endTable(); 30 } 31 32 function FILE_MENU() { 33 mosMenuBar::startTable(); 34 mosMenuBar::save(); 35 mosMenuBar::spacer(); 36 mosMenuBar::cancel(); 37 mosMenuBar::spacer(); 38 if ($GLOBALS['task'] == 'new') { 39 mosMenuBar::help( 'new' ); 40 } else { 41 mosMenuBar::help( 'edit' ); 42 } 43 mosMenuBar::endTable(); 44 } 45 46 function DEFAULT_MENU() { 47 mosMenuBar::startTable(); 48 mosMenuBar::publishList(); 49 mosMenuBar::spacer(); 50 mosMenuBar::unpublishList(); 51 mosMenuBar::spacer(); 52 mosMenuBar::addNewX(); 53 mosMenuBar::spacer(); 54 mosMenuBar::editListX(); 55 mosMenuBar::spacer(); 56 mosMenuBar::deleteList(); 57 mosMenuBar::spacer(); 58 mosMenuBar::help( 'manager' ); 59 mosMenuBar::endTable(); 60 } 61 62 } 63 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed May 23 00:05:01 2012 | Cross-referenced by PHPXref 0.7 |
| Mambo API: Mambo is Free software released under the GNU/General Public License, Version 2 |