| Current Path : /home/g/i/t/giteleslfp/www/administrator/components/com_templateck/views/about/ |
| Current File : /home/g/i/t/giteleslfp/www/administrator/components/com_templateck/views/about/view.html.php |
<?php
/**
* @name Template Creator CK
* @copyright Copyright (C) since 2011. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Cedric Keiflin - http://www.template-creator.com - http://www.joomlack.fr
*/
// No direct access to this file
defined('TCK_LOADED') or die('Restricted access');
jimport('joomla.application.component.view');
/**
* About View
*/
class TemplateckViewAbout extends JViewLegacy {
/**
* About view display method
* @return void
* */
function display($tpl = null) {
// require_once JPATH_COMPONENT . '/helpers/templateck.php';
JToolBarHelper::title(TCK_Text::_('CK_ABOUT'), 'home_templateck');
$this->tckversion = TemplateckController::get_current_version();
TemplateckHelper::addSidebar();
parent::display($tpl);
}
/*
* get a variable from the manifest file (actually, from the manifest cache).
*/
// function getParam($name) {
// $db = JFactory::getDbo();
// $db->setQuery('SELECT manifest_cache FROM #__extensions WHERE name = "com_templateck"');
// $manifest = json_decode($db->loadResult(), true);
// return $manifest[$name];
// }
}