mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-07 02:11:26 +02:00
- 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
This commit is contained in:
@@ -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; }
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user