@@ -2192,10 +2192,10 @@ discard block |
||
2192 | 2192 | */ |
2193 | 2193 | function template_ignoreboards() |
2194 | 2194 | { |
2195 | - global $context, $txt, $scripturl; |
|
2195 | + global $context, $txt, $scripturl; |
|
2196 | 2196 | |
2197 | - // The main containing header. |
|
2198 | - echo ' |
|
2197 | + // The main containing header. |
|
2198 | + echo ' |
|
2199 | 2199 | <form action="', $scripturl, '?action=profile;area=ignoreboards;save" method="post" accept-charset="', $context['character_set'], '" name="creator" id="creator"> |
2200 | 2200 | <div class="cat_bar"> |
2201 | 2201 | <h3 class="catbg profile_hd"> |
@@ -2207,34 +2207,34 @@ discard block |
||
2207 | 2207 | <div class="flow_hidden boardslist"> |
2208 | 2208 | <ul>'; |
2209 | 2209 | |
2210 | - foreach ($context['categories'] as $category) |
|
2211 | - { |
|
2212 | - echo ' |
|
2210 | + foreach ($context['categories'] as $category) |
|
2211 | + { |
|
2212 | + echo ' |
|
2213 | 2213 | <li> |
2214 | 2214 | <a href="javascript:void(0);" onclick="selectBoards([', implode(', ', $category['child_ids']), '], \'creator\'); return false;">', $category['name'], '</a> |
2215 | 2215 | <ul>'; |
2216 | 2216 | |
2217 | - foreach ($category['boards'] as $board) |
|
2218 | - { |
|
2219 | - echo ' |
|
2217 | + foreach ($category['boards'] as $board) |
|
2218 | + { |
|
2219 | + echo ' |
|
2220 | 2220 | <li style="margin-', $context['right_to_left'] ? 'right' : 'left', ': ', $board['child_level'], 'em;"> |
2221 | 2221 | <label for="ignore_brd', $board['id'], '"><input type="checkbox" id="brd', $board['id'], '" name="ignore_brd[', $board['id'], ']" value="', $board['id'], '"', $board['selected'] ? ' checked' : '', '> ', $board['name'], '</label> |
2222 | 2222 | </li>'; |
2223 | - } |
|
2223 | + } |
|
2224 | 2224 | |
2225 | - echo ' |
|
2225 | + echo ' |
|
2226 | 2226 | </ul> |
2227 | 2227 | </li>'; |
2228 | - } |
|
2228 | + } |
|
2229 | 2229 | |
2230 | - echo ' |
|
2230 | + echo ' |
|
2231 | 2231 | </ul> |
2232 | 2232 | </div><!-- .flow_hidden boardslist -->'; |
2233 | 2233 | |
2234 | - // Show the standard "Save Settings" profile button. |
|
2235 | - template_profile_save(); |
|
2234 | + // Show the standard "Save Settings" profile button. |
|
2235 | + template_profile_save(); |
|
2236 | 2236 | |
2237 | - echo ' |
|
2237 | + echo ' |
|
2238 | 2238 | </div><!-- .windowbg --> |
2239 | 2239 | </form> |
2240 | 2240 | <br>'; |