Annotation of /mambo/trunk/administrator/components/com_menus/wrapper/wrapper.menu.php
Parent Directory
|
Revision Log
Revision 1 - (view) (download)
| 1 : | root | 1 | <?php |
| 2 : | /** | ||
| 3 : | * @version $Id: wrapper.menu.php,v 1.1 2005/07/22 01:53:16 eddieajau 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 : | mosAdminMenus::menuItem( $type ); | ||
| 15 : | |||
| 16 : | switch ( $task ) { | ||
| 17 : | case 'wrapper': | ||
| 18 : | // this is the new item, ie, the same name as the menu `type` | ||
| 19 : | wrapper_menu::edit( 0, $menutype, $option ); | ||
| 20 : | break; | ||
| 21 : | |||
| 22 : | case 'edit': | ||
| 23 : | wrapper_menu::edit( $cid[0], $menutype, $option ); | ||
| 24 : | break; | ||
| 25 : | |||
| 26 : | case 'save': | ||
| 27 : | case 'apply': | ||
| 28 : | wrapper_menu::saveMenu( $option, $task ); | ||
| 29 : | break; | ||
| 30 : | } | ||
| 31 : | ?> |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

