| [ 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 * @subpackage Admin 5 * @author Mambo Foundation Inc see README.php 6 * @copyright (C) 2000 - 2009 Mambo Foundation Inc. 7 * See COPYRIGHT.php for copyright notices and details. 8 * @license GNU/GPL Version 2, see LICENSE.php 9 * 10 * Redistributions of files must retain the above copyright notice. 11 * 12 * Mambo is free software; you can redistribute it and/or 13 * modify it under the terms of the GNU General Public License 14 * as published by the Free Software Foundation; version 2 of the License. 15 */ 16 17 /** ensure this file is being included by a parent file */ 18 defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); 19 require_once( $mainframe->getPath( 'admin_html' ) ); 20 21 switch ($task) { 22 23 case 'redirect': 24 $goto = trim( strtolower( mosGetParam( $_REQUEST, 'link' ) ) ); 25 if ($goto == 'null') { 26 $msg = T_('There is no link associated with this item'); 27 mosRedirect( 'index2.php?option=com_admin&task=listcomponents', $msg ); 28 exit(); 29 } 30 $goto = str_replace( "'", '', $goto ); 31 mosRedirect($goto); 32 break; 33 34 case 'listcomponents': 35 HTML_admin_misc::ListComponents(); 36 break; 37 38 case 'sysinfo': 39 HTML_admin_misc::system_info( $version, $option ); 40 break; 41 42 case 'versioninfo': 43 HTML_admin_misc::version_info(); 44 break; 45 46 case 'help': 47 HTML_admin_misc::help(); 48 break; 49 50 case 'preview': 51 HTML_admin_misc::preview(); 52 break; 53 54 case 'preview2': 55 HTML_admin_misc::preview( 1 ); 56 break; 57 58 case 'cpanel': 59 default: 60 HTML_admin_misc::controlPanel(); 61 break; 62 63 } 64 ?>
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 |