Commit 13358f86 authored by tonyemma's avatar tonyemma
Browse files

hotfix coeur num: modified image et add redirection

parent b97da5f6
......@@ -1927,12 +1927,17 @@ var dyFObj = {
});
} */
dyFObj.currentElement={type : type, id : data.id};
mylog.log("setMongoId uploadObj.set");
mylog.log("setMongoId uploadObj.set");
if(type == "events" || type == "organizations" || type == "projects")
uploadObj.gotoUrl = '#page.type.'+type+'.id.'+data.id;
uploadObj.set(type,data.id);
uploadObj.initUploader();
$("#ajaxFormModal #id").val(data.id);
if( typeof callback === "function" )
callback();
if (typeof(callback) == 'function')
callback();
});
}/*else if(dyFObj.editMode){
......
......@@ -210,7 +210,7 @@ if(@$themeParams["header"]["menuTop"] && is_string($themeParams["header"]["menuT
alt="<?php echo Yii::t("common","My network") ?>">
<?php if(isset(Yii::app()->session["costum"]["css"]["menuRight"]["img"]["networkFloop"])) {
?>
<img width="65px" height="35px" src="<?php echo Yii::app()->getModule("costum")->assetsUrl.Yii::app()->session["costum"]["css"]["menuRight"]["img"]["networkFloop"]; ?>">
<img width="45px" height="45px" src="<?php echo Yii::app()->getModule("costum")->assetsUrl.Yii::app()->session["costum"]["css"]["menuRight"]["img"]["networkFloop"]; ?>">
<?php } else {
?>
<i class="fa fa-users"></i> <?php } ?>
......@@ -223,7 +223,7 @@ if(@$themeParams["header"]["menuTop"] && is_string($themeParams["header"]["menuT
data-toggle="tooltip" data-placement="bottom" title="<?php echo Yii::t("common","Notifications") ?>" alt="<?php echo Yii::t("common","Notifications") ?>">
<?php if(isset(Yii::app()->session["costum"]["css"]["menuRight"]["img"]["notifications"])) {
?>
<img width="65px" height="35px" src="<?php echo Yii::app()->getModule("costum")->assetsUrl.Yii::app()->session["costum"]["css"]["menuRight"]["img"]["notifications"]; ?>">
<img width="45px" height="45px" src="<?php echo Yii::app()->getModule("costum")->assetsUrl.Yii::app()->session["costum"]["css"]["menuRight"]["img"]["notifications"]; ?>">
<?php } else {
?>
<i class="fa fa-bell"></i> <?php } ?>
......@@ -242,7 +242,7 @@ if(@$themeParams["header"]["menuTop"] && is_string($themeParams["header"]["menuT
alt="<?php echo Yii::t("common","Cooperation") ?>">
<?php if(isset(Yii::app()->session["costum"]["css"]["menuRight"]["img"]["dda"])) {
?>
<img width="65px" height="35px" src="<?php echo Yii::app()->getModule("costum")->assetsUrl.Yii::app()->session["costum"]["css"]["menuRight"]["img"]["dda"]; ?>">
<img width="45px" height="45px" src="<?php echo Yii::app()->getModule("costum")->assetsUrl.Yii::app()->session["costum"]["css"]["menuRight"]["img"]["dda"]; ?>">
<?php } else {
?>
<i class="fa fa-inbox"></i> <?php } ?>
......@@ -256,7 +256,7 @@ if(@$themeParams["header"]["menuTop"] && is_string($themeParams["header"]["menuT
title="<?php echo Yii::t("common","Messaging") ?>" alt="<?php echo Yii::t("common","Messaging") ?>">
<?php if(isset(Yii::app()->session["costum"]["css"]["menuRight"]["img"]["chat"])) {
?>
<img width="65px" height="35px" src="<?php echo Yii::app()->getModule("costum")->assetsUrl.Yii::app()->session["costum"]["css"]["menuRight"]["img"]["chat"]; ?>">
<img width="45px" height="45px" src="<?php echo Yii::app()->getModule("costum")->assetsUrl.Yii::app()->session["costum"]["css"]["menuRight"]["img"]["chat"]; ?>">
<?php } else {
?>
<i class="fa fa-comments"></i>
......@@ -281,7 +281,7 @@ if(@$themeParams["header"]["menuTop"] && is_string($themeParams["header"]["menuT
title="<?php echo Yii::t("common","Home") ?>" alt="<?php echo Yii::t("common","Home") ?>" style="width: inherit !important;text-transform: capitalize;">
<?php if(isset(Yii::app()->session["costum"]["css"]["menuRight"]["img"]["home"])) {
?>
<img width="65px" height="35px" src="<?php echo Yii::app()->getModule("costum")->assetsUrl.Yii::app()->session["costum"]["css"]["menuRight"]["img"]["home"]; ?>">
<img width="45px" height="45px" src="<?php echo Yii::app()->getModule("costum")->assetsUrl.Yii::app()->session["costum"]["css"]["menuRight"]["img"]["home"]; ?>">
<?php } else {
?>
<i class="fa fa-home"></i> <span class="hidden-xs hidden-sm" style="font-size: 16px;"><?php echo Yii::t("common","Home") ?></span>
......
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