Commit 2600e145 authored by Tibor Katelbach's avatar Tibor Katelbach

adding header to askdata

parent eec8d70c
......@@ -927,16 +927,14 @@ var urlCtrl = {
}
// console.log(">>>>>>>>>>>>>>>>>>> mod",mod,"> path : ",path,"> urlExtra : ",urlExtra,"> extraParams : ",extraParams);
showAjaxPanel( baseUrl+'/'+ mod +path+urlExtra+extraParams, endPoint.title,endPoint.icon, res,endPoint );
if(path == "dda" && extraParams != "" ){
urlCtrl.afterLoad = function() {
extraParams = extraParams.substring(1);
extraParamsT = extraParams.split(".");
typeProp= (extraParamsT[0]=="proposals") ? "proposal": extraParamsT[0];
uiCoop.getCoopDataPreview(typeProp,extraParamsT[1]/*, function(){
onchangeClick=false;
location.hash="#dda?"+typeProp+"."+extraParamsT[1];
}*/);
uiCoop.getCoopDataPreview(typeProp,extraParamsT[1]);
//uiCoop.prepPreview(extraParamsT[0],extraParamsT[1],null,extraParamsT[2],extraParamsT[3],null);
}
}
......
......@@ -109,8 +109,8 @@
"hash" : "#app.web",
"icon" : "globe",
"mainTitle" : "Moteur de recherche",
"placeholderMainSearch" : "Que recherchez-vous ?"},
"placeholderMainSearch" : "Que recherchez-vous ?"
},
"#referencement":
{ "inMenu" : false,
"useHeader" : true,
......
......@@ -7,6 +7,11 @@ $cssAnsScriptFiles = array(
);
HtmlHelper::registerCssAndScriptsFiles($cssAnsScriptFiles, Yii::app()->theme->baseUrl);
$layoutPath = 'webroot.themes.'.Yii::app()->theme->name.'.views.layouts.';
$this->renderPartial($layoutPath.'header',
array( "layoutPath"=>$layoutPath ,
"page" => "welcome",
"type" => @$type));
?>
<div class="row">
......
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