Exemplo n.º 1
0
	<div class="op-bsw-main-content">

		<?php 
if ($notification !== false) {
    op_notify($notification);
}
if ($error !== false) {
    op_show_error($error);
}
$browser = op_get_current_browser();
if ($browser['name'] === 'msie' || $browser['name'] === 'chrome' && $browser['version'] < 20 || $browser['name'] === 'safari' && $browser['version'] < 6 || $browser['name'] === 'opera' && $browser['version'] < 15 || $browser['name'] === 'firefox' && $browser['version'] < 17) {
    $browser_info = $browser['full_name'] . ' ' . $browser['version'];
    $firefox_link = '<a href="http://www.mozilla.org/en-US/firefox/new/" target="_blank">Firefox</a>';
    $chrome_link = '<a href="https://www.google.com/intl/en/chrome/browser/" target="_blank">Chrome</a>';
    $browser_warning = sprintf(__('We have detected that you are using %1s. For optimal performance when using OptimizePress, we recommend using the latest versions of %2s or %3s.', OP_SN), $browser_info, $firefox_link, $chrome_link);
    op_show_warning($browser_warning, true, 'js-remember-choice', 'obsolete-browser');
}
?>

		<p><?php 
printf(__('Use these options to customize styling and functionality of your pages. Ensure you also create and assign menus to your blog Menus within the %1$sWordpress Menus admin panel%2$s if you want to use navigation menus on your pages.', OP_SN), '<a href="nav-menus.php">', '</a>');
?>
</p>

		<?php 
/*
<!--<div class="op-bsw-blog-status">
	<div class="op-bsw-blog-status-content cf">
		<h2><?php _e('Dashboard',OP_SN) ?></h2>
		<p><span><?php _e('Your blog is currently turned:',OP_SN) ?></span> <input type="checkbox" class="panel-controlx op-bsw-blog-enabler" name="op_enable_site" value="Y"<?php echo op_get_option('blog_enabled') == 'Y' ? ' checked="checked"' : '' ?> /><img class="op-bsw-waiting" src="images/wpspin_light.gif" alt="" /></p>
	</div>
Exemplo n.º 2
0
    ?>
</div>
<?php 
}
?>
<div id="preset-option-content_layout" class="preset-option op-hidden">
    <h2><?php 
_e('Select a Pre-Made Content Template', 'optimizepress');
?>
</h2>
    <p><?php 
_e('Select the layout you want from below and when your page is loaded in the LiveEditor the layout and content will be ready for you to customize.', 'optimizepress');
?>
</p>
    <?php 
op_show_warning(__('Please note you will still need to add your header in the PageBuilder process and you are free to tweak any of the settings (we do not recommend changing the template settings unless you&rsquo;re familiar with these options)', 'optimizepress'), true);
?>
    <div class="op-hidden" id="upload_new_layout_container">
        <a href="#load" id="view_layouts"><?php 
_e('View Uploaded Templates', 'optimizepress');
?>
</a>
        <div class="op-info-box">
            <iframe src="<?php 
menu_page_url(OP_SN . '-page-builder', true);
?>
&amp;section=content_upload&amp;info_box=yes" width="700" height="170"></iframe>
        </div>
    </div>
    <div id="content_layout_container">
        <a href="#upload" id="upload_new_layout"><?php