'class' => 'img',\r
)\r
);\r
- $rollover = $this->htmlElement($fluidbook->getTitle(), 'h3');\r
- $rollover .= $this->link('Voir le fluidbook', $fluidbook->getUrl());\r
- $res .= $this->htmlElement($this->htmlElement($rollover, 'div', array('class' => 'content')), 'div', array('class' => 'hover'));\r
+ if ($fluidbook->hasUrl()) {\r
+ $rollover = $this->htmlElement($fluidbook->getTitle(), 'h3');\r
+ $rollover .= $this->link('Voir le fluidbook', $fluidbook->getUrl());\r
+ $res .= $this->htmlElement($this->htmlElement($rollover, 'div', array('class' => 'content')), 'div', array('class' => 'hover'));\r
+ }\r
\r
$attributes = array('class' => array('reference'));\r
if ($big) {\r