|
16 | 16 | ?> |
17 | 17 |
|
18 | 18 | <div class="blockform"> |
19 | | - <h2><span><?php _e('New ban head') ?></span></h2> |
| 19 | + <h2><span><?= __('New ban head') ?></span></h2> |
20 | 20 | <div class="box"> |
21 | 21 | <form id="bans" method="post" action="<?= Router::pathFor('addBan') ?>"> |
22 | 22 | <input type="hidden" name="csrf_name" value="<?= $csrf_name; ?>"><input type="hidden" name="csrf_value" value="<?= $csrf_value; ?>"> |
23 | 23 | <div class="inform"> |
24 | 24 | <fieldset> |
25 | | - <legend><?php _e('Add ban subhead') ?></legend> |
| 25 | + <legend><?= __('Add ban subhead') ?></legend> |
26 | 26 | <div class="infldset"> |
27 | 27 | <table class="aligntop"> |
28 | 28 | <tr> |
29 | | - <th scope="row"><?php _e('Username label') ?><div><input type="submit" name="add_ban" value="<?php _e('Add') ?>" tabindex="2" /></div></th> |
| 29 | + <th scope="row"><?= __('Username label') ?><div><input type="submit" name="add_ban" value="<?= __('Add') ?>" tabindex="2" /></div></th> |
30 | 30 | <td> |
31 | 31 | <input type="text" name="new_ban_user" size="25" maxlength="25" tabindex="1" autofocus /> |
32 | | - <span><?php _e('Username advanced help') ?></span> |
| 32 | + <span><?= __('Username advanced help') ?></span> |
33 | 33 | </td> |
34 | 34 | </tr> |
35 | 35 | </table> |
|
39 | 39 | </form> |
40 | 40 | </div> |
41 | 41 |
|
42 | | - <h2 class="block2"><span><?php _e('Ban search head') ?></span></h2> |
| 42 | + <h2 class="block2"><span><?= __('Ban search head') ?></span></h2> |
43 | 43 | <div class="box"> |
44 | 44 | <form id="find_bans" method="get" action="<?= Router::pathFor('adminBans') ?>"> |
45 | | - <p class="submittop"><input type="submit" name="find_ban" value="<?php _e('Submit search') ?>" tabindex="3" /></p> |
| 45 | + <p class="submittop"><input type="submit" name="find_ban" value="<?= __('Submit search') ?>" tabindex="3" /></p> |
46 | 46 | <div class="inform"> |
47 | 47 | <fieldset> |
48 | | - <legend><?php _e('Ban search subhead') ?></legend> |
| 48 | + <legend><?= __('Ban search subhead') ?></legend> |
49 | 49 | <div class="infldset"> |
50 | | - <p><?php _e('Ban search info') ?></p> |
| 50 | + <p><?= __('Ban search info') ?></p> |
51 | 51 | <table class="aligntop"> |
52 | 52 | <tr> |
53 | | - <th scope="row"><?php _e('Username label') ?></th> |
| 53 | + <th scope="row"><?= __('Username label') ?></th> |
54 | 54 | <td><input type="text" name="username" size="30" maxlength="25" tabindex="4" /></td> |
55 | 55 | </tr> |
56 | 56 | <tr> |
57 | | - <th scope="row"><?php _e('IP label') ?></th> |
| 57 | + <th scope="row"><?= __('IP label') ?></th> |
58 | 58 | <td><input type="text" name="ip" size="30" maxlength="255" tabindex="5" /></td> |
59 | 59 | </tr> |
60 | 60 | <tr> |
61 | | - <th scope="row"><?php _e('E-mail label') ?></th> |
| 61 | + <th scope="row"><?= __('E-mail label') ?></th> |
62 | 62 | <td><input type="text" name="email" size="30" maxlength="80" tabindex="6" /></td> |
63 | 63 | </tr> |
64 | 64 | <tr> |
65 | | - <th scope="row"><?php _e('Message label') ?></th> |
| 65 | + <th scope="row"><?= __('Message label') ?></th> |
66 | 66 | <td><input type="text" name="message" size="30" maxlength="255" tabindex="7" /></td> |
67 | 67 | </tr> |
68 | 68 | <tr> |
69 | | - <th scope="row"><?php _e('Expire after label') ?></th> |
| 69 | + <th scope="row"><?= __('Expire after label') ?></th> |
70 | 70 | <td><input type="text" name="expire_after" size="10" maxlength="10" tabindex="8" /> |
71 | | - <span><?php _e('Date help') ?></span></td> |
| 71 | + <span><?= __('Date help') ?></span></td> |
72 | 72 | </tr> |
73 | 73 | <tr> |
74 | | - <th scope="row"><?php _e('Expire before label') ?></th> |
| 74 | + <th scope="row"><?= __('Expire before label') ?></th> |
75 | 75 | <td><input type="text" name="expire_before" size="10" maxlength="10" tabindex="9" /> |
76 | | - <span><?php _e('Date help') ?></span></td> |
| 76 | + <span><?= __('Date help') ?></span></td> |
77 | 77 | </tr> |
78 | 78 | <tr> |
79 | | - <th scope="row"><?php _e('Order by label') ?></th> |
| 79 | + <th scope="row"><?= __('Order by label') ?></th> |
80 | 80 | <td> |
81 | 81 | <select name="order_by" tabindex="10"> |
82 | | - <option value="username" selected="selected"><?php _e('Order by username') ?></option> |
83 | | - <option value="ip"><?php _e('Order by ip') ?></option> |
84 | | - <option value="email"><?php _e('Order by e-mail') ?></option> |
85 | | - <option value="expire"><?php _e('Order by expire') ?></option> |
| 82 | + <option value="username" selected="selected"><?= __('Order by username') ?></option> |
| 83 | + <option value="ip"><?= __('Order by ip') ?></option> |
| 84 | + <option value="email"><?= __('Order by e-mail') ?></option> |
| 85 | + <option value="expire"><?= __('Order by expire') ?></option> |
86 | 86 | </select> |
87 | 87 |     |
88 | 88 | <select name="direction" tabindex="11"> |
89 | | - <option value="ASC" selected="selected"><?php _e('Ascending') ?></option> |
90 | | - <option value="DESC"><?php _e('Descending') ?></option> |
| 89 | + <option value="ASC" selected="selected"><?= __('Ascending') ?></option> |
| 90 | + <option value="DESC"><?= __('Descending') ?></option> |
91 | 91 | </select> |
92 | 92 | </td> |
93 | 93 | </tr> |
|
96 | 96 | </div> |
97 | 97 | </fieldset> |
98 | 98 | </div> |
99 | | - <p class="submitend"><input type="submit" name="find_ban" value="<?php _e('Submit search') ?>" tabindex="12" /></p> |
| 99 | + <p class="submitend"><input type="submit" name="find_ban" value="<?= __('Submit search') ?>" tabindex="12" /></p> |
100 | 100 | </form> |
101 | 101 | </div> |
102 | 102 | </div> |
|
0 commit comments