Beispiel #1
0
?>
[url]" id="<?php 
echo $fieldid;
?>
url" value="<?php 
op_page_attr_e($section_name, 'url');
?>
" />

    <label for="<?php 
echo $fieldid;
?>
message" class="form-title"><?php 
_e('Redirect Browser Message', OP_SN);
?>
</label>
    <p class="op-micro-copy"><?php 
_e('Enter the message to be shown to the user in a browser pop when the user tries to exit. This would normally be a message advising if they want to close their browser or be redirected', OP_SN);
?>
</p>
    <textarea id="<?php 
echo $fieldid;
?>
message" name="<?php 
echo $fieldname;
?>
[message]"><?php 
echo str_replace('\\&quot;', '&quot;', op_page_attr($section_name, 'message'));
?>
</textarea>
</div>
Beispiel #2
0
?>
</label>
        <p class="op-micro-copy"><?php 
_e('Use the options below to customize the content of your Lightbox Popup
', OP_SN);
?>
</p>
        <select name="<?php 
echo $fieldname;
?>
[type]" id="<?php 
echo $fieldid;
?>
type" class="op-type-switcher">
        <?php 
$val = op_page_attr($section_name, 'type');
$opts = array('optin' => __('Opt-in Form', OP_SN), 'html' => __('HTML Content', OP_SN));
foreach ($opts as $name => $title) {
    echo '<option value="' . $name . '"' . ($val == $name ? ' selected="selected"' : '') . '>' . $title . '</option>';
}
?>
        </select><br />
        <div class="op-type op-type-optin"><?php 
op_mod('signup_form')->display_settings(array($section_name, 'optin_form'), array('disable' => 'color_scheme|on_off_switch'));
?>
</div>
        <div class="op-type op-type-html"><br /><?php 
op_mod('content_fields')->display_settings(array($section_name, 'html_content'), array('fields' => array('content' => array('name' => __('HTML Content', OP_SN), 'type' => 'textarea', 'help' => __('Enter HTML content to show in your lightbox.', OP_SN)))));
?>
</div>
    </div>