You've already forked joomla_test
first commit
This commit is contained in:
33
modules/mod_roknavmenu/lib/helper.php
Normal file
33
modules/mod_roknavmenu/lib/helper.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* @version $Id: helper.php 4585 2012-10-27 01:44:54Z btowles $
|
||||
* @author RocketTheme http://www.rockettheme.com
|
||||
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
||||
*/
|
||||
// no direct access
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
|
||||
/**
|
||||
* mod_roknavmenu Helper class
|
||||
*
|
||||
* @static
|
||||
* @package Joomla
|
||||
* @subpackage Menus
|
||||
* @since 1.5
|
||||
*/
|
||||
class modRokNavMenuHelper
|
||||
{
|
||||
function _getJSVersion() {
|
||||
if (version_compare(JVERSION, '1.5', '>=') && version_compare(JVERSION, '1.6', '<')){
|
||||
if (JPluginHelper::isEnabled('system', 'mtupgrade')){
|
||||
return "-mt1.2";
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user