PluginProbe
Adminimize / 1.9.1
Adminimize v1.9.1
1.11.14 1.11.13 1.11.1 1.11.10 1.11.11 1.11.12 1.11.2 1.11.3 1.11.4 1.11.5 1.11.6 1.11.7 1.11.8 1.11.9 1.3 1.4.7 1.6 1.7.12 1.7.13 1.7.14 1.7.15 1.7.16 1.7.17 1.7.18 1.7.19 All 53 releases
← All changes | inc-options/backend_options.php +26 -30 1.11.3 → 1.9.1 View file →
@@ -11,9 +11,9 @@
11 11 ?>
12 12
13 13 <div id="poststuff" class="ui-sortable meta-box-sortables">
14 14 <div class="postbox">
15 - <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle', 'adminimize' ); ?>"><br /></div>
15 + <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle' ); ?>"><br /></div>
16 16 <h3 class="hndle" id="backend_options"><?php esc_attr_e( 'Backend Options', 'adminimize' ); ?></h3>
17 17 <div class="inside">
18 18
19 19
@@ -23,9 +23,9 @@
23 23 <tbody>
24 24 <?php
25 25 if ( _mw_adminimize_is_active_on_multisite() && function_exists( 'is_super_admin' )
26 26 ) { ?>
27 - <tr valign="top">
27 + <tr valign="top" class="form-invalid">
28 28 <td><?php esc_attr_e( 'Exclude Super Admin', 'adminimize' ); ?></td>
29 29 <td>
30 30 <?php $_mw_adminimize_exclude_super_admin = _mw_adminimize_get_option_value(
31 31 '_mw_adminimize_exclude_super_admin'
@@ -71,24 +71,23 @@
71 71 </tr>
72 72 <?php if ( ( $_mw_adminimize_user_info === '' ) || ( $_mw_adminimize_user_info === 1 ) || ( $_mw_adminimize_user_info === 0 ) ) {
73 73 $disabled_item = ' disabled="disabled"';
74 74 } ?>
75 - <tr valign="top">
76 - <td><label for="_mw_adminimize_ui_redirect"><?php esc_attr_e( 'Change User-Info, redirect to', 'adminimize' ); ?></td>
75 + <tr valign="top" class="form-invalid">
76 + <td><?php esc_attr_e( 'Change User-Info, redirect to', 'adminimize' ); ?></td>
77 77 <td>
78 78 <?php $_mw_adminimize_ui_redirect = (int) _mw_adminimize_get_option_value(
79 79 '_mw_adminimize_ui_redirect'
80 80 ); ?>
81 - <select name="_mw_adminimize_ui_redirect" id="_mw_adminimize_ui_redirect"
82 - <?php if ( isset( $disabled_item ) ) { echo $disabled_item; } ?>>
81 + <select name="_mw_adminimize_ui_redirect" <?php if ( isset( $disabled_item ) ) {
82 + echo $disabled_item;
83 + } ?>>
83 84 <option value="0"<?php if ( $_mw_adminimize_ui_redirect === 0 ) {
84 - echo ' selected="selected"';} ?>>
85 - <?php esc_attr_e( 'Default', 'adminimize' ); ?>
86 - </option>
85 + echo ' selected="selected"';
86 + } ?>><?php esc_attr_e( 'Default', 'adminimize' ); ?></option>
87 87 <option value="1"<?php if ( $_mw_adminimize_ui_redirect === 1 ) {
88 - echo ' selected="selected"';} ?>>
89 - <?php esc_attr_e( 'Frontpage of the Blog', 'adminimize' ); ?>
90 - </option>
88 + echo ' selected="selected"';
89 + } ?>><?php esc_attr_e( 'Frontpage of the Blog', 'adminimize' ); ?>
91 90 </select> <?php esc_attr_e(
92 91 'When the &quot;User-Info-area&quot; change it, then it is possible to change the redirect.',
93 92 'adminimize'
94 93 ); ?>
@@ -94,20 +93,18 @@
94 93 ); ?>
95 94 </td>
96 95 </tr>
97 96 <tr valign="top">
98 - <td><label for="_mw_adminimize_footer"><?php esc_attr_e( 'Footer', 'adminimize' ); ?></label></td>
97 + <td><?php esc_attr_e( 'Footer', 'adminimize' ); ?></td>
99 98 <td>
100 99 <?php $_mw_adminimize_footer = (int) _mw_adminimize_get_option_value( '_mw_adminimize_footer' ); ?>
101 - <select name="_mw_adminimize_footer" id="_mw_adminimize_footer">
102 - <option value="0"<?php if ( 0 === $_mw_adminimize_footer ) {
103 - echo ' selected="selected"'; } ?>>
104 - <?php esc_attr_e( 'Default', 'adminimize' ); ?>
105 - </option>
106 - <option value="1"<?php if ( 1 === $_mw_adminimize_footer ) {
107 - echo ' selected="selected"';} ?>>
108 - <?php esc_attr_e( 'Hide', 'adminimize' ); ?>
109 - </option>
100 + <select name="_mw_adminimize_footer">
101 + <option value="0"<?php if ( $_mw_adminimize_footer === 0 ) {
102 + echo ' selected="selected"';
103 + } ?>><?php esc_attr_e( 'Default', 'adminimize' ); ?></option>
104 + <option value="1"<?php if ( $_mw_adminimize_footer === 1 ) {
105 + echo ' selected="selected"';
106 + } ?>><?php esc_attr_e( 'Hide', 'adminimize' ); ?></option>
110 107 </select> <?php esc_attr_e(
111 108 'The Footer-area can hide, include all links and details.', 'adminimize'
112 109 ); ?>
113 110 </td>
@@ -161,15 +158,14 @@
161 158 <option value="1"<?php if ( $_mw_adminimize_advice === 1 ) {
162 159 echo ' selected="selected"';
163 160 } ?>><?php esc_attr_e( 'Activate', 'adminimize' ); ?></option>
164 161 </select>
165 - <br>
166 - <textarea style="width: 85%;" class="code" rows="1" cols="60" name="_mw_adminimize_advice_txt" id="_mw_adminimize_advice_txt"><?php echo _mw_adminimize_get_option_value( '_mw_adminimize_advice_txt' ); ?></textarea>
167 - <br /><?php esc_attr_e(
168 - 'In the Footer you can display an advice for changing the Default-design, (x)HTML is possible.',
162 + <textarea style="width: 85%;" class="code" rows="1" cols="60" name="_mw_adminimize_advice_txt" id="_mw_adminimize_advice_txt"><?php echo htmlspecialchars(
163 + stripslashes( _mw_adminimize_get_option_value( '_mw_adminimize_advice_txt' ) )
164 + ); ?></textarea><br /><?php esc_attr_e(
165 + 'In the Footer you can display an advice for changing the Default-design, (x)HTML is possible.',
169 166 'adminimize'
170 167 ); ?>
171 - <code>a - (href, title), br, em, strong</code>
172 168 </td>
173 169 </tr>
174 170 <?php
175 171 // when remove dashboard
@@ -192,9 +188,9 @@
192 188 if ( ! _mw_adminimize_recursive_in_array( 'index.php', $disabled_menu_all ) ) {
193 189 $disabled_item2 = ' disabled="disabled"';
194 190 }
195 191 ?>
196 - <tr valign="top">
192 + <tr valign="top" class="form-invalid">
197 193 <td><?php esc_attr_e( 'Dashboard deactivate, redirect to', 'adminimize' ); ?></td>
198 194 <td>
199 195 <?php $_mw_adminimize_db_redirect = _mw_adminimize_get_option_value(
200 196 '_mw_adminimize_db_redirect'
@@ -227,11 +223,10 @@
227 223 } ?>><?php esc_attr_e( 'Comments', 'adminimize' ); ?> (edit-comments.php)
228 224 </option>
229 225 <option value="6"<?php if ( $_mw_adminimize_db_redirect === 6 ) {
230 226 echo ' selected="selected"';
231 - } ?>><?php esc_attr_e( 'Other Page', 'adminimize' ); ?></option>
227 + } ?>><?php esc_attr_e( 'other Page', 'adminimize' ); ?></option>
232 228 </select>
233 - <br>
234 229 <textarea style="width: 85%;" class="code" rows="1" cols="60" name="_mw_adminimize_db_redirect_txt" id="_mw_adminimize_db_redirect_txt"><?php
235 230 echo htmlspecialchars(
236 231 stripslashes( _mw_adminimize_get_option_value( '_mw_adminimize_db_redirect_txt' ) )
237 232 ); ?></textarea>
@@ -257,4 +252,5 @@
257 252 </p>
258 253 </div>
259 254 </div>
260 255 </div>
256 +