Annotation of /mambo/branches/4.6/administrator/components/com_menus/contact_item_link/contact_item_link.menu.php
Parent Directory
|
Revision Log
Revision 964 - (view) (download)
| 1 : | root | 1 | <?php |
| 2 : | /** | ||
| 3 : | elpie | 964 | * @package Mambo |
| 4 : | root | 1 | * @subpackage Menus |
| 5 : | cauld | 948 | * @copyright Refer to copyright.php |
| 6 : | root | 1 | * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL |
| 7 : | elpie | 964 | * @author Mambo Foundation Inc see README.php |
| 8 : | csouza | 297 | */ |
| 9 : | root | 1 | |
| 10 : | /** ensure this file is being included by a parent file */ | ||
| 11 : | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); | ||
| 12 : | |||
| 13 : | mosAdminMenus::menuItem( $type ); | ||
| 14 : | |||
| 15 : | switch ( $task ) { | ||
| 16 : | case 'contact_item_link': | ||
| 17 : | // this is the new item, ie, the same name as the menu `type` | ||
| 18 : | contact_item_link_menu::edit( 0, $menutype, $option ); | ||
| 19 : | break; | ||
| 20 : | |||
| 21 : | case 'edit': | ||
| 22 : | contact_item_link_menu::edit( $cid[0], $menutype, $option ); | ||
| 23 : | break; | ||
| 24 : | |||
| 25 : | case 'save': | ||
| 26 : | case 'apply': | ||
| 27 : | saveMenu( $option, $task ); | ||
| 28 : | break; | ||
| 29 : | } | ||
| 30 : | ?> |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

