| [ 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 Weblinks 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_weblinks { 21 function _EDIT($task) { 22 global $id; 23 24 mosMenuBar::startTable(); 25 mosMenuBar::save(); 26 mosMenuBar::spacer(); 27 if ( $id ) { 28 // for existing content items the button is renamed `close` 29 mosMenuBar::cancel( 'cancel', T_('Close') ); 30 } else { 31 mosMenuBar::cancel(); 32 } 33 mosMenuBar::spacer(); 34 if ($task == 'new' ) mosMenuBar::help( 'new' ); 35 else mosMenuBar::help( 'edit' ); 36 mosMenuBar::endTable(); 37 } 38 function _DEFAULT() { 39 mosMenuBar::startTable(); 40 mosMenuBar::spacer(); 41 mosMenuBar::publishList(); 42 mosMenuBar::spacer(); 43 mosMenuBar::unpublishList(); 44 mosMenuBar::spacer(); 45 mosMenuBar::addNewX(); 46 mosMenuBar::spacer(); 47 mosMenuBar::editListX(); 48 mosMenuBar::spacer(); 49 mosMenuBar::deleteList(); 50 mosMenuBar::spacer(); 51 mosMenuBar::help( 'manager' ); 52 mosMenuBar::endTable(); 53 } 54 } 55 ?>
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 |