Beispiel #1
0
function weaverii_admin_pro()
{
    $opts = array(array('name' => 'Administrative Opts', 'id' => 'maintab3', 'type' => 'header0', 'info' => 'Weaver II Pro Administrative Options', 'help' => 'help.html#ProAdminOpts'), array('name' => 'Use Inline CSS', 'id' => '_wii_inline_style', 'type' => '+checkbox', 'info' => 'Generate in-line CSS code rather than using style-weaverii.css file. ♦'), array('name' => 'Development Mode', 'id' => '_wii_development_mode', 'type' => '+checkbox', 'info' => 'Run in development mode. Uses in-line CSS and displays the diagnostic information enabled below when developing
		  a new custom theme. TURN OFF FOR PRODUCTION SITES! &diams;'), array('name' => '<small>Trace Page Templates</small>', 'id' => '_wii_diag_trace_templates', 'type' => '+checkbox', 'info' => 'Displays a label for each page template called (e.g., index, category, page, etc.). &diams;'), array('name' => '<small>Trace Sidebars</small>', 'id' => '_wii_diag_trace_sidebars', 'type' => '+checkbox', 'info' => 'Displays a label for sidebar displayed. &diams;'), array('name' => '<small>Show Area Borders</small>', 'id' => '_wii_diag_borders', 'type' => '+checkbox', 'info' => 'Show a 1px red border around most major &lt;div&gt;s. Overrides other borders. &diams;'), array('name' => '<small>Show Page Generation Time</small>', 'id' => '_weaverii_diag_timer', 'type' => '+checkbox', 'info' => 'Show page generation time at bottom of page. &diams;'), array('name' => '#070<small>Show Mobile Device Info</small>', 'id' => '_wii_diag_trace_mobile', 'type' => '+checkbox', 'info' => 'Shows info about display device at top of page. &diams;'), array('name' => 'Shortcodes & Features', 'id' => 'maintab2', 'type' => 'header0', 'info' => 'Selectively Enable/Disable Weaver II Pro Shortcodes and Features', 'help' => 'help.html#ProShortcodes'), array('name' => 'Note:', 'id' => 'wii_pshc', 'type' => 'note', 'info' => 'These enable/disabe Weaver Pro Shortcodes. See the Dashboard Appearance->Shortcodes + Pro panel.'), array('name' => 'Disable Header Gadgets', 'id' => '_wii_hide_headergadgets', 'type' => '+checkbox', 'info' => 'Header Gadgets - Place links, images, and text over the header; directly or with [weaver_gadget] &diams;'), array('name' => 'Disable Link Buttons', 'id' => '_wii_hide_linkbuttons', 'type' => '+checkbox', 'info' => 'Link Buttons - [weaver_buttons] + Widget to display link image buttons you define &diams;'), array('name' => 'Disable Social Buttons', 'id' => '_wii_hide_socialbuttons', 'type' => '+checkbox', 'info' => 'Social Buttons - [weaver_social] + Widget to display icon links to most current social sites &diams;'), array('name' => 'Disable Slider', 'id' => '_wii_hide_slider', 'type' => '+checkbox', 'info' => 'Slider - [weaver_slider] - place sliding image menus in header, sidebar, or content area &diams;'), array('name' => 'Disable Extra Menus', 'id' => '_wii_hide_extramenus', 'type' => '+checkbox', 'info' => 'Extra Menu [weaver_extra_menu] + Vertical Menu Widget - add new menus almost anywhere &diams;'), array('name' => 'Disable Widget Area', 'id' => '_wii_hide_widgetarea', 'type' => '+checkbox', 'info' => 'Widget Area - [weaver_widget_area] - add new widget area almost anywhere, including in pages and posts &diams;'), array('name' => 'Disable Search Form', 'id' => '_wii_hide_searchbox', 'type' => '+checkbox', 'info' => 'Search Form - [weaver_search] - add a search form wherever you want &diams;'), array('name' => 'Disable Show Feed', 'id' => '_wii_hide_showfeed', 'type' => '+checkbox', 'info' => 'Show Feed - [weaver_show_feed] - show an external RSS feed styled to match your own posts &diams;'), array('name' => 'Disable Popup Link', 'id' => '_wii_hide_popuplink', 'type' => '+checkbox', 'info' => 'Popup Link - [weaver_popup_link] - Define a link to a popup window &diams;'), array('name' => 'Disable Show/Hide Text', 'id' => '_wii_hide_showhide', 'type' => '+checkbox', 'info' => 'Show/Hide - [weaver_showhide] - adds button to show/hide text such as lyrics or spoilers &diams;'), array('name' => 'Disable Comment Policy', 'id' => '_wii_hide_commentpolicy', 'type' => '+checkbox', 'info' => 'Comment Policy - add comment policy or terms right before the submit comment button &diams;'), array('name' => 'Disable Shortcoder', 'id' => '_wii_hide_shortcoder', 'type' => '+checkbox', 'info' => 'Shortcoder - [weaver_sc] - define your own short code: add standard text or other content using a shortcode &diams;'), array('name' => 'Enable PHP', 'id' => '_wii_show_php', 'type' => '+checkbox', 'info' => 'PHP - [weaver_php] - add PHP whereever you need it &diams;'), array('name' => 'Enable Total CSS Options', 'id' => '_wii_show_totalcss', 'type' => '+checkbox', 'info' => 'Total CSS - define custom CSS for virtually every important element of your theme &diams;'));
    ?>
<h3>Weaver II Pro Features <?php 
    weaverii_help_link('help.html#WeaverIIPro', 'Help for Admin Options');
    ?>
</h3>
<?php 
    if (!weaverii_init_base()) {
        ?>
<p>Weaver II Pro adds features to Weaver II, but is now being retired. Rather than designing new sites using
<em>Weaver II</em>, [lease switch to our new theme: <strong>Weaver Xtreme.</strong></p>
<h3>Visit <?php 
        weaverii_site('', 'http://weavertheme.com', 'Weaver Theme');
        ?>
WeaverTheme.com</a>
now to learn all about <em>Weaver Xtreme</em>.</strong>
</h3>
	<p>After over 5 years as one of the best WordPress themes available, <em>Weaver II</em> is being phased out.
	We will continue to provide critical updates for the foreseeable future, but we <strong>highly</strong> recommend
	switching to our latest, improved theme - <em>Weaver Xtreme</em>.
	</p>
<?php 
        weaverii_form_show_options($opts);
        return;
    }
    // to here, have pro features
    ?>
<h3>Weaver II Pro Features - You are using Weaver II Pro. Thank you.</h3>
<p>After over 5 years as one of the best WordPress themes available, <em>Weaver II Pro</em> is being phased out.
	We will continue to provide critical updates for the foreseeable future, but we <strong>highly</strong> recommend
	switching to our latest, improved theme - <em>Weaver Xtreme</em>, and its premium version, <em>Weaver Xtreme Plus</em>.
</p>
<?php 
    weaverii_sapi_submit();
    weaverii_hide_advanced('begin');
    weaverii_form_show_options($opts);
    ?>

 <p><strong><a href="<?php 
    echo site_url('/wp-admin/themes.php?page=WeaverII_Shortcodes');
    ?>
"><em>More Weaver II Pro Options and Shortcodes</em></a></strong></p>

<p style="max-width:700px;"><small>Note: The above options allow you to selectively enable and disable the listed Weaver II Pro shortcodes and
features. Disabling a feature will optomize the speed of your site. Any difference will be very small, but might
give a slight improvment for heavily loaded sites.</small>
	<br /><br />
	<?php 
    echo 'Memory: ' . round(memory_get_usage() / 1024 / 1024, 2) . ' of ' . (int) ini_get('memory_limit') . 'M ';
    ?>
</p>
<?php 
    weaverii_sapi_submit();
    (int) ini_get('memory_limit');
    weaverii_hide_advanced('end');
}
Beispiel #2
0
function weaverii_adv_bgimages()
{
    weaverii_hide_advanced('begin');
    ?>
	<div class="wvr-option-header">
	Background Images
	<?php 
    weaverii_help_link('help.html#BackgroundImages', 'Help on Background Images');
    ?>
</div><br />
	<br />

		<table class="optiontable">
<?php 
    weaverii_bgimg_widerow('Full Screen Site BG Image', '_wii_bg_fullsite_url', 'Full screen centered auto-sized BG image.  (&#9679;Pro)', '250px');
    weaverii_bgimg_widerow('Wrapper BG Image', '_wii_bg_wrapper_url', 'Background image for outer wrapper (#wrapper) (&#9679;Pro)');
    weaverii_repeat_row('_wii_bg_wrapper_rpt');
    weaverii_bgimg_widerow('Header BG Image', '_wii_bg_header_url', 'Background image for header (#branding) (&#9679;Pro)');
    weaverii_repeat_row('_wii_bg_header_rpt');
    weaverii_bgimg_widerow('Main BG Image', '_wii_bg_main_url', 'Background image for main area - wraps everything after header (#main) (&#9679;Pro)');
    weaverii_repeat_row('_wii_bg_main_rpt');
    weaverii_bgimg_widerow('Container BG Image', '_wii_bg_container_url', 'Background image for Container - (#container_wrap) (&#9679;Pro)');
    weaverii_repeat_row('_wii_bg_container_rpt');
    weaverii_bgimg_widerow('Content BG Image', '_wii_bg_content_url', 'Background image for Content - wraps page/post area (#content) (&#9679;Pro)');
    weaverii_repeat_row('_wii_bg_content_rpt');
    weaverii_bgimg_widerow('Page content BG Image', '_wii_bg_page_url', 'Background image for Page content area (#container .page) (&#9679;Pro)');
    weaverii_repeat_row('_wii_bg_page_rpt');
    weaverii_bgimg_widerow('Post BG Image', '_wii_bg_post_url', 'Background image for Post content area (#container .post) (&#9679;Pro)');
    weaverii_repeat_row('_wii_bg_post_rpt');
    weaverii_bgimg_widerow('Left Sidebar Areas BG Image', '_wii_bg_widgets_left_url', 'Background image for widget areas on left (#sidber_wrap_left) (&#9679;Pro)');
    weaverii_repeat_row('_wii_bg_widgets_left_rpt');
    weaverii_bgimg_widerow('Right Sidebar Areas BG Image', '_wii_bg_widgets_right_url', 'Background image for widget areas on right (#sidber_wrap_right) (&#9679;Pro)');
    weaverii_repeat_row('_wii_bg_widgets_right_rpt');
    weaverii_bgimg_widerow('Footer BG Image', '_wii_bg_footer_url', 'Background image for Footer area (#colophon) (&#9679;Pro)');
    weaverii_repeat_row('_wii_bg_footer_rpt');
    ?>
	</table>
<?php 
    weaverii_hide_advanced('end');
}
Beispiel #3
0
function weaverii_form_row_ctext($value)
{
    $pclass = 'color {hash:true, adjust:false}';
    // starting with V 1.3, allow text in color pickers
    $img_css = '<img src="' . get_template_directory_uri() . '/images/theme/css.png" alt="css" />';
    $img_hide = get_template_directory_uri() . '/images/theme/hide.png';
    $img_show = get_template_directory_uri() . '/images/theme/show.png';
    $help_file = get_template_directory_uri() . '/help/css-help.html';
    $css_id = $value['id'] . '_css';
    $css_text = weaverii_getopt($css_id);
    if ($css_text && !weaverii_getopt('_wii_hide_auto_css_rules')) {
        $img_toggle = $img_hide;
    } else {
        $img_toggle = $img_show;
    }
    ?>
	<tr>
	<th scope="row" align="right"><?php 
    weaverii_echo_name($value);
    ?>
:&nbsp;</th>
	<td>
		<input class="<?php 
    echo $pclass;
    ?>
" name="<?php 
    weaverii_sapi_main_name($value['id']);
    ?>
" id="<?php 
    echo $value['id'];
    ?>
" type="text" style="width:90px" value="<?php 
    if (weaverii_getopt($value['id']) != "") {
        weaverii_esc_textarea(weaverii_getopt($value['id']));
    } else {
        echo '';
    }
    ?>
" />
<?php 
    if (!weaverii_hide_advanced()) {
        echo $img_css;
        ?>
<a href="javascript:void(null);" onclick="weaverii_ToggleRowCSS(document.getElementById('<?php 
        echo $css_id . '_js';
        ?>
'), this, '<?php 
        echo $img_show;
        ?>
', '<?php 
        echo $img_hide;
        ?>
')"><?php 
        echo '<img src="' . $img_toggle . '" alt="toggle css" />';
        ?>
</a>
<?php 
    }
    ?>
	</td>
<?php 
    weaverii_form_row_info($value);
    ?>
	</tr>
<?php 
    $css_rows = weaverii_getopt('_wii_css_rows');
    if ($css_rows < 1 || $css_rows > 25) {
        $css_rows = 1;
    }
    if ($css_text && !weaverii_getopt('_wii_hide_auto_css_rules') && !weaverii_hide_advanced()) {
        ?>
	<tr id="<?php 
        echo $css_id . '_js';
        ?>
">
	<th scope="row" align="right"><span style="color:#22a;"><small>Custom CSS styling:</small></span></th>
		<td align="right">&nbsp;</td>
		<td>
			<small>You can enter CSS rules, enclosed in {}'s.
			See <a href="<?php 
        echo $help_file;
        ?>
" target="_blank">CSS Help</a> for more details.</small><br />
			<textarea name="<?php 
        weaverii_sapi_main_name($css_id);
        ?>
" rows=<?php 
        echo $css_rows;
        ?>
 style="width: 85%" placeholder="{ font-size:150%; font-weight:bold; } /* for example */"><?php 
        weaverii_esc_textarea($css_text);
        ?>
</textarea>

		</td>
	</tr>

<?php 
    } else {
        ?>
	<tr id="<?php 
        echo $css_id . '_js';
        ?>
" style="display:none;">
		<th scope="row" align="right"><span style="color:green;"><small>Custom CSS styling:</small></span></th>
		<td align="right">&nbsp;</td>
		<td>
			<small>You can enter CSS rules, enclosed in {}'s.
			See <a href="<?php 
        echo $help_file;
        ?>
" target="_blank">CSS Help</a> for more details.</small><br />
			<textarea name="<?php 
        weaverii_sapi_main_name($css_id);
        ?>
" rows=<?php 
        echo $css_rows;
        ?>
 style="width: 85%" placeholder="{ font-size:150%; font-weight:bold; } /* for example */" ><?php 
        weaverii_esc_textarea($css_text);
        ?>
</textarea>
		</td>
	</tr>
<?php 
    }
}
function weaverii_adv_archive_pages()
{
    weaverii_hide_advanced('begin');
    $opts = array(array('name' => 'Archive Type Pages', 'type' => '=header0', 'info' => 'Extra options for Archive-like pages - Categories, Tags, etc.', 'help' => 'help.html#ArchivePages'), array('name' => 'Hide Categories Archives Title', 'id' => 'wii_hide_p_category', 'type' => '+checkbox', 'info' => 'Hide "Category Archives" title on category pages. (&#9679;Pro)'), array('name' => '<small>Custom CSS</small>', 'id' => 'wii_p_category_css', 'type' => '+textarea', 'info' => 'Custom CSS to add to Category Archive page. (&#9679;Pro)'), array('name' => 'Hide Tag Archives Title', 'id' => 'wii_hide_p_tag', 'type' => '+checkbox', 'info' => 'Hide "Tag Archives" title on category pages. (&#9679;Pro)'), array('name' => '<small>Custom CSS</small>', 'id' => 'wii_p_tag_css', 'type' => '+textarea', 'info' => 'Custom CSS to add to Tag Archive page. (&#9679;Pro)'), array('name' => 'Hide Author Archives Title', 'id' => 'wii_hide_p_author', 'type' => '+checkbox', 'info' => 'Hide "Author Archives" title on author pages. (&#9679;Pro)'), array('name' => '<small>Custom CSS</small>', 'id' => 'wii_p_author_css', 'type' => '+textarea', 'info' => 'Custom CSS to add to Author Archive page. (&#9679;Pro)'), array('name' => 'Hide Date Archives Title', 'id' => 'wii_hide_p_date', 'type' => '+checkbox', 'info' => 'Hide "Date Archives" title on date archive pages. (&#9679;Pro)'), array('name' => '<small>Custom CSS</small>', 'id' => 'wii_p_date_css', 'type' => '+textarea', 'info' => 'Custom CSS to add to Date Archive page. (&#9679;Pro)'), array('name' => 'Hide Search Results Title', 'id' => 'wii_hide_p_search', 'type' => '+checkbox', 'info' => 'Hide "Search Results" title on search pages. (&#9679;Pro)'), array('name' => '<small>Custom CSS</small>', 'id' => 'wii_p_search_css', 'type' => '+textarea', 'info' => 'Custom CSS to add to Search Archive page. (&#9679;Pro)'));
    weaverii_form_show_options($opts);
    weaverii_hide_advanced('end');
}
Beispiel #5
0
function weaverii_admin_pro()
{
    $opts = array(array('name' => 'Administrative Opts', 'id' => 'maintab3', 'type' => 'header0', 'info' => 'Weaver II Pro Administrative Options', 'help' => 'help.html#ProAdminOpts'), array('name' => 'Use Inline CSS', 'id' => '_wii_inline_style', 'type' => '+checkbox', 'info' => 'Generate in-line CSS code rather than using style-weaverii.css file. &diams;'), array('name' => 'Development Mode', 'id' => '_wii_development_mode', 'type' => '+checkbox', 'info' => 'Run in development mode. Uses in-line CSS and displays the diagnostic information enabled below when developing
		  a new custom theme. TURN OFF FOR PRODUCTION SITES! &diams;'), array('name' => '<small>Trace Page Templates</small>', 'id' => '_wii_diag_trace_templates', 'type' => '+checkbox', 'info' => 'Displays a label for each page template called (e.g., index, category, page, etc.). &diams;'), array('name' => '<small>Trace Sidebars</small>', 'id' => '_wii_diag_trace_sidebars', 'type' => '+checkbox', 'info' => 'Displays a label for sidebar displayed. &diams;'), array('name' => '<small>Show Area Borders</small>', 'id' => '_wii_diag_borders', 'type' => '+checkbox', 'info' => 'Show a 1px red border around most major &lt;div&gt;s. Overrides other borders. &diams;'), array('name' => '<small>Show Page Generation Time</small>', 'id' => '_weaverii_diag_timer', 'type' => '+checkbox', 'info' => 'Show page generation time at bottom of page. &diams;'), array('name' => '#070<small>Show Mobile Device Info</small>', 'id' => '_wii_diag_trace_mobile', 'type' => '+checkbox', 'info' => 'Shows info about display device at top of page. &diams;'), array('name' => 'Shortcodes & Features', 'id' => 'maintab2', 'type' => 'header0', 'info' => 'Selectively Enable/Disable Weaver II Pro Shortcodes and Features', 'help' => 'help.html#ProShortcodes'), array('name' => 'Note:', 'id' => 'wii_pshc', 'type' => 'note', 'info' => 'These enable/disabe Weaver Pro Shortcodes. See the Dashboard Appearance->Shortcodes + Pro panel.'), array('name' => 'Disable Header Gadgets', 'id' => '_wii_hide_headergadgets', 'type' => '+checkbox', 'info' => 'Header Gadgets - Place links, images, and text over the header; directly or with [weaver_gadget] &diams;'), array('name' => 'Disable Link Buttons', 'id' => '_wii_hide_linkbuttons', 'type' => '+checkbox', 'info' => 'Link Buttons - [weaver_buttons] + Widget to display link image buttons you define &diams;'), array('name' => 'Disable Social Buttons', 'id' => '_wii_hide_socialbuttons', 'type' => '+checkbox', 'info' => 'Social Buttons - [weaver_social] + Widget to display icon links to most current social sites &diams;'), array('name' => 'Disable Slider', 'id' => '_wii_hide_slider', 'type' => '+checkbox', 'info' => 'Slider - [weaver_slider] - place sliding image menus in header, sidebar, or content area &diams;'), array('name' => 'Disable Extra Menus', 'id' => '_wii_hide_extramenus', 'type' => '+checkbox', 'info' => 'Extra Menu [weaver_extra_menu] + Vertical Menu Widget - add new menus almost anywhere &diams;'), array('name' => 'Disable Widget Area', 'id' => '_wii_hide_widgetarea', 'type' => '+checkbox', 'info' => 'Widget Area - [weaver_widget_area] - add new widget area almost anywhere, including in pages and posts &diams;'), array('name' => 'Disable Search Form', 'id' => '_wii_hide_searchbox', 'type' => '+checkbox', 'info' => 'Search Form - [weaver_search] - add a search form wherever you want &diams;'), array('name' => 'Disable Show Feed', 'id' => '_wii_hide_showfeed', 'type' => '+checkbox', 'info' => 'Show Feed - [weaver_show_feed] - show an external RSS feed styled to match your own posts &diams;'), array('name' => 'Disable Popup Link', 'id' => '_wii_hide_popuplink', 'type' => '+checkbox', 'info' => 'Popup Link - [weaver_popup_link] - Define a link to a popup window &diams;'), array('name' => 'Disable Show/Hide Text', 'id' => '_wii_hide_showhide', 'type' => '+checkbox', 'info' => 'Show/Hide - [weaver_showhide] - adds button to show/hide text such as lyrics or spoilers &diams;'), array('name' => 'Disable Comment Policy', 'id' => '_wii_hide_commentpolicy', 'type' => '+checkbox', 'info' => 'Comment Policy - add comment policy or terms right before the submit comment button &diams;'), array('name' => 'Disable Shortcoder', 'id' => '_wii_hide_shortcoder', 'type' => '+checkbox', 'info' => 'Shortcoder - [weaver_sc] - define your own short code: add standard text or other content using a shortcode &diams;'), array('name' => 'Enable PHP', 'id' => '_wii_show_php', 'type' => '+checkbox', 'info' => 'PHP - [weaver_php] - add PHP whereever you need it &diams;'), array('name' => 'Enable Total CSS Options', 'id' => '_wii_show_totalcss', 'type' => '+checkbox', 'info' => 'Total CSS - define custom CSS for virtually every important element of your theme &diams;'));
    ?>
<h3>Weaver II Pro Features <?php 
    weaverii_help_link('help.html#WeaverIIPro', 'Help for Admin Options');
    ?>
</h3>
<?php 
    if (!weaverii_init_base()) {
        ?>
<h3>Get <em style="color:blue;">Weaver II Pro</em> to add powerful new features to Weaver II</h3>
<p>
<?php 
        weaverii_site('', 'http://pro.weavertheme.com', 'Weaver II Pro');
        ?>
<img class="alignleft" style="padding-right:20px;" title="Weaver II Pro" src="<?php 
        echo weaverii_relative_url('images/wiipro.jpg');
        ?>
" alt="Weaver II Pro" width="200" height="62" /></a>
<span style="color:blue; font-weight:bold;">Get Weaver II Pro Now!</span>
<br /></br />
<strong>Visit <?php 
        weaverii_site('', 'http://pro.weavertheme.com', 'Weaver II Pro');
        ?>
pro.WeaverTheme.com</a>
now to get your copy of <em>Weaver II Pro</em>.</strong>
</p>
<br />

	<p>You can extend Weaver II's features by upgrading to the Weaver II Pro Version. In addition to activating
	all the grayed out options you've probably noticed on the various options tabs, you will get the following
	new shortcodes, plus other features to fine tune your site. And Weaver II Pro offers the
	ultimate in mobile theme customization, allowing a completely different look for mobile devices.
	</p>
<?php 
        weaverii_form_show_options($opts);
        return;
    }
    // to here, have pro features
    echo '<h3>Weaver II Pro Features - You are using Weaver II Pro. Thank you.</h3>' . "\n";
    weaverii_sapi_submit();
    weaverii_hide_advanced('begin');
    weaverii_form_show_options($opts);
    ?>

 <p><strong><a href="<?php 
    echo site_url('/wp-admin/themes.php?page=WeaverII_Shortcodes');
    ?>
"><em>More Weaver II Pro Options and Shortcodes</em></a></strong></p>

<p style="max-width:700px;"><small>Note: The above options allow you to selectively enable and disable the listed Weaver II Pro shortcodes and
features. Disabling a feature will optomize the speed of your site. Any difference will be very small, but might
give a slight improvment for heavily loaded sites.</small>
	<br /><br />
	<?php 
    echo 'Memory: ' . round(memory_get_usage() / 1024 / 1024, 2) . ' of ' . (int) ini_get('memory_limit') . 'M ';
    ?>
</p>
<?php 
    weaverii_sapi_submit();
    (int) ini_get('memory_limit');
    weaverii_hide_advanced('end');
}
Beispiel #6
0
function weaverii_admin_admin()
{
    ?>
<h3>Basic Administrative Options <?php 
    weaverii_help_link('help.html#AdminOptions', 'Help for Admin Options');
    ?>
</h3>
<?php 
    weaverii_sapi_submit('', '<br /><br />');
    ?>
	These options control some administrative options and appearance features.

<br /><br />

	<label><input type="checkbox" name="<?php 
    weaverii_sapi_main_name('_wii_hide_donate');
    ?>
" id="wii_hide_donate" <?php 
    checked(weaverii_getopt_checked('_wii_hide_donate'));
    ?>
 />
		I've Donated - </label><small>Thank you for donating to the Weaver II theme.
This will hide the Donate button. Purchasing Weaver II Pro also hides the Donate button.</small> &diams;<br />

<label><input type="checkbox" name="<?php 
    weaverii_sapi_main_name('_wii_hide_subtheme_link');
    ?>
" id="wii_hide_subtheme_link" <?php 
    checked(weaverii_getopt_checked('_wii_hide_subtheme_link'));
    ?>
 />
		Hide Subthemes Banner - </label><small>This will hide the Premium Subthemes Banner.</small> &diams;<br />
<br />

<?php 
    weaverii_hide_advanced('begin');
    ?>
	<label><input type="checkbox" name="<?php 
    weaverii_sapi_main_name('_wii_hide_editor_style');
    ?>
" id="_wii_hide_editor_style" <?php 
    checked(weaverii_getopt_checked('_wii_hide_editor_style'));
    ?>
 />
		Disable Page/Post Editor Styling - </label><small>Checking this box will disable the Weaver 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.</small> &diams;<br />

		<label><input type="checkbox" name="<?php 
    weaverii_sapi_main_name('_wii_disable_shortcodes');
    ?>
" id="_wii_disable_shortcodes" <?php 
    checked(weaverii_getopt_checked('_wii_disable_shortcodes'));
    ?>
 />
		Disable <em>all</em> theme shortcode support</label> - <small>Disables all shortcodes provide by the theme ([weaver_show_posts], etc.).
		Useful to check how your site would look without Weaver II options.</small> &diams;<br />

	<label><input type="checkbox" name="<?php 
    weaverii_sapi_main_name('_wii_hide_updatemsg');
    ?>
" id="wii_hide_updatemsg" <?php 
    checked(weaverii_getopt_checked('_wii_hide_updatemsg'));
    ?>
 />
		Hide Update Messages - </label><small>Checking this box will hide the Weaver version update announcements on the Weaver Admin page.</small> &diams;<br />



	<label><input type="checkbox" name="<?php 
    weaverii_sapi_main_name('_wii_hide_auto_css_rules');
    ?>
" id="wii_hide_auto_css_rules" <?php 
    checked(weaverii_getopt_checked('_wii_hide_auto_css_rules'));
    ?>
 />
		Don't auto-display CSS rules - </label><small>Checking this box will disable the auto-display of Main Option elements that have CSS settings.</small> &diams;<br />

	<label><input name="<?php 
    weaverii_sapi_main_name('_wii_css_rows');
    ?>
" id="wii_css_rows" type="text" style="width:30px;height:20px;" class="regular-text" value="<?php 
    weaverii_esc_textarea(weaverii_getopt('_wii_css_rows'));
    ?>
" />
	lines - Set CSS+ text box height - </label><small>You can increase the default height of the CSS+ input area to a value between 1 and 25 lines.</small> &diams;
<br />
<br />
<strong>Compatibility Settings</strong> - settings that may cause compatibility issues with other plugins
<br />
<br /> <small><span style="color:red;"><b>NOTE:</b></span> Weaver II includes support for Rounded Corners and
Shadows for Internet Explorer 7/8 via an add-on script called PIE. The script has been <strong>enabled</strong> by default.
Note while PIE supports most rounded areas, it doesn't support the menu bars.
If you have difficulties or don't like the way your site renders in IE 7/8, you can disable the support.</small>
<br />
<label><input type="checkbox" name="<?php 
    weaverii_sapi_main_name('_wii_hide_PIE');
    ?>
" id="wii_hide_PIE" <?php 
    checked(weaverii_getopt_checked('_wii_hide_PIE'));
    ?>
 />
	Disable IE rounded corners support - </label><small>If you are having issues with IE and rounded corners, please disable this option.</small> &diams;<br />
 <br />
 <input type="checkbox" name="<?php 
    weaverii_sapi_main_name('_wii_no_final_div');
    ?>
" id="wii_no_final_div" <?php 
    checked(weaverii_getopt_checked('_wii_no_final_div'));
    ?>
 />
		Don't add #weaver-final at end - </label><small>Checking this box will prevent Weaver II from wrapping the
		very end of site pages with the #weaver-final div. This may prevent some conflicts with some plugins.</small> &diams;<br />

 <h3 class="wvr-option-subheader">Per Page and Per Post Option Panels by Roles</h3>
 <p>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. (&#9679;Pro)</p>

 <?php 
    if (!weaverii_init_base()) {
        echo '<p>&nbsp;&nbsp;<em>Weaver II Pro Option</em></p>';
    } else {
        ?>

	<label><input type="checkbox" name="<?php 
        weaverii_sapi_main_name('_wii_hide_mu_admin_per');
        ?>
" id="_wii_hide_mu_admin_per" <?php 
        checked(weaverii_getopt_checked('_wii_hide_mu_admin_per'));
        ?>
 />
		Hide Per Page/Post Options for MultiSite Admins</label> &diams;<br />
		   <label><input type="checkbox" name="<?php 
        weaverii_sapi_main_name('_wii_hide_editor_per');
        ?>
" id="_wii_hide_editor_per" <?php 
        checked(weaverii_getopt_checked('_wii_hide_editor_per'));
        ?>
 />
		Hide Per Page/Post Options for Editors</label> &diams;<br />
		   <label><input type="checkbox" name="<?php 
        weaverii_sapi_main_name('_wii_hide_author_per');
        ?>
" id="_wii_hide_author_per" <?php 
        checked(weaverii_getopt_checked('_wii_hide_author_per'));
        ?>
 />
		Hide Per Page/Post Options for Authors and Contributors</label> &diams;<br />

<?php 
    }
    ?>
<br />
 <h3 class="wvr-option-subheader">Subtheme Notes</h3>
 <p>This box may be used to keep notes and instructions about settings made for a custom subtheme. It
 will be saved in the both .w2t and .w2b settings files.</p>
 <textarea name="<?php 
    weaverii_sapi_main_name('wii_subtheme_notes');
    ?>
" rows=8 style="width: 95%"><?php 
    weaverii_esc_textarea(weaverii_getopt('wii_subtheme_notes'));
    ?>
</textarea>
<?php 
    weaverii_hide_advanced();
}