Commit 6fe85ffb authored by Raph El's avatar Raph El
Browse files
parents c01277e4 7733ff2d
......@@ -4,9 +4,9 @@ echo CHtml::cssFile(Yii::app()->request->baseUrl. '/plugins/DataTables/media/css
echo CHtml::scriptFile(Yii::app()->request->baseUrl. '/plugins/DataTables/media/js/DT_bootstrap.js');
$layoutPath = 'webroot.themes.'.Yii::app()->theme->name.'.views.layouts.';
//header + menu
$this->renderPartial($layoutPath.'header',
/*$this->renderPartial($layoutPath.'header',
array( "layoutPath"=>$layoutPath ,
"page" => "admin") );
"page" => "admin") );*/
?>
<div class="panel panel-white col-lg-offset-1 col-lg-10 col-xs-12 no-padding">
<div class="panel-body">
......
......@@ -3,9 +3,9 @@
$cs = Yii::app()->getClientScript();
$layoutPath = 'webroot.themes.'.Yii::app()->theme->name.'.views.layouts.';
//header + menu
$this->renderPartial($layoutPath.'header',
/*$this->renderPartial($layoutPath.'header',
array( "layoutPath"=>$layoutPath ,
"page" => "admin") );
"page" => "admin") );*/
Menu::moderate();
$this->renderPartial('../default/panels/toolbar');
......
......@@ -2,9 +2,9 @@
$cs = Yii::app()->getClientScript();
$layoutPath = 'webroot.themes.'.Yii::app()->theme->name.'.views.layouts.';
//header + menu
$this->renderPartial($layoutPath.'header',
/*$this->renderPartial($layoutPath.'header',
array( "layoutPath"=>$layoutPath ,
"page" => "admin") );
"page" => "admin") );*/
Menu::moderate();
$this->renderPartial('../default/panels/toolbar');
......@@ -58,7 +58,7 @@
mylog.log("setNextNewsId");
$('.toModerateContent').html(htmlSpiner);
$('.buttonBar').hide();
var urlToSend = baseUrl+"/"+moduleId+"/news/moderate/";
var urlToSend = baseUrl+"/news/moderate/";
var params = {};
params.subAction = "getNextIdToModerate";
......
......@@ -11,9 +11,9 @@ $userId = Yii::app()->session["userId"] ;
$layoutPath = 'webroot.themes.'.Yii::app()->theme->name.'.views.layouts.';
//header + menu
$this->renderPartial($layoutPath.'header',
/*$this->renderPartial($layoutPath.'header',
array( "layoutPath"=>$layoutPath ,
"page" => "admin") );
"page" => "admin") );*/
?>
<style>
.dropdown-menu{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment