Index: trunk/extensions/LiquidThreads/Lqt.i18n.php |
— | — | @@ -94,6 +94,7 @@ |
95 | 95 | 'lqt_delete_return' => 'Return to $1.', |
96 | 96 | 'lqt_delete_return_link' => 'the talkpage', // subst above |
97 | 97 | 'lqt_delete_unallowed' => 'You are not allowed to delete threads.', |
| 98 | + 'lqt_delete_show' => 'Show deleted threads.', |
98 | 99 | 'lqt_talkpage_autocreate_summary' => 'Talkpage autocreated when first thread was posted.', |
99 | 100 | 'lqt_header_warning_before_big' => '', |
100 | 101 | 'lqt_header_warning_big' => 'You are editing a $1.', |
Index: trunk/extensions/LiquidThreads/LqtPages.php |
— | — | @@ -152,12 +152,10 @@ |
153 | 153 | } |
154 | 154 | if ( in_array('deletedhistory', $this->user->getRights()) ) { |
155 | 155 | $show_deleted_checked = $this->request->getBool('lqt_show_deleted_threads') ? 'checked ' : ''; |
156 | | - $show_deleted = <<<HTML |
157 | | -<br /> |
158 | | -<label for="lqt_show_deleted_threads_checkbox"> |
159 | | -<input id="lqt_show_deleted_threads_checkbox" name="lqt_show_deleted_threads" type="checkbox" value="1" $show_deleted_checked /> |
160 | | -Show deleted threads</label> |
161 | | -HTML; |
| 156 | + $show_deleted = "<br />\n" . |
| 157 | + "<label for=\"lqt_show_deleted_threads_checkbox\">\n" . |
| 158 | + "<input id=\"lqt_show_deleted_threads_checkbox\" name=\"lqt_show_deleted_threads\" type=\"checkbox\" value=\"1\" $show_deleted_checked />\n" . |
| 159 | + wfMsg( 'lqt_show_deleted' ) . "</label>\n"; |
162 | 160 | } else { |
163 | 161 | $show_deleted = ""; |
164 | 162 | } |