You've already forked joomla_test
first commit
This commit is contained in:
25
modules/mod_roknavmenu/mod_roknavmenu.php
Normal file
25
modules/mod_roknavmenu/mod_roknavmenu.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* @version $Id: mod_roknavmenu.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');
|
||||
|
||||
|
||||
$params->def('menutype', 'mainmenu');
|
||||
$params->def('class_sfx', '');
|
||||
$params->def('menu_images', 0);
|
||||
$params->def('startLevel', 0);
|
||||
$params->def('endLevel', 0);
|
||||
$params->def('showAllChildren', 0);
|
||||
|
||||
require_once(dirname(__FILE__)."/lib/includes.php");
|
||||
$rnm = new RokNavMenu($params->toArray());
|
||||
$rnm->initialize();
|
||||
$output = $rnm->render();
|
||||
$output = trim($output);
|
||||
echo $output;
|
Reference in New Issue
Block a user