Sync last changes

This commit is contained in:
ultimatemember
2015-01-09 20:57:00 +02:00
parent 3ab001ce97
commit 53a1cd28e8
4 changed files with 10 additions and 4 deletions
+7 -1
View File
@@ -1,5 +1,11 @@
<div class="um-admin-boxed-links um-admin-ajaxlink">
<?php $is_core = get_post_meta( get_the_ID(), '_um_core', true ); ?>
<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 } ?>
<a href="#" data-role="register"><?php echo $ultimatemember->form->display_form_type_icon('register', get_the_ID() ); ?><?php _e('Registration Form','ultimatemember'); ?></a>
<a href="#" data-role="profile"><?php echo $ultimatemember->form->display_form_type_icon('profile', get_the_ID() ); ?><?php _e('Profile Form','ultimatemember'); ?></a>