Commit ead76fc7 authored by Tibor Katelbach's avatar Tibor Katelbach

costum docu + poi docs

parent 1a59c071
......@@ -15,6 +15,7 @@ dynForm = {
$(".sectionBtntagList").hide();
} else
$(".nametext, .descriptiontextarea, .contactInfotext, .locationlocation, .urlsarray, .parentfinder, .imageuploader, .tagstags, #btn-submit-form").hide();
dataHelper.activateMarkdown("#ajaxFormModal #description");
},
},
beforeSave : function(){
......@@ -114,7 +115,7 @@ dynForm = {
},
image : dyFInputs.image(),
//description : dyFInputs.description,
description : dyFInputs.textarea(tradDynForm.description, "..."),
description : dyFInputs.textarea(tradDynForm.longDescription, "...",null,true),
location : dyFInputs.location,
tags :dyFInputs.tags(),
urls : dyFInputs.urls,
......
......@@ -148,19 +148,21 @@
}
}
</style>
<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>
<h2 class="elipsis no-margin"><i class="fa fa-book hidden-xs"></i> <?php echo Yii::t("docs", "All <span class='hidden-xs'>you need to know</span> about") ?> LE <span style="color:#65BA91">CONTRAT DE TRANSITION ÉCOLOGIQUE</span></h2>
<a href='javascript:;' class="lbh pull-right" id="close-docs"><span><i class="fa fa-sign-out"></i> <?php echo Yii::t("common","Back") ?></span></a>
</div>
<?php
if(@Yii::app()->session["costum"] && @Yii::app()->session["costum"]["docTpl"]){
$this->renderPartial(Yii::app()->session["costum"]["docTpl"]);
} else { ?>
<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>
<h2 class="elipsis no-margin"><i class="fa fa-book hidden-xs"></i> <?php echo Yii::t("docs", "All <span class='hidden-xs'>you need to know</span> about") ?></h2>
<img src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/img/LOGOS/CO2/logo-head-search.png"
class="logo-menutop main pull-left" height=30>
<a href='javascript:;' class="lbh pull-right" id="close-docs"><span><i class="fa fa-sign-out"></i> <?php echo Yii::t("common","Back") ?></span></a>
</div>
</div>
<div id="menu-left" class="col-md-3 col-sm-2 col-xs-12 shadow2">
<ul class="col-md-12 col-sm-12 col-xs-12 no-padding">
......
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