CoreFiles by mySites.guru
toolbar.admin.php42 lines, 1,016 bytes, from Joomla_1.5.15-Stable-Full_Package.zip
Raw History Compare with 1.5.14
md5
de5831d6590229c25a6379279c0fe04c
sha1
54ffe116c98296706df2fef3558ba204260e5b4d
sha256
c8c4c53e4b88cbe2c46ce93c6976f6cb4e52d231d327d0f6a58cf78fc3ebc54e
<?php
/**
 * @version		$Id: toolbar.admin.php 10381 2008-06-01 03:35:53Z pasamio $
 * @package		Joomla
 * @subpackage	Admin
 * @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
 * @license		GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * See COPYRIGHT.php for copyright notices and details.
 */

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

require_once( JApplicationHelper::getPath( 'toolbar_html' ) );

switch ($task)
{
	case 'sysinfo':
		TOOLBAR_admin::_SYSINFO();
		break;

	case 'help':
		TOOLBAR_admin::_HELP();
		break;

	case 'preview':
	case 'preview2':
		TOOLBAR_admin::_PREVIEW();
		break;

	default:
		if ($task) {
			TOOLBAR_admin::_DEFAULT();
		} else {
			TOOLBAR_admin::_CPANEL();
		}
		break;
}

The same content is in 12 releases, Joomla 1.5.4 to 1.5.15. See them all, or every version of this file.