| [ 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 $menutypes = $menuhandler->getMenuTypes(); 21 22 ?> 23 <table class="adminlist"> 24 <tr> 25 <th class="title"> 26 <?php echo T_('Menu') ?> 27 </th> 28 <th class="title"> 29 <?php echo T_('# Items') ?> 30 </th> 31 </tr> 32 <?php 33 foreach ($menutypes as $type=>$count) { 34 $link = 'index2.php?option=com_menus&menutype='. $type; 35 ?> 36 <tr> 37 <td> 38 <a href="<?php echo $link; ?>"> 39 <?php echo $type;?> 40 </a> 41 </td> 42 <td> 43 <?php echo $count;?> 44 </td> 45 </tr> 46 <?php 47 } 48 ?> 49 </table>
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 |