diff options
author | patdenice <patdenice@piwigo.org> | 2009-02-13 21:03:02 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2009-02-13 21:03:02 +0000 |
commit | 35e9af66be0b6da3055d032123bd38100b58bca9 (patch) | |
tree | ae42252fa3a0c93a9bcfb9880dc4a2ba2b05019b /admin/template/goto | |
parent | 164fd3a280f22a06153c6497e423199a0a97f7a0 (diff) |
merge r3143 from trunk to branch 2.0
- 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/branches/2.0@3144 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/template/goto')
-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> |