PluginProbe ʕ •ᴥ•ʔ
Loco Translate / 2.8.4
Loco Translate v2.8.4
2.8.5 2.8.4 2.5.8 2.6.0 2.6.1 2.6.10 2.6.11 2.6.12 2.6.13 2.6.14 2.6.2 2.6.3 2.6.4 2.6.5 2.6.6 2.6.7 2.6.8 2.6.9 2.7.0 2.7.1 2.7.2 2.7.3 2.8.0 2.8.1 2.8.2 2.8.3 trunk 1.0.0 1.1.0 1.1.1 1.1.2 1.1.3 1.2 1.2.1 1.2.2 1.3 1.3.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.16 2.0.17 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.0 2.2.1 2.2.2 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7
loco-translate / tpl / admin / config / prefs.php
loco-translate / tpl / admin / config Last commit date
apis.php 1 month ago debug.php 2 years ago prefs.php 5 years ago settings.php 1 month ago version.php 1 month ago
prefs.php
48 lines
1 <?php
2 /**
3 * User preferences screen
4 */
5
6 $this->extend('../layout');
7 /* @var Loco_data_Preferences $opts */
8 $help = apply_filters('loco_external','https://localise.biz/wordpress/plugin/manual/settings');
9 ?>
10
11 <form action="" method="post" enctype="application/x-www-form-urlencoded">
12 <input type="hidden" name="<?php $nonce->e('name')?>" value="<?php $nonce->e('value')?>" />
13 <table class="form-table">
14 <tbody>
15 <tr>
16 <th scope="row"><?php esc_html_e('Translator credit','loco-translate')?></th>
17 <td>
18 <fieldset>
19 <legend class="screen-reader-text">
20 <span><?php esc_html_e('Translator credit','loco-translate')?></span>
21 </legend>
22 <p>
23 <input type="text" size="64" name="opts[credit]" id="loco--credit" value="<?php echo esc_attr($opts->credit)?>" placeholder="<?php echo esc_attr($opts->default_credit())?>" />
24 </p>
25 </fieldset>
26 </td>
27 </tr>
28 <tr>
29 <th scope="row"><?php esc_html_e('Restrict locales','loco-translate')?></th>
30 <td>
31 <fieldset>
32 <legend class="screen-reader-text">
33 <span><?php esc_html_e('Restrict locales','loco-translate')?></span>
34 </legend>
35 <p>
36 <input type="text" size="64" name="opts[locales]" id="loco--locales" value="<?php echo esc_attr(implode(', ',$opts->locales) )?>" placeholder="en_US, ..." />
37 </p>
38 </fieldset>
39 </td>
40 </tr>
41 </tbody>
42 </table>
43 <p class="submit">
44 <input type="submit" class="button-primary" value="<?php esc_html_e('Save settings','loco-translate')?>" />
45 <a class="button button-link" href="<?php self::e($help)?>#user" target="_blank"><?php esc_html_e('Documentation','loco-translate')?></a>
46 </p>
47 </form>
48