CoreFiles by mySites.guru
toolbar.php44 lines, 1,109 bytes, from Joomla_3.2.4-Stable-Full_Package.zip
Raw History Compare with 3.2.3
md5
39e40b6b7dec56fedff55b06bfb5de73
sha1
5810b2c890ef9a341b941ff3cd3574ead9ec5c7a
sha256
14a85709a9663db44c253483829f2e69c1b2085660e11ab1d783684416d2053d
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_postinstall
 *
 * @copyright   Copyright (C) 2005 - 2014 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);
		JToolbarHelper::help('JHELP_COMPONENTS_POST_INSTALLATION_MESSAGES');
	}
}

The same content is in 13 releases, Joomla 3.2.2 to 3.3.6. See them all, or every version of this file.