[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/administrator/components/com_admin/ -> toolbar.admin.php (source)

   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  require_once( $mainframe->getPath( 'toolbar_html' ) );
  20  
  21  switch ($task){
  22      case 'sysinfo':
  23          TOOLBAR_admin::_SYSINFO();
  24          break;
  25      case 'listcomponents':
  26      case 'sysinfo':
  27      case 'versioninfo':
  28      case 'help':
  29      case 'preview':
  30      case 'preview2':
  31          TOOLBAR_admin::_DEFAULT();
  32          break;
  33      case 'cpanel':
  34      default:
  35          TOOLBAR_admin::_CPANEL();
  36          break;
  37  }
  38  ?>