aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/intro.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/intro.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/intro.tpl')
-rw-r--r--admin/themes/default/template/intro.tpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/admin/themes/default/template/intro.tpl b/admin/themes/default/template/intro.tpl
index 9477524c3..3bd1e179b 100644
--- a/admin/themes/default/template/intro.tpl
+++ b/admin/themes/default/template/intro.tpl
@@ -17,7 +17,7 @@ jQuery().ready(function(){ldelim}
<ul>
<li><a href="{$U_CHECK_UPGRADE}">{'Check for upgrade'|@translate}</a></li>
{if isset($SUBSCRIBE_BASE_URL)}
- <li><a href="{$SUBSCRIBE_BASE_URL}{$EMAIL}" onclick="window.open(this.href); return false;" class="cluetip" title="{'Piwigo Announcements Newsletter'|@translate}|{'Keep in touch with Piwigo project, subscribe to Piwigo Announcement Newsletter. You will receive emails when a new release is available (sometimes including a security bug fix, it\'s important to know and upgrade) and when major events happen to the project. Only a few emails a year.'|@translate|htmlspecialchars|nl2br}">{'Subscribe %s to Piwigo Announcements Newsletter'|@translate|@sprintf:$EMAIL}</a></li>
+ <li><a href="{$SUBSCRIBE_BASE_URL}{$EMAIL}" class="externalLink cluetip" title="{'Piwigo Announcements Newsletter'|@translate}|{'Keep in touch with Piwigo project, subscribe to Piwigo Announcement Newsletter. You will receive emails when a new release is available (sometimes including a security bug fix, it\'s important to know and upgrade) and when major events happen to the project. Only a few emails a year.'|@translate|htmlspecialchars|nl2br}">{'Subscribe %s to Piwigo Announcements Newsletter'|@translate|@sprintf:$EMAIL}</a></li>
{/if}
</ul>
</dd>
@@ -26,8 +26,7 @@ jQuery().ready(function(){ldelim}
<dd>
<ul>
<li>{'Operating system'|@translate}: {$OS}</li>
- <li>PHP: {$PHP_VERSION} (<a href="{$U_PHPINFO}" onclick="window.open(this.href, '');
- return false;">{'Show info'|@translate}</a>) [{$PHP_DATATIME}]</li>
+ <li>PHP: {$PHP_VERSION} (<a href="{$U_PHPINFO}" class="externalLink">{'Show info'|@translate}</a>) [{$PHP_DATATIME}]</li>
<li>{$DB_ENGINE}: {$DB_VERSION} [{$DB_DATATIME}]</li>
</ul>
</dd>