mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-16 13:13:33 +09:00
- intermediate results with sanitizing form handlers;
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php if ( ! defined( 'ABSPATH' ) ) exit;
|
||||
|
||||
<?php if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( empty( UM()->builder()->form_id ) ) {
|
||||
UM()->builder()->form_id = $this->form_id;
|
||||
@@ -9,8 +10,10 @@ if ( empty( UM()->builder()->form_id ) ) {
|
||||
|
||||
<div class="um-admin-drag-ctrls-demo um-admin-drag-ctrls">
|
||||
|
||||
<a href="javascript:void(0);" class="active" data-modal="UM_preview_form" data-modal-size="smaller" data-dynamic-content="um_admin_preview_form"
|
||||
data-arg1="<?php esc_attr( the_ID() ); ?>" data-arg2=""><?php _e('Live Preview','ultimate-member'); ?></a>
|
||||
<a href="javascript:void(0);" class="active" data-modal="UM_preview_form" data-modal-size="smaller"
|
||||
data-dynamic-content="um_admin_preview_form" data-arg1="<?php echo esc_attr( get_the_ID() ); ?>" data-arg2="">
|
||||
<?php esc_html_e( 'Live Preview', 'ultimate-member' ); ?>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -19,9 +22,7 @@ if ( empty( UM()->builder()->form_id ) ) {
|
||||
<div class="um-admin-drag">
|
||||
|
||||
<div class="um-admin-drag-ajax" data-form_id="<?php echo esc_attr( UM()->builder()->form_id ); ?>">
|
||||
|
||||
<?php UM()->builder()->show_builder(); ?>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="um-admin-drag-addrow um-admin-tipsy-n" title="<?php esc_attr_e( 'Add Master Row', 'ultimate-member' ); ?>"
|
||||
@@ -31,4 +32,4 @@ if ( empty( UM()->builder()->form_id ) ) {
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user