PluginProbe
GSpeech TTS – WordPress Text To Speech Plugin / 3.21.0
GSpeech TTS – WordPress Text To Speech Plugin v3.21.0
3.21.5 3.21.4 3.21.3 3.21.1 3.21.2 3.20.8 3.21.0 3.20.7 3.20.6 3.20.4 3.20.5 3.20.3 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.10.0 3.10.1 3.10.2 3.10.3 3.11.0 3.11.1 3.11.2 3.12.0 All 161 releases
gspeech / includes / tab1.php

tab1.php in GSpeech TTS – WordPress Text To Speech Plugin 3.21.0, at includes/tab1.php

52 lines 4.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // no direct access!
3 defined('ABSPATH') or die("No direct access");
4 ?>
5
6 <div class="old_p">
7 <h4 style="margin-bottom: -3px;margin-top: -10px;"><?php _e('GSpeech 2.X', 'GSpeech'); ?><span class="description" style="display:block;font-weight: normal"><?php echo _e('Use 2.X version', 'GSpeech')?></span></h4>
8 <div class="old_p">
9 <?php $checked1 = $wpgs_options['use_old_plugin'] == 0 ? 'checked="checked"' : ''; ?>
10 <?php $checked2 = $wpgs_options['use_old_plugin'] == 1 ? 'checked="checked"' : ''; ?>
11 <input id="wpgs_settings[use_old_plugin1]" name="wpgs_settings[use_old_plugin]" type="radio" value="0" <?php echo $checked1;?> />
12 <label class="description" for="wpgs_settings[use_old_plugin1]"><?php _e('No', 'GSpeech'); ?></label>
13 <input id="wpgs_settings[use_old_plugin2]" name="wpgs_settings[use_old_plugin]" type="radio" value="1" <?php echo $checked2;?> />
14 <label class="description" for="wpgs_settings[use_old_plugin2]"><?php _e('Yes', 'GSpeech'); ?></label>
15 </div>
16
17 <h4 style="margin-bottom: -3px;"><?php _e('Language', 'GSpeech'); ?><span class="description" style="display:block;font-weight: normal"><?php echo _e('Your site native language', 'GSpeech')?></span></h4>
18 <div class="old_p">
19 <select name="wpgs_settings[language]" id="wpgs_settings[language]">
20 <?php foreach($languages as $key => $language) { ?>
21 <?php if($wpgs_options['language'] == $key) { $selected = 'selected="selected"'; } else { $selected = ''; } ?>
22 <?php if($key == 'en' && $wpgs_options['language'] == '') { $selected = 'selected="selected"'; }?>
23 <option value="<?php echo $key; ?>" <?php echo $selected; ?>><?php echo $language; ?></option>
24 <?php } ?>
25 </select>
26 </div>
27
28 <h4 style="margin-bottom: -3px;"><?php _e('Speak Any Text', 'GSpeech'); ?><span class="description" style="display:block;font-weight: normal"><?php echo _e('Show speaker when visitors highlighted text from the site', 'GSpeech')?></span></h4>
29 <div class="old_p">
30 <?php $checked1 = $wpgs_options['speak_any_text'] == 1 ? 'checked="checked"' : ''; ?>
31 <?php $checked2 = $wpgs_options['speak_any_text'] == 0 ? 'checked="checked"' : ''; ?>
32 <input id="wpgs_settings[speak_any_text1]" name="wpgs_settings[speak_any_text]" type="radio" value="1" <?php echo $checked1;?> />
33 <label class="description" for="wpgs_settings[speak_any_text1]"><?php _e('Yes', 'GSpeech'); ?></label>
34 <input id="wpgs_settings[speak_any_text2]" name="wpgs_settings[speak_any_text]" type="radio" value="0" <?php echo $checked2;?> />
35 <label class="description" for="wpgs_settings[speak_any_text2]"><?php _e('No', 'GSpeech'); ?></label>
36 </div>
37
38 <h4 style="margin-bottom: -3px;"><?php _e('Player Title', 'GSpeech'); ?><span class="description" style="display:block;font-weight: normal"><?php echo _e('Title when user hover the speaker', 'GSpeech')?></span></h4>
39 <div class="old_p">
40 <?php $checked1 = $wpgs_options['speak_any_text'] == 1 ? 'checked="checked"' : ''; ?>
41 <?php $checked2 = $wpgs_options['speak_any_text'] == 0 ? 'checked="checked"' : ''; ?>
42 <?php $v2_title = $wpgs_options['gspeech_v2x_title']; ?>
43 <input style="width: 250px;" name="wpgs_settings[gspeech_v2x_title]" type="text" value="<?php echo $v2_title; ?>" />
44 </div>
45
46 <h4 style="margin-bottom: -3px;"><?php _e('Greeting Text', 'GSpeech'); ?></h4>
47 <div class="old_p">
48 <?php $value = $wpgs_options['greeting_text'] == '' ? '{gspeech style=1 language=en autoplay=1 speechtimeout=0 registered=2 hidespeaker=1}Welcome to SITENAME{/gspeech}{gspeech style=2 language=en autoplay=1 speechtimeout=0 registered=1 hidespeaker=1}Welcome REALNAME{/gspeech}' : $wpgs_options['greeting_text'];?>
49 <textarea style="height: 120px;width: 460px;" id="wpgs_settings[greeting_text]" name="wpgs_settings[greeting_text]" type="text" ><?php echo $value; ?></textarea>
50 <label style="display: block" class="description" for="wpgs_settings[greeting_text]"><?php _e('Greeting text to speech. Write blank to not use greeting. Use SITENAME to get the site name, USERNAME to get username, REALNAME to get user real name.<br />For more details, please read the <a style="color: #21759b" href="http://creative-solutions.net/wordpress/gspeech/documentation" target="_blank">documentation</a>', 'GSpeech'); ?></label>
51 </div>
52 </div>