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

17 lines
773 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 ) { ?>
<p><?php _e('<strong>Note:</strong> Form type cannot be changed for the default forms.','ultimatemember'); ?></p>
<?php } ?>
2015-01-15 17:15:12 +02:00
<a href="#" data-role="register"><?php _e('Registration Form','ultimatemember'); ?></a>
2014-12-15 22:38:07 +02:00
2015-01-15 17:15:12 +02:00
<a href="#" data-role="profile"><?php _e('Profile Form','ultimatemember'); ?></a>
2014-12-15 22:38:07 +02:00
2015-01-15 17:15:12 +02:00
<a href="#" data-role="login"><?php _e('Login Form','ultimatemember'); ?></a>
2014-12-15 22:38:07 +02:00
<input type="hidden" name="_um_mode" id="_um_mode" value="<?php echo $ultimatemember->query->get_meta_value('_um_mode', null, 'register' ); ?>" />
</div><div class="um-admin-clear"></div>