Files
ultimatemember/includes/admin/templates/form/mode.php
T

17 lines
784 B
PHP
Raw Normal View History

2015-01-09 20:57:00 +02:00
<?php $is_core = get_post_meta( get_the_ID(), '_um_core', true ); ?>
2014-12-15 22:38:07 +02:00
2015-01-09 20:57:00 +02:00
<div class="um-admin-boxed-links um-admin-ajaxlink <?php if ( $is_core ) echo 'is-core-form'; ?>">
<?php if ( $is_core ) { ?>
2018-03-19 16:31:49 +02:00
<p><?php _e( '<strong>Note:</strong> Form type cannot be changed for the default forms.', 'ultimate-member' ); ?></p>
2015-01-09 20:57:00 +02:00
<?php } ?>
<a href="#" data-role="register"><?php _e('Registration Form','ultimate-member'); ?></a>
2014-12-15 22:38:07 +02:00
<a href="#" data-role="profile"><?php _e('Profile Form','ultimate-member'); ?></a>
2014-12-15 22:38:07 +02:00
<a href="#" data-role="login"><?php _e('Login Form','ultimate-member'); ?></a>
2014-12-15 22:38:07 +02:00
2017-08-20 20:49:20 +03:00
<input type="hidden" name="form[_um_mode]" id="form__um_mode" value="<?php echo UM()->query()->get_meta_value( '_um_mode', null, 'register' ); ?>" />
2014-12-15 22:38:07 +02:00
</div><div class="um-admin-clear"></div>