mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Minor improvements for template (#1050)
* Minor improvements for template * Update tracker.tpl
This commit is contained in:
parent
901e88b45e
commit
bf0c681ca4
3 changed files with 26 additions and 16 deletions
|
@ -391,9 +391,9 @@ $(function(){
|
||||||
<th class="{sorter: 'digit'}" title="{L_SIZE}"><b class="tbs-text">{L_SIZE}</b></th>
|
<th class="{sorter: 'digit'}" title="{L_SIZE}"><b class="tbs-text">{L_SIZE}</b></th>
|
||||||
<th class="{sorter: 'digit'}" title="{L_SEEDERS}"><b class="tbs-text">S</b></th>
|
<th class="{sorter: 'digit'}" title="{L_SEEDERS}"><b class="tbs-text">S</b></th>
|
||||||
<th class="{sorter: 'digit'}" title="{L_LEECHERS}"><b class="tbs-text">L</b></th>
|
<th class="{sorter: 'digit'}" title="{L_LEECHERS}"><b class="tbs-text">L</b></th>
|
||||||
<th class="{sorter: 'digit'}" title="{L_COMPLETED} / {L_REPLIES}"><b class="tbs-text">C</b></th>
|
<th class="{sorter: false}" title="{L_REPLIES}"><b class="tbs-text">{L_REPLIES_SHORT}</b></th>
|
||||||
<!-- IF SHOW_SPEED -->
|
<!-- IF SHOW_SPEED -->
|
||||||
<th class="{sorter: false }" title="{L_DL_SPEED}"><b class="tbs-text">SP</b></th>
|
<th class="{sorter: false}" title="{L_DL_SPEED}"><b class="tbs-text">SP</b></th>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<th class="{sorter: 'digit'}" title="{L_ADDED}"><b class="tbs-text">{L_ADDED}</b></th>
|
<th class="{sorter: 'digit'}" title="{L_ADDED}"><b class="tbs-text">{L_ADDED}</b></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -423,6 +423,16 @@ $(function(){
|
||||||
<td class="row4 seedmed" title="{tor.SEEDS_TITLE}"><b>{tor.SEEDS}</b></td>
|
<td class="row4 seedmed" title="{tor.SEEDS_TITLE}"><b>{tor.SEEDS}</b></td>
|
||||||
<td class="row4 leechmed" title="{L_LEECHERS}"><b>{tor.LEECHS}</b></td>
|
<td class="row4 leechmed" title="{L_LEECHERS}"><b>{tor.LEECHS}</b></td>
|
||||||
<td class="row4 small" title="{L_REPLIES}: {tor.REPLIES}">{tor.COMPLETED}</td>
|
<td class="row4 small" title="{L_REPLIES}: {tor.REPLIES}">{tor.COMPLETED}</td>
|
||||||
|
<td class="row4 small" style="padding: 3px 4px 2px;">
|
||||||
|
<p>
|
||||||
|
<span title="{L_REPLIES}: {tor.REPLIES}">{tor.REPLIES}</span>
|
||||||
|
<span class="small"> | </span>
|
||||||
|
<span title="{L_VIEWS}: {tor.VIEWS}">{tor.VIEWS}</span>
|
||||||
|
</p>
|
||||||
|
<p style="padding-top: 2px" class="med" title="{L_COMPLETED}: {tor.COMPLETED}">
|
||||||
|
<b>{tor.COMPLETED}</b>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
<!-- IF SHOW_SPEED -->
|
<!-- IF SHOW_SPEED -->
|
||||||
<td class="row4 nowrap">
|
<td class="row4 nowrap">
|
||||||
<p class="seedmed">{tor.UL_SPEED}</p>
|
<p class="seedmed">{tor.UL_SPEED}</p>
|
||||||
|
|
|
@ -473,7 +473,7 @@ td.topic_id { cursor: pointer; }
|
||||||
<td class="tCenter nowrap" style="padding: 2px 4px;">
|
<td class="tCenter nowrap" style="padding: 2px 4px;">
|
||||||
<!-- BEGIN tor -->
|
<!-- BEGIN tor -->
|
||||||
<div title="{L_DL_TORRENT}">
|
<div title="{L_DL_TORRENT}">
|
||||||
<div><span class="seedmed" title="Seeders"><b>{t.tor.SEEDERS}</b></span><span class="med"> | </span><span class="leechmed" title="Leechers"><b>{t.tor.LEECHERS}</b></span></div>
|
<div><span class="seedmed" title="{L_SEEDERS}"><b>{t.tor.SEEDERS}</b></span><span class="med"> | </span><span class="leechmed" title="{L_LEECHERS}"><b>{t.tor.LEECHERS}</b></span></div>
|
||||||
<div style="padding-top: 2px" class="small"><!-- IF t.TOR_FROZEN -->{t.tor.TOR_SIZE}<!-- ELSE --><a href="{DOWNLOAD_URL}{t.tor.ATTACH_ID}" class="small" style="text-decoration: none">{t.tor.TOR_SIZE}</a> <!-- IF MAGNET_LINKS -->{t.tor.MAGNET}<!-- ENDIF --><!-- ENDIF --></div>
|
<div style="padding-top: 2px" class="small"><!-- IF t.TOR_FROZEN -->{t.tor.TOR_SIZE}<!-- ELSE --><a href="{DOWNLOAD_URL}{t.tor.ATTACH_ID}" class="small" style="text-decoration: none">{t.tor.TOR_SIZE}</a> <!-- IF MAGNET_LINKS -->{t.tor.MAGNET}<!-- ENDIF --><!-- ENDIF --></div>
|
||||||
</div>
|
</div>
|
||||||
<!-- END tor -->
|
<!-- END tor -->
|
||||||
|
@ -481,12 +481,12 @@ td.topic_id { cursor: pointer; }
|
||||||
|
|
||||||
<td class="tCenter small nowrap" style="padding: 3px 4px 2px;">
|
<td class="tCenter small nowrap" style="padding: 3px 4px 2px;">
|
||||||
<p>
|
<p>
|
||||||
<span title="{L_REPLIES}">{t.REPLIES}</span>
|
<span title="{L_REPLIES}: {t.REPLIES}">{t.REPLIES}</span>
|
||||||
<span class="small"> | </span>
|
<span class="small"> | </span>
|
||||||
<span title="{L_VIEWS}">{t.VIEWS}</span>
|
<span title="{L_VIEWS}: {t.VIEWS}">{t.VIEWS}</span>
|
||||||
</p>
|
</p>
|
||||||
<!-- BEGIN tor -->
|
<!-- BEGIN tor -->
|
||||||
<p style="padding-top: 2px" class="med" title="{L_COMPLETED}">
|
<p style="padding-top: 2px" class="med" title="{L_COMPLETED}: {t.tor.COMPL_CNT}">
|
||||||
<b>{t.tor.COMPL_CNT}</b>
|
<b>{t.tor.COMPL_CNT}</b>
|
||||||
</p>
|
</p>
|
||||||
<!-- END tor -->
|
<!-- END tor -->
|
||||||
|
|
|
@ -29,7 +29,7 @@ $max_forum_name_len = 60; // inside forum select box
|
||||||
$max_forums_selected = 50;
|
$max_forums_selected = 50;
|
||||||
$title_match_max_len = 60;
|
$title_match_max_len = 60;
|
||||||
$poster_name_max_len = 25;
|
$poster_name_max_len = 25;
|
||||||
$tor_colspan = 13; // torrents table colspan with all columns
|
$tor_colspan = 12; // torrents table colspan with all columns
|
||||||
$per_page = $bb_cfg['topics_per_page'];
|
$per_page = $bb_cfg['topics_per_page'];
|
||||||
$tracker_url = basename(__FILE__);
|
$tracker_url = basename(__FILE__);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue