示例#1
0
    </div>
	</div>
	<?php 
    }
    ?>
	<div class="op-bsw-grey-panel section-<?php 
    echo $class . ($no_content ? ' op-bsw-grey-panel-no-content' : '');
    ?>
">
		<div class="op-bsw-grey-panel-header cf">
			<h3><?php 
    echo $no_content ? $section['title'] : '<a href="#">' . $section['title'] . '</a>';
    ?>
</h3>
			<?php 
    $help_vid = op_help_vid(array('page', $section_type, $name), true);
    ?>
			<div class="op-bsw-panel-controls<?php 
    echo $help_vid == '' ? '' : ' op-bsw-panel-controls-help';
    ?>
 cf">
				<div class="show-hide-panel"><?php 
    echo !$no_content ? '<a href="#"></a>' : '';
    ?>
</div>
                <?php 
    if ($on_off) {
        $enabled = op_page_on_off_switch($name);
    }
    echo $help_vid;
    ?>
示例#2
0
$font_size = isset($header_layout['nav_bar_below']['font_size']) ? $header_layout['nav_bar_below']['font_size'] : op_default_option($header_layout['nav_bar_below'], 'font_size');
$font_shadow = isset($header_layout['nav_bar_below']['font_shadow']) ? $header_layout['nav_bar_below']['font_shadow'] : op_default_option($header_layout['nav_bar_below'], 'font_shadow');
op_font_selector('op[header_layout][nav_bar_below]', array('family' => $font_family, 'style' => $font_weight, 'size' => $font_size, 'shadow' => $font_shadow), '<div class="op-micro-copy-font-selector">', '</div>', false);
?>
			<div class="clear"></div><br/>
        </div>
    </div>

	<div class="op-bsw-grey-panel section-nav_bar_alongside" id="op_page_layout_header_nav_bar_alongside">
		<div class="op-bsw-grey-panel-header cf">
			<h3><a href="#"><?php 
_e('Navigation Bar Alongside Logo', OP_SN);
?>
</a></h3>
			<?php 
$help_vid = op_help_vid(array('page', 'header_layout', 'nav_bar_above'), true);
?>
			<div class="op-bsw-panel-controls<?php 
echo $help_vid == '' ? '' : ' op-bsw-panel-controls-help';
?>
 cf">
				<div class="show-hide-panel"><a href="#"></a></div>
                <?php 
$enabled = op_page_on_off_switch('header_layout', 'nav_bar_alongside');
echo $help_vid;
?>
			</div>
		</div>
        <div class="op-bsw-grey-panel-content op-bsw-grey-panel-no-sidebar">
            <label for="op_header_alongside_nav" class="form-title"><?php 
_e('Select Menu for Navigation Bar', OP_SN);
示例#3
0
<?php

if (($theme_dir = op_get_option('theme', 'dir')) === false && count($themes) > 0) {
    $theme_dir = $themes[0]['dir'];
}
?>
<h2><?php 
_e('Theme Style', OP_SN);
?>
</h2>
<!--<?php 
op_help_vid('theme');
?>
-->
<div class="clear"></div>
<p><?php 
_e('Use the options below to choose a look and feel for your blog.', OP_SN);
?>
</p>
<?php 
$sel_text = __('Selected', OP_SN);
$prev_text = __('Preview', OP_SN);
$previews = array();
$img = op_img('', true);
foreach ($themes as $key => $theme) {
    $field_id = 'op_theme_' . $theme['dir'];
    $selected = $theme_dir == $theme['dir'];
    /*$get_theme = (isset($_GET['theme_switch']) ? $_GET['theme_switch'] : 1);
    	$selected = ($get_theme==($key+1) ? true : false);*/
    $li_class = $input_attr = '';
    if ($selected) {
示例#4
0
    _e('Activate this option if you want to have a larger footer area with space for you to add new elements using the LiveEditor', OP_SN);
    ?>
</p>
        </div>
    </div>
    <?php 
}
?>
	<div class="op-bsw-grey-panel section-footer_disclaimer">
		<div class="op-bsw-grey-panel-header cf">
			<h3><a href="#"><?php 
_e('Footer Disclaimer', OP_SN);
?>
</a></h3>
			<?php 
$help_vid = op_help_vid(array('page', 'footer_area', 'footer_disclaimer'), true);
?>
			<div class="op-bsw-panel-controls<?php 
echo $help_vid == '' ? '' : ' op-bsw-panel-controls-help';
?>
 cf">
				<div class="show-hide-panel"><a href="#"></a></div>
                <?php 
$enabled = op_page_on_off_switch('footer_area', 'footer_disclaimer');
echo $help_vid;
?>
			</div>
		</div>
        <div class="op-bsw-grey-panel-content op-bsw-grey-panel-no-sidebar">
            <label for="op_footer_area_disclaimer_message" class="form-title"><?php 
_e('Disclaimer Override', OP_SN);
示例#5
0
		<label class="form-title bold-title" for="op_product_name"><?php 
    _e('Product Name', OP_SN);
    ?>
</label>
		<input type="text" name="op[product][name]" id="op_productName" value="<?php 
    echo $post->post_title;
    ?>
" />
	</div>
	<div id="templates">
	<h2><?php 
    _e('Select a Template' . ($page_type == 'landing' ? ' Type' : ''), OP_SN);
    ?>
</h2>
	<?php 
    op_help_vid(array('pages', 'theme'));
    ?>
	<div class="clear"></div>
	<p><?php 
    _e('Choose a template below for your overall page style. Remember you can use the LiveEditor later to customize all your on-page content.', OP_SN);
    ?>
</p>
	<?php 
    $sel_text = __('Selected', OP_SN);
    $prev_text = __('Preview', OP_SN);
    $previews = array();
    $img = op_img('', true);
    foreach ($themes as $theme) {
        $field_id = 'op_theme_' . $theme['dir'];
        $selected = $theme_dir == $theme['dir'];
        $li_class = $input_attr = '';
示例#6
0
    if (op_has_group_error('launch_suite_settings_' . $name)) {
        $class .= ' has-error';
        op_section_error($section_type);
    }
    ?>
	<div class="op-bsw-grey-panel section-<?php 
    echo $class . ($no_content ? ' op-bsw-grey-panel-no-content' : '');
    ?>
">
		<div class="op-bsw-grey-panel-header cf">
			<h3><?php 
    echo $no_content ? $title : '<a href="#">' . $title . '</a>';
    ?>
</h3>
			<?php 
    $help_vid = op_help_vid(array('launch_suite', 'settings', $name), true);
    ?>
			<div class="op-bsw-panel-controls<?php 
    echo $help_vid == '' ? '' : ' op-bsw-panel-controls-help';
    ?>
 cf">
				<div class="show-hide-panel"><?php 
    echo !$no_content ? '<a href="#"></a>' : '';
    ?>
</div>
                <?php 
    if ($on_off) {
        $enabled = op_launch_on_off_switch($name);
    }
    echo $help_vid;
    ?>
示例#7
0
" id="add_new_funnel" />
        <div class="op-waiting"><img class="op-bsw-waiting op-show-waiting op-hidden" alt="" src="images/wpspin_light.gif" /></div>
    	<span class="create-link"><?php 
printf(__('or %1$sSelect a current one%2$s', 'optimizepress'), '<a href="#" id="funnel_switch_select">', '</a>');
?>
</span>
    </div><div class="clear"></div>
        
	<div class="op-bsw-grey-panel section-gateway_override">
		<div class="op-bsw-grey-panel-header cf">
			<h3><a href="#"><?php 
_e('Funnel Gateway Override', 'optimizepress');
?>
</a></h3>
			<?php 
$help_vid = op_help_vid(array('page', 'functionality', 'launch_funnel', 'gateway_override'), true);
?>
			<div class="op-bsw-panel-controls<?php 
echo $help_vid == '' ? '' : ' op-bsw-panel-controls-help';
?>
 cf">
				<div class="show-hide-panel"><a href="#"></a></div>
                <?php 
$enabled = op_page_on_off_switch($section_name, 'gateway_override');
echo $help_vid;
?>
			</div>
		</div>
        <div class="op-bsw-grey-panel-content op-bsw-grey-panel-no-sidebar">
        	<p class="op-micro-copy"><?php 
_e('Override the main launch funnel settings with these options. The launch gateway will redirect the user to a page of your choosing if they do not use the special access key for the page.', 'optimizepress');
示例#8
0
    if (op_has_group_error('functionality_' . $name)) {
        $class .= ' has-error';
        op_section_error('functionality');
    }
    ?>
                <div class="op-bsw-grey-panel section-<?php 
    echo $class . ($no_content ? ' op-bsw-grey-panel-no-content' : '');
    ?>
">
                    <div class="op-bsw-grey-panel-header cf">
                        <h3><?php 
    echo $no_content ? $section['title'] : '<a href="#">' . $section['title'] . '</a>';
    ?>
</h3>
                        <?php 
    $help_vid = op_help_vid(array('page', 'functionality', $name), true);
    ?>
                        <div class="op-bsw-panel-controls<?php 
    echo $help_vid == '' ? '' : ' op-bsw-panel-controls-help';
    ?>
 cf">
                            <div class="show-hide-panel"><?php 
    echo !$no_content ? '<a href="#"></a>' : '';
    ?>
</div>
                            <?php 
    if ($on_off) {
        $enabled = op_page_on_off_switch($name);
    }
    echo $help_vid;
    ?>
示例#9
0
    }
    ?>
	<div class="op-bsw-grey-panel section-<?php 
    echo $name;
    ?>
" id="advanced_colors_<?php 
    echo $name;
    ?>
">
		<div class="op-bsw-grey-panel-header cf">
			<h3><a href="#"><?php 
    echo $options['title'];
    ?>
</a></h3>
			<?php 
    $help_vid = op_help_vid(array('page', 'color_schemes', 'advanced', $name), true);
    ?>
			<div class="op-bsw-panel-controls<?php 
    echo $help_vid == '' ? '' : ' op-bsw-panel-controls-help';
    ?>
 cf">
				<div class="show-hide-panel"><a href="#"></a></div>
			</div>
		</div>
        <div class="op-bsw-grey-panel-content op-bsw-grey-panel-no-sidebar">
        <?php 
    echo op_load_section('color_options', array('elements' => $options['elements'], 'opt_array' => array('color_scheme_advanced', $name), 'fieldname' => 'op[color_scheme_advanced][' . $name . ']', 'fieldid' => 'op_color_scheme_advanced_' . $name . '_'), 'page');
    ?>
        </div>
    </div>
	<?php 
示例#10
0
	<div class="op-bsw-grey-panel section-<?php 
echo $page_type;
?>
">
		<div class="op-bsw-grey-panel-header cf">
			<h3><a href="#"><?php 
echo $title;
?>
</a></h3>
			<?php 
$help_vid = op_help_vid(array('launch_suite', 'pages', $page_type), true);
?>
			<div class="op-bsw-panel-controls<?php 
echo $help_vid == '' ? '' : ' op-bsw-panel-controls-help';
?>
 cf">
				<div class="show-hide-panel"><a href="#"></a></div>
			</div>
		</div>
        <?php 
echo $content;
?>
    </div>