Commit ae8316dd authored by Tibor Katelbach's avatar Tibor Katelbach
Browse files

search stuff

parent a5614ff9
......@@ -223,7 +223,7 @@ jQuery(document).ready(function() {
var typeUrl = "?nopreload=true";
if(type!='') typeUrl = "?type="+type+"&nopreload=true";
if( type=="ressources" )search.app = "ressources";
//if( type=="ressources" )search.app = "ressources";
var appUrl = (typeof search.app != "undefined") ? "&app="+search.app : "";
getAjax('#page' ,baseUrl+'/'+moduleId+"/default/directoryjs"+typeUrl+appUrl,function(){
......@@ -233,7 +233,7 @@ jQuery(document).ready(function() {
typeD="all";
$(".btn-directory-type").removeClass("active");
}else{
//search.app="search";
search.app="search";
$(".btn-directory-type").removeClass("active");
$(this).addClass("active");
}
......
......@@ -248,7 +248,7 @@
</div>
<?php } ?>
<?php if($typeSelected == "all" || (@$_GET["app"] && ($_GET["app"]=="search" || $_GET["app"]=="social"))){ ?>
<?php if($typeSelected == "all" ){ ?>
<?php if(Yii::app()->params["CO2DomainName"] != "terla"){ ?>
......
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