mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 22:54:03 +09:00
@@ -1329,7 +1329,7 @@
|
||||
|
||||
add_submenu_page( $this->slug, __('User Roles', $this->slug), __('User Roles', $this->slug), 'manage_options', 'edit.php?post_type=um_role', '', '' );
|
||||
|
||||
if ( um_get_option('members_page' ) || !get_option('um_options') ){
|
||||
if ( um_get_option('members_page' ) ){
|
||||
add_submenu_page( $this->slug, __('Member Directories', $this->slug), __('Member Directories', $this->slug), 'manage_options', 'edit.php?post_type=um_directory', '', '' );
|
||||
}
|
||||
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
<div class="um-admin-btn-toggle">
|
||||
|
||||
<?php if ( $in_edit ) { $metabox->in_edit = true; $metabox->edit_array = $edit_array; ?>
|
||||
<a href="#"><i class="um-icon-fontawesome-webfont-97"></i><?php _e('Manage conditional fields support'); ?></a> <?php $metabox->tooltip('Here you can setup conditional logic to show/hide this field based on specific fields value or conditions'); ?>
|
||||
<a href="#"><i class="um-icon-plus-add"></i><?php _e('Manage conditional fields support'); ?></a> <?php $metabox->tooltip('Here you can setup conditional logic to show/hide this field based on specific fields value or conditions'); ?>
|
||||
<?php } else { ?>
|
||||
<a href="#"><i class="um-icon-fontawesome-webfont-97"></i><?php _e('Add conditional fields support'); ?></a> <?php $metabox->tooltip('Here you can setup conditional logic to show/hide this field based on specific fields value or conditions'); ?>
|
||||
<a href="#"><i class="um-icon-plus-add"></i><?php _e('Add conditional fields support'); ?></a> <?php $metabox->tooltip('Here you can setup conditional logic to show/hide this field based on specific fields value or conditions'); ?>
|
||||
<?php } ?>
|
||||
|
||||
<div class="um-admin-btn-content">
|
||||
@@ -44,7 +44,7 @@
|
||||
<?php $metabox->field_input( '_conditional_value' . $k, $form_id ); ?>
|
||||
|
||||
<?php if ( $k == '' ) { ?>
|
||||
<p><a href="#" class="um-admin-new-condition button um-admin-tipsy-n" title="Add new condition"><i class="um-icon-fontawesome-webfont-97" style="margin-right:0!important"></i></a></p>
|
||||
<p><a href="#" class="um-admin-new-condition button um-admin-tipsy-n" title="Add new condition"><i class="um-icon-plus-add" style="margin-right:0!important"></i></a></p>
|
||||
<?php } else { ?>
|
||||
<p><a href="#" class="um-admin-remove-condition button um-admin-tipsy-n" title="Remove condition"><i class="um-icon-remove" style="margin-right:0!important"></i></a></p>
|
||||
<?php } ?>
|
||||
@@ -67,7 +67,7 @@
|
||||
<?php $metabox->field_input( '_conditional_operator', $form_id ); ?>
|
||||
<?php $metabox->field_input( '_conditional_value', $form_id ); ?>
|
||||
|
||||
<p><a href="#" class="um-admin-new-condition button um-admin-tipsy-n" title="Add new condition"><i class="um-icon-fontawesome-webfont-97" style="margin-right:0!important"></i></a></p>
|
||||
<p><a href="#" class="um-admin-new-condition button um-admin-tipsy-n" title="Add new condition"><i class="um-icon-plus-add" style="margin-right:0!important"></i></a></p>
|
||||
|
||||
<div class="um-admin-clear"></div>
|
||||
</div>
|
||||
@@ -116,6 +116,10 @@
|
||||
|
||||
?>
|
||||
|
||||
<div class="um-admin-metabox">
|
||||
<p class="_icon_search"><input type="text" name="_icon_search" id="_icon_search" value="" placeholder="<?php _e('Search Icons...','ultimatemember'); ?>" /></p>
|
||||
</div>
|
||||
|
||||
<div class="um-admin-icons">
|
||||
<?php foreach($ultimatemember->icons->all as $icon){ ?>
|
||||
<span data-code="<?php echo $icon; ?>" title="<?php echo $icon; ?>" class="um-admin-tipsy-n"><i class="<?php echo $icon; ?>"></i></span>
|
||||
|
||||
@@ -89,7 +89,7 @@ class UM_Admin_Builder {
|
||||
|
||||
<!-- Master Row Actions -->
|
||||
<div class="um-admin-drag-row-icons">
|
||||
<a href="#" class="um-admin-drag-rowsub-add um-admin-tipsy-n" title="<?php _e('Add Row','ultimatemember'); ?>" data-row_action="add_subrow"><i class="um-icon-fontawesome-webfont-97"></i></a>
|
||||
<a href="#" class="um-admin-drag-rowsub-add um-admin-tipsy-n" title="<?php _e('Add Row','ultimatemember'); ?>" data-row_action="add_subrow"><i class="um-icon-plus-add"></i></a>
|
||||
<a href="#" class="um-admin-drag-row-edit um-admin-tipsy-n" title="<?php _e('Edit Row','ultimatemember'); ?>" data-modal="UM_edit_row" data-modal-size="normal" data-dynamic-content="um_admin_edit_field_popup" data-arg1="row" data-arg2="<?php echo $this->form_id; ?>" data-arg3="_um_row_1"><i class="um-icon-pencil-3"></i></a>
|
||||
<span class="um-admin-drag-row-start"><i class="um-icon-cursor-move"></i></span>
|
||||
</div><div class="um-admin-clear"></div>
|
||||
@@ -155,7 +155,7 @@ class UM_Admin_Builder {
|
||||
|
||||
<!-- Master Row Actions -->
|
||||
<div class="um-admin-drag-row-icons">
|
||||
<a href="#" class="um-admin-drag-rowsub-add um-admin-tipsy-n" title="<?php _e('Add Row','ultimatemember'); ?>" data-row_action="add_subrow"><i class="um-icon-fontawesome-webfont-97"></i></a>
|
||||
<a href="#" class="um-admin-drag-rowsub-add um-admin-tipsy-n" title="<?php _e('Add Row','ultimatemember'); ?>" data-row_action="add_subrow"><i class="um-icon-plus-add"></i></a>
|
||||
<a href="#" class="um-admin-drag-row-edit um-admin-tipsy-n" title="<?php _e('Edit Row','ultimatemember'); ?>" data-modal="UM_edit_row" data-modal-size="normal" data-dynamic-content="um_admin_edit_field_popup" data-arg1="row" data-arg2="<?php echo $this->form_id; ?>" data-arg3="<?php echo $row_id; ?>"><i class="um-icon-pencil-3"></i></a>
|
||||
<span class="um-admin-drag-row-start"><i class="um-icon-cursor-move"></i></span>
|
||||
<?php if ( $row_id != '_um_row_1' ) {?>
|
||||
@@ -226,7 +226,7 @@ class UM_Admin_Builder {
|
||||
|
||||
<div class="um-admin-drag-fld-title um-field-type-<?php echo $type; ?>">
|
||||
<?php if ( $type == 'group' ) { ?>
|
||||
<i class="um-icon-fontawesome-webfont-97"></i>
|
||||
<i class="um-icon-plus-add"></i>
|
||||
<?php } else if ( isset($keyarray['icon']) && !empty( $keyarray['icon'] ) ) { ?>
|
||||
<i class="<?php echo $keyarray['icon']; ?>"></i>
|
||||
<?php } ?><?php echo $title; ?></div>
|
||||
|
||||
@@ -137,7 +137,7 @@ class UM_Admin_DragDrop {
|
||||
<div class="um-col-demon-row" style="display:none;">
|
||||
|
||||
<div class="um-admin-drag-row-icons">
|
||||
<a href="#" class="um-admin-drag-rowsub-add um-admin-tipsy-n" title="<?php _e('Add Row','ultimatemember'); ?>" data-row_action="add_subrow"><i class="um-icon-fontawesome-webfont-97"></i></a>
|
||||
<a href="#" class="um-admin-drag-rowsub-add um-admin-tipsy-n" title="<?php _e('Add Row','ultimatemember'); ?>" data-row_action="add_subrow"><i class="um-icon-plus-add"></i></a>
|
||||
<a href="#" class="um-admin-drag-row-edit um-admin-tipsy-n" title="<?php _e('Edit Row','ultimatemember'); ?>" data-modal="UM_edit_row" data-modal-size="normal" data-dynamic-content="um_admin_edit_field_popup" data-arg1="row" data-arg2="<?php echo get_the_ID(); ?>"><i class="um-icon-pencil-3"></i></a>
|
||||
<span class="um-admin-drag-row-start"><i class="um-icon-cursor-move"></i></span>
|
||||
<a href="#" class="um-admin-tipsy-n" title="<?php _e('Delete Row','ultimatemember'); ?>" data-remove_element="um-admin-drag-row"><i class="um-icon-trash-bin-3"></i></a>
|
||||
|
||||
@@ -122,9 +122,9 @@ class UM_Admin_Metabox {
|
||||
?>
|
||||
|
||||
<span class="um-admin-yesno">
|
||||
<span class="btn pos-<?php echo $active; ?>"><i class="um-icon-fontawesome-webfont-432"></i></span>
|
||||
<span class="yes" data-value="1"><?php _e('Yes','ultimatemember'); ?></span>
|
||||
<span class="no" data-value="0"><?php _e('No','ultimatemember'); ?></span>
|
||||
<span class="btn pos-<?php echo $active; ?>"><i class="um-icon-circle-line"></i></span>
|
||||
<span class="yes" data-value="1">Yes</span>
|
||||
<span class="no" data-value="0">No</span>
|
||||
<input type="hidden" name="<?php echo $id; ?>" id="<?php echo $id; ?>" value="<?php echo $active; ?>" <?php echo $is_conditional; ?> />
|
||||
</span>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user