aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/plugins_new.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-31 11:21:52 +0000
committerplegall <plg@piwigo.org>2010-03-31 11:21:52 +0000
commit63c9cbfe2ab8e71f7ad555f46974bbb18470a894 (patch)
treedd356a1de4d62c3456652ab592620e0e323ba4a1 /admin/themes/default/template/plugins_new.tpl
parent240be5cc538b700f9d2cbe3abe95fbe136d7837f (diff)
improvement: use the jQuery tip to open link on a new window, just use
class="externalLink" and jQuery do the job. git-svn-id: http://piwigo.org/svn/trunk@5493 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/plugins_new.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/themes/default/template/plugins_new.tpl b/admin/themes/default/template/plugins_new.tpl
index 4bc7700b0..c8eb94a34 100644
--- a/admin/themes/default/template/plugins_new.tpl
+++ b/admin/themes/default/template/plugins_new.tpl
@@ -34,8 +34,8 @@ jQuery().ready(function(){ldelim}
</thead>
{foreach from=$plugins item=plugin name=plugins_loop}
<tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
- <td><a href="{$plugin.EXT_URL}" onclick="window.open(this.href); return false;" class="cluetip" title="{$plugin.EXT_NAME}|{$plugin.EXT_DESC|htmlspecialchars|nl2br}">{$plugin.EXT_NAME}</a></td>
- <td style="text-align:center;"><a href="{$plugin.EXT_URL}" onclick="window.open(this.href); return false;" class="cluetip" title="{$plugin.EXT_NAME}|{$plugin.VER_DESC|htmlspecialchars|nl2br}">{$plugin.VERSION}</a></td>
+ <td><a href="{$plugin.EXT_URL}" class="externalLink cluetip" title="{$plugin.EXT_NAME}|{$plugin.EXT_DESC|htmlspecialchars|nl2br}">{$plugin.EXT_NAME}</a></td>
+ <td style="text-align:center;"><a href="{$plugin.EXT_URL}" class="externalLink cluetip" title="{$plugin.EXT_NAME}|{$plugin.VER_DESC|htmlspecialchars|nl2br}">{$plugin.VERSION}</a></td>
<td>{$plugin.DATE}</td>
<td>{$plugin.AUTHOR}</td>
<td style="text-align:center;"><a href="{$plugin.URL_INSTALL}" onclick="return confirm('{'Are you sure you want to install this plugin?'|@translate|@escape:javascript}');">{'Automatic installation'|@translate}</a>