aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/photos_add_direct.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/photos_add_direct.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 'admin/themes/default/template/photos_add_direct.tpl')
-rw-r--r--admin/themes/default/template/photos_add_direct.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl
index 060d6e2dd..987e626a9 100644
--- a/admin/themes/default/template/photos_add_direct.tpl
+++ b/admin/themes/default/template/photos_add_direct.tpl
@@ -92,7 +92,7 @@ jQuery(document).ready(function() {
<legend>{'Uploaded Photos'|@translate}</legend>
<div>
{foreach from=$thumbnails item=thumbnail}
- <a href="{$thumbnail.link}" onclick="window.open(this.href); return false;">
+ <a href="{$thumbnail.link}" class="externalLink">
<img src="{$thumbnail.src}" alt="{$thumbnail.file}" title="{$thumbnail.title}" class="thumbnail">
</a>
{/foreach}