mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#1259)
This commit is contained in:
parent
0791859923
commit
297163953e
3 changed files with 5 additions and 4 deletions
|
@ -315,6 +315,7 @@ function display_attachments($post_id)
|
|||
'FILESIZE' => $filesize,
|
||||
'COMMENT' => $comment,
|
||||
'TARGET_BLANK' => $target_blank,
|
||||
'IS_IMAGE' => (bool)$target_blank,
|
||||
'DOWNLOAD_COUNT' => declension((int)$attachments['_' . $post_id][$i]['download_count'], 'times')
|
||||
]);
|
||||
}
|
||||
|
|
|
@ -1247,7 +1247,7 @@ $lang['ALREADY_REG'] = 'Torrent already registered';
|
|||
$lang['NOT_TORRENT'] = 'This file is not torrent';
|
||||
$lang['ONLY_1_TOR_PER_POST'] = 'You can register only one torrent in one post';
|
||||
$lang['ONLY_1_TOR_PER_TOPIC'] = 'You can register only one torrent in one topic';
|
||||
$lang['VIEWING_USER_BT_PROFILE'] = 'Viewing torrent-profile :: %s'; // %s is username
|
||||
$lang['VIEWING_USER_BT_PROFILE'] = 'Torrent-profile';
|
||||
$lang['CUR_ACTIVE_DLS'] = 'Active torrents';
|
||||
|
||||
$lang['TD_TRAF'] = 'Today';
|
||||
|
|
|
@ -14,11 +14,11 @@
|
|||
<!-- BEGIN cat_images -->
|
||||
<fieldset class="attach">
|
||||
<legend>{TOPIC_ATTACH_ICON} {L_ATTACHMENT} ({postrow.attach.cat_images.FILESIZE})</legend>
|
||||
<p class="tCenter pad_6">
|
||||
<p class="tCenter">
|
||||
<img src="{postrow.attach.cat_images.IMG_SRC}" id="attachImg" class="postImg" alt="img" border="0" />
|
||||
</p>
|
||||
<!-- IF postrow.attach.cat_images.COMMENT -->
|
||||
<p class="tCenter med lh_110">
|
||||
<p class="attach_comment med">
|
||||
{postrow.attach.cat_images.COMMENT}
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
|
@ -52,7 +52,7 @@
|
|||
<legend>{postrow.attach.attachrow.S_UPLOAD_IMAGE} {L_ATTACHMENT}</legend>
|
||||
<p class="attach_link">
|
||||
<a href="{postrow.attach.attachrow.U_DOWNLOAD_LINK}" {postrow.attach.attachrow.TARGET_BLANK}><b>{postrow.attach.attachrow.DOWNLOAD_NAME}</b></a>
|
||||
<span class="attach_stats med">({postrow.attach.attachrow.FILESIZE}, {L_DOWNLOADED}: {postrow.attach.attachrow.DOWNLOAD_COUNT})</span>
|
||||
<span class="attach_stats med">({postrow.attach.attachrow.FILESIZE}, <!-- IF postrow.attach.attachrow.IS_IMAGE -->{L_VIEWS}<!-- ELSE -->{L_DOWNLOADED}<!-- ENDIF -->: {postrow.attach.attachrow.DOWNLOAD_COUNT})</span>
|
||||
</p>
|
||||
<!-- IF postrow.attach.attachrow.COMMENT -->
|
||||
<p class="attach_comment med">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue