CoreFiles by mySites.guru
toolbar.templates.php48 lines, 1,234 bytes, from Joomla_1.5.13-Stable-Full_Package.zip
Raw History Compare with 1.5.12
md5
a50d813bb917826468239bdf8fbc28d1
sha1
23144a7deb9ec65e23f056555971fe8c2bf02a38
sha256
613b1fa16016bd6ad9ede0161603efd35c2d7c8c50069c6777cd46aec0b6453b
<?php
/**
* @version		$Id: toolbar.templates.php 10381 2008-06-01 03:35:53Z pasamio $
* @package		Joomla
* @subpackage	Templates
* @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' ) );

$client	=& JApplicationHelper::getClientInfo(JRequest::getVar('client', '0', '', 'int'));

switch ($task)
{
	case 'view'   :
	case 'preview':
		TOOLBAR_templates::_VIEW($client);
		break;

	case 'edit_source':
		TOOLBAR_templates::_EDIT_SOURCE($client);
		break;

	case 'edit':
		TOOLBAR_templates::_EDIT($client);
		break;

	case 'choose_css':
		TOOLBAR_templates::_CHOOSE_CSS($client);
		break;

	case 'edit_css':
		TOOLBAR_templates::_EDIT_CSS($client);
		break;

	default:
		TOOLBAR_templates::_DEFAULT($client);
		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.