@@ -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() |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | // Stick our "create a redirection topic" template in here... |
| 66 | 66 | template_redirect_options('move'); |
| 67 | 67 | |
| 68 | - echo ' |
|
| 68 | + echo ' |
|
| 69 | 69 | <input type="submit" value="', $txt['move_topic'], '" onclick="return submitThisOnce(this);" accesskey="s" class="button"> |
| 70 | 70 | </div><!-- .move_topic --> |
| 71 | 71 | </div><!-- .windowbg -->'; |
@@ -88,9 +88,9 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | function template_redirect_options($type) |
| 90 | 90 | { |
| 91 | - global $txt, $context, $modSettings; |
|
| 91 | + global $txt, $context, $modSettings; |
|
| 92 | 92 | |
| 93 | - echo ' |
|
| 93 | + echo ' |
|
| 94 | 94 | <label for="postRedirect"> |
| 95 | 95 | <input type="checkbox" name="postRedirect" id="postRedirect"', $context['is_approved'] ? ' checked' : '', ' onclick="', $context['is_approved'] ? '' : 'if (this.checked && !confirm(\'' . $txt[$type . '_topic_unapproved_js'] . '\')) return false; ', 'document.getElementById(\'reasonArea\').classList.toggle(\'hidden\');"> ', $txt['post_redirection'], '. |
| 96 | 96 | </label> |