diff options
author | patdenice <patdenice@piwigo.org> | 2009-02-13 20:49:03 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2009-02-13 20:49:03 +0000 |
commit | 290f2c1d39d1c47d48ba4e6a6d347459975e8b0f (patch) | |
tree | e330eef287b07298d5acf37c9829beeacc16fb85 /admin/template | |
parent | 83d87c3d02844bd6fab391923e04913f35d99359 (diff) |
- Show number of downloads in plugins list.
- Allow to sort plugins by number of downloads.
- Fix plugin revision URL (no more revision_view in PEM).
git-svn-id: http://piwigo.org/svn/trunk@3143 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/template/goto/default-layout.css | 1 | ||||
-rw-r--r-- | admin/template/goto/plugins_new.tpl | 4 | ||||
-rw-r--r-- | admin/template/goto/plugins_update.tpl | 4 |
3 files changed, 5 insertions, 4 deletions
diff --git a/admin/template/goto/default-layout.css b/admin/template/goto/default-layout.css index 87f411dd3..08f3bab3f 100644 --- a/admin/template/goto/default-layout.css +++ b/admin/template/goto/default-layout.css @@ -38,6 +38,7 @@ TABLE#detailedStats { } /* Plugins tables */ +TABLE.plugins { min-width: 400px; } TABLE.plugins A { border: 0; } TABLE.plugins TR TD { padding: 4px 10px; } TABLE.plugins TR TD.pluginState { padding: 4px 16px; } diff --git a/admin/template/goto/plugins_new.tpl b/admin/template/goto/plugins_new.tpl index bd6339566..9fe0a0c33 100644 --- a/admin/template/goto/plugins_new.tpl +++ b/admin/template/goto/plugins_new.tpl @@ -15,7 +15,7 @@ jQuery().ready(function(){ldelim} <div class="titrePage"> <span class="sort"> {'Sort order'|@translate} : - <select onchange="document.location = this.options[this.selectedIndex].value;" style="width:150px"> + <select onchange="document.location = this.options[this.selectedIndex].value;"> {html_options options=$order_options selected=$order_selected} </select> </span> @@ -37,7 +37,7 @@ jQuery().ready(function(){ldelim} {foreach from=$plugins item=plugin name=plugins_loop} <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}"> <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> - <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> + <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> <td>{$plugin.DATE}</td> <td>{$plugin.AUTHOR}</td> <td style="text-align:center;"><a href="{$plugin.URL_INSTALL}" onclick="return confirm('{'plugins_confirm_install'|@translate|@escape:javascript}');">{'plugins_auto_install'|@translate}</a> diff --git a/admin/template/goto/plugins_update.tpl b/admin/template/goto/plugins_update.tpl index c7bdc2865..cae800f85 100644 --- a/admin/template/goto/plugins_update.tpl +++ b/admin/template/goto/plugins_update.tpl @@ -32,7 +32,7 @@ jQuery().ready(function(){ldelim} <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}"> <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> <td style="text-align:center;">{$plugin.VERSION}</td> - <td style="text-align:center;"><a href="{$plugin.VERSION_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> + <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> <td style="text-align:center;"><a href="{$plugin.URL_UPDATE}" onclick="return confirm('{'plugins_confirm_upgrade'|@translate|@escape:javascript}');">{'plugins_auto_update'|@translate}</a> / <a href="{$plugin.URL_DOWNLOAD}">{'plugins_download'|@translate}</a></td> </tr> @@ -54,7 +54,7 @@ jQuery().ready(function(){ldelim} {foreach from=$plugins_uptodate item=plugin name=plugins_loop} <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}"> <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> - <td style="text-align:center;">{$plugin.VERSION}</td> + <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> </tr> {/foreach} </table> |