Exemplo n.º 1
0
        printf(__('Enter the width of your sidebar. Enter a value between %1$s and %2$s or click Default to restore default setting', 'optimizepress'), op_get_var($field, 'min', 230), op_get_var($field, 'max', 400));
        ?>
</p>
		    	<input type="text" name="<?php 
        echo $fieldname . '[' . $name . ']';
        ?>
" id="<?php 
        echo $fieldid . $name;
        ?>
" value="<?php 
        echo op_default_attr('column_layout', 'widths', $name);
        ?>
" />
		    	
                <?php 
        op_default_link($fieldid . $name, op_theme_config($default_arr, $name));
        ?>
                
				<?php 
        if ($error = $this->error('op_sections_column_layout_withs_' . $name)) {
            ?>
                <span class="error"><?php 
            echo $error;
            ?>
</span>
                <?php 
        }
        ?>
			</div>
		<?php 
    }
Exemplo n.º 2
0
    <label for="op_info_bar_email" class="form-title"><?php 
_e('Email', OP_SN);
?>
</label>
     <p class="op-micro-copy"><?php 
_e('Enter an email address to add a mailto link in the Info Bar', OP_SN);
?>
</p>
    <input type="text" name="op[sections][info_bar][email]" id="op_info_bar_email" value="<?php 
op_default_attr_e('info_bar', 'email');
?>
" />
   
    <label for="op_info_bar_rss" class="form-title"><?php 
_e('RSS', OP_SN);
?>
</label>
    <p class="op-micro-copy"><?php 
_e('Enter the address of your RSS feed for the Info Bar link. Click Default if you\'re not sure.', OP_SN);
?>
</p>
    <input type="text" name="op[sections][info_bar][rss]" id="op_info_bar_rss" value="<?php 
op_default_attr_e('info_bar', 'rss');
?>
" />
    <?php 
op_default_link('op_info_bar_rss', get_bloginfo('rss2_url'));
?>
    

</div>