mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Removed wbr() (#1387)
This commit is contained in:
parent
c0117d3616
commit
80fe5a5e60
13 changed files with 22 additions and 28 deletions
|
@ -81,10 +81,10 @@ if ($watch_count > 0) {
|
|||
'ROW_CLASS' => (!($i % 2)) ? 'row1' : 'row2',
|
||||
'POST_ID' => $watch[$i]['topic_first_post_id'],
|
||||
'TOPIC_ID' => $watch[$i]['topic_id'],
|
||||
'TOPIC_TITLE' => wbr(str_short($watch[$i]['topic_title'], 70)),
|
||||
'FULL_TOPIC_TITLE' => wbr($watch[$i]['topic_title']),
|
||||
'TOPIC_TITLE' => str_short($watch[$i]['topic_title'], 70),
|
||||
'FULL_TOPIC_TITLE' => $watch[$i]['topic_title'],
|
||||
'U_TOPIC' => TOPIC_URL . $watch[$i]['topic_id'],
|
||||
'FORUM_TITLE' => wbr($watch[$i]['forum_name']),
|
||||
'FORUM_TITLE' => $watch[$i]['forum_name'],
|
||||
'U_FORUM' => FORUM_URL . $watch[$i]['forum_id'],
|
||||
'REPLIES' => $watch[$i]['topic_replies'],
|
||||
'AUTHOR' => profile_url($watch[$i]),
|
||||
|
|
|
@ -49,7 +49,7 @@ foreach ($sql as $rowset) {
|
|||
|
||||
if ($releasing) {
|
||||
foreach ($releasing as $i => $row) {
|
||||
$topic_title = wbr($row['topic_title']);
|
||||
$topic_title = $row['topic_title'];
|
||||
|
||||
$template->assign_block_vars('released', [
|
||||
'ROW_CLASS' => !($i % 2) ? 'row1' : 'row2',
|
||||
|
@ -69,7 +69,7 @@ if ($releasing) {
|
|||
|
||||
if ($seeding) {
|
||||
foreach ($seeding as $i => $row) {
|
||||
$topic_title = wbr($row['topic_title']);
|
||||
$topic_title = $row['topic_title'];
|
||||
|
||||
$template->assign_block_vars('seed', [
|
||||
'ROW_CLASS' => !($i % 2) ? 'row1' : 'row2',
|
||||
|
@ -89,9 +89,9 @@ if ($seeding) {
|
|||
|
||||
if ($leeching) {
|
||||
foreach ($leeching as $i => $row) {
|
||||
$compl_size = ($row['remain'] && $row['size'] && $row['size'] > $row['remain']) ? ($row['size'] - $row['remain']) : 0;
|
||||
$compl_perc = ($compl_size) ? floor($compl_size * 100 / $row['size']) : 0;
|
||||
$topic_title = wbr($row['topic_title']);
|
||||
$compl_size = ($row['remain'] && $row['size'] && ($row['size'] > $row['remain'])) ? ($row['size'] - $row['remain']) : 0;
|
||||
$compl_perc = $compl_size ? floor($compl_size * 100 / $row['size']) : 0;
|
||||
$topic_title = $row['topic_title'];
|
||||
|
||||
$template->assign_block_vars('leech', [
|
||||
'ROW_CLASS' => !($i % 2) ? 'row1' : 'row2',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue