Skip to content

Commit ad1af56

Browse files
committed
Fix fonction
1 parent f73bfcc commit ad1af56

7 files changed

Lines changed: 51 additions & 51 deletions

File tree

‎featherbb/View/admin/bans/search_ban.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<div class="linkst">
2121
<div class="inbox crumbsplus">
2222
<ul class="crumbs">
23-
<li><a href="<?= Router::pathFor('adminIndex') ?>"><?= __('Admin'); echo ' '; _e('Index') ?></a></li>
23+
<li><a href="<?= Router::pathFor('adminIndex') ?>"><?= __('Admin'); echo ' '; echo __('Index') ?></a></li>
2424
<li><span>»&#160;</span><a href="<?= Router::pathFor('addBan') ?>"><?= __('Bans') ?></a></li>
2525
<li><span>»&#160;</span><strong><?= __('Results head') ?></strong></li>
2626
</ul>
@@ -82,7 +82,7 @@
8282
<p class="pagelink"><?= $paging_links ?></p>
8383
</div>
8484
<ul class="crumbs">
85-
<li><a href="<?= Router::pathFor('adminIndex') ?>"><?= __('Admin'); echo ' '; _e('Index') ?></a></li>
85+
<li><a href="<?= Router::pathFor('adminIndex') ?>"><?= __('Admin'); echo ' '; echo __('Index') ?></a></li>
8686
<li><span>»&#160;</span><a href="<?= Router::pathFor('adminBans') ?>"><?= __('Bans') ?></a></li>
8787
<li><span>»&#160;</span><strong><?= __('Results head') ?></strong></li>
8888
</ul>

‎featherbb/View/admin/censoring.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<fieldset>
2727
<legend><?= __('Add word subhead') ?></legend>
2828
<div class="infldset">
29-
<p><?php echo _e('Add word info') . '&nbsp;'; echo(ForumSettings::get('o_censoring') == '1' ? sprintf(__('Censoring enabled'), '<a href="'.Router::pathFor('adminOptions').'#censoring">'.__('Admin options').'</a>') : sprintf(__('Censoring disabled'), '<a href="'.Router::pathFor('adminOptions').'#censoring">'.__('Admin options').'</a>')) ?></p>
29+
<p><?php echo __('Add word info') . '&nbsp;'; echo(ForumSettings::get('o_censoring') == '1' ? sprintf(__('Censoring enabled'), '<a href="'.Router::pathFor('adminOptions').'#censoring">'.__('Admin options').'</a>') : sprintf(__('Censoring disabled'), '<a href="'.Router::pathFor('adminOptions').'#censoring">'.__('Admin options').'</a>')) ?></p>
3030
<table>
3131
<thead>
3232
<tr>

‎featherbb/View/admin/parser.php‎

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@
1818
?>
1919

2020
<div class="blockform">
21-
<h2><span><?= _e('Parser head') ?></span></h2>
21+
<h2><span><?= __('Parser head') ?></span></h2>
2222
<div class="box">
2323
<form method="post" action="<?= Router::pathFor('adminParser') ?>" enctype="multipart/form-data">
2424
<input type="hidden" name="csrf_name" value="<?= $csrf_name; ?>"><input type="hidden" name="csrf_value" value="<?= $csrf_value; ?>">
2525
<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') ?>" />
2828
</p>
2929
<div class="inform">
3030
<input type="hidden" name="form_sent" value="1" />
3131
<fieldset>
32-
<legend><?= _e('Config subhead') ?></legend>
32+
<legend><?= __('Config subhead') ?></legend>
3333
<div class="infldset">
3434
<table class="aligntop" cellspacing="0">
3535
<tr>
36-
<th scope="row"><?= _e('textile') ?></th>
36+
<th scope="row"><?= __('textile') ?></th>
3737
<td colspan="2">
3838
<input type="radio" name="config[textile]" value="1"<?php if ($config['textile']) {
3939
echo ' checked="checked"';
@@ -42,11 +42,11 @@
4242
} ?> /> <strong><?= __('No') ?></strong>
4343
</td>
4444
<td>
45-
<span><?= _e('textile help') ?></span>
45+
<span><?= __('textile help') ?></span>
4646
</td>
4747
</tr>
4848
<tr>
49-
<th scope="row"><?= _e('quote_links') ?></th>
49+
<th scope="row"><?= __('quote_links') ?></th>
5050
<td colspan="2">
5151
<input type="radio" name="config[quote_links]" value="1"<?php if ($config['quote_links']) {
5252
echo ' checked="checked"';
@@ -55,11 +55,11 @@
5555
} ?> /> <strong><?= __('No') ?></strong>
5656
</td>
5757
<td>
58-
<span><?= _e('quote_links help') ?></span>
58+
<span><?= __('quote_links help') ?></span>
5959
</td>
6060
</tr>
6161
<tr>
62-
<th scope="row"><?= _e('quote_imgs') ?></th>
62+
<th scope="row"><?= __('quote_imgs') ?></th>
6363
<td colspan="2">
6464
<input type="radio" name="config[quote_imgs]" value="1"<?php if ($config['quote_imgs']) {
6565
echo ' checked="checked"';
@@ -68,11 +68,11 @@
6868
} ?> /> <strong><?= __('No') ?></strong>
6969
</td>
7070
<td>
71-
<span><?= _e('quote_imgs help') ?></span>
71+
<span><?= __('quote_imgs help') ?></span>
7272
</td>
7373
</tr>
7474
<tr>
75-
<th scope="row"><?= _e('click_imgs') ?></th>
75+
<th scope="row"><?= __('click_imgs') ?></th>
7676
<td colspan="2">
7777
<input type="radio" name="config[click_imgs]" value="1"<?php if ($config['click_imgs']) {
7878
echo ' checked="checked"';
@@ -81,67 +81,67 @@
8181
} ?> /> <strong><?= __('No') ?></strong>
8282
</td>
8383
<td>
84-
<span><?= _e('click_imgs help') ?></span>
84+
<span><?= __('click_imgs help') ?></span>
8585
</td>
8686
</tr>
8787

8888
<tr>
89-
<th scope="row"><?= _e('valid_imgs') ?></th>
89+
<th scope="row"><?= __('valid_imgs') ?></th>
9090
<td colspan="2">
9191
<input type="radio" name="config[valid_imgs]" value="1"<?php if ($config['valid_imgs']) {
9292
echo ' checked="checked"';
9393
} if (!ini_get('allow_url_fopen')) {
94-
echo(' disabled="disabled" title="'._e('unavailable').'"');
94+
echo(' disabled="disabled" title="'.__('unavailable').'"');
9595
} ?> /> <strong><?= __('Yes') ?></strong>
9696
<input type="radio" name="config[valid_imgs]" value="0"<?php if (!$config['valid_imgs']) {
9797
echo ' checked="checked"';
9898
} if (!ini_get('allow_url_fopen')) {
99-
echo(' disabled="disabled" title="'._e('unavailable').'"');
99+
echo(' disabled="disabled" title="'.__('unavailable').'"');
100100
} ?> /> <strong><?= __('No') ?></strong>
101101
</td>
102-
<td><?= _e('valid_imgs help') ?></td>
102+
<td><?= __('valid_imgs help') ?></td>
103103
</tr>
104104
<tr>
105-
<th scope="row"><?= _e('max_size') ?></th>
105+
<th scope="row"><?= __('max_size') ?></th>
106106
<td colspan="2">
107107
<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').'"');
109109
} ?> />
110110
</td>
111-
<td><span><?= _e('max_size help') ?></span></td>
111+
<td><span><?= __('max_size help') ?></span></td>
112112
</tr>
113113
<tr>
114-
<th scope="row"><?= _e('def_xy') ?></th>
114+
<th scope="row"><?= __('def_xy') ?></th>
115115
<td>
116116
<input type="text" name="config[def_width]" size="5" maxlength="5" value="<?= $config['def_width'] ?>" /> X:Width
117117
</td>
118118
<td>
119119
<input type="text" name="config[def_height]" size="5" maxlength="5" value="<?= $config['def_height'] ?>" /> Y:Height
120120
</td>
121121
<td>
122-
<span><?= _e('def_xy help') ?></span>
122+
<span><?= __('def_xy help') ?></span>
123123
</td>
124124
</tr>
125125

126126

127127
<tr>
128-
<th scope="row"><?= _e('max_xy') ?></th>
128+
<th scope="row"><?= __('max_xy') ?></th>
129129
<td>
130130
<input type="text" name="config[max_width]" size="5" maxlength="5" value="<?= $config['max_width'] ?>" /> X:Width
131131
</td>
132132
<td>
133133
<input type="text" name="config[max_height]" size="5" maxlength="5" value="<?= $config['max_height'] ?>" /> Y:Height
134134
</td>
135-
<td><?= _e('max_xy help') ?></td>
135+
<td><?= __('max_xy help') ?></td>
136136
</tr>
137137

138138
<tr>
139-
<th scope="row"><?= _e('smiley_size') ?></th>
139+
<th scope="row"><?= __('smiley_size') ?></th>
140140
<td colspan=2>
141141
<input type="text" name="config[smiley_size]" size="5" maxlength="5" value="<?= $config['smiley_size'] .'%' ?>" />
142142
</td>
143143
<td>
144-
<span><?= _e('smiley_size help') ?></span>
144+
<span><?= __('smiley_size help') ?></span>
145145
</td>
146146
</tr>
147147

@@ -151,13 +151,13 @@
151151
</div>
152152
<div class="inform">
153153
<fieldset>
154-
<legend><?= _e('Smilies subhead') ?></legend>
154+
<legend><?= __('Smilies subhead') ?></legend>
155155
<div class="infldset">
156156
<table cellspacing="0">
157157
<thead>
158158
<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>
161161
<th scope="col">:)</th>
162162
</tr>
163163
</thead>
@@ -191,31 +191,31 @@
191191
<tr>
192192
<td>
193193
<input type="text" name="smiley_text[<?php echo(++$i); ?>]" value="" size="20" maxlength="80" /><br />
194-
<?= _e('New smiley text') ?>
194+
<?= __('New smiley text') ?>
195195
</td>
196196
<td>
197197
<select name="smiley_file[<?php echo($i); ?>]">
198-
<option selected="selected"><?= _e('Select new file') ?></option>
198+
<option selected="selected"><?= __('Select new file') ?></option>
199199
<?php
200200
foreach ($smiley_files as $file) {
201201
echo("\t\t\t\t\t\t\t\t\t\t\t<option>" . $file . "</option>\n");
202202
}
203203
?>
204-
</select><br /><?= _e('New smiley image') ?>
204+
</select><br /><?= __('New smiley image') ?>
205205
</td>
206206
<td></td>
207207
</tr>
208208
<tr>
209-
<th scope="row"><?= _e('smiley_upload') ?></th>
209+
<th scope="row"><?= __('smiley_upload') ?></th>
210210
<?php if (ini_get('file_uploads')) {
211211
?>
212212
<td><input type="hidden" name="MAX_FILE_SIZE" value="<?= ForumSettings::get('o_avatars_size') ?>" />
213213
<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>
215215
<?php
216216
} else {
217217
?>
218-
<td colspan="2"><?= _e('upload_off') ?></td>
218+
<td colspan="2"><?= __('upload_off') ?></td>
219219
<?php
220220
} ?>
221221
</tr>
@@ -229,15 +229,15 @@
229229

230230
<div class="inform">
231231
<fieldset>
232-
<legend><?= _e('BBCodes subhead') ?></legend>
232+
<legend><?= __('BBCodes subhead') ?></legend>
233233
<div class="infldset">
234234
<table cellspacing="0">
235235
<thead>
236236
<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>
241241
</tr>
242242
</thead>
243243
<tbody>
@@ -248,7 +248,7 @@
248248
} // Skip last pseudo-tag
249249
$title = isset($tag_summary[$tagname]) ? $tag_summary[$tagname] : ''; ?>
250250
<tr>
251-
<th scope="row" title="<?= _e($title) ?>"><?php echo('['. $tagname .']') ?></th>
251+
<th scope="row" title="<?= __($title) ?>"><?php echo('['. $tagname .']') ?></th>
252252
<td>
253253
<input type="radio" name="<?php echo($tagname) ?>_in_post" value="1"<?php if ($bbcd[$tagname]['in_post']) {
254254
echo ' checked="checked"';
@@ -279,8 +279,8 @@
279279

280280

281281
<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') ?>" />
284284
</p>
285285
</form>
286286
</div>

‎featherbb/View/admin/users/find_users.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<div class="linkst">
2121
<div class="inbox crumbsplus">
2222
<ul class="crumbs">
23-
<li><a href="<?= Router::pathFor('adminIndex') ?>"><?= __('Admin'); echo ' '; _e('Index') ?></a></li>
23+
<li><a href="<?= Router::pathFor('adminIndex') ?>"><?= __('Admin'); echo ' '; echo __('Index') ?></a></li>
2424
<li><span>»&#160;</span><a href="<?= Router::pathFor('adminUsers') ?>"><?= __('Users') ?></a></li>
2525
<li><span>»&#160;</span><strong><?= __('Results head') ?></strong></li>
2626
</ul>
@@ -93,7 +93,7 @@
9393
?>
9494
</div>
9595
<ul class="crumbs">
96-
<li><a href="<?= Router::pathFor('adminIndex') ?>"><?= __('Admin'); echo ' '; _e('Index') ?></a></li>
96+
<li><a href="<?= Router::pathFor('adminIndex') ?>"><?= __('Admin'); echo ' '; echo __('Index') ?></a></li>
9797
<li><span>»&#160;</span><a href="<?= Router::pathFor('adminUsers') ?>"><?= __('Users') ?></a></li>
9898
<li><span>»&#160;</span><strong><?= __('Results head') ?></strong></li>
9999
</ul>

‎featherbb/View/admin/users/show_users.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<div class="linkst">
2121
<div class="inbox crumbsplus">
2222
<ul class="crumbs">
23-
<li><a href="<?= Router::pathFor('adminIndex') ?>"><?= __('Admin'); echo ' '; _e('Index') ?></a></li>
23+
<li><a href="<?= Router::pathFor('adminIndex') ?>"><?= __('Admin'); echo ' '; __('Index') ?></a></li>
2424
<li><span>»&#160;</span><a href="<?= Router::pathFor('adminUsers') ?>"><?= __('Users') ?></a></li>
2525
<li><span>»&#160;</span><strong><?= __('Results head') ?></strong></li>
2626
</ul>
@@ -95,7 +95,7 @@
9595
<p class="pagelink"><?= $paging_links ?></p>
9696
</div>
9797
<ul class="crumbs">
98-
<li><a href="<?= Router::pathFor('adminIndex') ?>"><?= __('Admin'); echo ' '; _e('Index') ?></a></li>
98+
<li><a href="<?= Router::pathFor('adminIndex') ?>"><?= __('Admin'); echo ' '; __('Index') ?></a></li>
9999
<li><span>»&#160;</span><a href="<?= Router::pathFor('adminUsers') ?>"><?= __('Users') ?></a></li>
100100
<li><span>»&#160;</span><strong><?= __('Results head') ?></strong></li>
101101
</ul>

‎featherbb/View/search/posts.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class="blockpost<?= ($search['post_count'] % 2 == 0) ? ' roweven' : ' rowodd' ?>
2929
} ?>">
3030
<h2><span><span
3131
class="conr">#<?php echo($search['post_count']) ?></span> <span><?php if ($search['pid'] != $search['first_post_id']) {
32-
_e('Re');
32+
__('Re');
3333
echo ' ';
3434
} ?><?= $search['forum'] ?></span> <span>»&#160;<a
3535
href="<?= Router::pathFor('Topic', ['id' => $search['tid'], 'name' => $search['url_topic']]) ?>"><?= Utils::escape($search['subject']) ?></a></span> <span>»&#160;<a

‎featherbb/View/topic.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
</div>
6464
<div class="postright">
6565
<h3><?php if ($post['id'] != $cur_topic['first_post_id']) {
66-
_e('Re');
66+
echo __('Re');
6767
echo ' ';
6868
} ?><?= Utils::escape($cur_topic['subject']) ?></h3>
6969
<div class="postmsg">

0 commit comments

Comments
 (0)