@@ -91,9 +91,9 @@ discard block |
||
91 | 91 | if ($forum->parent_type == 1) { |
92 | 92 | // post to team msg board |
93 | 93 | if ($forum->category == $teamid) { |
94 | - if ($thread->hidden && !$show_team_hidden) { |
|
95 | - continue; |
|
96 | - } |
|
94 | + if ($thread->hidden && !$show_team_hidden) { |
|
95 | + continue; |
|
96 | + } |
|
97 | 97 | if ($post->hidden && !$show_team_hidden) { |
98 | 98 | continue; |
99 | 99 | } |
@@ -101,18 +101,18 @@ discard block |
||
101 | 101 | continue; |
102 | 102 | } |
103 | 103 | } else { |
104 | - if ($thread->hidden && !$show_hidden) { |
|
105 | - continue; |
|
106 | - } |
|
104 | + if ($thread->hidden && !$show_hidden) { |
|
105 | + continue; |
|
106 | + } |
|
107 | 107 | if ($post->hidden && !$show_hidden) { |
108 | 108 | continue; |
109 | 109 | } |
110 | 110 | } |
111 | 111 | } |
112 | - if ($n == $offset + $items_per_page) { |
|
113 | - $show_next = true; |
|
114 | - break; |
|
115 | - } |
|
112 | + if ($n == $offset + $items_per_page) { |
|
113 | + $show_next = true; |
|
114 | + break; |
|
115 | + } |
|
116 | 116 | if ($n >= $offset) { |
117 | 117 | show_post_and_context($post, $thread, $forum, $options, $n+1); |
118 | 118 | } |
@@ -121,12 +121,12 @@ discard block |
||
121 | 121 | end_table(); |
122 | 122 | |
123 | 123 | if ($offset) { |
124 | - $x = $offset - $items_per_page; |
|
124 | + $x = $offset - $items_per_page; |
|
125 | 125 | echo "<a href=forum_user_posts.php?userid=$userid&offset=$x> |
126 | 126 | <b>".tra("Previous %1", $items_per_page)."</b> |
127 | 127 | </a> |
128 | 128 | "; |
129 | - if ($show_next) echo " · "; |
|
129 | + if ($show_next) echo " · "; |
|
130 | 130 | } |
131 | 131 | |
132 | 132 | if ($show_next) { |