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/write_page_options.php +272 -213 1.7.18 → 1.9.1 View file →
@@ -1,213 +1,272 @@
1 -<?php
2 -/**
3 - * @package Adminimize
4 - * @subpackage Page Options
5 - * @author Frank Bültge
6 - */
7 -if ( ! function_exists( 'add_action' ) ) {
8 - echo "Hi there! I'm just a part of plugin, not much I can do when called directly.";
9 - exit;
10 -}
11 -?>
12 - <div id="poststuff" class="ui-sortable meta-box-sortables">
13 - <div class="postbox">
14 - <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div>
15 - <h3 class="hndle" id="config_edit_page"><?php _e('Write options - Page', FB_ADMINIMIZE_TEXTDOMAIN ); ?></h3>
16 - <div class="inside">
17 - <br class="clear" />
18 -
19 - <table summary="config_edit_page" class="widefat">
20 - <thead>
21 - <tr>
22 - <th><?php _e('Write options - Page', FB_ADMINIMIZE_TEXTDOMAIN ); ?></th>
23 - <?php
24 - foreach ($user_roles_names as $role_name) { ?>
25 - <th><?php _e('Deactivate for', FB_ADMINIMIZE_TEXTDOMAIN ); echo '<br />' . $role_name; ?></th>
26 - <?php } ?>
27 - </tr>
28 - </thead>
29 -
30 - <tbody>
31 - <?php
32 - // pages
33 - $metaboxes_page = array(
34 - '#contextual-help-link-wrap',
35 - '#screen-options-link-wrap',
36 - '#titlediv',
37 - '#pageslugdiv',
38 - '#pagepostcustom, #pagecustomdiv, #postcustom',
39 - '#pagecommentstatusdiv, #commentsdiv',
40 - '#pagepassworddiv',
41 - '#pageparentdiv',
42 - '#pagetemplatediv',
43 - '#pageorderdiv',
44 - '#pageauthordiv, #authordiv',
45 - '#revisionsdiv',
46 - '.side-info',
47 - '#notice',
48 - '#post-body h2',
49 - '#media-buttons',
50 - '#wp-word-count',
51 - '#slugdiv,#edit-slug-box',
52 - '#misc-publishing-actions',
53 - '#commentstatusdiv',
54 - '#editor-toolbar #edButtonHTML, #quicktags'
55 - );
56 -
57 - if ( function_exists('current_theme_supports') && current_theme_supports( 'post-thumbnails', 'page' ) )
58 - array_push($metaboxes_page, '#postimagediv' );
59 - if (class_exists('SimpleTagsAdmin'))
60 - array_push($metaboxes_page, '#suggestedtags');
61 - if (class_exists('HTMLSpecialCharactersHelper'))
62 - array_push($metaboxes_page, '#htmlspecialchars');
63 - if (class_exists('All_in_One_SEO_Pack'))
64 - array_push($metaboxes_page, '#postaiosp, #aiosp');
65 - if (function_exists('tdomf_edit_post_panel_admin_head'))
66 - array_push($metaboxes_page, '#tdomf');
67 - if (function_exists('post_notification_form'))
68 - array_push($metaboxes_page, '#post_notification');
69 -
70 - // quick edit areas, id and class
71 - $quickedit_page_areas = array(
72 - 'div.row-actions .inline',
73 - 'fieldset.inline-edit-col-left',
74 - 'fieldset.inline-edit-col-left label',
75 - 'fieldset.inline-edit-col-left div.inline-edit-date',
76 - 'fieldset.inline-edit-col-left label.inline-edit-author',
77 - 'fieldset.inline-edit-col-left .inline-edit-group',
78 - 'fieldset.inline-edit-col-right',
79 - 'fieldset.inline-edit-col-right .inline-edit-col',
80 - 'fieldset.inline-edit-col-right .inline-edit-group',
81 - 'tr.inline-edit-page p.inline-edit-save'
82 - );
83 - $metaboxes_page = array_merge($metaboxes_page, $quickedit_page_areas);
84 -
85 - $metaboxes_names_page = array(
86 - __('Help'),
87 - __('Screen Options'),
88 - __('Title', FB_ADMINIMIZE_TEXTDOMAIN),
89 - __('Permalink', FB_ADMINIMIZE_TEXTDOMAIN ),
90 - __('Custom Fields'),
91 - __('Comments &amp; Pings', FB_ADMINIMIZE_TEXTDOMAIN ),
92 - __('Password Protect This Page', FB_ADMINIMIZE_TEXTDOMAIN ),
93 - __('Attributes', FB_ADMINIMIZE_TEXTDOMAIN),
94 - __('Page Template', FB_ADMINIMIZE_TEXTDOMAIN ),
95 - __('Page Order', FB_ADMINIMIZE_TEXTDOMAIN ),
96 - __('Page Author'),
97 - __('Page Revisions'),
98 - __('Related', FB_ADMINIMIZE_TEXTDOMAIN ),
99 - __('Messages', FB_ADMINIMIZE_TEXTDOMAIN ),
100 - __('h2: Advanced Options', FB_ADMINIMIZE_TEXTDOMAIN ),
101 - __('Media Buttons (all)', FB_ADMINIMIZE_TEXTDOMAIN ),
102 - __('Word count', FB_ADMINIMIZE_TEXTDOMAIN ),
103 - __('Page Slug', FB_ADMINIMIZE_TEXTDOMAIN),
104 - __('Publish Actions', FB_ADMINIMIZE_TEXTDOMAIN ),
105 - __('Discussion', FB_ADMINIMIZE_TEXTDOMAIN),
106 - __('HTML Editor Button', FB_ADMINIMIZE_TEXTDOMAIN)
107 - );
108 -
109 - if ( function_exists('current_theme_supports') && current_theme_supports( 'post-thumbnails', 'page' ) )
110 - array_push($metaboxes_names_page, __('Page Image', FB_ADMINIMIZE_TEXTDOMAIN) );
111 - if (class_exists('SimpleTagsAdmin'))
112 - array_push($metaboxes_names_page, __('Suggested tags from', FB_ADMINIMIZE_TEXTDOMAIN ));
113 - if (class_exists('HTMLSpecialCharactersHelper'))
114 - array_push($metaboxes_names_page, __('HTML Special Characters'));
115 - if (class_exists('All_in_One_SEO_Pack'))
116 - array_push($metaboxes_names_page, 'All in One SEO Pack');
117 - if (function_exists('tdomf_edit_post_panel_admin_head'))
118 - array_push($metaboxes_names_page, 'TDOMF');
119 - if (function_exists('post_notification_form'))
120 - array_push($metaboxes_names_page, 'Post Notification');
121 -
122 - // quick edit names
123 - $quickedit_page_names = array(
124 - '<strong>' .__('Quick Edit Link', FB_ADMINIMIZE_TEXTDOMAIN) . '</strong>',
125 - __('QE', FB_ADMINIMIZE_TEXTDOMAIN) . ' ' . __('Inline Edit Left', FB_ADMINIMIZE_TEXTDOMAIN),
126 - '&emsp;QE &rArr;' . ' ' . __('All Labels', FB_ADMINIMIZE_TEXTDOMAIN),
127 - '&emsp;QE &rArr;' . ' ' . __('Date', FB_ADMINIMIZE_TEXTDOMAIN),
128 - '&emsp;QE &rArr;' . ' ' . __('Author'),
129 - '&emsp;QE &rArr;' . ' ' . __('Password and Private', FB_ADMINIMIZE_TEXTDOMAIN),
130 - __('QE', FB_ADMINIMIZE_TEXTDOMAIN) . ' ' . __('Inline Edit Right', FB_ADMINIMIZE_TEXTDOMAIN),
131 - '&emsp;QE &rArr;' . ' ' . __('Parent, Order, Template', FB_ADMINIMIZE_TEXTDOMAIN),
132 - '&emsp;QE &rArr;' . ' ' . __('Status', FB_ADMINIMIZE_TEXTDOMAIN),
133 - __('QE', FB_ADMINIMIZE_TEXTDOMAIN) . ' ' . __('Cancel/Save Button', FB_ADMINIMIZE_TEXTDOMAIN)
134 - );
135 - $metaboxes_names_page = array_merge($metaboxes_names_page, $quickedit_page_names);
136 -
137 - // add own page options
138 - $_mw_adminimize_own_page_values = _mw_adminimize_get_option_value('_mw_adminimize_own_page_values');
139 - $_mw_adminimize_own_page_values = preg_split( "/\r\n/", $_mw_adminimize_own_page_values );
140 - foreach ( (array) $_mw_adminimize_own_page_values as $key => $_mw_adminimize_own_page_value ) {
141 - $_mw_adminimize_own_page_value = trim($_mw_adminimize_own_page_value);
142 - array_push($metaboxes_page, $_mw_adminimize_own_page_value);
143 - }
144 -
145 - $_mw_adminimize_own_page_options = _mw_adminimize_get_option_value('_mw_adminimize_own_page_options');
146 - $_mw_adminimize_own_page_options = preg_split( "/\r\n/", $_mw_adminimize_own_page_options );
147 - foreach ( (array) $_mw_adminimize_own_page_options as $key => $_mw_adminimize_own_page_option ) {
148 - $_mw_adminimize_own_page_option = trim($_mw_adminimize_own_page_option);
149 - array_push($metaboxes_names_page, $_mw_adminimize_own_page_option);
150 - }
151 -
152 - $x = 0;
153 - $class = '';
154 - foreach ($metaboxes_page as $index => $metabox) {
155 - if ($metabox != '') {
156 - $class = ( ' class="alternate"' == $class ) ? '' : ' class="alternate"';
157 - $checked_user_role_ = array();
158 - foreach ($user_roles as $role) {
159 - $checked_user_role_[$role] = ( isset($disabled_metaboxes_page_[$role]) && in_array($metabox, $disabled_metaboxes_page_[$role]) ) ? ' checked="checked"' : '';
160 - }
161 - echo '<tr' . $class . '>' . "\n";
162 - echo '<td>' . $metaboxes_names_page[$index] . ' <span style="color:#ccc; font-weight: 400;">(' . $metabox . ')</span> </td>' . "\n";
163 - foreach ($user_roles as $role) {
164 - echo '<td class="num"><input id="check_page'. $role.$x .'" type="checkbox"' . $checked_user_role_[$role] . ' name="mw_adminimize_disabled_metaboxes_page_'. $role .'_items[]" value="' . $metabox . '" /></td>' . "\n";
165 - }
166 - echo '</tr>' . "\n";
167 - $x++;
168 - }
169 - }
170 - ?>
171 - </tbody>
172 - </table>
173 -
174 - <?php
175 - //ypur own page options
176 - ?>
177 - <br style="margin-top: 10px;" />
178 - <table summary="config_own_page" class="widefat">
179 - <thead>
180 - <tr>
181 - <th><?php _e('Your own page options', FB_ADMINIMIZE_TEXTDOMAIN ); echo '<br />'; _e('ID or class', FB_ADMINIMIZE_TEXTDOMAIN ); ?></th>
182 - <th><?php echo '<br />'; _e('Option', FB_ADMINIMIZE_TEXTDOMAIN ); ?></th>
183 - </tr>
184 - </thead>
185 -
186 - <tbody>
187 - <tr valign="top">
188 - <td colspan="2"><?php _e('It is possible to add your own IDs or classes from elements and tags. You can find IDs and classes with the FireBug Add-on for Firefox. Assign a value and the associate name per line.', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
189 - </tr>
190 - <tr valign="top">
191 - <td>
192 - <textarea name="_mw_adminimize_own_page_options" cols="60" rows="3" id="_mw_adminimize_own_page_options" style="width: 95%;" ><?php echo _mw_adminimize_get_option_value('_mw_adminimize_own_page_options'); ?></textarea>
193 - <br />
194 - <?php _e('Possible nomination for ID or class. Separate multiple nominations through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
195 - </td>
196 - <td>
197 - <textarea class="code" name="_mw_adminimize_own_page_values" cols="60" rows="3" id="_mw_adminimize_own_page_values" style="width: 95%;" ><?php echo _mw_adminimize_get_option_value('_mw_adminimize_own_page_values'); ?></textarea>
198 - <br />
199 - <?php _e('Possible IDs or classes. Separate multiple values through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
200 - </td>
201 - </tr>
202 - </tbody>
203 - </table>
204 -
205 - <p id="submitbutton">
206 - <input type="hidden" name="_mw_adminimize_action" value="_mw_adminimize_insert" />
207 - <input class="button button-primary" type="submit" name="_mw_adminimize_save" value="<?php _e('Update Options', FB_ADMINIMIZE_TEXTDOMAIN ); ?> &raquo;" /><input type="hidden" name="page_options" value="'dofollow_timeout'" />
208 - </p>
209 - <p><a class="alignright button" href="javascript:void(0);" onclick="window.scrollTo(0,0);" style="margin:3px 0 0 30px;"><?php _e('scroll to top', FB_ADMINIMIZE_TEXTDOMAIN); ?></a><br class="clear" /></p>
210 -
211 - </div>
212 - </div>
213 - </div>
1 +<?php
2 +/**
3 + * @package Adminimize
4 + * @subpackage Page Options
5 + * @author Frank Bültge
6 + */
7 +if ( ! function_exists( 'add_action' ) ) {
8 + echo "Hi there! I'm just a part of plugin, not much I can do when called directly.";
9 + exit;
10 +}
11 +?>
12 +<div id="poststuff" class="ui-sortable meta-box-sortables">
13 + <div class="postbox">
14 + <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle' ); ?>"><br /></div>
15 + <h3 class="hndle" id="config_edit_page"><?php esc_attr_e( 'Write options - Page', 'adminimize' ); ?></h3>
16 + <div class="inside">
17 + <br class="clear" />
18 +
19 + <table summary="config_edit_page" class="widefat">
20 + <thead>
21 + <tr>
22 + <th><?php esc_attr_e( 'Write options - Page', 'adminimize' ); ?></th>
23 + <?php
24 + foreach ( $user_roles_names as $role_name ) { ?>
25 + <th><?php esc_attr_e( 'Deactivate for', 'adminimize' );
26 + echo '<br />' . $role_name; ?></th>
27 + <?php } ?>
28 + </tr>
29 + <tr>
30 + <td><?php esc_attr_e( 'Select all', 'adminimize' ); ?></td>
31 + <?php
32 + foreach ( $user_roles_names as $role_name ) {
33 + $role_name = strtolower( $role_name );
34 + $role_name = preg_replace( '/[^a-z0-9]+/', '', $role_name );
35 + echo '<td class="num">';
36 + echo '<input id="select_all" class="write_page_options_' . $role_name
37 + . '" type="checkbox" name="" value="" />';
38 + echo '</td>' . "\n";
39 + } ?>
40 + </tr>
41 + </thead>
42 +
43 + <tbody>
44 + <?php
45 + // pages
46 + $metaboxes_page = array(
47 + '#contextual-help-link-wrap',
48 + '#screen-options-link-wrap',
49 + '#title, #titlediv, th.column-title, td.title',
50 + '#pageslugdiv',
51 + '#pagepostcustom, #pagecustomdiv, #postcustom',
52 + '#pagecommentstatusdiv, #commentsdiv, #comments, th.column-comments, td.comments',
53 + '#date, #datediv, th.column-date, td.date, div.curtime',
54 + '#pagepassworddiv',
55 + '#pageparentdiv',
56 + '#pagetemplatediv',
57 + '#pageorderdiv',
58 + '#pageauthordiv, #author, #authordiv, th.column-author, td.author',
59 + '#revisionsdiv',
60 + '.side-info',
61 + '#notice',
62 + '#post-body h2',
63 + '#media-buttons, #wp-content-media-buttons',
64 + '#wp-word-count',
65 + '#slugdiv,#edit-slug-box',
66 + '#misc-publishing-actions',
67 + '#commentstatusdiv',
68 + '#editor-toolbar #edButtonHTML, #quicktags, #content-html'
69 + );
70 +
71 + $post_type = 'page';
72 + foreach ( $GLOBALS[ '_wp_post_type_features' ][ $post_type ] as $post_type_support => $key ) {
73 + if ( post_type_supports( $post_type, $post_type_support ) ) {
74 + if ( 'excerpt' === $post_type_support ) {
75 + $post_type_support = $post_type . 'excerpt';
76 + }
77 + }
78 + if ( 'page-attributes' === $post_type_support ) {
79 + $post_type_support = 'pageparentdiv';
80 + }
81 + if ( 'custom-fields' == $post_type_support ) {
82 + $post_type_support = $post_type . 'custom';
83 + }
84 + if ( 'post-formats' === $post_type_support ) {
85 + $post_type_support = 'format';
86 + }
87 + $metaboxes[] = '#' . $post_type_support
88 + . ', #' . $post_type_support
89 + . 'div, th.column-' . $post_type_support
90 + . ', td.' . $post_type_support; // td for raw in edit screen
91 + }
92 +
93 + if ( function_exists( 'current_theme_supports' )
94 + && current_theme_supports(
95 + 'post-thumbnails', 'page'
96 + )
97 + ) {
98 + $metaboxes_page[] = '#postimagediv';
99 + }
100 +
101 + // quick edit areas, id and class
102 + $quickedit_page_areas = array(
103 + 'div.row-actions, div.row-actions .inline',
104 + 'fieldset.inline-edit-col-left',
105 + 'fieldset.inline-edit-col-left label',
106 + 'fieldset.inline-edit-col-left div.inline-edit-date',
107 + 'fieldset.inline-edit-col-left label.inline-edit-author',
108 + 'fieldset.inline-edit-col-left .inline-edit-group',
109 + 'fieldset.inline-edit-col-right',
110 + 'fieldset.inline-edit-col-right .inline-edit-col',
111 + 'fieldset.inline-edit-col-right .inline-edit-group',
112 + 'tr.inline-edit-page p.inline-edit-save'
113 + );
114 + $metaboxes_page = array_merge( $metaboxes_page, $quickedit_page_areas );
115 +
116 + $metaboxes_names_page = array(
117 + esc_attr__( 'Help' ),
118 + esc_attr__( 'Screen Options' ),
119 + esc_attr__( 'Title', 'adminimize' ),
120 + esc_attr__( 'Permalink', 'adminimize' ),
121 + esc_attr__( 'Custom Fields' ),
122 + esc_attr__( 'Comments &amp; Pings', 'adminimize' ),
123 + esc_attr__( 'Date' ),
124 + esc_attr__( 'Password Protect This Page', 'adminimize' ),
125 + esc_attr__( 'Attributes', 'adminimize' ),
126 + esc_attr__( 'Page Template', 'adminimize' ),
127 + esc_attr__( 'Page Order', 'adminimize' ),
128 + esc_attr__( 'Page Author' ),
129 + esc_attr__( 'Page Revisions' ),
130 + esc_attr__( 'Related', 'adminimize' ),
131 + esc_attr__( 'Messages', 'adminimize' ),
132 + esc_attr__( 'h2: Advanced Options', 'adminimize' ),
133 + esc_attr__( 'Media Buttons (all)', 'adminimize' ),
134 + esc_attr__( 'Word count', 'adminimize' ),
135 + esc_attr__( 'Page Slug', 'adminimize' ),
136 + esc_attr__( 'Publish Actions', 'adminimize' ),
137 + esc_attr__( 'Discussion', 'adminimize' ),
138 + esc_attr__( 'HTML Editor Button', 'adminimize' )
139 + );
140 +
141 + foreach ( $GLOBALS[ '_wp_post_type_features' ][ $post_type ] as $post_type_support => $key ) {
142 + if ( post_type_supports( $post_type, $post_type_support ) ) {
143 + $metaboxes_names[] = ucfirst( $post_type_support );
144 + }
145 + }
146 +
147 + if ( function_exists( 'current_theme_supports' )
148 + && current_theme_supports(
149 + 'post-thumbnails', 'page'
150 + )
151 + ) {
152 + $metaboxes_names_page[] = esc_attr__( 'Page Image', 'adminimize' );
153 + }
154 +
155 + // quick edit names
156 + $quickedit_page_names = array(
157 + '<strong>' . esc_attr__( 'Quick Edit Link', 'adminimize' ) . '</strong>',
158 + esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Left', 'adminimize' ),
159 + '&emsp;QE &rArr;' . ' ' . esc_attr__( 'All Labels', 'adminimize' ),
160 + '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Date', 'adminimize' ),
161 + '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Author' ),
162 + '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Password and Private', 'adminimize' ),
163 + esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Right', 'adminimize' ),
164 + '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Parent, Order, Template', 'adminimize' ),
165 + '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Status', 'adminimize' ),
166 + esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Cancel/Save Button', 'adminimize' )
167 + );
168 + $metaboxes_names_page = array_merge( $metaboxes_names_page, $quickedit_page_names );
169 +
170 + // add own page options
171 + $_mw_adminimize_own_page_values = _mw_adminimize_get_option_value( '_mw_adminimize_own_page_values' );
172 + $_mw_adminimize_own_page_values = preg_split( "/\r\n/", $_mw_adminimize_own_page_values );
173 + foreach ( (array) $_mw_adminimize_own_page_values as $key => $_mw_adminimize_own_page_value ) {
174 + $_mw_adminimize_own_page_value = trim( $_mw_adminimize_own_page_value );
175 + $metaboxes_page[] = $_mw_adminimize_own_page_value;
176 + }
177 +
178 + $_mw_adminimize_own_page_options = _mw_adminimize_get_option_value( '_mw_adminimize_own_page_options' );
179 + $_mw_adminimize_own_page_options = preg_split( "/\r\n/", $_mw_adminimize_own_page_options );
180 + foreach ( (array) $_mw_adminimize_own_page_options as $key => $_mw_adminimize_own_page_option ) {
181 + $_mw_adminimize_own_page_option = trim( $_mw_adminimize_own_page_option );
182 + $metaboxes_names_page[] = $_mw_adminimize_own_page_option;
183 + }
184 +
185 + $x = 0;
186 + foreach ( $metaboxes_page as $index => $metabox ) {
187 + if ( $metabox != '' ) {
188 + $checked_user_role_ = array();
189 + foreach ( $user_roles as $role ) {
190 + $checked_user_role_[ $role ] = ( isset( $disabled_metaboxes_page_[ $role ] )
191 + && in_array(
192 + $metabox, $disabled_metaboxes_page_[ $role ]
193 + ) ) ? ' checked="checked"' : '';
194 + }
195 + echo '<tr>' . "\n";
196 + echo '<td>' . $metaboxes_names_page[ $index ] . ' <span>(' . $metabox . ')</span> </td>' . "\n";
197 + foreach ( $user_roles as $role ) {
198 + echo '<td class="num">';
199 + echo '<input id="check_page' . $role . $x . '" class="write_page_options_'
200 + . preg_replace( '/[^a-z0-9]+/', '', $role ) . '" type="checkbox"'
201 + . $checked_user_role_[ $role ] . ' name="mw_adminimize_disabled_metaboxes_page_'
202 + . $role . '_items[]" value="' . $metabox . '" />';
203 + echo '</td>' . "\n";
204 + }
205 + echo '</tr>' . "\n";
206 + $x ++;
207 + }
208 + }
209 + ?>
210 + </tbody>
211 + </table>
212 +
213 + <?php
214 + //ypur own page options
215 + ?>
216 + <br style="margin-top: 10px;" />
217 + <table summary="config_own_page" class="widefat">
218 + <thead>
219 + <tr>
220 + <th><?php esc_attr_e( 'Your own page options', 'adminimize' );
221 + echo '<br />';
222 + esc_attr_e( 'ID or class', 'adminimize' ); ?></th>
223 + <th><?php echo '<br />';
224 + esc_attr_e( 'Option', 'adminimize' ); ?></th>
225 + </tr>
226 + </thead>
227 +
228 + <tbody>
229 + <tr valign="top">
230 + <td colspan="2"><?php esc_attr_e(
231 + 'It is possible to add your own IDs or classes from elements and tags. You can find IDs and classes with the FireBug Add-on for Firefox. Assign a value and the associate name per line.',
232 + 'adminimize'
233 + ); ?></td>
234 + </tr>
235 + <tr valign="top">
236 + <td>
237 + <textarea name="_mw_adminimize_own_page_options" cols="60" rows="3" id="_mw_adminimize_own_page_options" style="width: 95%;"><?php echo _mw_adminimize_get_option_value(
238 + '_mw_adminimize_own_page_options'
239 + ); ?></textarea>
240 + <br />
241 + <?php esc_attr_e(
242 + 'Possible nomination for ID or class. Separate multiple nominations through a carriage return.',
243 + 'adminimize'
244 + ); ?>
245 + </td>
246 + <td>
247 + <textarea class="code" name="_mw_adminimize_own_page_values" cols="60" rows="3" id="_mw_adminimize_own_page_values" style="width: 95%;"><?php echo _mw_adminimize_get_option_value(
248 + '_mw_adminimize_own_page_values'
249 + ); ?></textarea>
250 + <br />
251 + <?php esc_attr_e(
252 + 'Possible IDs or classes. Separate multiple values through a carriage return.', 'adminimize'
253 + ); ?>
254 + </td>
255 + </tr>
256 + </tbody>
257 + </table>
258 +
259 + <p id="submitbutton">
260 + <input type="hidden" name="_mw_adminimize_action" value="_mw_adminimize_insert" />
261 + <input class="button button-primary" type="submit" name="_mw_adminimize_save" value="<?php esc_attr_e(
262 + 'Update Options', 'adminimize'
263 + ); ?> &raquo;" /><input type="hidden" name="page_options" value="'dofollow_timeout'" />
264 + </p>
265 + <p>
266 + <a class="alignright button" href="javascript:void(0);" onclick="window.scrollTo(0,0);" style="margin:3px 0 0 30px;"><?php esc_attr_e(
267 + 'scroll to top', 'adminimize'
268 + ); ?></a><br class="clear" /></p>
269 +
270 + </div>
271 + </div>
272 +</div>