Commit 331c2a40 authored by Raph El's avatar Raph El

modif baniere

parent b02e8a5f
......@@ -122,7 +122,7 @@ if(isset($pageConfig["banner"]) && !empty($pageConfig["banner"])){
</a>
</div>
<?php } ?>
<?php if(!empty($element["preferences"]["isOpenData"])){?>
<?php if( Preference::isOpenData($element["preferences"]) ){?>
<?php //if( Badge::checkBadgeInListBadges("opendata", $element["badges"]) ){?>
<div class="badgePH pull-left" data-title="OPENDATA">
<?php if($edit){ ?><a href='javascript:;' class="openConfidentialSettings pull-left tooltips" data-toggle="tooltip" data-placement="left"
......@@ -138,7 +138,7 @@ if(isset($pageConfig["banner"]) && !empty($pageConfig["banner"])){
<?php //}
} ?>
<?php if (!empty($element["preferences"]["isOpenEdition"])) { ?>
<?php if (Preference::isOpenEdition($element["preferences"]) ) { ?>
<div class="badgePH pull-left" data-title="OPENEDITION">
<?php if($edit){ ?>
<a href="javascript:;" class="openConfidentialSettings btn-show-activity">
......@@ -163,8 +163,8 @@ if(isset($pageConfig["banner"]) && !empty($pageConfig["banner"])){
</span>
</a>
</div>
<?php } else {?>
<div class="badgePH pull-left" data-title="COSTUMIZE">
<?php } else { ?>
<div class="badgePH pull-left badgePHCOSTUMIZE" data-title="COSTUMIZE">
<a href="<?php echo Yii::app()->createUrl("/costum/co/index/slug/".$element["slug"]) ?>/test/costumBuilder">
<span class="pull-left tooltips" data-toggle="tooltip" data-placement="left"
title="<?php echo Yii::t("common","Customised Design") ?>"
......
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