31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-06-10 09:12:22 +00:00

Merge pull request #38 from n9iels/patch-1

Add lightbox to info icon
This commit is contained in:
Michael Babker 2014-10-17 03:04:47 -04:00
commit 74fe869c50

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;