You've already forked joomla_test
first commit
This commit is contained in:
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @version $Id: RokNavMenu2XRenderer.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
|
||||
*/
|
||||
class RokNavMenu2XRenderer extends RokMenuDefaultRenderer
|
||||
{
|
||||
public function renderHeader(){
|
||||
parent::renderHeader();
|
||||
$doc = JFactory::getDocument();
|
||||
|
||||
foreach($this->layout->getScriptFiles() as $script){
|
||||
$doc->addScript($script['relative']);
|
||||
}
|
||||
|
||||
foreach($this->layout->getStyleFiles() as $style){
|
||||
$doc->addStyleSheet($style['relative']);
|
||||
}
|
||||
$doc->addScriptDeclaration($this->layout->getInlineScript());
|
||||
$doc->addStyleDeclaration($this->layout->getInlineStyle());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user