@@ -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,31 +2207,31 @@ discard block |
||
2207 | 2207 | <div class="flow_hidden"> |
2208 | 2208 | <ul class="boardslist">'; |
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 | |
2216 | - foreach ($category['boards'] as $board) |
|
2217 | - { |
|
2218 | - echo ' |
|
2216 | + foreach ($category['boards'] as $board) |
|
2217 | + { |
|
2218 | + echo ' |
|
2219 | 2219 | <li style="margin-', $context['right_to_left'] ? 'right' : 'left', ': ', $board['child_level'], 'em;"> |
2220 | 2220 | <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> |
2221 | 2221 | </li>'; |
2222 | - } |
|
2222 | + } |
|
2223 | 2223 | |
2224 | - echo ' |
|
2224 | + echo ' |
|
2225 | 2225 | </li>'; |
2226 | - } |
|
2226 | + } |
|
2227 | 2227 | |
2228 | - echo ' |
|
2228 | + echo ' |
|
2229 | 2229 | </ul>'; |
2230 | 2230 | |
2231 | - // Show the standard "Save Settings" profile button. |
|
2232 | - template_profile_save(); |
|
2231 | + // Show the standard "Save Settings" profile button. |
|
2232 | + template_profile_save(); |
|
2233 | 2233 | |
2234 | - echo ' |
|
2234 | + echo ' |
|
2235 | 2235 | </div><!-- .flow_hidden --> |
2236 | 2236 | </div><!-- .windowbg --> |
2237 | 2237 | </form> |