예제 #1
0
</option>
            </select><br/>

            <span id="post_select_container">
                <?php 
_e('on page', 'formidable');
?>
                    <!-- <img src="<?php 
echo FRM_IMAGES_URL;
?>
/tooltip.png" alt="?" class="frm_help" title="<?php 
_e('If you would like the content to be inserted automatically, you must then select the page in which to insert it.', 'formidable');
?>
" /><br/> -->
                <?php 
FrmAppHelper::wp_pages_dropdown('post_id', $values['post_id'], 35);
?>
            </span>
            <?php 
if ($values['insert_loc'] != 'none' and is_numeric($values['post_id'])) {
    ?>
            <a href="<?php 
    echo get_permalink($values['post_id']);
    ?>
" target="_blank" class="button-secondary"><?php 
    _e('View Post', 'formidable');
    ?>
</a>
            <?php 
}
?>
예제 #2
0
" placeholder="http://example.com" />
                        </span>

						<?php 
if (FrmAppHelper::pro_is_installed()) {
    ?>
                        <span class="success_action_page_box success_action_box<?php 
    echo $values['success_action'] == 'page' ? '' : ' frm_hidden';
    ?>
">
                            <label><?php 
    _e('Use Content from Page', 'formidable');
    ?>
</label>
                            <?php 
    FrmAppHelper::wp_pages_dropdown('options[success_page_id]', $values['success_page_id']);
    ?>
                        </span>
                        <?php 
}
?>
                    </td>
                </tr>
                <tr class="frm_show_form_opt success_action_message_box success_action_box<?php 
echo $values['success_action'] == 'message' ? '' : ' frm_hidden';
?>
">
                    <td colspan="2">
						<label for="show_form"><input type="checkbox" name="options[show_form]" id="show_form" value="1" <?php 
checked($values['show_form'], 1);
?>
예제 #3
0
    ?>
 /> <?php 
    _e('Use this menu name site-wide', 'formidable');
    ?>
</label>
            <?php 
}
?>
        </p>

        <p><label class="frm_left_label"><?php 
_e('Preview Page', 'formidable');
?>
</label>
        <?php 
FrmAppHelper::wp_pages_dropdown('frm-preview-page-id', $frm_settings->preview_page_id);
?>
        </p>

    </div>

        <?php 
foreach ($sections as $sec_name => $section) {
    if ($a == $sec_name . '_settings') {
        ?>
<style type="text/css">.<?php 
        echo esc_attr($sec_name);
        ?>
_settings{display:block;}</style><?php 
    }
    ?>
예제 #4
0
 /> <?php 
    _e('Use this menu name site-wide', 'formidable');
    ?>
                    <?php 
}
?>
                </td>
            </tr>
            <tr class="form-field">
              <td valign="top"><?php 
_e('Preview Page', 'formidable');
?>
 </td>
              <td>
                <?php 
FrmAppHelper::wp_pages_dropdown($frm_settings->preview_page_id_str, $frm_settings->preview_page_id);
?>
              </td>
            </tr>
            
            <tr>
              <td valign="top" width="200px"><?php 
_e('Tracking', 'formidable');
?>
 </td>
              <td>
                  <p><input type="checkbox" id="frm_track" name="frm_track" value="1" <?php 
checked($frm_settings->track, 1);
?>
> <?php 
_e('Track referrer information and pages visited', 'formidable');
예제 #5
0
"></span>
			</label>
            <input type="number" id="insert_pos" name="options[insert_pos]" min="1" max="15" step="1" size="4" value="<?php 
echo esc_attr($post->frm_insert_pos);
?>
" style="float:none;"/>
        </p>
        <span id="post_select_container" <?php 
echo $post->frm_insert_loc == 'none' ? ' class="frm_hidden"' : '';
?>
>
            <?php 
_e('on page', 'formidable');
?>
            <?php 
FrmAppHelper::wp_pages_dropdown('post_id', $post->frm_post_id, 35);
?>
			<span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php 
esc_attr_e('If you would like the content to be inserted automatically, you must then select the page in which to insert it.', 'formidable');
?>
"></span>
        </span>
        <?php 
if ($post->frm_insert_loc != 'none' && is_numeric($post->frm_post_id)) {
    ?>
        <a href="<?php 
    echo esc_url(get_permalink($post->frm_post_id));
    ?>
" target="_blank" class="button-secondary"><?php 
    _e('View Post', 'formidable');
    ?>
예제 #6
0
    echo esc_attr($values['edit_url']);
}
?>
" style="width:61%" placeholder="http://example.com" />
        </span>

        <span class="edit_action_page_box edit_action_box" <?php 
echo $values['edit_action'] == 'page' ? '' : 'style="display:none;"';
?>
>
            <label><?php 
_e('Use Content from Page', 'formidable');
?>
</label>
            <?php 
FrmAppHelper::wp_pages_dropdown('options[edit_page_id]', $values['edit_page_id']);
?>
        </span>
    </td>
</tr>

<tr>
    <td colspan="2"><label for="save_draft"><input type="checkbox" name="options[save_draft]" id="save_draft" value="1"<?php 
echo $values['save_draft'] ? ' checked="checked"' : '';
?>
 /> <?php 
_e('Allow logged-in users to save drafts', 'formidable');
?>
</label>
    </td>
</tr>