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

Last change on this file since 3081 was 2647, checked in by patdenice, 16 years ago
  • Plugins manager now use PEM API.
  • WARNING! Need to change PEM_URL constant and utf8 encoding when PEM will be updated.
  • Bug in roma/themeconf.inc.php: accordion menu wasn't selected in plugins_new et plugins_update tabs.
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1{* $Id: plugins_new.tpl 2647 2008-10-03 23:16:49Z patdenice $ *}
2{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
3{known_script id="jquery.dimensions" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.dimensions.packed.js"}
4{known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.cluetip.packed.js"}
5
6<script type="text/javascript">
7jQuery().ready(function(){ldelim}
8  jQuery('.cluetip').cluetip({ldelim}
9    width: 300,
10    splitTitle: '|'
11  });
12});
13</script>
14
15<div class="titrePage">
16<span class="sort">
17{'Sort order'|@translate} :
18  <select onchange="document.location = this.options[this.selectedIndex].value;" style="width:150px">
19        {html_options options=$order_options selected=$order_selected}
20  </select>
21</span>
22  <h2>{'Plugins'|@translate}</h2>
23</div>
24
25{if isset($plugins)}
26<br>
27<table class="table2 plugins">
28<thead>
29  <tr class="throw">
30    <td>{'Name'|@translate}</td>
31    <td>{'Version'|@translate}</td>
32    <td>{'Date'|@translate}</td>
33    <td>{'Author'|@translate}</td>
34    <td>{'Actions'|@translate}</td>
35  </tr>
36</thead>
37{foreach from=$plugins item=plugin name=plugins_loop}
38  <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
39    <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>
40    <td style="text-align:center;"><a href="{$plugin.VERSION_URL}" onclick="window.open(this.href); return false;" class="cluetip" title="{$plugin.EXT_NAME}|{$plugin.VER_DESC|htmlspecialchars|nl2br}">{$plugin.VERSION}</a></td>
41    <td>{$plugin.DATE}</td>
42    <td>{$plugin.AUTHOR}</td>
43    <td style="text-align:center;"><a href="{$plugin.URL_INSTALL}" onclick="return confirm('{'plugins_confirm_install'|@translate|@escape:javascript}');">{'plugins_auto_install'|@translate}</a>
44      / <a href="{$plugin.URL_DOWNLOAD}">{'plugins_download'|@translate}</a>
45    </td>
46  </tr>
47{/foreach}
48</table>
49{/if}
Note: See TracBrowser for help on using the repository browser.