Annotation of /mambo/branches/4.6/administrator/components/com_admin/toolbar.admin.php
Parent Directory
|
Revision Log
Revision 991 - (view) (download)
| 1 : | root | 1 | <?php |
| 2 : | /** | ||
| 3 : | elpie | 964 | * @package Mambo |
| 4 : | cauld | 948 | * @copyright Refer to copyright.php |
| 5 : | root | 1 | * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL |
| 6 : | elpie | 964 | * @author Mambo Foundation Inc see README.php |
| 7 : | csouza | 297 | */ |
| 8 : | root | 1 | /** ensure this file is being included by a parent file */ |
| 9 : | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); | ||
| 10 : | |||
| 11 : | require_once( $mainframe->getPath( 'toolbar_html' ) ); | ||
| 12 : | |||
| 13 : | switch ($task){ | ||
| 14 : | andphe | 991 | case 'sysinfo': |
| 15 : | TOOLBAR_admin::_SYSINFO(); | ||
| 16 : | break; | ||
| 17 : | case 'listcomponents': | ||
| 18 : | case 'sysinfo': | ||
| 19 : | case 'versioninfo': | ||
| 20 : | case 'help': | ||
| 21 : | case 'preview': | ||
| 22 : | case 'preview2': | ||
| 23 : | TOOLBAR_admin::_DEFAULT(); | ||
| 24 : | break; | ||
| 25 : | case 'cpanel': | ||
| 26 : | default: | ||
| 27 : | TOOLBAR_admin::_CPANEL(); | ||
| 28 : | break; | ||
| 29 : | root | 1 | } |
| 30 : | ?> |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

