|
18 | 18 | ?> |
19 | 19 |
|
20 | 20 | <div class="blockform"> |
21 | | - <h2><span><?= _e('Parser head') ?></span></h2> |
| 21 | + <h2><span><?= __('Parser head') ?></span></h2> |
22 | 22 | <div class="box"> |
23 | 23 | <form method="post" action="<?= Router::pathFor('adminParser') ?>" enctype="multipart/form-data"> |
24 | 24 | <input type="hidden" name="csrf_name" value="<?= $csrf_name; ?>"><input type="hidden" name="csrf_value" value="<?= $csrf_value; ?>"> |
25 | 25 | <p class="submittop"> |
26 | | - <input type="submit" name="save" value="<?= _e('Save changes') ?>" /> |
27 | | - <input type="submit" name="reset" value="<?= _e('reset defaults') ?>" /> |
| 26 | + <input type="submit" name="save" value="<?= __('Save changes') ?>" /> |
| 27 | + <input type="submit" name="reset" value="<?= __('reset defaults') ?>" /> |
28 | 28 | </p> |
29 | 29 | <div class="inform"> |
30 | 30 | <input type="hidden" name="form_sent" value="1" /> |
31 | 31 | <fieldset> |
32 | | - <legend><?= _e('Config subhead') ?></legend> |
| 32 | + <legend><?= __('Config subhead') ?></legend> |
33 | 33 | <div class="infldset"> |
34 | 34 | <table class="aligntop" cellspacing="0"> |
35 | 35 | <tr> |
36 | | - <th scope="row"><?= _e('textile') ?></th> |
| 36 | + <th scope="row"><?= __('textile') ?></th> |
37 | 37 | <td colspan="2"> |
38 | 38 | <input type="radio" name="config[textile]" value="1"<?php if ($config['textile']) { |
39 | 39 | echo ' checked="checked"'; |
|
42 | 42 | } ?> /> <strong><?= __('No') ?></strong> |
43 | 43 | </td> |
44 | 44 | <td> |
45 | | - <span><?= _e('textile help') ?></span> |
| 45 | + <span><?= __('textile help') ?></span> |
46 | 46 | </td> |
47 | 47 | </tr> |
48 | 48 | <tr> |
49 | | - <th scope="row"><?= _e('quote_links') ?></th> |
| 49 | + <th scope="row"><?= __('quote_links') ?></th> |
50 | 50 | <td colspan="2"> |
51 | 51 | <input type="radio" name="config[quote_links]" value="1"<?php if ($config['quote_links']) { |
52 | 52 | echo ' checked="checked"'; |
|
55 | 55 | } ?> /> <strong><?= __('No') ?></strong> |
56 | 56 | </td> |
57 | 57 | <td> |
58 | | - <span><?= _e('quote_links help') ?></span> |
| 58 | + <span><?= __('quote_links help') ?></span> |
59 | 59 | </td> |
60 | 60 | </tr> |
61 | 61 | <tr> |
62 | | - <th scope="row"><?= _e('quote_imgs') ?></th> |
| 62 | + <th scope="row"><?= __('quote_imgs') ?></th> |
63 | 63 | <td colspan="2"> |
64 | 64 | <input type="radio" name="config[quote_imgs]" value="1"<?php if ($config['quote_imgs']) { |
65 | 65 | echo ' checked="checked"'; |
|
68 | 68 | } ?> /> <strong><?= __('No') ?></strong> |
69 | 69 | </td> |
70 | 70 | <td> |
71 | | - <span><?= _e('quote_imgs help') ?></span> |
| 71 | + <span><?= __('quote_imgs help') ?></span> |
72 | 72 | </td> |
73 | 73 | </tr> |
74 | 74 | <tr> |
75 | | - <th scope="row"><?= _e('click_imgs') ?></th> |
| 75 | + <th scope="row"><?= __('click_imgs') ?></th> |
76 | 76 | <td colspan="2"> |
77 | 77 | <input type="radio" name="config[click_imgs]" value="1"<?php if ($config['click_imgs']) { |
78 | 78 | echo ' checked="checked"'; |
|
81 | 81 | } ?> /> <strong><?= __('No') ?></strong> |
82 | 82 | </td> |
83 | 83 | <td> |
84 | | - <span><?= _e('click_imgs help') ?></span> |
| 84 | + <span><?= __('click_imgs help') ?></span> |
85 | 85 | </td> |
86 | 86 | </tr> |
87 | 87 |
|
88 | 88 | <tr> |
89 | | - <th scope="row"><?= _e('valid_imgs') ?></th> |
| 89 | + <th scope="row"><?= __('valid_imgs') ?></th> |
90 | 90 | <td colspan="2"> |
91 | 91 | <input type="radio" name="config[valid_imgs]" value="1"<?php if ($config['valid_imgs']) { |
92 | 92 | echo ' checked="checked"'; |
93 | 93 | } if (!ini_get('allow_url_fopen')) { |
94 | | - echo(' disabled="disabled" title="'._e('unavailable').'"'); |
| 94 | + echo(' disabled="disabled" title="'.__('unavailable').'"'); |
95 | 95 | } ?> /> <strong><?= __('Yes') ?></strong> |
96 | 96 | <input type="radio" name="config[valid_imgs]" value="0"<?php if (!$config['valid_imgs']) { |
97 | 97 | echo ' checked="checked"'; |
98 | 98 | } if (!ini_get('allow_url_fopen')) { |
99 | | - echo(' disabled="disabled" title="'._e('unavailable').'"'); |
| 99 | + echo(' disabled="disabled" title="'.__('unavailable').'"'); |
100 | 100 | } ?> /> <strong><?= __('No') ?></strong> |
101 | 101 | </td> |
102 | | - <td><?= _e('valid_imgs help') ?></td> |
| 102 | + <td><?= __('valid_imgs help') ?></td> |
103 | 103 | </tr> |
104 | 104 | <tr> |
105 | | - <th scope="row"><?= _e('max_size') ?></th> |
| 105 | + <th scope="row"><?= __('max_size') ?></th> |
106 | 106 | <td colspan="2"> |
107 | 107 | <input type="text" name="config[max_size]" size="10" maxlength="8" value="<?php echo($config['max_size'])?>"<?php if (!ini_get('allow_url_fopen')) { |
108 | | - echo(' disabled="disabled" title="'._e('unavailable').'"'); |
| 108 | + echo(' disabled="disabled" title="'.__('unavailable').'"'); |
109 | 109 | } ?> /> |
110 | 110 | </td> |
111 | | - <td><span><?= _e('max_size help') ?></span></td> |
| 111 | + <td><span><?= __('max_size help') ?></span></td> |
112 | 112 | </tr> |
113 | 113 | <tr> |
114 | | - <th scope="row"><?= _e('def_xy') ?></th> |
| 114 | + <th scope="row"><?= __('def_xy') ?></th> |
115 | 115 | <td> |
116 | 116 | <input type="text" name="config[def_width]" size="5" maxlength="5" value="<?= $config['def_width'] ?>" /> X:Width |
117 | 117 | </td> |
118 | 118 | <td> |
119 | 119 | <input type="text" name="config[def_height]" size="5" maxlength="5" value="<?= $config['def_height'] ?>" /> Y:Height |
120 | 120 | </td> |
121 | 121 | <td> |
122 | | - <span><?= _e('def_xy help') ?></span> |
| 122 | + <span><?= __('def_xy help') ?></span> |
123 | 123 | </td> |
124 | 124 | </tr> |
125 | 125 |
|
126 | 126 |
|
127 | 127 | <tr> |
128 | | - <th scope="row"><?= _e('max_xy') ?></th> |
| 128 | + <th scope="row"><?= __('max_xy') ?></th> |
129 | 129 | <td> |
130 | 130 | <input type="text" name="config[max_width]" size="5" maxlength="5" value="<?= $config['max_width'] ?>" /> X:Width |
131 | 131 | </td> |
132 | 132 | <td> |
133 | 133 | <input type="text" name="config[max_height]" size="5" maxlength="5" value="<?= $config['max_height'] ?>" /> Y:Height |
134 | 134 | </td> |
135 | | - <td><?= _e('max_xy help') ?></td> |
| 135 | + <td><?= __('max_xy help') ?></td> |
136 | 136 | </tr> |
137 | 137 |
|
138 | 138 | <tr> |
139 | | - <th scope="row"><?= _e('smiley_size') ?></th> |
| 139 | + <th scope="row"><?= __('smiley_size') ?></th> |
140 | 140 | <td colspan=2> |
141 | 141 | <input type="text" name="config[smiley_size]" size="5" maxlength="5" value="<?= $config['smiley_size'] .'%' ?>" /> |
142 | 142 | </td> |
143 | 143 | <td> |
144 | | - <span><?= _e('smiley_size help') ?></span> |
| 144 | + <span><?= __('smiley_size help') ?></span> |
145 | 145 | </td> |
146 | 146 | </tr> |
147 | 147 |
|
|
151 | 151 | </div> |
152 | 152 | <div class="inform"> |
153 | 153 | <fieldset> |
154 | | - <legend><?= _e('Smilies subhead') ?></legend> |
| 154 | + <legend><?= __('Smilies subhead') ?></legend> |
155 | 155 | <div class="infldset"> |
156 | 156 | <table cellspacing="0"> |
157 | 157 | <thead> |
158 | 158 | <tr> |
159 | | - <th scope="col"><?= _e('smiley_text_label') ?></th> |
160 | | - <th scope="col"><?= _e('smiley_file_label') ?></th> |
| 159 | + <th scope="col"><?= __('smiley_text_label') ?></th> |
| 160 | + <th scope="col"><?= __('smiley_file_label') ?></th> |
161 | 161 | <th scope="col">:)</th> |
162 | 162 | </tr> |
163 | 163 | </thead> |
|
191 | 191 | <tr> |
192 | 192 | <td> |
193 | 193 | <input type="text" name="smiley_text[<?php echo(++$i); ?>]" value="" size="20" maxlength="80" /><br /> |
194 | | - <?= _e('New smiley text') ?> |
| 194 | + <?= __('New smiley text') ?> |
195 | 195 | </td> |
196 | 196 | <td> |
197 | 197 | <select name="smiley_file[<?php echo($i); ?>]"> |
198 | | - <option selected="selected"><?= _e('Select new file') ?></option> |
| 198 | + <option selected="selected"><?= __('Select new file') ?></option> |
199 | 199 | <?php |
200 | 200 | foreach ($smiley_files as $file) { |
201 | 201 | echo("\t\t\t\t\t\t\t\t\t\t\t<option>" . $file . "</option>\n"); |
202 | 202 | } |
203 | 203 | ?> |
204 | | - </select><br /><?= _e('New smiley image') ?> |
| 204 | + </select><br /><?= __('New smiley image') ?> |
205 | 205 | </td> |
206 | 206 | <td></td> |
207 | 207 | </tr> |
208 | 208 | <tr> |
209 | | - <th scope="row"><?= _e('smiley_upload') ?></th> |
| 209 | + <th scope="row"><?= __('smiley_upload') ?></th> |
210 | 210 | <?php if (ini_get('file_uploads')) { |
211 | 211 | ?> |
212 | 212 | <td><input type="hidden" name="MAX_FILE_SIZE" value="<?= ForumSettings::get('o_avatars_size') ?>" /> |
213 | 213 | <input type="file" name="new_smiley" id="upload_smiley" /></td> |
214 | | - <td><input type="submit" name="upload" value="<?= _e('upload_button') ?>" /></td> |
| 214 | + <td><input type="submit" name="upload" value="<?= __('upload_button') ?>" /></td> |
215 | 215 | <?php |
216 | 216 | } else { |
217 | 217 | ?> |
218 | | - <td colspan="2"><?= _e('upload_off') ?></td> |
| 218 | + <td colspan="2"><?= __('upload_off') ?></td> |
219 | 219 | <?php |
220 | 220 | } ?> |
221 | 221 | </tr> |
|
229 | 229 |
|
230 | 230 | <div class="inform"> |
231 | 231 | <fieldset> |
232 | | - <legend><?= _e('BBCodes subhead') ?></legend> |
| 232 | + <legend><?= __('BBCodes subhead') ?></legend> |
233 | 233 | <div class="infldset"> |
234 | 234 | <table cellspacing="0"> |
235 | 235 | <thead> |
236 | 236 | <tr> |
237 | | - <th class="tcl" scope="col"><?= _e('tagname_label') ?></th> |
238 | | - <th class="tc3" scope="col"><?= _e('in_post_label') ?></th> |
239 | | - <th class="hidehead" scope="col"><?= _e('in_sig_label') ?></th> |
240 | | - <th class="tc2" scope="col"><?= _e('depth_max') ?></th> |
| 237 | + <th class="tcl" scope="col"><?= __('tagname_label') ?></th> |
| 238 | + <th class="tc3" scope="col"><?= __('in_post_label') ?></th> |
| 239 | + <th class="hidehead" scope="col"><?= __('in_sig_label') ?></th> |
| 240 | + <th class="tc2" scope="col"><?= __('depth_max') ?></th> |
241 | 241 | </tr> |
242 | 242 | </thead> |
243 | 243 | <tbody> |
|
248 | 248 | } // Skip last pseudo-tag |
249 | 249 | $title = isset($tag_summary[$tagname]) ? $tag_summary[$tagname] : ''; ?> |
250 | 250 | <tr> |
251 | | - <th scope="row" title="<?= _e($title) ?>"><?php echo('['. $tagname .']') ?></th> |
| 251 | + <th scope="row" title="<?= __($title) ?>"><?php echo('['. $tagname .']') ?></th> |
252 | 252 | <td> |
253 | 253 | <input type="radio" name="<?php echo($tagname) ?>_in_post" value="1"<?php if ($bbcd[$tagname]['in_post']) { |
254 | 254 | echo ' checked="checked"'; |
|
279 | 279 |
|
280 | 280 |
|
281 | 281 | <p class="submitend"> |
282 | | - <input type="submit" name="save" value="<?= _e('Save changes') ?>" /> |
283 | | - <input type="submit" name="reset" value="<?= _e('reset defaults') ?>" /> |
| 282 | + <input type="submit" name="save" value="<?= __('Save changes') ?>" /> |
| 283 | + <input type="submit" name="reset" value="<?= __('reset defaults') ?>" /> |
284 | 284 | </p> |
285 | 285 | </form> |
286 | 286 | </div> |
|
0 commit comments