31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-06-26 08:22:34 +00:00

Add lightbox to info icon

This commit is contained in:
Niels van der Veer 2014-09-20 12:11:47 +02:00
parent 960363e2a6
commit e6fd9c1234

View File

@ -30,7 +30,7 @@ foreach ($this->items as $i => $item) :
</td>
<td class="center">
<?php if ($item->description) :
echo JHtml::tooltip(htmlspecialchars($item->description), '', '', '<i class="icon-info"></i>');
echo '<a onclick="SqueezeBox.fromElement(this, {handler:\'iframe\', size: {x: 900, y: 600}, url:\'http://issues.joomla.org/tracker/joomla-cms/'.$item->pull_id.'\'})"><i class="icon-info" style="color:#000;cursor:pointer;"></i>';
else :
echo '&nbsp;';
endif;