| Server IP : 172.67.193.39 / Your IP : 216.73.216.217 Web Server : Apache System : Linux sr32.hostlife.net 6.12.0-124.52.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Sat May 2 09:06:54 EDT 2026 x86_64 User : golfb689 ( 1071) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/cwd/wp-content/plugins/ultimate-tinymce/ |
Upload File : |
<?php
// These are our callback functions for each settings option GROUP described above.
function jwl_setting_section_callback_function1() {
_e('<p><strong>Get detailed help for each button from the <a target="_blank" href="http://ultimatetinymcepro.com/wiki/">Ultimate Tinymce Wiki</a></strong>.</p><p><strong>Additional information for each option may be found on the <a target="_blank" href="http://ultimatetinymcepro.com/">Ultimate Tinymce Website</a></strong>.</p><p> <strong><u>Description</u></strong><span style="margin-left:200px;"><strong><u>Enable</u></strong></span><span style="margin-left:20px;"><strong><u>Image</u></strong></span><span style="margin-left:50px;"><strong><u>Row Selection</u></strong></span></p>','jwl-ultimate-tinymce');
}
function jwl_setting_section_callback_function2() {
_e('<p><strong>Get detailed help for each button from the <a target="_blank" href="http://ultimatetinymcepro.com/wiki/">Ultimate Tinymce Wiki</a></strong>.</p><p><strong>Additional information for each option may be found on the <a target="_blank" href="http://ultimatetinymcepro.com/">Ultimate Tinymce Website</a></strong>.</p><p> <strong><u>Description</u></strong><span style="margin-left:200px;"><strong><u>Enable</u></strong></span><span style="margin-left:20px;"><strong><u>Image</u></strong></span><span style="margin-left:50px;"><strong><u>Row Selection</u></strong></span></p>','jwl-ultimate-tinymce');
}
function jwl_setting_section_callback_function8() {
_e('<p><strong>Get detailed help for each feature from the <a target="_blank" href="http://ultimatetinymcepro.com/wiki/">Ultimate Tinymce Wiki</a></strong>.</p><p><strong>Additional information for each option may be found on the <a target="_blank" href="http://ultimatetinymcepro.com/">Ultimate Tinymce Website</a></strong>.</p><p>Over-ride the settings for the content editor (tinymce).</p><p>Consider this a "last resort". If nothing else works at making the content editor replicate the front end of the website... these settings will certainly do the trick.</p><br /><br />','jwl-ultimate-tinymce');
}
function jwl_setting_section_callback_function3() {
_e('<p><strong>Get detailed help for each feature from the <a target="_blank" href="http://ultimatetinymcepro.com/wiki/">Ultimate Tinymce Wiki</a></strong>.</p>','jwl-ultimate-tinymce');
_e('<p><strong>Additional information for each option may be found on the <a target="_blank" href="http://ultimatetinymcepro.com/">Ultimate Tinymce Website</a></strong>.</p>','jwl-ultimate-tinymce');
}
function jwl_setting_section_callback_function4() {
_e('<p><strong>Get detailed help for each feature from the <a target="_blank" href="http://ultimatetinymcepro.com/wiki/">Ultimate Tinymce Wiki</a></strong>.</p>','jwl-ultimate-tinymce');
_e('<p><strong>Additional information for each option may be found on the <a target="_blank" href="http://ultimatetinymcepro.com/">Ultimate Tinymce Website</a></strong>.</p>','jwl-ultimate-tinymce');
}
// Begin callback functions
function jwl_fontselect_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_fontselect_field_id]" id="fontselect" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_fontselect_field_id']), false ) . ' /> '; ?><label for="fontselect"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/fontselect.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_fontselect_dropdown'])) {
$options_fontselect = $options['jwl_fontselect_dropdown'];
}
$items_fontselect = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:27px;' name='jwl_options_group1[jwl_fontselect_dropdown][row]' onchange=';'>";
foreach($items_fontselect as $item_fontselect) {
$selected_fontselect = ($options_fontselect['row']==$item_fontselect) ? 'selected="selected"' : '';
echo "<option value='$item_fontselect' $selected_fontselect>$item_fontselect</option>";
}
echo "</select>";
}
function jwl_fontsizeselect_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_fontsizeselect_field_id]" id="fontsize" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_fontsizeselect_field_id']), false ) . ' /> '; ?><label for="fontsize"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/fontsizeselect.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_fontsizeselect_dropdown'])) {
$options_fontsizeselect = $options['jwl_fontsizeselect_dropdown'];
}
$items_fontsizeselect = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:27px;' name='jwl_options_group1[jwl_fontsizeselect_dropdown][row]'>";
foreach($items_fontsizeselect as $item_fontsizeselect) {
$selected_fontsizeselect = ($options_fontsizeselect['row']==$item_fontsizeselect) ? 'selected="selected"' : '';
echo "<option value='$item_fontsizeselect' $selected_fontsizeselect>$item_fontsizeselect</option>";
}
echo "</select>";
}
function jwl_cut_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_cut_field_id]" id="cut" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_cut_field_id']), false ) . ' /> '; ?><label for="cut"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/cut.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_cut_dropdown'])) {
$options_cut = $options['jwl_cut_dropdown'];
}
$items_cut = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_cut_dropdown][row]'>";
foreach($items_cut as $item_cut) {
$selected_cut = ($options_cut['row']==$item_cut) ? 'selected="selected"' : '';
echo "<option value='$item_cut' $selected_cut>$item_cut</option>";
}
echo "</select>";
}
function jwl_copy_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_copy_field_id]" id="copy" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_copy_field_id']), false ) . ' /> '; ?><label for="copy"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/copy.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_copy_dropdown'])) {
$options_copy = $options['jwl_copy_dropdown'];
}
$items_copy = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_copy_dropdown][row]'>";
foreach($items_copy as $item_copy) {
$selected_copy = ($options_copy['row']==$item_copy) ? 'selected="selected"' : '';
echo "<option value='$item_copy' $selected_copy>$item_copy</option>";
}
echo "</select>";
}
function jwl_paste_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_paste_field_id]" id="paste" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_paste_field_id']), false ) . ' /> '; ?><label for="paste"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/paste.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_paste_dropdown'])) {
$options_paste = $options['jwl_paste_dropdown'];
}
$items_paste = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_paste_dropdown][row]'>";
foreach($items_paste as $item_paste) {
$selected_paste = ($options_paste['row']==$item_paste) ? 'selected="selected"' : '';
echo "<option value='$item_paste' $selected_paste>$item_paste</option>";
}
echo "</select>";
}
function jwl_backcolorpicker_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_backcolorpicker_field_id]" id="backcolorpicker" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_backcolorpicker_field_id']), false ) . ' /> '; ?><label for="backcolorpicker"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/backcolorpicker.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_backcolorpicker_dropdown'])) {
$options_backcolorpicker = $options['jwl_backcolorpicker_dropdown'];
}
$items_backcolorpicker = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_backcolorpicker_dropdown][row]'>";
foreach($items_backcolorpicker as $item_backcolorpicker) {
$selected_backcolorpicker = ($options_backcolorpicker['row']==$item_backcolorpicker) ? 'selected="selected"' : '';
echo "<option value='$item_backcolorpicker' $selected_backcolorpicker>$item_backcolorpicker</option>";
}
echo "</select>";
}
function jwl_forecolorpicker_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_forecolorpicker_field_id]" id="forecolorpicker" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_forecolorpicker_field_id']), false ) . ' /> '; ?><label for="forecolorpicker"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/forecolorpicker.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_forecolorpicker_dropdown'])) {
$options_forecolorpicker = $options['jwl_forecolorpicker_dropdown'];
}
$items_forecolorpicker = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_forecolorpicker_dropdown][row]'>";
foreach($items_forecolorpicker as $item_forecolorpicker) {
$selected_forecolorpicker = ($options_forecolorpicker['row']==$item_forecolorpicker) ? 'selected="selected"' : '';
echo "<option value='$item_forecolorpicker' $selected_forecolorpicker>$item_forecolorpicker</option>";
}
echo "</select>";
}
function jwl_advhr_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_advhr_field_id]" id="hr" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_advhr_field_id']), false ) . ' /> '; ?><label for="hr"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/hr.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_advhr_dropdown'])) {
$options_advhr = $options['jwl_advhr_dropdown'];
}
$items_advhr = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_advhr_dropdown][row]'>";
foreach($items_advhr as $item_advhr) {
$selected_advhr = ($options_advhr['row']==$item_advhr) ? 'selected="selected"' : '';
echo "<option value='$item_advhr' $selected_advhr>$item_advhr</option>";
}
echo "</select>";
}
function jwl_visualaid_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_visualaid_field_id]" id="visualaid" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_visualaid_field_id']), false ) . ' /> '; ?><label for="visualaid"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/visualaid.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_visualaid_dropdown'])) {
$options_visualaid = $options['jwl_visualaid_dropdown'];
}
$items_visualaid = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_visualaid_dropdown][row]'>";
foreach($items_visualaid as $item_visualaid) {
$selected_visualaid = ($options_visualaid['row']==$item_visualaid) ? 'selected="selected"' : '';
echo "<option value='$item_visualaid' $selected_visualaid>$item_visualaid</option>";
}
echo "</select>";
}
function jwl_anchor_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_anchor_field_id]" id="anchor" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_anchor_field_id']), false ) . ' /> '; ?><label for="anchor"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/anchor.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_anchor_dropdown'])) {
$options_anchor = $options['jwl_anchor_dropdown'];
}
$items_anchor = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_anchor_dropdown][row]'>";
foreach($items_anchor as $item_anchor) {
$selected_anchor = ($options_anchor['row']==$item_anchor) ? 'selected="selected"' : '';
echo "<option value='$item_anchor' $selected_anchor>$item_anchor</option>";
}
echo "</select>";
}
function jwl_sub_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_sub_field_id]" id="sub" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_sub_field_id']), false ) . ' /> '; ?><label for="sub"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/sub.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_sub_dropdown'])) {
$options_sub = $options['jwl_sub_dropdown'];
}
$items_sub = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_sub_dropdown][row]'>";
foreach($items_sub as $item_sub) {
$selected_sub = ($options_sub['row']==$item_sub) ? 'selected="selected"' : '';
echo "<option value='$item_sub' $selected_sub>$item_sub</option>";
}
echo "</select>";
}
function jwl_sup_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_sup_field_id]" id="sup" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_sup_field_id']), false ) . ' /> '; ?><label for="sup"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/sup.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_sup_dropdown'])) {
$options_sup = $options['jwl_sup_dropdown'];
}
$items_sup = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_sup_dropdown][row]'>";
foreach($items_sup as $item_sup) {
$selected_sup = ($options_sup['row']==$item_sup) ? 'selected="selected"' : '';
echo "<option value='$item_sup' $selected_sup>$item_sup</option>";
}
echo "</select>";
}
function jwl_search_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_search_field_id]" id="search" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_search_field_id']), false ) . ' /> '; ?><label for="search"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/search.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_search_dropdown'])) {
$options_search = $options['jwl_search_dropdown'];
}
$items_search = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_search_dropdown][row]'>";
foreach($items_search as $item_search) {
$selected_search = ($options_search['row']==$item_search) ? 'selected="selected"' : '';
echo "<option value='$item_search' $selected_search>$item_search</option>";
}
echo "</select>";
}
function jwl_replace_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_replace_field_id]" id="replace" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_replace_field_id']), false ) . ' /> '; ?><label for="replace"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/replace.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_replace_dropdown'])) {
$options_replace = $options['jwl_replace_dropdown'];
}
$items_replace = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_replace_dropdown][row]'>";
foreach($items_replace as $item_replace) {
$selected_replace = ($options_replace['row']==$item_replace) ? 'selected="selected"' : '';
echo "<option value='$item_replace' $selected_replace>$item_replace</option>";
}
echo "</select>";
}
function jwl_datetime_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_datetime_field_id]" id="datetime" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_datetime_field_id']), false ) . ' /> '; ?><label for="datetime"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/datetime.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_datetime_dropdown'])) {
$options_datetime = $options['jwl_datetime_dropdown'];
}
$items_datetime = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:48px;' name='jwl_options_group1[jwl_datetime_dropdown][row]'>";
foreach($items_datetime as $item_datetime) {
$selected_datetime = ($options_datetime['row']==$item_datetime) ? 'selected="selected"' : '';
echo "<option value='$item_datetime' $selected_datetime>$item_datetime</option>";
}
echo "</select>";
}
function jwl_nonbreaking_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_nonbreaking_field_id]" id="nonbreaking" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_nonbreaking_field_id']), false ) . ' /> '; ?><label for="nonbreaking"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/nonbreaking.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_nonbreaking_dropdown'])) {
$options_nonbreaking = $options['jwl_nonbreaking_dropdown'];
}
$items_nonbreaking = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_nonbreaking_dropdown][row]'>";
foreach($items_nonbreaking as $item_nonbreaking) {
$selected_nonbreaking = ($options_nonbreaking['row']==$item_nonbreaking) ? 'selected="selected"' : '';
echo "<option value='$item_nonbreaking' $selected_nonbreaking>$item_nonbreaking</option>";
}
echo "</select>";
}
function jwl_mailto_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_mailto_field_id]" id="mailto" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_mailto_field_id']), false ) . ' /> '; ?><label for="mailto"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/mailto.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_mailto_dropdown'])) {
$options_mailto = $options['jwl_mailto_dropdown'];
}
$items_mailto = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_mailto_dropdown][row]'>";
foreach($items_mailto as $item_mailto) {
$selected_mailto = ($options_mailto['row']==$item_mailto) ? 'selected="selected"' : '';
echo "<option value='$item_mailto' $selected_mailto>$item_mailto</option>";
}
echo "</select>";
}
function jwl_layers_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_layers_field_id]" id="layers" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_layers_field_id']), false ) . ' /> '; ?><label for="layers"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/layers.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_layers_dropdown'])) {
$options_layers = $options['jwl_layers_dropdown'];
}
$items_layers = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_layers_dropdown][row]'>";
foreach($items_layers as $item_layers) {
$selected_layers = ($options_layers['row']==$item_layers) ? 'selected="selected"' : '';
echo "<option value='$item_layers' $selected_layers>$item_layers</option>";
}
echo "</select>";
}
function jwl_span_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_span_field_id]" id="span" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_span_field_id']), false ) . ' /> '; ?><label for="span"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/span.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_span_dropdown'])) {
$options_span = $options['jwl_span_dropdown'];
}
$items_span = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_span_dropdown][row]'>";
foreach($items_span as $item_span) {
$selected_span = ($options_span['row']==$item_span) ? 'selected="selected"' : '';
echo "<option value='$item_span' $selected_span>$item_span</option>";
}
echo "</select>";
}
function jwl_equation_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_equation_field_id]" id="equation" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_equation_field_id']), false ) . ' /> '; ?><label for="equation"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/equation.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_equation_dropdown'])) {
$options_equation = $options['jwl_equation_dropdown'];
}
$items_equation = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_equation_dropdown][row]'>";
foreach($items_equation as $item_equation) {
$selected_equation = ($options_equation['row']==$item_equation) ? 'selected="selected"' : '';
echo "<option value='$item_equation' $selected_equation>$item_equation</option>";
}
echo "</select>";
}
function jwl_encode_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_encode_field_id]" id="encode" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_encode_field_id']), false ) . ' /> '; ?><label for="encode"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/encode.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_encode_dropdown'])) {
$options_encode = $options['jwl_encode_dropdown'];
}
$items_encode = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_encode_dropdown][row]'>";
foreach($items_encode as $item_encode) {
$selected_encode = ($options_encode['row']==$item_encode) ? 'selected="selected"' : '';
echo "<option value='$item_encode' $selected_encode>$item_encode</option>";
}
echo "</select>";
}
function jwl_directionality_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_directionality_field_id]" id="directionality" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_directionality_field_id']), false ) . ' /> '; ?><label for="directionality"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/directionality.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_directionality_dropdown'])) {
$options_directionality = $options['jwl_directionality_dropdown'];
}
$items_directionality = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:54px;' name='jwl_options_group1[jwl_directionality_dropdown][row]'>";
foreach($items_directionality as $item_directionality) {
$selected_directionality = ($options_directionality['row']==$item_directionality) ? 'selected="selected"' : '';
echo "<option value='$item_directionality' $selected_directionality>$item_directionality</option>";
}
echo "</select>";
}
function jwl_ezimage_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_ezimage_field_id]" id="ezimage" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_ezimage_field_id']), false ) . ' /> '; ?><label for="ezimage"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/ezimage.gif" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_ezimage_dropdown'])) {
$options_ezimage = $options['jwl_ezimage_dropdown'];
}
$items_ezimage = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_ezimage_dropdown][row]'>";
foreach($items_ezimage as $item_ezimage) {
$selected_ezimage = ($options_ezimage['row']==$item_ezimage) ? 'selected="selected"' : '';
echo "<option value='$item_ezimage' $selected_ezimage>$item_ezimage</option>";
}
echo "</select>";
}
function jwl_ptags_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_ptags_field_id]" id="ptags" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_ptags_field_id']), false ) . ' /> '; ?><label for="ptags"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/ptags.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_ptags_dropdown'])) {
$options_ptags = $options['jwl_ptags_dropdown'];
}
$items_ptags = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_ptags_dropdown][row]'>";
foreach($items_ptags as $item_ptags) {
$selected_ptags = ($options_ptags['row']==$item_ptags) ? 'selected="selected"' : '';
echo "<option value='$item_ptags' $selected_ptags>$item_ptags</option>";
}
echo "</select>";
}
function jwl_mcelinebreak_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_mcelinebreak_field_id]" id="mcelinebreak" type="checkbox" value="1" class="one" ' . checked( 1, isset($options['jwl_mcelinebreak_field_id']), false ) . ' /> '; ?><label for="mcelinebreak"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/linebreak.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_mcelinebreak_dropdown'])) {
$options_mcelinebreak = $options['jwl_mcelinebreak_dropdown'];
}
$items_mcelinebreak = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_mcelinebreak_dropdown][row]'>";
foreach($items_mcelinebreak as $item_mcelinebreak) {
$selected_mcelinebreak = ($options_mcelinebreak['row']==$item_mcelinebreak) ? 'selected="selected"' : '';
echo "<option value='$item_mcelinebreak' $selected_mcelinebreak>$item_mcelinebreak</option>";
}
echo "</select>";
}
// ******************************************************************************
//
//
//
// Callback Functions for Row 4 Buttons
function jwl_styleselect_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_styleselect_field_id]" id="styleselect" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_styleselect_field_id']), false ) . ' /> '; ?><label for="styleselect"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/styleselect.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_styleselect_dropdown'])) {
$options_styleselect = $options['jwl_styleselect_dropdown'];
}
$items_styleselect = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:27px;' name='jwl_options_group1[jwl_styleselect_dropdown][row]'>";
foreach($items_styleselect as $item_styleselect) {
$selected_styleselect = ($options_styleselect['row']==$item_styleselect) ? 'selected="selected"' : '';
echo "<option value='$item_styleselect' $selected_styleselect>$item_styleselect</option>";
}
echo "</select>";
}
function jwl_tableDropdown_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_tableDropdown_field_id]" id="tableDropdown" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_tableDropdown_field_id']), false ) . ' /> '; ?><label for="tableDropdown"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/tableDropdown.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_tableDropdown_dropdown'])) {
$options_tableDropdown = $options['jwl_tableDropdown_dropdown'];
}
$items_tableDropdown = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_tableDropdown_dropdown][row]'>";
foreach($items_tableDropdown as $item_tableDropdown) {
$selected_tableDropdown = ($options_tableDropdown['row']==$item_tableDropdown) ? 'selected="selected"' : '';
echo "<option value='$item_tableDropdown' $selected_tableDropdown>$item_tableDropdown</option>";
}
echo "</select>";
}
function jwl_emotions_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_emotions_field_id]" id="emotions" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_emotions_field_id']), false ) . ' /> '; ?><label for="emotions"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/emotions.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_emotions_dropdown'])) {
$options_emotions = $options['jwl_emotions_dropdown'];
}
$items_emotions = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_emotions_dropdown][row]'>";
foreach($items_emotions as $item_emotions) {
$selected_emotions = ($options_emotions['row']==$item_emotions) ? 'selected="selected"' : '';
echo "<option value='$item_emotions' $selected_emotions>$item_emotions</option>";
}
echo "</select>";
}
function jwl_image_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_image_field_id]" id="image" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_image_field_id']), false ) . ' /> '; ?><label for="image"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/image.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_image_dropdown'])) {
$options_image = $options['jwl_image_dropdown'];
}
$items_image = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_image_dropdown][row]'>";
foreach($items_image as $item_image) {
$selected_image = ($options_image['row']==$item_image) ? 'selected="selected"' : '';
echo "<option value='$item_image' $selected_image>$item_image</option>";
}
echo "</select>";
}
function jwl_preview_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_preview_field_id]" id="preview" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_preview_field_id']), false ) . ' /> '; ?><label for="preview"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/preview.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_preview_dropdown'])) {
$options_preview = $options['jwl_preview_dropdown'];
}
$items_preview = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_preview_dropdown][row]'>";
foreach($items_preview as $item_preview) {
$selected_preview = ($options_preview['row']==$item_preview) ? 'selected="selected"' : '';
echo "<option value='$item_preview' $selected_preview>$item_preview</option>";
}
echo "</select>";
}
function jwl_cite_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_cite_field_id]" id="cite" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_cite_field_id']), false ) . ' /> '; ?><label for="cite"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/cite.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_cite_dropdown'])) {
$options_cite = $options['jwl_cite_dropdown'];
}
$items_cite = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_cite_dropdown][row]'>";
foreach($items_cite as $item_cite) {
$selected_cite = ($options_cite['row']==$item_cite) ? 'selected="selected"' : '';
echo "<option value='$item_cite' $selected_cite>$item_cite</option>";
}
echo "</select>";
}
function jwl_abbr_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_abbr_field_id]" id="abbr" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_abbr_field_id']), false ) . ' /> '; ?><label for="abbr"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/abbr.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_abbr_dropdown'])) {
$options_abbr = $options['jwl_abbr_dropdown'];
}
$items_abbr = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_abbr_dropdown][row]'>";
foreach($items_abbr as $item_abbr) {
$selected_abbr = ($options_abbr['row']==$item_abbr) ? 'selected="selected"' : '';
echo "<option value='$item_abbr' $selected_abbr>$item_abbr</option>";
}
echo "</select>";
}
function jwl_acronym_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_acronym_field_id]" id="acronym" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_acronym_field_id']), false ) . ' /> '; ?><label for="acronym"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/acronym.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_acronym_dropdown'])) {
$options_acronym = $options['jwl_acronym_dropdown'];
}
$items_acronym = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_acronym_dropdown][row]'>";
foreach($items_acronym as $item_acronym) {
$selected_acronym = ($options_acronym['row']==$item_acronym) ? 'selected="selected"' : '';
echo "<option value='$item_acronym' $selected_acronym>$item_acronym</option>";
}
echo "</select>";
}
function jwl_del_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_del_field_id]" id="del" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_del_field_id']), false ) . ' /> '; ?><label for="del"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/del.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_del_dropdown'])) {
$options_del = $options['jwl_del_dropdown'];
}
$items_del = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_del_dropdown][row]'>";
foreach($items_del as $item_del) {
$selected_del = ($options_del['row']==$item_del) ? 'selected="selected"' : '';
echo "<option value='$item_del' $selected_del>$item_del</option>";
}
echo "</select>";
}
function jwl_ins_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_ins_field_id]" id="ins" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_ins_field_id']), false ) . ' /> '; ?><label for="ins"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/ins.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_ins_dropdown'])) {
$options_ins = $options['jwl_ins_dropdown'];
}
$items_ins = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_ins_dropdown][row]'>";
foreach($items_ins as $item_ins) {
$selected_ins = ($options_ins['row']==$item_ins) ? 'selected="selected"' : '';
echo "<option value='$item_ins' $selected_ins>$item_ins</option>";
}
echo "</select>";
}
function jwl_attribs_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_attribs_field_id]" id="attribs" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_attribs_field_id']), false ) . ' /> '; ?><label for="attribs"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/attribs.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_attribs_dropdown'])) {
$options_attribs = $options['jwl_attribs_dropdown'];
}
$items_attribs = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_attribs_dropdown][row]'>";
foreach($items_attribs as $item_attribs) {
$selected_attribs = ($options_attribs['row']==$item_attribs) ? 'selected="selected"' : '';
echo "<option value='$item_attribs' $selected_attribs>$item_attribs</option>";
}
echo "</select>";
}
function jwl_styleprops_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_styleprops_field_id]" id="styleprops" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_styleprops_field_id']), false ) . ' /> '; ?><label for="styleprops"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/styleprops.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_styleprops_dropdown'])) {
$options_styleprops = $options['jwl_styleprops_dropdown'];
}
$items_styleprops = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_styleprops_dropdown][row]'>";
foreach($items_styleprops as $item_styleprops) {
$selected_styleprops = ($options_styleprops['row']==$item_styleprops) ? 'selected="selected"' : '';
echo "<option value='$item_styleprops' $selected_styleprops>$item_styleprops</option>";
}
echo "</select>";
}
function jwl_code_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_code_field_id]" id="code" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_code_field_id']), false ) . ' /> '; ?><label for="code"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/code.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_code_dropdown'])) {
$options_code = $options['jwl_code_dropdown'];
}
$items_code = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_code_dropdown][row]'>";
foreach($items_code as $item_code) {
$selected_code = ($options_code['row']==$item_code) ? 'selected="selected"' : '';
echo "<option value='$item_code' $selected_code>$item_code</option>";
}
echo "</select>";
}
function jwl_codemagic_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_codemagic_field_id]" id="codemagic" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_codemagic_field_id']), false ) . ' /> '; ?><label for="codemagic"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/codemagic.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_codemagic_dropdown'])) {
$options_codemagic = $options['jwl_codemagic_dropdown'];
}
$items_codemagic = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_codemagic_dropdown][row]'>";
foreach($items_codemagic as $item_codemagic) {
$selected_codemagic = ($options_codemagic['row']==$item_codemagic) ? 'selected="selected"' : '';
echo "<option value='$item_codemagic' $selected_codemagic>$item_codemagic</option>";
}
echo "</select>";
}
function jwl_html5_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_html5_field_id]" id="html5" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_html5_field_id']), false ) . ' /> '; ?><label for="html5"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/html5.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_html5_dropdown'])) {
$options_html5 = $options['jwl_html5_dropdown'];
}
$items_html5 = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_html5_dropdown][row]'>";
foreach($items_html5 as $item_html5) {
$selected_html5 = ($options_html5['row']==$item_html5) ? 'selected="selected"' : '';
echo "<option value='$item_html5' $selected_html5>$item_html5</option>";
}
echo "</select>";
}
function jwl_media_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_media_field_id]" id="media" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_media_field_id']), false ) . ' /> '; ?><label for="media"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/media.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_media_dropdown'])) {
$options_media = $options['jwl_media_dropdown'];
}
$items_media = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_media_dropdown][row]'>";
foreach($items_media as $item_media) {
$selected_media = ($options_media['row']==$item_media) ? 'selected="selected"' : '';
echo "<option value='$item_media' $selected_media>$item_media</option>";
}
echo "</select>";
}
function jwl_youtube_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_youtube_field_id]" id="youtube" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_youtube_field_id']), false ) . ' /> '; ?><label for="youtube"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/youtube.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_youtube_dropdown'])) {
$options_youtube = $options['jwl_youtube_dropdown'];
}
$items_youtube = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_youtube_dropdown][row]'>";
foreach($items_youtube as $item_youtube) {
$selected_youtube = ($options_youtube['row']==$item_youtube) ? 'selected="selected"' : '';
echo "<option value='$item_youtube' $selected_youtube>$item_youtube</option>";
}
echo "</select>";
}
function jwl_youtubeIframe_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_youtubeIframe_field_id]" id="youtubeIframe" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_youtubeIframe_field_id']), false ) . ' /> '; ?><label for="youtubeIframe"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/youtubeIframe.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_youtubeIframe_dropdown'])) {
$options_youtubeIframe = $options['jwl_youtubeIframe_dropdown'];
}
$items_youtubeIframe = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_youtubeIframe_dropdown][row]'>";
foreach($items_youtubeIframe as $item_youtubeIframe) {
$selected_youtubeIframe = ($options_youtubeIframe['row']==$item_youtubeIframe) ? 'selected="selected"' : '';
echo "<option value='$item_youtubeIframe' $selected_youtubeIframe>$item_youtubeIframe</option>";
}
echo "</select>";
}
function jwl_imgmap_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_imgmap_field_id]" id="imgmap" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_imgmap_field_id']), false ) . ' /> '; ?><label for="imgmap"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/imgmap.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_imgmap_dropdown'])) {
$options_imgmap = $options['jwl_imgmap_dropdown'];
}
$items_imgmap = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_imgmap_dropdown][row]'>";
foreach($items_imgmap as $item_imgmap) {
$selected_imgmap = ($options_imgmap['row']==$item_imgmap) ? 'selected="selected"' : '';
echo "<option value='$item_imgmap' $selected_imgmap>$item_imgmap</option>";
}
echo "</select>";
}
function jwl_visualchars_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_visualchars_field_id]" id="visualchars" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_visualchars_field_id']), false ) . ' /> '; ?><label for="visualchars"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/visualchars.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_visualchars_dropdown'])) {
$options_visualchars = $options['jwl_visualchars_dropdown'];
}
$items_visualchars = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_visualchars_dropdown][row]'>";
foreach($items_visualchars as $item_visualchars) {
$selected_visualchars = ($options_visualchars['row']==$item_visualchars) ? 'selected="selected"' : '';
echo "<option value='$item_visualchars' $selected_visualchars>$item_visualchars</option>";
}
echo "</select>";
}
function jwl_print_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_print_field_id]" id="print" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_print_field_id']), false ) . ' /> '; ?><label for="print"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/print.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_print_dropdown'])) {
$options_print = $options['jwl_print_dropdown'];
}
$items_print = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_print_dropdown][row]'>";
foreach($items_print as $item_print) {
$selected_print = ($options_print['row']==$item_print) ? 'selected="selected"' : '';
echo "<option value='$item_print' $selected_print>$item_print</option>";
}
echo "</select>";
}
function jwl_shortcodes_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_shortcodes_field_id]" id="shortcodes" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_shortcodes_field_id']), false ) . ' /> '; ?><label for="shortcodes"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/shortcodes.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_shortcodes_dropdown'])) {
$options_shortcodes = $options['jwl_shortcodes_dropdown'];
}
$items_shortcodes = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_shortcodes_dropdown][row]'>";
foreach($items_shortcodes as $item_shortcodes) {
$selected_shortcodes = ($options_shortcodes['row']==$item_shortcodes) ? 'selected="selected"' : '';
echo "<option value='$item_shortcodes' $selected_shortcodes>$item_shortcodes</option>";
}
echo "</select>";
}
function jwl_loremipsum_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_loremipsum_field_id]" id="loremipsum" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_loremipsum_field_id']), false ) . ' /> '; ?><label for="loremipsum"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/loremipsum.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_loremipsum_dropdown'])) {
$options_loremipsum = $options['jwl_loremipsum_dropdown'];
}
$items_loremipsum = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_loremipsum_dropdown][row]'>";
foreach($items_loremipsum as $item_loremipsum) {
$selected_loremipsum = ($options_loremipsum['row']==$item_loremipsum) ? 'selected="selected"' : '';
echo "<option value='$item_loremipsum' $selected_loremipsum>$item_loremipsum</option>";
}
echo "</select>";
}
function jwl_w3cvalidate_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_w3cvalidate_field_id]" id="w3cvalidate" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_w3cvalidate_field_id']), false ) . ' /> '; ?><label for="w3cvalidate"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/w3cvalidate.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_w3cvalidate_dropdown'])) {
$options_w3cvalidate = $options['jwl_w3cvalidate_dropdown'];
}
$items_w3cvalidate = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_w3cvalidate_dropdown][row]'>";
foreach($items_w3cvalidate as $item_w3cvalidate) {
$selected_w3cvalidate = ($options_w3cvalidate['row']==$item_w3cvalidate) ? 'selected="selected"' : '';
echo "<option value='$item_w3cvalidate' $selected_w3cvalidate>$item_w3cvalidate</option>";
}
echo "</select>";
}
function jwl_clker_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_clker_field_id]" id="clker" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_clker_field_id']), false ) . ' /> '; ?><label for="clker"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/clker.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_clker_dropdown'])) {
$options_clker = $options['jwl_clker_dropdown'];
}
$items_clker = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_clker_dropdown][row]'>";
foreach($items_clker as $item_clker) {
$selected_clker = ($options_clker['row']==$item_clker) ? 'selected="selected"' : '';
echo "<option value='$item_clker' $selected_clker>$item_clker</option>";
}
echo "</select>";
}
function jwl_acheck_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_acheck_field_id]" id="acheck" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_acheck_field_id']), false ) . ' /> '; ?><label for="acheck"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/acheck.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_acheck_dropdown'])) {
$options_acheck = $options['jwl_acheck_dropdown'];
}
$items_acheck = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_acheck_dropdown][row]'>";
foreach($items_acheck as $item_acheck) {
$selected_acheck = ($options_acheck['row']==$item_acheck) ? 'selected="selected"' : '';
echo "<option value='$item_acheck' $selected_acheck>$item_acheck</option>";
}
echo "</select>";
}
function jwl_advlink_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_advlink_field_id]" id="advlink" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_advlink_field_id']), false ) . ' /> '; ?><label for="advlink"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/advlink.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_advlink_dropdown'])) {
$options_advlink = $options['jwl_advlink_dropdown'];
}
$items_advlink = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_advlink_dropdown][row]'>";
foreach($items_advlink as $item_advlink) {
$selected_advlink = ($options_advlink['row']==$item_advlink) ? 'selected="selected"' : '';
echo "<option value='$item_advlink' $selected_advlink>$item_advlink</option>";
}
echo "</select>";
}
function jwl_div_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_div_field_id]" id="div" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_div_field_id']), false ) . ' /> '; ?><label for="div"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/div_clear.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_div_dropdown'])) {
$options_div = $options['jwl_div_dropdown'];
}
$items_div = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:22px;' name='jwl_options_group1[jwl_div_dropdown][row]'>";
foreach($items_div as $item_div) {
$selected_div = ($options_div['row']==$item_div) ? 'selected="selected"' : '';
echo "<option value='$item_div' $selected_div>$item_div</option>";
}
echo "</select>";
}
function jwl_nextpage_callback_function() {
$options = get_option('jwl_options_group1');
echo '<input name="jwl_options_group1[jwl_nextpage_field_id]" id="nextpage" type="checkbox" value="1" class="two" ' . checked( 1, isset($options['jwl_nextpage_field_id']), false ) . ' /> '; ?><label for="nextpage"><span></span></label><?php
?><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/page_break.png" style="margin-left:10px;margin-bottom:-5px;" /><?php
if (isset($options['jwl_nextpage_dropdown'])) {
$options_nextpage = $options['jwl_nextpage_dropdown'];
}
$items_nextpage = array("Row 1", "Row 2", "Row 3", "Row 4");
echo "<select class='actionList2' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_nextpage_dropdown][row]'>";
foreach($items_nextpage as $item_nextpage) {
$selected_nextpage = ($options_nextpage['row']==$item_nextpage) ? 'selected="selected"' : '';
echo "<option value='$item_nextpage' $selected_nextpage>$item_nextpage</option>";
}
echo "</select>";
}
// *********************************************************
//
//
// Callback functions for miscellaneous options and features
// Function and Settings for Tinymce editor color changes
function jwl_tinycolor_css_callback_function() {
$options = get_option('jwl_options_group3');
$options2 = $options['jwl_tinycolor_css_field_id'];
$items = array("Default", "Pink", "Green", "Dark&Green", "Dark&Pink", "Rainbow", "Steel");
echo "<select id='tinycolor' name='jwl_options_group3[jwl_tinycolor_css_field_id][tinycolor]'>";
foreach($items as $item) {
$selected = ($options2['tinycolor']==$item) ? 'selected="selected"' : '';
echo "<option value='$item' $selected>$item</option>";
}
echo "</select>";
?><span style="float:right;"><?php _e('Don\'t miss the <a target="_blank" href="http://www.plugins.joshlobe.com/wp-admin-colors/">WP Admin Colors</a> addon.','jwl-ultimate-tinymce'); ?></span><?php
}
function change_mce_colors() {
$options3 = get_option('jwl_options_group3');
$options4 = $options3['jwl_tinycolor_css_field_id'];
$current_option = strtolower($options4['tinycolor']);
$colorurl = plugin_dir_url( __FILE__ ) . 'css/change_mce_'.$current_option.'.css'; // Color Options
wp_register_style('tiny_color_mce', $colorurl, '', 1.0, 'screen');
wp_enqueue_style('tiny_color_mce');
}
add_action('admin_head', 'change_mce_colors');
function jwl_tinymce_nextpage_callback_function() {
$options = get_option('jwl_options_group3');
echo '<input name="jwl_options_group3[jwl_tinymce_nextpage_field_id]" id="tinymce_nextpage" type="checkbox" value="1" class="four" ' . checked( 1, isset($options['jwl_tinymce_nextpage_field_id']), false ) . ' /> '; ?><label for="tinymce_nextpage"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Adds a button to "break" posts into multiple pages.','jwl-ultimate-tinymce'); ?></em></span><span style="margin-left:5px;"><img src="<?php echo plugin_dir_url( __FILE__ ) ?>img/page_break.png" style="margin-bottom:-5px;" /></span><?php
}
function jwl_postid_callback_function() {
$options = get_option('jwl_options_group3');
echo '<input name="jwl_options_group3[jwl_postid_field_id]" id="postid" type="checkbox" value="1" class="four" ' . checked( 1, isset($options['jwl_postid_field_id']), false ) . ' /> '; ?><label for="postid"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Adds ID column to post/page admin list.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_shortcode_callback_function() {
$options = get_option('jwl_options_group3');
echo '<input name="jwl_options_group3[jwl_shortcode_field_id]" id="shortcode" type="checkbox" value="1" class="four" ' . checked( 1, isset($options['jwl_shortcode_field_id']), false ) . ' /> '; ?><label for="shortcode"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Use all shortcodes in widget areas too.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_php_widget_callback_function() {
$options = get_option('jwl_options_group3');
echo '<input name="jwl_options_group3[jwl_php_widget_field_id]" id="php_widget" type="checkbox" value="1" class="four" ' . checked( 1, isset($options['jwl_php_widget_field_id']), false ) . ' /> '; ?><label for="php_widget"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Adds a widget which can be used to insert PHP code.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_linebreak_callback_function() {
$options = get_option('jwl_options_group3');
echo '<input name="jwl_options_group3[jwl_linebreak_field_id]" id="linebreak" type="checkbox" value="1" class="four" ' . checked( 1, isset($options['jwl_linebreak_field_id']), false ) . ' /> '; ?><label for="linebreak"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Simply use the <b>[break]</b> shortcode','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_columns_callback_function() {
$options = get_option('jwl_options_group3');
echo '<input name="jwl_options_group3[jwl_columns_field_id]" id="columns" type="checkbox" value="1" class="four" ' . checked( 1, isset($options['jwl_columns_field_id']), false ) . ' /> '; ?><label for="columns"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Use to create magazine-style columns.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_autop_callback_function() {
$options = get_option('jwl_options_group3');
echo '<input name="jwl_options_group3[jwl_autop_field_id]" id="autop" type="checkbox" value="1" class="four" ' . checked( 1, isset($options['jwl_autop_field_id']), false ) . ' /> '; ?><label for="autop"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Disables the WordPress <strong>wpautop()</strong> function.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_remove_pbr_callback_function() {
$options = get_option('jwl_options_group3');
echo '<input name="jwl_options_group3[jwl_remove_pbr_field_id]" id="remove_pbr" type="checkbox" value="1" class="four" ' . checked( 1, isset($options['jwl_remove_pbr_field_id']), false ) . ' /> '; ?><label for="remove_pbr"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Removes the p and br tags from the text editor.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_cursor_callback_function() {
$options = get_option('jwl_options_group3');
echo '<input name="jwl_options_group3[jwl_cursor_field_id]" id="cursor" type="checkbox" value="1" class="four" ' . checked( 1, isset($options['jwl_cursor_field_id']), false ) . ' /> '; ?><label for="cursor"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Restore scrollbar position after saving post/page content.','jwl-ultimate-tinymce'); ?></em><?php
}
function jwl_signoff_callback_function() {
_e('Use the editor below to create content which can be inserted into a post/page using the <b>[signoff]</b> shortcode.','jwl-ultimate-tinymce');
}
// Functions for Admin Panel Options
function jwl_dev_support_callback_function() {
$options = get_option('jwl_options_group4');
echo '<input name="jwl_options_group4[jwl_dev_support]" id="jwl_dev_support" type="checkbox" value="1" class="five" ' . checked( 1, isset($options['jwl_dev_support']), false ) . ' /> '; ?><label for="jwl_dev_support"><span></span></label><?php
?><span style="margin-left:15px;" class="jwl_pro_text"><em><?php _e('Places an attractive link to my Pro version in footer of website.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_tinymce_user_role_callback_function() {
/*
$options = get_option('jwl_options_group4');
if (isset($options['jwl_tinymce_user_role'])) {
$options_tinymce_user_role = $options['jwl_tinymce_user_role'];
}
$items_tinymce_user_role = array("Super Admin", "Administrator", "Editor", "Author", "Contributor");
echo "<select id='jwl_tinymce_user_role' style='width:100px;' name='jwl_options_group4[jwl_tinymce_user_role]'>";
foreach($items_tinymce_user_role as $item_tinymce_user_role) {
$selected_tinymce_user_role = ($options_tinymce_user_role == $item_tinymce_user_role) ? 'selected="selected"' : '';
echo "<option value='$item_tinymce_user_role' $selected_tinymce_user_role>$item_tinymce_user_role</option>";
}
echo "</select>";
?><span class="jwl_pro_text" style="margin-left:10px;"><em><?php _e('Select which role may access the Ultimate Tinymce content editor.', 'jwl-ultimate-tinymce'); ?></em></span><?php
*/
?><a target="_blank" href="http://ultimatetinymcepro.com/"><span class="jwl_pro_span"><?php _e('PRO','jwl-ultimate-tinymce'); ?></span></a><span class="jwl_pro_text"><em><?php _e('Select which role may access the Ultimate Tinymce content editor.', 'jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_menu_location_callback_function() {
$options = get_option('jwl_options_group4');
if (isset($options['jwl_menu_location'])) {
$options_location = $options['jwl_menu_location'];
}
$items_location = array("Main", "Appearance", "Tools", "Settings");
echo "<select id='jwl_menu_location' style='width:100px;' name='jwl_options_group4[jwl_menu_location]'>";
foreach($items_location as $item_location) {
$selected_location = ($options_location == $item_location) ? 'selected="selected"' : '';
echo "<option value='$item_location' $selected_location>$item_location</option>";
}
echo "</select>";
?><span class="jwl_pro_text" style="margin-left:10px;"><em><?php _e('First save as "Main". Then choose Tools, Settings, or Appearance, and save again.', 'jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_tinymce_add_stylesheet_callback_function() {
$options = get_option('jwl_options_group4');
echo '<input name="jwl_options_group4[jwl_tinymce_add_stylesheet]" id="jwl_tinymce_add_stylesheet" type="checkbox" value="1" class="five" ' . checked( 1, isset($options['jwl_tinymce_add_stylesheet']), false ) . ' /> '; ?><label for="jwl_tinymce_add_stylesheet"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('If availble in your theme, loads the editor-style.css file.','jwl-ultimate-tinymce'); ?></em><?php
}
function jwl_tinymce_add_widgets_callback_function() {
?><a target="_blank" href="http://ultimatetinymcepro.com/"><span class="jwl_pro_span"><?php _e('PRO','jwl-ultimate-tinymce'); ?></span></a><span class="jwl_pro_text"><em><?php _e('Create custom widgets just like a custom post type.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_tinymce_add_context_menu_callback_function() {
?><a target="_blank" href="http://ultimatetinymcepro.com/"><span class="jwl_pro_span"><?php _e('PRO','jwl-ultimate-tinymce'); ?></span></a><span class="jwl_pro_text"><em><?php _e('Enables an editor "right-click menu", negating the need for buttons in rows.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_tinymce_custom_users_callback_function() {
?><a target="_blank" href="http://ultimatetinymcepro.com/"><span class="jwl_pro_span"><?php _e('PRO','jwl-ultimate-tinymce'); ?></span></a><span class="jwl_pro_text"><em><?php _e('Allows each user to store individual custom settings.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_tinymce_excerpt_callback_function() {
$options = get_option('jwl_options_group4');
echo '<input name="jwl_options_group4[jwl_tinymce_excerpt]" id="jwl_tinymce_excerpt" type="checkbox" value="1" class="five" ' . checked( 1, isset($options['jwl_tinymce_excerpt']), false ) . ' /> '; ?><label for="jwl_tinymce_excerpt"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Enables Ultimate Tinymce in the excerpt area of Posts.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_post_revisions_callback_function() {
?><a target="_blank" href="http://ultimatetinymcepro.com/"><span class="jwl_pro_span"><?php _e('PRO','jwl-ultimate-tinymce'); ?></span></a><span class="jwl_pro_text"><em><?php _e('Sets maximum number of post revisions to store in database.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_page_revisions_callback_function() {
?><a target="_blank" href="http://ultimatetinymcepro.com/"><span class="jwl_pro_span"><?php _e('PRO','jwl-ultimate-tinymce'); ?></span></a><span class="jwl_pro_text"><em><?php _e('Sets maximum number of page revisions to store in database.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_del_revisions_callback_function() {
?><a target="_blank" href="http://ultimatetinymcepro.com/"><span class="jwl_pro_span"><?php _e('PRO','jwl-ultimate-tinymce'); ?></span></a><span class="jwl_pro_text"><em><?php _e('Deletes all post and page revisions from the database.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_tinymce_excerpt_page_callback_function() {
$options = get_option('jwl_options_group4');
echo '<input name="jwl_options_group4[jwl_tinymce_excerpt_page]" id="jwl_tinymce_excerpt_page" type="checkbox" value="1" class="five" ' . checked( 1, isset($options['jwl_tinymce_excerpt_page']), false ) . ' /> '; ?><label for="jwl_tinymce_excerpt_page"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Enables Ultimate Tinymce in the excerpt area of Pages.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_hide_html_tab_callback_function() {
$options = get_option('jwl_options_group4');
echo '<input name="jwl_options_group4[jwl_hide_html_tab]" id="hide_html" type="checkbox" value="1" class="five" ' . checked( 1, isset($options['jwl_hide_html_tab']), false ) . ' /> '; ?><label for="hide_html"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Removes the TEXT tab from the content editor, rendering it unusuable','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_dashboard_widget_callback_function() {
$options = get_option('jwl_options_group4');
echo '<input name="jwl_options_group4[jwl_dashboard_widget]" id="dashboard" type="checkbox" value="1" class="five" ' . checked( 1, isset($options['jwl_dashboard_widget']), false ) . ' /> '; ?><label for="dashboard"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Adds a dashboard widget with a News Feed from Ultimate Tinymce.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_admin_bar_link_callback_function() {
$options = get_option('jwl_options_group4');
echo '<input name="jwl_options_group4[jwl_admin_bar_link]" id="adminbar" type="checkbox" value="1" class="five" ' . checked( 1, isset($options['jwl_admin_bar_link']), false ) . ' /> '; ?><label for="adminbar"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Adds a link to the admin bar for quick access to the Tinymce Settings Page.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_hide_posts_list_callback_function() {
?><a target="_blank" href="http://ultimatetinymcepro.com/"><span class="jwl_pro_span"><?php _e('PRO','jwl-ultimate-tinymce'); ?></span></a><span class="jwl_pro_text"><em><?php _e('Hides selected posts from admin edit view.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_hide_pages_list_callback_function() {
?><a target="_blank" href="http://ultimatetinymcepro.com/"><span class="jwl_pro_span"><?php _e('PRO','jwl-ultimate-tinymce'); ?></span></a><span class="jwl_pro_text"><em><?php _e('Hides selected pages from admin edit view.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_content_css_callback_function() {
$options = get_option('jwl_options_group4');
echo '<input name="jwl_options_group4[jwl_content_css]" id="contentcss" type="checkbox" value="1" class="five" ' . checked( 1, isset($options['jwl_content_css']), false ) . ' /> '; ?><label for="contentcss"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Click help icon for detailed information.','jwl-ultimate-tinymce'); ?></em></span>
<?php
}
function jwl_disable_styles_callback_function() {
$options = get_option('jwl_options_group4');
echo '<input name="jwl_options_group4[jwl_disable_styles]" id="disable_styles" type="checkbox" value="1" class="five" ' . checked( 1, isset($options['jwl_disable_styles']), false ) . ' /> '; ?><label for="disable_styles"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Removes all author plugin admin styling','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_tinymce_refresh_callback_function() {
$options = get_option('jwl_options_group4');
echo '<input name="jwl_options_group4[jwl_tinymce_refresh]" id="tinymcerefresh" type="checkbox" value="1" class="five" ' . checked( 1, isset($options['jwl_tinymce_refresh']), false ) . ' /> '; ?><label for="tinymcerefresh"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Disables the force caching of tinymce on page reload.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_tinymce_kitchen_callback_function() {
$options = get_option('jwl_options_group4');
echo '<input name="jwl_options_group4[jwl_tinymce_kitchen]" id="tinymcekitchen" type="checkbox" value="1" class="five" ' . checked( 1, isset($options['jwl_tinymce_kitchen']), false ) . ' /> '; ?><label for="tinymcekitchen"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Disables the force open state of "kitchen sink" button.','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_qr_code_callback_function() {
$options = get_option('jwl_options_group4');
echo '<input name="jwl_options_group4[jwl_qr_code]" id="jwl_qr_code" type="checkbox" value="1" class="five" ' . checked( 1, isset($options['jwl_qr_code']), false ) . ' /> '; ?><label for="jwl_qr_code"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Displays unique qr code at bottom of each post.','jwl-ultimate-tinymce'); ?></em></span><span style="margin-left:10px;" class="jwl_pro_text"><em><?php _e('More options available in PRO','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_qr_code_pages_callback_function() {
$options = get_option('jwl_options_group4');
echo '<input name="jwl_options_group4[jwl_qr_code_pages]" id="jwl_qr_code_pages" type="checkbox" value="1" class="five" ' . checked( 1, isset($options['jwl_qr_code_pages']), false ) . ' /> '; ?><label for="jwl_qr_code_pages"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Displays unique qr code at bottom of each page.','jwl-ultimate-tinymce'); ?></em></span><span style="margin-left:10px;" class="jwl_pro_text"><em><?php _e('More options available in PRO','jwl-ultimate-tinymce'); ?></em></span><?php
}
function jwl_qr_code_text_callback_function() {
$options = get_option('jwl_options_group4');
echo '<div class="jwl_hide">';
echo 'Choose QR Text Color:<br />';
if (isset($options['jwl_qr_code_text'])) {
echo '<input type="text" id="jwl_qr_code_text" class="color" name="jwl_options_group4[jwl_qr_code_text]" value="' . $options['jwl_qr_code_text'] . '" />';
} else {
echo '<input type="text" id="jwl_qr_code_text" class="color" name="jwl_options_group4[jwl_qr_code_text]" value="#000000" />';
}
echo '</div';
}
function jwl_qr_code_bg_callback_function() {
$options = get_option('jwl_options_group4');
echo '<div class="jwl_hide">';
echo 'Choose QR Title Background Color:<br />';
if( isset( $options['jwl_qr_code_bg'])) {
echo '<input type="text" class="color" name="jwl_options_group4[jwl_qr_code_bg]" value="' . $options['jwl_qr_code_bg'] . '" />';
} else {
echo '<input type="text" class="color" name="jwl_options_group4[jwl_qr_code_bg]" value="#FFFFFF" />';
}
echo '</div';
}
function jwl_qr_code_bg_main_callback_function() {
$options = get_option('jwl_options_group4');
echo '<div class="jwl_hide">';
echo 'Choose QR Main Background Color:<br />';
if( isset( $options['jwl_qr_code_bg_main'] )) {
echo '<input type="text" class="color" name="jwl_options_group4[jwl_qr_code_bg_main]" value="' . $options['jwl_qr_code_bg_main'] . '" />';
} else {
echo '<input type="text" class="color" name="jwl_options_group4[jwl_qr_code_bg_main]" value="#FFFFFF" />';
}
echo '</div';
}
function jwl_qr_code_content_callback_function() {
// See added wp_editor in main.php file to control the qr code content
echo '<span class="jwl_hide">';
$options = get_option('jwl_options_group4');
if (isset($options['jwl_qr_code_content'])) {
echo 'Write QR Content Text:<br />';
}
echo '</span>';
}
// Callback functions for the Tinymce Content Editor Over-rides
function jwl_tinymce_modifications_callback_function() {
$options = get_option('jwl_options_group8');
echo '<input name="jwl_options_group8[jwl_tinymce_modifications]" id="tinymce_modifications" type="checkbox" value="1" class="eight" ' . checked( 1, isset($options['jwl_tinymce_modifications']), false ) . ' /> '; ?><label for="tinymce_modifications"><span></span></label><?php
?><span style="margin-left:15px;"><em><?php _e('Enable','jwl-ultimate-tinymce'); ?></em></span>
<?php
}
function jwl_tinymce_background_color_callback_function() {
$options2 = get_option('jwl_options_group8');
if (empty($options2['jwl_tinymce_background_color_hex'])) {
echo '<input name="jwl_options_group8[jwl_tinymce_background_color_hex]" value="#FFFFFF" id="tinymce_background_color_hex" type="text" />';
?><span style="margin-left:15px;"><em><?php _e('Enter Hex Number (ex. #FFFFFF)','jwl-ultimate-tinymce'); ?></em></span><?php
} else {
echo '<input name="jwl_options_group8[jwl_tinymce_background_color_hex]" value="'.$options2['jwl_tinymce_background_color_hex'].'" id="tinymce_background_color_hex" type="text" />';
?><span style="margin-left:15px;"><em><?php _e('Enter Hex Number (ex. #FFFFFF)','jwl-ultimate-tinymce'); ?></em></span><?php
}
}
function jwl_tinymce_font_color_callback_function() {
$options2 = get_option('jwl_options_group8');
if (empty($options2['jwl_tinymce_font_color_hex'])) {
echo '<input name="jwl_options_group8[jwl_tinymce_font_color_hex]" value="#000000" id="tinymce_font_color_hex" type="text" />';
?><span style="margin-left:15px;"><em><?php _e('Enter Hex Number (ex. #000000)','jwl-ultimate-tinymce'); ?></em></span><?php
} else {
echo '<input name="jwl_options_group8[jwl_tinymce_font_color_hex]" value="'.$options2['jwl_tinymce_font_color_hex'].'" id="tinymce_font_color_hex" type="text" />';
?><span style="margin-left:15px;"><em><?php _e('Enter Hex Number (ex. #000000)','jwl-ultimate-tinymce'); ?></em></span><?php
}
}
function jwl_tinymce_fontsize_callback_function() {
$options2 = get_option('jwl_options_group8');
if (empty($options2['jwl_tinymce_fontsize'])) {
echo '<input name="jwl_options_group8[jwl_tinymce_fontsize]" value="13px" id="tinymce_fontsize" type="text" />';
?><span style="margin-left:15px;"><em><?php _e('Enter Font Size (ex. 12px, 14pt, 1.2em)','jwl-ultimate-tinymce'); ?></em></span><?php
} else {
echo '<input name="jwl_options_group8[jwl_tinymce_fontsize]" value="'.$options2['jwl_tinymce_fontsize'].'" id="tinymce_fontsize" type="text" />';
?><span style="margin-left:15px;"><em><?php _e('Enter Font Size (ex. 12px, 14pt, 1.2em)','jwl-ultimate-tinymce'); ?></em></span><?php
}
}
function jwl_tinymce_font_callback_function() {
?><a target="_blank" href="http://ultimatetinymcepro.com/"><span class="jwl_pro_span"><?php _e('PRO','jwl-ultimate-tinymce'); ?></span></a><?php
}
function jwl_tinymce_lineheight_callback_function() {
?><a target="_blank" href="http://ultimatetinymcepro.com/"><span class="jwl_pro_span"><?php _e('PRO','jwl-ultimate-tinymce'); ?></span></a><?php
}
function jwl_tinymce_direction_callback_function() {
?><a target="_blank" href="http://ultimatetinymcepro.com/"><span class="jwl_pro_span"><?php _e('PRO','jwl-ultimate-tinymce'); ?></span></a><?php
}
function jwl_tinymce_padding_callback_function() {
?><a target="_blank" href="http://ultimatetinymcepro.com/"><span class="jwl_pro_span"><?php _e('PRO','jwl-ultimate-tinymce'); ?></span></a><?php
}
function jwl_tinymce_margin_callback_function() {
?><a target="_blank" href="http://ultimatetinymcepro.com/"><span class="jwl_pro_span"><?php _e('PRO','jwl-ultimate-tinymce'); ?></span></a><?php
}
?>