Commit a6eaf082 authored by Clément Damiens's avatar Clément Damiens

parent 611a32cd
......@@ -32,7 +32,10 @@
$addCogFlag=true;
$addCogFlag=15;
//print_r($e);
$name = @$e["name"];
if(is_array(@$e["name"]))
$name = @$e["name"][0];
else
$name = @$e["name"];
$status="";
$statTit="";
if (@$e["isAdmin"])
......@@ -63,7 +66,6 @@
$imgPath=(!empty($e[$getImageSize])) ? Yii::app()->createUrl($e[$getImageSize]) : $this->module->assetsUrl."/images/thumb/default_".$e["type"].".png";
$anId = $k;
$contentPop=$statTit.$rolesStr.$status;
var_dump($e); var_dump($k); exit;
?>
<a href="#page.type.<?php echo $e["type"] ?>.id.<?php echo $anId; ?>" class="hover-underline" data-toggle="popover" title="<?php echo $name ?>" data-content="<?php echo $contentPop ?>">
<img width="<?php echo $heightWidth ?>" height="<?php echo $heightWidth ?>" alt="image" class="<?php echo @$imgClass ?>" src="<?php echo $imgPath ?>">
......
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