@@ -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>'; |
@@ -19,13 +19,13 @@ discard block |
||
19 | 19 | { |
20 | 20 | /** |
21 | 21 | * Constants for receiving email notfications. |
22 | - */ |
|
22 | + */ |
|
23 | 23 | const RECEIVE_NOTIFY_EMAIL = 0x02; |
24 | 24 | const RECEIVE_NOTIFY_ALERT = 0x01; |
25 | 25 | |
26 | 26 | /** |
27 | 27 | * Constants for reply types. |
28 | - */ |
|
28 | + */ |
|
29 | 29 | const NOTIFY_TYPE_REPLY_AND_MODIFY = 1; |
30 | 30 | const NOTIFY_TYPE_REPLY_AND_TOPIC_START_FOLLOWING = 2; |
31 | 31 | const NOTIFY_TYPE_ONLY_REPLIES = 3; |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * Constants for frequencies. |
36 | - */ |
|
36 | + */ |
|
37 | 37 | const FREQUENCY_NOTHING = 0; |
38 | 38 | const FREQUENCY_EVERYTHING = 1; |
39 | 39 | const FREQUENCY_FIRST_UNREAD_MSG = 2; |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | const FREQUENCY_WEEKLY_DIGEST = 4; |
42 | 42 | |
43 | 43 | /** |
44 | - * This handles notifications when a new post is created - new topic, reply, quotes and mentions. |
|
44 | + * This handles notifications when a new post is created - new topic, reply, quotes and mentions. |
|
45 | 45 | * @return bool Always returns true |
46 | 46 | */ |
47 | 47 | public function execute() |