mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Update 1.0.77
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
.redux-sidebar .redux-group-menu li.active a, .admin-color-fresh .redux-sidebar .redux-group-menu li.activeChild a {
|
||||
color: #3ba1da !important;
|
||||
background: #e5e5e5;
|
||||
background: #e5e5e5 !important;
|
||||
}
|
||||
|
||||
.redux-sidebar .redux-group-menu li.activeChild.hasSubSections a {
|
||||
@@ -198,8 +198,8 @@
|
||||
}
|
||||
|
||||
.redux-sidebar .redux-group-menu li.activeChild.hasSubSections ul.subsection li.active a {
|
||||
background: #555 !important;
|
||||
color: #fff !important;
|
||||
color: #3ba1da !important;
|
||||
background: #e5e5e5 !important;
|
||||
}
|
||||
|
||||
.redux-sidebar .redux-group-menu li.activeChild.hasSubSections .active a:after {
|
||||
|
||||
@@ -286,13 +286,22 @@ jQuery(document).ready(function() {
|
||||
submit font icon
|
||||
**/
|
||||
jQuery(document).on('click', '#UM_fonticons a.um-admin-modal-back:not(.um-admin-modal-cancel)', function(){
|
||||
var v_id = '';
|
||||
var icon_selected = jQuery(this).attr('data-code');
|
||||
if (icon_selected != ''){
|
||||
jQuery('#' + jQuery(this).attr('data-modal') ).find('input#_icon').val( icon_selected );
|
||||
jQuery('#' + jQuery(this).attr('data-modal') ).find('span.um-admin-icon-value').html('<i class="'+icon_selected+'"></i>');
|
||||
jQuery('#' + jQuery(this).attr('data-modal') ).find('.um-admin-icon-clear').show();
|
||||
if ( jQuery(this).attr('data-modal') ) {
|
||||
v_id = '#' + jQuery(this).attr('data-modal');
|
||||
} else {
|
||||
v_id = '.postbox';
|
||||
}
|
||||
jQuery( v_id ).find('input#_icon,input#_um_icon').val( icon_selected );
|
||||
jQuery( v_id ).find('span.um-admin-icon-value').html('<i class="'+icon_selected+'"></i>');
|
||||
jQuery( v_id ).find('.um-admin-icon-clear').show();
|
||||
}
|
||||
jQuery(this).attr('data-code', '');
|
||||
if ( v_id == '.postbox' ) {
|
||||
um_admin_remove_modal();
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
@@ -302,7 +311,7 @@ jQuery(document).ready(function() {
|
||||
var element = jQuery(this).parents('p');
|
||||
jQuery('#UM_fonticons a.um-admin-modal-back').attr('data-code', '');
|
||||
element.find('input[type=hidden]').val('');
|
||||
element.find('.um-admin-icon-value').html('No icon');
|
||||
element.find('.um-admin-icon-value').html('No Icon');
|
||||
jQuery(this).hide();
|
||||
});
|
||||
|
||||
|
||||
@@ -617,7 +617,7 @@ class UM_Admin_Metabox {
|
||||
|
||||
<a href="#" class="button" data-modal="UM_fonticons" data-modal-size="normal" data-dynamic-content="um_admin_fonticon_selector" data-arg1="" data-arg2="" data-back="<?php echo $back; ?>">Choose Icon</a>
|
||||
|
||||
<span class="um-admin-icon-value"><?php if ( $this->edit_mode_value ) { ?><i class="<?php echo $this->edit_mode_value; ?>"></i><?php } else { ?>No icon<?php } ?></span>
|
||||
<span class="um-admin-icon-value"><?php if ( $this->edit_mode_value ) { ?><i class="<?php echo $this->edit_mode_value; ?>"></i><?php } else { ?>No Icon<?php } ?></span>
|
||||
|
||||
<input type="hidden" name="_icon" id="_icon" value="<?php echo (isset( $this->edit_mode_value ) ) ? $this->edit_mode_value : ''; ?>" />
|
||||
|
||||
@@ -645,7 +645,7 @@ class UM_Admin_Metabox {
|
||||
|
||||
<a href="#" class="button" data-modal="UM_fonticons" data-modal-size="normal" data-dynamic-content="um_admin_fonticon_selector" data-arg1="" data-arg2="" data-back="<?php echo $back; ?>">Choose Icon</a>
|
||||
|
||||
<span class="um-admin-icon-value"><?php if ( $this->edit_mode_value ) { ?><i class="<?php echo $this->edit_mode_value; ?>"></i><?php } else { ?>No icon<?php } ?></span>
|
||||
<span class="um-admin-icon-value"><?php if ( $this->edit_mode_value ) { ?><i class="<?php echo $this->edit_mode_value; ?>"></i><?php } else { ?>No Icon<?php } ?></span>
|
||||
|
||||
<input type="hidden" name="_icon" id="_icon" value="<?php echo (isset( $this->edit_mode_value ) ) ? $this->edit_mode_value : ''; ?>" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user