Skip to content

Commit

Permalink
Move spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy committed Apr 7, 2019
1 parent a0b27e2 commit d2c0850
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions viewforum.php
Expand Up @@ -216,7 +216,7 @@
$item_status .= ' inew'; $item_status .= ' inew';
$icon_type = 'icon icon-new'; $icon_type = 'icon icon-new';
$subject = '<strong>'.$subject.'</strong>'; $subject = '<strong>'.$subject.'</strong>';
$subject_new_posts = '<span class="newtext">[ <a href="viewtopic.php?id='.$cur_topic['id'].'&amp;action=new" title="'.$lang_common['New posts info'].'">'.$lang_common['New posts'].'</a> ]</span>'; $subject_new_posts = ' <span class="newtext">[ <a href="viewtopic.php?id='.$cur_topic['id'].'&amp;action=new" title="'.$lang_common['New posts info'].'">'.$lang_common['New posts'].'</a> ]</span>';
} }
else else
$subject_new_posts = null; $subject_new_posts = null;
Expand All @@ -237,16 +237,16 @@
$num_pages_topic = ceil(($cur_topic['num_replies'] + 1) / $pun_user['disp_posts']); $num_pages_topic = ceil(($cur_topic['num_replies'] + 1) / $pun_user['disp_posts']);


if ($num_pages_topic > 1) if ($num_pages_topic > 1)
$subject_multipage = '<span class="pagestext">[ '.paginate($num_pages_topic, -1, 'viewtopic.php?id='.$cur_topic['id']).' ]</span>'; $subject_multipage = ' <span class="pagestext">[ '.paginate($num_pages_topic, -1, 'viewtopic.php?id='.$cur_topic['id']).' ]</span>';
else else
$subject_multipage = null; $subject_multipage = null;


// Should we show the "New posts" and/or the multipage links? // Should we show the "New posts" and/or the multipage links?
if (!empty($subject_new_posts)) if (!empty($subject_new_posts))
$subject .= ' '.$subject_new_posts; $subject .= $subject_new_posts;


if (!empty($subject_multipage)) if (!empty($subject_multipage))
$subject .= ' '.$subject_multipage; $subject .= $subject_multipage;


?> ?>
<tr class="<?php echo $item_status ?>"> <tr class="<?php echo $item_status ?>">
Expand Down

0 comments on commit d2c0850

Please sign in to comment.