CoreFiles by mySites.guru
wrapper.menu.php35 lines, 1,019 bytes, from Joomla_1.0.7-Stable-Full_Package.zip
Raw History Compare with 1.0.6
md5
0c7a58b8fd2bcd6032bab08cc3f38189
sha1
1b11b2a4e5a9cfa233fd8497edd7ca4ab1d4cf16
sha256
6d1ba327854144e6c38d4297069d22d86c1f738d7d62c505792a062d0a9a2a54
<?php
/**
* @version $Id: wrapper.menu.php 85 2005-09-15 23:12:03Z eddieajau $
* @package Joomla
* @subpackage Menus
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// no direct access
defined( '_VALID_MOS' ) or die( 'Restricted access' );

mosAdminMenus::menuItem( $type );

switch ( $task ) {
	case 'wrapper':
		// this is the new item, ie, the same name as the menu `type`
		wrapper_menu::edit( 0, $menutype, $option );
		break;

	case 'edit':
		wrapper_menu::edit( $cid[0], $menutype, $option );
		break;

	case 'save':
	case 'apply':
		wrapper_menu::saveMenu( $option, $task );
		break;
}
?>

The same content is in 8 releases, Joomla 1.0.3 to 1.0.12. See them all, or every version of this file.