| [ 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 * @author Mambo Foundation Inc see README.php 5 * @copyright (C) 2000 - 2009 Mambo Foundation Inc. 6 * See COPYRIGHT.php for copyright notices and details. 7 * @license GNU/GPL Version 2, see LICENSE.php 8 * 9 * Redistributions of files must retain the above copyright notice. 10 * 11 * Mambo is free software; you can redistribute it and/or 12 * modify it under the terms of the GNU General Public License 13 * as published by the Free Software Foundation; version 2 of the License. 14 */ 15 16 /** ensure this file is being included by a parent file */ 17 defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); 18 19 $menuhandler =& mosMenuHandler::getInstance(); 20 $params->def( 'menutype', 'mainmenu' ); 21 $params->def( 'class_sfx', '' ); 22 $params->def( 'menu_images', 0 ); 23 $params->def( 'menu_images_align', 0 ); 24 $params->def( 'expand_menu', 0 ); 25 $params->def( 'indent_image', 0 ); 26 $params->def( 'indent_image1', 'indent1.png' ); 27 $params->def( 'indent_image2', 'indent2.png' ); 28 $params->def( 'indent_image3', 'indent3.png' ); 29 $params->def( 'indent_image4', 'indent4.png' ); 30 $params->def( 'indent_image5', 'indent5.png' ); 31 $params->def( 'indent_image6', 'indent.png' ); 32 $params->def( 'spacer', '' ); 33 $params->def( 'end_spacer', '' ); 34 35 $menu_style = $params->get( 'menu_style', 'vert_indent' ); 36 37 switch ( $menu_style ) { 38 case 'list_flat': 39 $menuhandler->mosShowHFMenu( $params, 1 ); 40 break; 41 42 case 'horiz_flat': 43 $menuhandler->mosShowHFMenu( $params, 0 ); 44 break; 45 46 default: 47 $menuhandler->mosShowVIMenu( $params ); 48 break; 49 } 50 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Feb 8 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 |