Ignore:
Timestamp:
Mar 31, 2010, 1:21:52 PM (14 years ago)
Author:
plg
Message:

improvement: use the jQuery tip to open link on a new window, just use
class="externalLink" and jQuery do the job.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/plugins_update.tpl

    r5123 r5493  
    2929{foreach from=$plugins_not_uptodate item=plugin name=plugins_loop}
    3030  <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
    31     <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>
     31    <td><a href="{$plugin.EXT_URL}" class="externalLink cluetip" title="{$plugin.EXT_NAME}|{$plugin.EXT_DESC|htmlspecialchars|nl2br}">{$plugin.EXT_NAME}</a></td>
    3232    <td style="text-align:center;">{$plugin.VERSION}</td>
    33     <td style="text-align:center;"><a href="{$plugin.EXT_URL}" onclick="window.open(this.href); return false;" class="cluetip" title="{$plugin.EXT_NAME}|{$plugin.NEW_VER_DESC|htmlspecialchars|nl2br}">{$plugin.NEW_VERSION}</a></td>
     33    <td style="text-align:center;"><a href="{$plugin.EXT_URL}" class="externalLink cluetip" title="{$plugin.EXT_NAME}|{$plugin.NEW_VER_DESC|htmlspecialchars|nl2br}">{$plugin.NEW_VERSION}</a></td>
    3434    <td style="text-align:center;"><a href="{$plugin.URL_UPDATE}" onclick="return confirm('{'Are you sure to install this upgrade? You must verify if this version does not need uninstallation.'|@translate|@escape:javascript}');">{'Automatic upgrade'|@translate}</a>
    3535      / <a href="{$plugin.URL_DOWNLOAD}">{'Download file'|@translate}</a></td>
     
    5252{foreach from=$plugins_uptodate item=plugin name=plugins_loop}
    5353  <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
    54     <td><a href="{$plugin.URL}" onclick="window.open(this.href); return false;" class="cluetip" title="{$plugin.NAME}|{$plugin.EXT_DESC|htmlspecialchars|nl2br}">{$plugin.NAME}</a></td>
    55     <td style="text-align:center;"><a href="{$plugin.URL}" onclick="window.open(this.href); return false;" class="cluetip" title="{$plugin.NAME}|{$plugin.VER_DESC|htmlspecialchars|nl2br}">{$plugin.VERSION}</a></td>
     54    <td><a href="{$plugin.URL}" class="externalLink cluetip" title="{$plugin.NAME}|{$plugin.EXT_DESC|htmlspecialchars|nl2br}">{$plugin.NAME}</a></td>
     55    <td style="text-align:center;"><a href="{$plugin.URL}" class="externalLink cluetip" title="{$plugin.NAME}|{$plugin.VER_DESC|htmlspecialchars|nl2br}">{$plugin.VERSION}</a></td>
    5656  </tr>
    5757{/foreach}
Note: See TracChangeset for help on using the changeset viewer.