CoreFiles by mySites.guru
wrapper.menu.php35 lines, 1,025 bytes, from Joomla_1.0.14-Stable-Full_Package.zip
Raw History Compare with 1.0.13
md5
e2a6a90b6f9ee885dc66c4d9f00574f2
sha1
8db5c96432663223c67cba94e2fd220b15c93e24
sha256
7e29b82ae5b588230609b41fbd599f9e6d20ee1e2e961156a437b1cb9af8daa3
<?php
/**
* @version $Id: wrapper.menu.php 10002 2008-02-08 10:56:57Z willebil $
* @package Joomla
* @subpackage Menus
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.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 2 releases, Joomla 1.0.14 to 1.0.15. See them all, or every version of this file.