function weaverx_admin_admin()
{
    ?>
<div class="atw-option-header"><span style="color:black; padding:.2em;" class="dashicons dashicons-admin-generic"></span>
<?php 
    _e('Basic Administrative Options', 'weaver-xtreme');
    weaverx_help_link('help.html#AdminOptions', 'Help for Admin Options');
    ?>
</div>

<p>
<?php 
    _e('These options control some administrative options and appearance features.', 'weaver-xtreme');
    ?>
</p>

<br />

<label><input type="checkbox" name="<?php 
    weaverx_sapi_main_name('_disable_customizer');
    ?>
" id="disable_customizer" <?php 
    checked(weaverx_getopt_checked('_disable_customizer'));
    ?>
 />
	<?php 
    _e('<strong>Disable Weaver Xtreme Customizer Interface</strong> - If you have a slow host or slow computer, checking this option will disable loading the Weaver Xtreme Customizer interface. &diams;', 'weaver-xtreme');
    ?>
	</label><br /><br />

	<label><input type="checkbox" name="<?php 
    weaverx_sapi_main_name('_hide_donate');
    ?>
" id="hide_donate" <?php 
    checked(weaverx_getopt_checked('_hide_donate'));
    ?>
 />
	<?php 
    _e('I\'ve Donated - <small>Thank you for donating to the Weaver Xtreme theme.
This will hide the Donate button. Purchasing Weaver Xtreme Plus also hides the Donate button.</small> &diams;', 'weaver-xtreme');
    ?>
	</label><br /><br />

	<label><input type="checkbox" name="<?php 
    weaverx_sapi_main_name('_hide_editor_style');
    ?>
" id="_hide_editor_style" <?php 
    checked(weaverx_getopt_checked('_hide_editor_style'));
    ?>
 />
<?php 
    _e('Disable Page/Post Editor Styling - <small>Checking this box will disable the Weaver Xtreme subtheme based styling in the Page/Post editor.
If you have a theme using transparent backgrounds, this option will likely improve the Post/Page editor visibility. &diams;</small>', 'weaver-xtreme');
    ?>
</label><br />

	<label><input type="checkbox" name="<?php 
    weaverx_sapi_main_name('_hide_auto_css_rules');
    ?>
" id="hide_auto_css_rules" <?php 
    checked(weaverx_getopt_checked('_hide_auto_css_rules'));
    ?>
 />
<?php 
    _e('Don\'t auto-display CSS rules - <small>Checking this box will disable the auto-display of Main Option elements that have CSS settings.</small> &diams;', 'weaver-xtreme');
    ?>
</label><br />

	<input name="<?php 
    weaverx_sapi_main_name('_css_rows');
    ?>
" id="css_rows" type="text" style="width:30px;height:20px;" class="regular-text" value="<?php 
    weaverx_esc_textarea(weaverx_getopt('_css_rows'));
    ?>
" />
<?php 
    _e('lines - Set CSS+ text box height - <small>You can increase the default height of the CSS+ input area (1 to 25 lines).</small> &diams;', 'weaver-xtreme');
    ?>
<br />
 <br />
 <h3 class="atw-option-subheader"><?php 
    _e('Per Page and Per Post Option Panels by Roles<', 'weaver-xtreme');
    ?>
/h3>
 <p>
<?php 
    _e('Single site Administrator and Multi-Site Super Administrator will always have the Per Page and Per Post options panel displayed.
You may selectively disable these options for other User Roles using the check boxes below.', 'weaver-xtreme');
    ?>
 </p>


	<label><input type="checkbox" name="<?php 
    weaverx_sapi_main_name('_hide_mu_admin_per');
    ?>
" id="_hide_mu_admin_per" <?php 
    checked(weaverx_getopt_checked('_hide_mu_admin_per'));
    ?>
 />
	<?php 
    _e('Hide Per Page/Post Options for MultiSite Admins', 'weaver-xtreme');
    ?>
</label> &diams;<br />
	   <label><input type="checkbox" name="<?php 
    weaverx_sapi_main_name('_hide_editor_per');
    ?>
" id="_hide_editor_per" <?php 
    checked(weaverx_getopt_checked('_hide_editor_per'));
    ?>
 />
	<?php 
    _e('Hide Per Page/Post Options for Editors', 'weaver-xtreme');
    ?>
</label> &diams;<br />
	   <label><input type="checkbox" name="<?php 
    weaverx_sapi_main_name('_hide_author_per');
    ?>
" id="_hide_author_per" <?php 
    checked(weaverx_getopt_checked('_hide_author_per'));
    ?>
 />
	<?php 
    _e('Hide Per Page/Post Options for Authors and Contributors', 'weaver-xtreme');
    ?>
</label> &diams;<br />
	<br />
	<label><input type="checkbox" name="<?php 
    weaverx_sapi_main_name('_show_per_post_all');
    ?>
" id="_hide_author_per" <?php 
    checked(weaverx_getopt_checked('_show_per_post_all'));
    ?>
 />
	<?php 
    _e('Show Per Post Options for Custom Post Types &diams; - <small>Shows the Per Post options box on "Custom Post Type Editor" admin pages', 'weaver-xtreme');
    ?>
</small>
	</label>
<br />
<br /><br />
	<div class="atw-option-subheader"><?php 
    _e('Theme Name and Description', 'weaver-xtreme');
    ?>
</div>
<p>
<?php 
    _e('You can change the name and description of your current settings if you would like to create a new theme
theme file for sharing with others, or for you own identification.', 'weaver-xtreme');
    ?>
</p>
<?php 
    _e('Theme Name:', 'weaver-xtreme');
    ?>
 <input name="<?php 
    weaverx_sapi_main_name('themename');
    ?>
" id="themename" value="<?php 
    echo weaverx_getopt('themename');
    ?>
" />
	<br />
	<?php 
    _e('Description:', 'weaver-xtreme');
    ?>
&nbsp;&nbsp;&nbsp;
	<?php 
    weaverx_textarea(weaverx_getopt('theme_description'), 'theme_description', 2, __('Describe the theme', 'weaver-xtreme'), 'width:65%;');
    ?>
<br />
<br />
 <h3 class="atw-option-subheader"><?php 
    _e('Subtheme Notes', 'weaver-xtreme');
    ?>
</h3>
 <p>
<?php 
    _e('This box may be used to keep notes and instructions about settings made for a custom subtheme.
It will be saved in the both \'.wxt\' and \'.wxb\' settings files.', 'weaver-xtreme');
    ?>
 </p>
 <?php 
    weaverx_textarea(weaverx_getopt('subtheme_notes'), 'subtheme_notes', 2, __('Notes about theme', 'weaver-xtreme'), 'width:75%;');
    do_action('weaverxplus_admin', 'admin_options');
}
function weaverx_form_text_xy($value, $x = 'X', $y = 'Y', $units = 'px')
{
    $xid = $value['id'] . '_' . $x;
    $yid = $value['id'] . '_' . $y;
    $colon = $value['name'] ? ':' : '';
    ?>
	<tr>
	<th scope="row" align="right"><?php 
    weaverx_echo_name($value);
    echo $colon;
    ?>
&nbsp;</th>
	<td>
		<?php 
    echo '<span class="rtl-break">' . $x;
    ?>
:<input name="<?php 
    weaverx_sapi_main_name($xid);
    ?>
" id="<?php 
    echo $xid;
    ?>
" type="text" style="width:40px;height:20px;" class="regular-text" value="<?php 
    weaverx_esc_textarea(weaverx_getopt($xid));
    ?>
" /> <?php 
    echo $units;
    ?>
</span>
		&nbsp;<?php 
    echo '<span class="rtl-break">' . $y;
    ?>
:<input name="<?php 
    weaverx_sapi_main_name($yid);
    ?>
" id="<?php 
    echo $yid;
    ?>
" type="text" style="width:40px;height:20px;" class="regular-text" value="<?php 
    weaverx_esc_textarea(weaverx_getopt($yid));
    ?>
" /> <?php 
    echo $units;
    ?>
</span>
	</td>
<?php 
    weaverx_form_info($value);
    ?>
	</tr>
<?php 
}
function weaverx_form_color($value, $val_only = false)
{
    $pclass = 'color {hash:true, adjust:false}';
    // starting with V 1.3, allow text in color pickers
    if (!$val_only) {
        ?>
	<tr>
	<th scope="row" align="right"><?php 
        weaverx_echo_name($value, '<span class="i-left-fg dashicons dashicons-admin-appearance"></span>');
        ?>
:&nbsp;</th>
	<td>
	<?php 
    } else {
        echo '&nbsp;<small>' . $value['info'] . '</small>&nbsp;';
    }
    ?>
	<input class="<?php 
    echo $pclass;
    ?>
" name="<?php 
    weaverx_sapi_main_name($value['id']);
    ?>
" id="<?php 
    echo $value['id'];
    ?>
" type="text" style="width:90px" value="<?php 
    if (weaverx_getopt($value['id']) != "") {
        weaverx_esc_textarea(weaverx_getopt($value['id']));
    } else {
        echo ' ';
    }
    ?>
" />
	<?php 
    if (!$val_only) {
        ?>
	</td>
<?php 
        weaverx_form_info($value);
        ?>
	</tr>
<?php 
    }
}