CoreFiles by mySites.guru
toolbar.php43 lines, 1,038 bytes, from Joomla_3.2.1-Stable-Full_Package.zip
Raw History Compare with 3.2.0
md5
5b85a705cadcaa21b0400efbe5f0941d
sha1
11204a78a419b38d475216461f2d3cb29654904e
sha256
f63234715815f6562083b38df4e6c44232c8a97faba258ba6cb9a00c1c583c17
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_postinstall
 *
 * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * The Toolbar class renders the component title area and the toolbar.
 *
 * @package     Joomla.Administrator
 * @subpackage  com_postinstall
 * @since       3.2
 */
class PostinstallToolbar extends FOFToolbar
{
	/**
	 * Setup the toolbar and title
	 *
	 * @return  void
	 *
	 * @since   3.2
	 */
	public function onMessages()
	{
		$extension_name = JText::_('COM_POSTINSTALL_TITLE_JOOMLA');

		$eid = $this->input->getInt('eid', 700);

		if ($eid != 700)
		{
			$model = FOFModel::getTmpInstance('Messages', 'PostinstallModel');
			$extension_name = $model->getExtensionName($eid);
		}

		JToolBarHelper::title(JText::sprintf('COM_POSTINSTALL_MESSAGES_TITLE', $extension_name));
		JToolBarHelper::preferences($this->config['option'], 550, 875);
	}
}

The same content is in 2 releases, Joomla 3.2.0 to 3.2.1. See them all, or every version of this file.