mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-16 13:13:33 +09:00
Version 1.0.29
This commit is contained in:
@@ -155,6 +155,7 @@ body.um-admin-modal-open {
|
||||
.um-admin-metabox input[type=text].small {width: 50px}
|
||||
|
||||
.um-admin-metabox textarea {min-height: 100px;height: 100px}
|
||||
.um-admin-metabox textarea.tall {min-height: 200px;height: 200px}
|
||||
|
||||
.wp-picker-container input.wp-color-picker[type="text"] {
|
||||
width: 68px !important;
|
||||
|
||||
@@ -274,23 +274,25 @@ class UM_Admin_Metabox {
|
||||
function add_metabox_form() {
|
||||
|
||||
add_meta_box('um-admin-form-mode', __('Select Form Type'), array(&$this, 'load_metabox_form'), 'um_form', 'normal', 'default');
|
||||
|
||||
add_meta_box('um-admin-form-builder', __('Form Builder'), array(&$this, 'load_metabox_form'), 'um_form', 'normal', 'default');
|
||||
|
||||
add_meta_box('um-admin-form-shortcode', __('Shortcode'), array(&$this, 'load_metabox_form'), 'um_form', 'side', 'default');
|
||||
|
||||
add_meta_box('um-admin-form-register_customize', __('Customize this form'), array(&$this, 'load_metabox_form'), 'um_form', 'side', 'default');
|
||||
add_meta_box('um-admin-form-register_css', __('Custom CSS'), array(&$this, 'load_metabox_form'), 'um_form', 'side', 'default');
|
||||
|
||||
do_action('um_admin_custom_register_metaboxes');
|
||||
|
||||
add_meta_box('um-admin-form-profile_customize', __('Customize this form'), array(&$this, 'load_metabox_form'), 'um_form', 'side', 'default');
|
||||
add_meta_box('um-admin-form-profile_settings', __('User Meta'), array(&$this, 'load_metabox_form'), 'um_form', 'side', 'default');
|
||||
add_meta_box('um-admin-form-profile_css', __('Custom CSS'), array(&$this, 'load_metabox_form'), 'um_form', 'side', 'default');
|
||||
|
||||
do_action('um_admin_custom_profile_metaboxes');
|
||||
|
||||
add_meta_box('um-admin-form-login_customize', __('Customize this form'), array(&$this, 'load_metabox_form'), 'um_form', 'side', 'default');
|
||||
add_meta_box('um-admin-form-login_settings', __('Options'), array(&$this, 'load_metabox_form'), 'um_form', 'side', 'default');
|
||||
add_meta_box('um-admin-form-login_css', __('Custom CSS'), array(&$this, 'load_metabox_form'), 'um_form', 'side', 'default');
|
||||
|
||||
do_action('um_admin_custom_login_metaboxes');
|
||||
|
||||
add_meta_box('um-admin-form-profile_settings', __('User Meta'), array(&$this, 'load_metabox_form'), 'um_form', 'side', 'default');
|
||||
add_meta_box('um-admin-form-login_settings', __('Options'), array(&$this, 'load_metabox_form'), 'um_form', 'side', 'default');
|
||||
|
||||
}
|
||||
|
||||
@@ -657,6 +659,16 @@ class UM_Admin_Metabox {
|
||||
<?php
|
||||
break;
|
||||
|
||||
case '_divider_text':
|
||||
?>
|
||||
|
||||
<p><label for="_divider_text">Optional Text <?php $this->tooltip( __('Optional text to include with the divider','ultimatemember') ); ?></label>
|
||||
<input type="text" name="_divider_text" id="_divider_text" value="<?php echo ( $this->edit_mode_value ) ? $this->edit_mode_value : ''; ?>" />
|
||||
</p>
|
||||
|
||||
<?php
|
||||
break;
|
||||
|
||||
case '_padding':
|
||||
?>
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<div class="um-admin-metabox">
|
||||
|
||||
<p>
|
||||
<label><?php _e('Custom CSS','ultimatemember'); ?> <?php $this->tooltip( __('Enter custom css that will be applied to this form only','ultimatemember'), 'e'); ?></label>
|
||||
<textarea name="_um_login_custom_css" id="_um_login_custom_css" class="tall"><?php echo $ultimatemember->query->get_meta_value('_um_login_custom_css', null, 'na' ); ?></textarea>
|
||||
</p><div class="um-admin-clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,8 @@
|
||||
<div class="um-admin-metabox">
|
||||
|
||||
<p>
|
||||
<label><?php _e('Custom CSS','ultimatemember'); ?> <?php $this->tooltip( __('Enter custom css that will be applied to this form only','ultimatemember'), 'e'); ?></label>
|
||||
<textarea name="_um_profile_custom_css" id="_um_profile_custom_css" class="tall"><?php echo $ultimatemember->query->get_meta_value('_um_profile_custom_css', null, 'na' ); ?></textarea>
|
||||
</p><div class="um-admin-clear"></div>
|
||||
|
||||
</div>
|
||||
@@ -39,6 +39,10 @@
|
||||
<input type="text" value="<?php echo $ultimatemember->query->get_meta_value('_um_profile_max_width', null, um_get_option('profile_max_width') ); ?>" name="_um_profile_max_width" id="_um_profile_max_width" />
|
||||
</p>
|
||||
|
||||
<p><label for="_um_profile_area_max_width"><?php _e('Profile Area Max. Width (px)','ultimatemember'); ?> <?php $this->tooltip('The maximum width of the profile area inside profile (below profile header)', 'e'); ?></label>
|
||||
<input type="text" value="<?php echo $ultimatemember->query->get_meta_value('_um_profile_area_max_width', null, um_get_option('profile_area_max_width') ); ?>" name="_um_profile_area_max_width" id="_um_profile_area_max_width" />
|
||||
</p>
|
||||
|
||||
<p><label for="_um_profile_align"><?php _e('Alignment','ultimatemember'); ?> <?php $this->tooltip('The shortcode is centered by default unless you specify otherwise here', 'e'); ?></label>
|
||||
<select name="_um_profile_align" id="_um_profile_align" class="umaf-selectjs" style="width: 100%">
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<div class="um-admin-metabox">
|
||||
|
||||
<p>
|
||||
<label><?php _e('Custom CSS','ultimatemember'); ?> <?php $this->tooltip( __('Enter custom css that will be applied to this form only','ultimatemember'), 'e'); ?></label>
|
||||
<textarea name="_um_register_custom_css" id="_um_register_custom_css" class="tall"><?php echo $ultimatemember->query->get_meta_value('_um_register_custom_css', null, 'na' ); ?></textarea>
|
||||
</p><div class="um-admin-clear"></div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user