Ignore:
Timestamp:
Feb 13, 2009, 9:49:03 PM (15 years ago)
Author:
patdenice
Message:
  • 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).
Location:
trunk/admin/template/goto
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/template/goto/default-layout.css

    r2973 r3143  
    3939
    4040/* Plugins tables */
     41TABLE.plugins { min-width: 400px; }
    4142TABLE.plugins A { border: 0; }
    4243TABLE.plugins TR TD { padding: 4px 10px; }
  • trunk/admin/template/goto/plugins_new.tpl

    r2647 r3143  
    1616<span class="sort">
    1717{'Sort order'|@translate} :
    18   <select onchange="document.location = this.options[this.selectedIndex].value;" style="width:150px">
     18  <select onchange="document.location = this.options[this.selectedIndex].value;">
    1919        {html_options options=$order_options selected=$order_selected}
    2020  </select>
     
    3838  <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
    3939    <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>
     40    <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>
    4141    <td>{$plugin.DATE}</td>
    4242    <td>{$plugin.AUTHOR}</td>
  • trunk/admin/template/goto/plugins_update.tpl

    r2647 r3143  
    3333    <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>
    3434    <td style="text-align:center;">{$plugin.VERSION}</td>
    35     <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>
     35    <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>
    3636    <td style="text-align:center;"><a href="{$plugin.URL_UPDATE}" onclick="return confirm('{'plugins_confirm_upgrade'|@translate|@escape:javascript}');">{'plugins_auto_update'|@translate}</a>
    3737      / <a href="{$plugin.URL_DOWNLOAD}">{'plugins_download'|@translate}</a></td>
     
    5555  <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
    5656    <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>
    57     <td style="text-align:center;">{$plugin.VERSION}</td>
     57    <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>
    5858  </tr>
    5959{/foreach}
Note: See TracChangeset for help on using the changeset viewer.