Commit 9c97a856 authored by Tibor Katelbach's avatar Tibor Katelbach

tweaks

parent 60c562e7
...@@ -11,6 +11,13 @@ $cssJS = array( ...@@ -11,6 +11,13 @@ $cssJS = array(
HtmlHelper::registerCssAndScriptsFiles($cssJS, Yii::app()->request->baseUrl); HtmlHelper::registerCssAndScriptsFiles($cssJS, Yii::app()->request->baseUrl);
?> ?>
<?php
if(@Yii::app()->session["costum"] && @Yii::app()->session["costum"]["docTpl"]){
$this->renderPartial( Yii::app()->session["costum"]["docTpl"] ,true);
} else { ?>
<style type="text/css"> <style type="text/css">
#docs-main-container{ #docs-main-container{
position: absolute; position: absolute;
...@@ -169,12 +176,7 @@ HtmlHelper::registerCssAndScriptsFiles($cssJS, Yii::app()->request->baseUrl); ...@@ -169,12 +176,7 @@ HtmlHelper::registerCssAndScriptsFiles($cssJS, Yii::app()->request->baseUrl);
left:0 !important; left:0 !important;
} }
} }
</style> </style>
<?php
if(@Yii::app()->session["costum"] && @Yii::app()->session["costum"]["docTpl"]){
$this->renderPartial( Yii::app()->session["costum"]["docTpl"] ,true);
} else { ?>
<div id="docs-main-container"> <div id="docs-main-container">
<div id="header-doc" class="shadow2"> <div id="header-doc" class="shadow2">
<a href='javascript:;' id="show-menu-xs" class="visible-xs visible-sm pull-left" data-placement="bottom" data-title="Menu"><i class="fa fa-bars"></i></a> <a href='javascript:;' id="show-menu-xs" class="visible-xs visible-sm pull-left" data-placement="bottom" data-title="Menu"><i class="fa fa-bars"></i></a>
...@@ -338,10 +340,12 @@ if(@Yii::app()->session["costum"] && @Yii::app()->session["costum"]["docTpl"]){ ...@@ -338,10 +340,12 @@ if(@Yii::app()->session["costum"] && @Yii::app()->session["costum"]["docTpl"]){
</li> </li>
</ul> </ul>
</div> </div>
<?php } ?>
<div id="container-docs" class="col-md-offset-3 col-md-9 col-sm-12 col-xs-12 no-padding text-center"> <div id="container-docs" class="col-md-offset-3 col-md-9 col-sm-12 col-xs-12 no-padding text-center">
</div> </div>
<?php } ?>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
......
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