Bugfixes, Minor Update

This commit is contained in:
ultimatemember
2015-01-07 00:12:03 +02:00
parent b0d42ad4c8
commit 71eb997b4d
7 changed files with 64 additions and 24 deletions
+5 -1
View File
@@ -188,9 +188,13 @@
- WP Editor
*/
.um-admin-modal-body.um-admin-metabox .um-admin-editor-h {
margin-top: 12px;
}
.um-admin-modal-body.um-admin-metabox .um-admin-editor-h label,
.um-admin-modal-body.um-admin-metabox .wp-editor-wrap
{margin: 0 0 10px 0 !important}
{margin: 0 0 4px 0 !important}
.um-admin-modal-body.um-admin-metabox .wp-editor-wrap textarea {
border: 0 !important;
+14
View File
@@ -386,6 +386,20 @@ class UM_Admin_Metabox {
break;
case '_visibility':
?>
<p><label for="_visibility">Visibility <?php $this->tooltip('Where this field should appear?'); ?></label>
<select name="_visibility" id="_visibility" class="umaf-selectjs" style="width: 100%">
<option value="all" <?php selected( 'all', $this->edit_mode_value ); ?>>View everywhere</option>
<option value="edit" <?php selected( 'edit', $this->edit_mode_value ); ?>>Edit mode only</option>
<option value="view" <?php selected( 'view', $this->edit_mode_value ); ?>>View mode only</option>
</select>
</p>
<?php
break;
case '_conditional_action':
case '_conditional_action1':
case '_conditional_action2':