%PDF- %PDF-
| Direktori : /home/lightco1/www/ilfanale.com.au/administrator/components/com_mobilize/views/help/ |
| Current File : /home/lightco1/www/ilfanale.com.au/administrator/components/com_mobilize/views/help/view.html.php |
<?php
/**
* @version $Id: view.html.php 19013 2012-11-28 04:48:47Z thailv $
* @package JSNUniform
* @subpackage Forms
* @author JoomlaShine Team <support@joomlashine.com>
* @copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved.
* @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
*
* Websites: http://www.joomlashine.com
* Technical Support: Feedback - http://www.joomlashine.com/contact-us/get-support.html
*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// Import Joomla view library
jimport('joomla.application.component.view');
/**
* About view of JSN Uniform component
*
* @package JSNUniform
* @since 2.5
*/
class JSNMobilizeViewHelp extends JSNBaseView
{
/**
* Display method
*
* @param string $tpl The name of the template file to parse; automatically searches through the template paths.
*
* @return void
*/
public function display($tpl = null)
{
// Set toolbar title
JToolBarHelper::title(JText::_('JSN_MOBILIZE_HELP_HELP_AND_SUPPORT'));
// Get config
$config = JSNConfigHelper::get();
// Get messages
$msgs = '';
if (!$config->get('disable_all_messages'))
{
$msgs = JSNUtilsMessage::getList('HELP');
$msgs = count($msgs) ? JSNUtilsMessage::showMessages($msgs) : '';
}
// Load assets
JSNMobilizeHelper::loadAssets();
// Assign variables for rendering
$this->assignRef('msgs', $msgs);
// Display the template
parent::display($tpl);
}
}