source: trunk/admin/template/goto/plugins_new.tpl @ 3722

Last change on this file since 3722 was 3722, checked in by rvelices, 15 years ago
  • comment a css rule in admin page (was making Firefox very slow on form controls activation
  • remove usage of jquery.dimensions because not required
  • Property svn:eol-style set to LF
File size: 1.8 KB
Line 
1{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
2{known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.cluetip.packed.js"}
3
4<script type="text/javascript">
5jQuery().ready(function(){ldelim}
6  jQuery('.cluetip').cluetip({ldelim}
7    width: 300,
8    splitTitle: '|'
9  });
10});
11</script>
12
13<div class="titrePage">
14<span class="sort">
15{'Sort order'|@translate} :
16  <select onchange="document.location = this.options[this.selectedIndex].value;">
17        {html_options options=$order_options selected=$order_selected}
18  </select>
19</span>
20  <h2>{'Plugins'|@translate}</h2>
21</div>
22
23{if isset($plugins)}
24<br>
25<table class="table2 plugins">
26<thead>
27  <tr class="throw">
28    <td>{'Name'|@translate}</td>
29    <td>{'Version'|@translate}</td>
30    <td>{'Date'|@translate}</td>
31    <td>{'Author'|@translate}</td>
32    <td>{'Actions'|@translate}</td>
33  </tr>
34</thead>
35{foreach from=$plugins item=plugin name=plugins_loop}
36  <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
37    <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>
38    <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>
39    <td>{$plugin.DATE}</td>
40    <td>{$plugin.AUTHOR}</td>
41    <td style="text-align:center;"><a href="{$plugin.URL_INSTALL}" onclick="return confirm('{'plugins_confirm_install'|@translate|@escape:javascript}');">{'plugins_auto_install'|@translate}</a>
42      / <a href="{$plugin.URL_DOWNLOAD}">{'plugins_download'|@translate}</a>
43    </td>
44  </tr>
45{/foreach}
46</table>
47{/if}
Note: See TracBrowser for help on using the repository browser.