Adminimize - Version 1.7.18

Version Description

Download this release

Release Info

Developer Bueltge
Plugin Icon wp plugin Adminimize
Version 1.7.18
Comparing to
See all releases

Code changes from version 1.7.17 to 1.7.18

Files changed (88) hide show
  1. Adminimize-da_DK.txt +21 -0
  2. adminimize.php +707 -582
  3. adminimize_page.php +26 -185
  4. css/colors-colorblind.css +0 -0
  5. css/colors-grey.css +0 -0
  6. css/colors-wp23.css +0 -0
  7. css/mw_admin.css +0 -0
  8. css/mw_admin27.css +0 -0
  9. css/mw_admin28_tweak.css +0 -0
  10. css/mw_basic.css +0 -0
  11. css/mw_big_sidebar.css +0 -0
  12. css/mw_cat.css +0 -0
  13. css/mw_cat_full.css +0 -0
  14. css/mw_classic.css +0 -0
  15. css/mw_classic27.css +0 -0
  16. css/mw_classic28_fixed.css +0 -0
  17. css/mw_classic28_fixed.dev.css +0 -0
  18. css/mw_classic28_save_50px.css +0 -0
  19. css/mw_classic28_tweak.css +0 -0
  20. css/mw_classic28_tweak.dev.css +0 -0
  21. css/mw_classic_lm.css +0 -0
  22. css/mw_classic_ozh_am.css +0 -0
  23. css/mw_colorblind.css +0 -0
  24. css/mw_fixed_header.css +0 -0
  25. css/mw_fixed_menu.css +0 -0
  26. css/mw_fresh.css +0 -0
  27. css/mw_fresh27.css +0 -0
  28. css/mw_fresh27.dev.css +0 -0
  29. css/mw_fresh28_fixed.css +0 -0
  30. css/mw_fresh28_fixed.dev.css +0 -0
  31. css/mw_fresh28_save_50px.css +0 -0
  32. css/mw_fresh28_tweak.css +0 -0
  33. css/mw_fresh28_tweak.dev.css +0 -0
  34. css/mw_fresh_lm.css +0 -0
  35. css/mw_fresh_ozh_am.css +0 -0
  36. css/mw_grey.css +0 -0
  37. css/mw_save_50px.css +0 -0
  38. css/mw_small_user_info.css +0 -0
  39. css/mw_small_user_info27.css +0 -0
  40. css/mw_small_user_info30.css +0 -0
  41. css/mw_small_user_info31.css +1 -0
  42. css/mw_small_user_info32.css +62 -0
  43. css/mw_wp23.css +0 -0
  44. css/style.css +2 -0
  45. inc-options/backend_options.php +27 -19
  46. inc-options/deinstall_options.php +32 -0
  47. inc-options/global_options.php +14 -6
  48. inc-options/im_export_options.php +46 -0
  49. inc-options/links_options.php +15 -7
  50. inc-options/menu_options.php +13 -198
  51. inc-options/minimenu.php +26 -4
  52. inc-options/theme_options.php +108 -0
  53. inc-options/wp_nav_menu_options.php +19 -11
  54. inc-options/write_cp_options.php +253 -0
  55. inc-options/write_page_options.php +132 -4
  56. inc-options/write_post_options.php +148 -3
  57. js/remove_footer.js +0 -0
  58. js/remove_header.js +0 -0
  59. js/tb_window.js +0 -0
  60. js/timestamp.js +0 -0
  61. js/writescroll.js +0 -0
  62. languages/adminimize-by_BY.mo +0 -0
  63. languages/adminimize-by_BY.po +0 -0
  64. languages/adminimize-da_DK.mo +0 -0
  65. languages/adminimize-da_DK.po +0 -0
  66. languages/adminimize-de_DE.mo +0 -0
  67. languages/adminimize-de_DE.po +476 -346
  68. languages/adminimize-es_ES.mo +0 -0
  69. languages/adminimize-es_ES.po +0 -0
  70. languages/adminimize-fr_FR.mo +0 -0
  71. languages/adminimize-fr_FR.po +0 -0
  72. languages/adminimize-hi_IN.mo +0 -0
  73. languages/adminimize-hi_IN.po +636 -0
  74. languages/adminimize-it_IT.mo +0 -0
  75. languages/adminimize-it_IT.po +0 -0
  76. languages/adminimize-nl_NL.mo +0 -0
  77. languages/adminimize-nl_NL.po +0 -0
  78. languages/adminimize-tr.po +0 -0
  79. languages/adminimize-xx_XX.pot +0 -0
  80. license.txt +674 -0
  81. readme.txt +21 -1
  82. screenshot-1.png +0 -0
  83. screenshot-2.png +0 -0
  84. screenshot-3.png +0 -0
  85. screenshot-4.png +0 -0
  86. screenshot-5.png +0 -0
  87. screenshot-6.png +0 -0
  88. screenshot-7.png +0 -0
Adminimize-da_DK.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Adminimize 1.7.9
2
+
3
+ Filerne skal ligge i mappen adminimize/languages
4
+
5
+ Anvender du de gemte stier, skal du unzippe til wp-content/plugins.
6
+ S� pakkes sprogfilerne automatisk ud til wp-content/plugins/adminimize
7
+
8
+ Du kan tjekke for opdateringer til sprogfilerne p� http://wordpress.blogos.dk/wpdadkdownloads/
9
+ eller via http://wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=208
10
+ Se evt. ogs� http://wordpress.blogos.dk/tag/adminimize
11
+
12
+
13
+
14
+ FOR THE DEVELOPER
15
+ You are very welcome to check for updated language files in one of the following ways:
16
+
17
+ 1. On my downloads page that list all files available for download: http://wordpress.blogos.dk/wpdadkdownloads/
18
+
19
+ 2. Directly on my Download Monitor download page: http://wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=208
20
+
21
+ If I have blogged about your plugin, theme or other resource, you will be able to find it via this tag: http://wordpress.blogos.dk/tag/adminimize
adminimize.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package Adminimize
4
- * @author Frank B&uuml;ltge
5
  */
6
 
7
  /*
@@ -12,7 +12,7 @@ Domain Path: /languages
12
  Description: Visually compresses the administratrive meta-boxes so that more admin page content can be initially seen. The plugin that lets you hide 'unnecessary' items from the WordPress administration menu, for alle roles of your install. You can also hide post meta controls on the edit-area to simplify the interface. It is possible to simplify the admin in different for all roles.
13
  Author: Frank B&uuml;ltge
14
  Author URI: http://bueltge.de/
15
- Version: 1.7.17
16
  License: GPL
17
  */
18
 
@@ -24,38 +24,49 @@ License: GPL
24
 
25
 
26
  global $wp_version;
27
- if ( !function_exists ('add_action') || version_compare($wp_version, "2.5alpha", "<") ) {
28
- if ( function_exists ('add_action') )
29
  $exit_msg = 'The plugin <em><a href="http://bueltge.de/wordpress-admin-theme-adminimize/674/">Adminimize</a></em> requires WordPress 2.5 or newer. <a href="http://codex.wordpress.org/Upgrading_WordPress">Please update WordPress</a> or delete the plugin.';
30
  else
31
  $exit_msg = '';
32
 
33
- header('Status: 403 Forbidden');
34
- header('HTTP/1.1 403 Forbidden');
35
- exit($exit_msg);
36
  }
37
 
38
- if ( function_exists('add_action') ) {
39
 
40
  // Pre-2.6 compatibility
41
- if ( !defined( 'WP_CONTENT_URL' ) )
42
  define( 'WP_CONTENT_URL', get_option( 'siteurl' ) . '/wp-content' );
43
- if ( !defined( 'WP_CONTENT_DIR' ) )
44
  define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
45
- if ( !defined( 'WP_PLUGIN_URL' ) )
46
  define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' );
47
- if ( !defined( 'WP_PLUGIN_DIR' ) )
48
  define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' );
49
 
50
  // plugin definitions
51
  define( 'FB_ADMINIMIZE_BASENAME', plugin_basename( __FILE__ ) );
52
  define( 'FB_ADMINIMIZE_BASEFOLDER', plugin_basename( dirname( __FILE__ ) ) );
53
- define( 'FB_ADMINIMIZE_TEXTDOMAIN', 'adminimize' );
 
 
 
 
 
 
 
 
 
 
 
54
  }
55
 
56
  function _mw_adminimize_textdomain() {
57
 
58
- load_plugin_textdomain( FB_ADMINIMIZE_TEXTDOMAIN, FALSE, dirname( FB_ADMINIMIZE_BASENAME ) . '/languages');
59
  }
60
 
61
 
@@ -65,11 +76,15 @@ function _mw_adminimize_register_styles() {
65
  }
66
 
67
 
68
- function recursive_in_array($needle, $haystack) {
69
 
70
  if ( '' != $haystack ) {
71
- foreach ($haystack as $stalk) {
72
- if ( $needle == $stalk || ( is_array($stalk) && recursive_in_array($needle, $stalk) ) ) {
 
 
 
 
73
  return TRUE;
74
  }
75
  }
@@ -87,7 +102,8 @@ class _mw_adminimize_message_class {
87
  * constructor
88
  */
89
  function _mw_adminimize_message_class() {
90
- $this->localizionName = FB_ADMINIMIZE_TEXTDOMAIN;
 
91
  $this->errors = new WP_Error();
92
  $this->initialize_errors();
93
  }
@@ -97,11 +113,13 @@ class _mw_adminimize_message_class {
97
  * Parameters - $code (the error code as a string)
98
  * @return Returns an error message
99
  */
100
- function get_error($code = '') {
101
- $errorMessage = $this->errors->get_error_message($code);
102
- if ($errorMessage == NULL) {
103
- return __("Unknown error.", $this->localizionName);
104
- }
 
 
105
  return $errorMessage;
106
  }
107
 
@@ -109,23 +127,24 @@ class _mw_adminimize_message_class {
109
  * Initializes all the error messages
110
  */
111
  function initialize_errors() {
112
- $this->errors->add('_mw_adminimize_update', __('The updates were saved.', $this->localizionName));
113
- $this->errors->add('_mw_adminimize_access_denied', __('You have not enough rights to edit entries in the database.', $this->localizionName));
114
- $this->errors->add('_mw_adminimize_import', __('All entries in the database were imported.', $this->localizionName));
115
- $this->errors->add('_mw_adminimize_deinstall', __('All entries in the database were deleted.', $this->localizionName));
116
- $this->errors->add('_mw_adminimize_deinstall_yes', __('Set the checkbox on deinstall-button.', $this->localizionName));
117
- $this->errors->add('_mw_adminimize_get_option', __('Can\'t load menu and submenu.', $this->localizionName));
118
- $this->errors->add('_mw_adminimize_set_theme', __('Backend-Theme was activated!', $this->localizionName));
119
- $this->errors->add('_mw_adminimize_load_theme', __('Load user data to themes was successful.', $this->localizionName));
120
  }
121
- }
 
122
 
123
 
124
  function _mw_adminimize_exclude_super_admin() {
125
  // exclude super admin
126
- if ( function_exists('is_super_admin')
127
  && is_super_admin()
128
- && 1 == _mw_adminimize_getOptionValue('_mw_adminimize_exclude_super_admin')
129
  )
130
  return TRUE;
131
 
@@ -134,20 +153,20 @@ function _mw_adminimize_exclude_super_admin() {
134
 
135
 
136
  /**
137
- * get_all_user_roles() - Returns an array with all user roles(names) in it.
138
  * Inclusive self defined roles (for example with the 'Role Manager' plugin).
139
  * code by Vincent Weber, www.webRtistik.nl
140
  * @uses $wp_roles
141
  * @return $user_roles
142
  */
143
- function get_all_user_roles() {
144
  global $wp_roles;
145
 
146
  $user_roles = array();
147
 
148
- if ( isset($wp_roles->roles) && is_array($wp_roles->roles) ) {
149
- foreach ($wp_roles->roles as $role => $data) {
150
- array_push($user_roles, $role);
151
  //$data contains caps, maybe for later use..
152
  }
153
  }
@@ -157,23 +176,23 @@ function get_all_user_roles() {
157
 
158
 
159
  /**
160
- * get_all_user_roles_names() - Returns an array with all user roles_names in it.
161
  * Inclusive self defined roles (for example with the 'Role Manager' plugin).
162
  * @uses $wp_roles
163
  * @return $user_roles_names
164
  */
165
- function get_all_user_roles_names() {
166
  global $wp_roles;
167
 
168
  $user_roles_names = array();
169
 
170
- foreach ($wp_roles->role_names as $role_name => $data) {
171
- if ( function_exists('translate_user_role') )
172
  $data = translate_user_role( $data );
173
  else
174
  $data = translate_with_context( $data );
175
 
176
- array_push($user_roles_names, $data );
177
  }
178
 
179
  return $user_roles_names;
@@ -186,9 +205,9 @@ function get_all_user_roles_names() {
186
  */
187
  function _mw_adminimize_control_flashloader() {
188
 
189
- $_mw_adminimize_control_flashloader = _mw_adminimize_getOptionValue('_mw_adminimize_control_flashloader');
190
 
191
- if ($_mw_adminimize_control_flashloader == '1') {
192
  return FALSE;
193
  } else {
194
  return TRUE;
@@ -201,231 +220,257 @@ function _mw_adminimize_control_flashloader() {
201
  * @uses $pagenow
202
  */
203
  function _mw_adminimize_admin_init() {
204
- global $pagenow, $menu, $submenu, $adminimizeoptions, $wp_version;
205
 
206
- if ( function_exists('get_post_type_object') ) {
207
- if ( isset($_GET['post']) )
208
- $post_id = (int) $_GET['post'];
209
- elseif ( isset($_POST['post_ID']) )
210
- $post_id = (int) $_POST['post_ID'];
211
- else
212
- $post_id = 0;
213
- $post_ID = $post_id;
214
- $post = NULL;
215
- $post_type_object = NULL;
216
- $post_type = NULL;
217
- if ( $post_id ) {
218
- $post = get_post($post_id);
219
- if ( $post ) {
220
- $post_type_object = get_post_type_object($post->post_type);
221
- if ( $post_type_object ) {
222
- $post_type = $post->post_type;
223
- $current_screen->post_type = $post->post_type;
224
- $current_screen->id = $current_screen->post_type;
225
- }
226
- }
227
- } elseif ( isset($_POST['post_type']) ) {
228
- $post_type_object = get_post_type_object($_POST['post_type']);
229
- if ( $post_type_object ) {
230
- $post_type = $post_type_object->name;
231
- $current_screen->post_type = $post_type;
232
- $current_screen->id = $current_screen->post_type;
233
- }
234
- }
235
- } else {
236
- $post_type = '';
237
- }
238
-
239
- $user_roles = get_all_user_roles();
240
-
241
- $adminimizeoptions = get_option('mw_adminimize');
242
-
243
- foreach ($user_roles as $role) {
244
- $disabled_global_option_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_global_option_'. $role .'_items');
245
- $disabled_metaboxes_post_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_metaboxes_post_'. $role .'_items');
246
- $disabled_metaboxes_page_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_metaboxes_page_'. $role .'_items');
247
- $disabled_link_option_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_link_option_'. $role .'_items');
248
- $disabled_nav_menu_option_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_nav_menu_option_'. $role .'_items');
249
- }
250
-
251
  $disabled_metaboxes_post_all = array();
 
 
 
252
  $disabled_metaboxes_page_all = array();
253
-
254
- foreach ($user_roles as $role) {
255
- array_push($disabled_metaboxes_post_all, $disabled_metaboxes_post_[$role]);
256
- array_push($disabled_metaboxes_page_all, $disabled_metaboxes_page_[$role]);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257
  }
258
 
259
- $_mw_admin_color = get_user_option('admin_color');
260
-
261
- //global options
262
  // exclude super admin
263
  if ( ! _mw_adminimize_exclude_super_admin() ) {
264
- $_mw_adminimize_footer = _mw_adminimize_getOptionValue('_mw_adminimize_footer');
265
- switch ($_mw_adminimize_footer) {
266
  case 1:
267
- wp_enqueue_script( '_mw_adminimize_remove_footer', WP_PLUGIN_URL . '/' . FB_ADMINIMIZE_BASEFOLDER . '/js/remove_footer.js', array('jquery') );
 
 
 
 
268
  break;
269
  }
270
 
271
- $_mw_adminimize_header = _mw_adminimize_getOptionValue('_mw_adminimize_header');
272
- switch ($_mw_adminimize_header) {
273
  case 1:
274
- wp_enqueue_script( '_mw_adminimize_remove_header', WP_PLUGIN_URL . '/' . FB_ADMINIMIZE_BASEFOLDER . '/js/remove_header.js', array('jquery') );
 
 
 
 
275
  break;
276
  }
277
 
278
  //post-page options
279
- $post_page_pages = array('post-new.php', 'post.php', 'page-new.php', 'page.php');
280
- if ( in_array( $pagenow, $post_page_pages ) ) {
281
 
282
- $_mw_adminimize_writescroll = _mw_adminimize_getOptionValue('_mw_adminimize_writescroll');
283
- switch ($_mw_adminimize_writescroll) {
284
  case 1:
285
- wp_enqueue_script( '_mw_adminimize_writescroll', WP_PLUGIN_URL . '/' . FB_ADMINIMIZE_BASEFOLDER . '/js/writescroll.js', array('jquery') );
286
  break;
287
  }
288
- $_mw_adminimize_tb_window = _mw_adminimize_getOptionValue('_mw_adminimize_tb_window');
289
- switch ($_mw_adminimize_tb_window) {
290
  case 1:
291
- wp_deregister_script('media-upload');
292
- wp_enqueue_script('media-upload', WP_PLUGIN_URL . '/' . FB_ADMINIMIZE_BASEFOLDER . '/js/tb_window.js', array('thickbox'));
 
 
 
 
293
  break;
294
  }
295
- $_mw_adminimize_timestamp = _mw_adminimize_getOptionValue('_mw_adminimize_timestamp');
296
- switch ($_mw_adminimize_timestamp) {
297
  case 1:
298
- wp_enqueue_script( '_mw_adminimize_timestamp', WP_PLUGIN_URL . '/' . FB_ADMINIMIZE_BASEFOLDER . '/js/timestamp.js', array('jquery') );
 
 
 
 
299
  break;
300
  }
301
 
302
  //category options
303
- $_mw_adminimize_cat_full = _mw_adminimize_getOptionValue('_mw_adminimize_cat_full');
304
- switch ($_mw_adminimize_cat_full) {
305
  case 1:
306
- wp_enqueue_style( 'adminimize-ful-category', WP_PLUGIN_URL . '/' . FB_ADMINIMIZE_BASEFOLDER . '/css/mw_cat_full.css' );
 
 
 
307
  break;
308
  }
309
 
310
  // set default editor tinymce
311
- if ( recursive_in_array('#editor-toolbar #edButtonHTML, #quicktags', $disabled_metaboxes_page_all)
312
- || recursive_in_array('#editor-toolbar #edButtonHTML, #quicktags', $disabled_metaboxes_post_all) )
313
- add_filter( 'wp_default_editor', create_function('', 'return "tinymce";') );
 
 
 
 
 
 
314
 
315
  // remove media bottons
316
- if ( recursive_in_array('media_buttons', $disabled_metaboxes_page_all)
317
- || recursive_in_array('media_buttons', $disabled_metaboxes_post_all) )
318
- remove_action('media_buttons', 'media_buttons');
319
 
320
- //add_filter('image_downsize', '_mw_adminimize_image_downsize', 1, 3);
321
  }
322
 
323
- $_mw_adminimize_control_flashloader = _mw_adminimize_getOptionValue('_mw_adminimize_control_flashloader');
324
- switch ($_mw_adminimize_control_flashloader) {
325
  case 1:
326
  add_filter( 'flash_uploader', '_mw_adminimize_control_flashloader', 1 );
327
  break;
328
  }
329
  }
330
 
331
- if ( ($_mw_admin_color == 'mw_fresh') ||
332
- ($_mw_admin_color == 'mw_classic') ||
333
- ($_mw_admin_color == 'mw_colorblind') ||
334
- ($_mw_admin_color == 'mw_grey') ||
335
- ($_mw_admin_color == 'mw_fresh_ozh_am') ||
336
- ($_mw_admin_color == 'mw_classic_ozh_am') ||
337
- ($_mw_admin_color == 'mw_fresh_lm') ||
338
- ($_mw_admin_color == 'mw_classic_lm') ||
339
- ($_mw_admin_color == 'mw_wp23')
340
- ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
341
 
342
  // only posts
343
- if (
344
- ( 'post-new.php' == $pagenow ) ||
345
- ( 'post.php' == $pagenow ) ||
346
- ( 'post' == $post_type )
347
- ) {
348
- if ( version_compare( substr($wp_version, 0, 3), '2.7', '<' ) )
349
- add_action('admin_head', '_mw_adminimize_remove_box', 99);
350
 
351
  // check for array empty
352
- if ( !isset($disabled_metaboxes_post_['editor']['0']) )
353
  $disabled_metaboxes_post_['editor']['0'] = '';
354
- if ( isset($disabled_metaboxes_post_['administrator']['0']) )
355
  $disabled_metaboxes_post_['administrator']['0'] = '';
356
- if ( version_compare(substr($wp_version, 0, 3), '2.7', '<') ) {
357
- if ( !recursive_in_array('#categorydivsb', $disabled_metaboxes_post_all) )
358
- add_action('submitpost_box', '_mw_adminimize_sidecat_list_category_box');
359
- if ( !recursive_in_array('#tagsdivsb', $disabled_metaboxes_post_all) )
360
- add_action('submitpost_box', '_mw_adminimize_sidecat_list_tag_box');
361
  }
362
  }
363
 
364
  // only pages
365
- if (
366
- ( 'page-new.php' == $pagenow ) ||
367
- ( 'page.php' == $pagenow ) ||
368
- ( 'post_type=page' == esc_attr($_SERVER['QUERY_STRING']) ) ||
369
- ( 'page' == $post_type )
370
- ) {
371
-
372
  // check for array empty
373
- if ( !isset($disabled_metaboxes_page_['editor']['0']) )
374
  $disabled_metaboxes_page_['editor']['0'] = '';
375
- if ( isset($disabled_metaboxes_page_['administrator']['0']) )
376
  $disabled_metaboxes_page_['administrator']['0'] = '';
377
  }
378
 
379
  }
380
-
381
- // set menu option
382
- add_action('admin_head', '_mw_adminimize_set_menu_option', 1);
383
-
384
- // global_options
385
- add_action('admin_head', '_mw_adminimize_set_global_option', 1);
386
-
387
- // set metabox post option
388
- $post_pages = array('post-new.php', 'post.php', 'post');
389
- if ( in_array( $pagenow, $post_pages ) || in_array($post_type, $post_pages) ) {
390
- if ( ( esc_attr($_SERVER['QUERY_STRING']) != 'post_type=page' ) && ($post_type != 'page') )
391
- add_action('admin_head', '_mw_adminimize_set_metabox_post_option', 1);
392
- }
393
-
394
- // set metabox page option
395
- $page_pages = array( 'page-new.php', 'page.php', 'post_type=page', 'page' );
396
- if ( in_array( $pagenow, $page_pages ) || in_array($post_type, $page_pages) || in_array( esc_attr($_SERVER['QUERY_STRING']), $page_pages) )
397
- add_action('admin_head', '_mw_adminimize_set_metabox_page_option', 1);
398
-
399
- // set link option
400
- $link_pages = array('link-manager.php', 'link-add.php', 'edit-link-categories.php');
401
- if ( in_array( $pagenow, $link_pages ) )
402
- add_action('admin_head', '_mw_adminimize_set_link_option', 1);
403
-
404
- // set wp nav menu options
405
- $nav_menu_pages = array('nav-menus.php');
406
- if ( in_array( $pagenow, $nav_menu_pages ) )
407
- add_action('admin_head', '_mw_adminimize_set_nav_menu_option', 1);
408
-
409
- add_action('in_admin_footer', '_mw_adminimize_admin_footer');
410
-
411
- $adminimizeoptions['mw_adminimize_default_menu'] = $menu;
412
- $adminimizeoptions['mw_adminimize_default_submenu'] = $submenu;
413
  }
414
 
415
  // on init of WordPress
416
- add_action( 'init', '_mw_adminimize_textdomain' );
417
- add_action( 'init', '_mw_adminimize_register_styles' );
418
  add_action( 'init', '_mw_adminimize_remove_admin_bar' );
419
 
420
  // on admin init
421
- add_action( 'admin_init', '_mw_adminimize_admin_init', 1 );
 
 
422
  add_action( 'admin_menu', '_mw_adminimize_add_settings_page' );
423
  add_action( 'admin_menu', '_mw_adminimize_remove_dashboard' );
424
- add_action( 'admin_init', '_mw_adminimize_admin_styles', 1 );
 
425
 
426
  register_activation_hook( __FILE__, '_mw_adminimize_install' );
427
  register_uninstall_hook( __FILE__, '_mw_adminimize_deinstall' );
428
- //register_deactivation_hook(__FILE__, '_mw_adminimize_deinstall');
429
 
430
 
431
  /**
@@ -434,25 +479,25 @@ register_uninstall_hook( __FILE__, '_mw_adminimize_deinstall' );
434
  * http://www.wp-fun.co.uk/
435
  * @param $value, $id, $size
436
  */
437
- function _mw_adminimize_image_downsize($value = FALSE, $id = 0, $size = "medium") {
438
 
439
- if ( !wp_attachment_is_image($id) )
440
  return FALSE;
441
 
442
- $img_url = wp_get_attachment_url($id);
443
 
444
  // Mimic functionality in image_downsize function in wp-includes/media.php
445
- if ( $intermediate = image_get_intermediate_size($id, $size) ) {
446
- $img_url = str_replace( basename($img_url), $intermediate['file'], $img_url );
447
  } elseif ( $size == 'thumbnail' ) {
448
  // fall back to the old thumbnail
449
- if ( $thumb_file = wp_get_attachment_thumb_file() && $info = getimagesize($thumb_file) ) {
450
- $img_url = str_replace( basename($img_url), basename($thumb_file), $img_url );
451
  }
452
  }
453
 
454
- if ( $img_url)
455
- return array($img_url, 0, 0);
456
 
457
  return FALSE;
458
  }
@@ -469,14 +514,14 @@ function _mw_adminimize_sidecat_list_category_box() {
469
  <div class="inside" id="categorydivsb">
470
  <p><strong><?php _e("Categories"); ?></strong></p>
471
  <ul id="categorychecklist" class="list:category categorychecklist form-no-clear">
472
- <?php wp_category_checklist($post_ID); ?>
473
  </ul>
474
- <?php if ( !defined('WP_PLUGIN_DIR') ) { // for wp <2.6 ?>
475
  <div id="category-adder" class="wp-hidden-children">
476
  <h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a></h4>
477
  <p id="category-add" class="wp-hidden-child">
478
  <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" tabindex="3" />
479
- <?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?>
480
  <input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _e( 'Add' ); ?>" tabindex="3" />
481
  <?php wp_nonce_field( 'add-category', '_ajax_nonce', FALSE ); ?>
482
  <span id="category-ajax-response"></span>
@@ -488,7 +533,7 @@ function _mw_adminimize_sidecat_list_category_box() {
488
  <p id="category-add" class="wp-hidden-child">
489
  <label class="hidden" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" tabindex="3" aria-required="TRUE"/>
490
  <br />
491
- <label class="hidden" for="newcat_parent"><?php _e('Parent category'); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?>
492
  <input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _e( 'Add' ); ?>" tabindex="3" />
493
  <?php wp_nonce_field( 'add-category', '_ajax_nonce', FALSE ); ?>
494
  <span id="category-ajax-response"></span>
@@ -507,11 +552,11 @@ function _mw_adminimize_sidecat_list_category_box() {
507
  function _mw_adminimize_sidecat_list_tag_box() {
508
  global $post_ID;
509
 
510
- if ( !class_exists('SimpleTagsAdmin') ) {
511
  ?>
512
  <div class="inside" id="tagsdivsb">
513
- <p><strong><?php _e('Tags'); ?></strong></p>
514
- <p id="jaxtag"><label class="hidden" for="newtag"><?php _e('Tags'); ?></label><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit($post_ID); ?>" /></p>
515
  <div id="tagchecklist"></div>
516
  </div>
517
  <?php
@@ -525,15 +570,15 @@ function _mw_adminimize_sidecat_list_tag_box() {
525
  */
526
  function _mw_adminimize_remove_box() {
527
 
528
- if ( function_exists('remove_meta_box') ) {
529
- if ( !class_exists('SimpleTagsAdmin') )
530
- remove_meta_box('tagsdiv', 'post', 'normal');
531
 
532
- remove_meta_box('categorydiv', 'post', 'normal');
533
  } else {
534
  $_mw_adminimize_sidecat_admin_head = "\n" . '<script type="text/javascript">' . "\n";
535
- $_mw_adminimize_sidecat_admin_head .= "\t" . 'jQuery(document).ready(function() { jQuery(\'#categorydiv\').remove(); });' . "\n";
536
- $_mw_adminimize_sidecat_admin_head .= "\t" . 'jQuery(document).ready(function() { jQuery(\'#tagsdiv\').remove(); });' . "\n";
537
  $_mw_adminimize_sidecat_admin_head .= '</script>' . "\n";
538
 
539
  echo $_mw_adminimize_sidecat_admin_head;
@@ -545,7 +590,7 @@ function _mw_adminimize_remove_box() {
545
  * add new adminstyle to usersettings
546
  * @param $file
547
  */
548
- function _mw_adminimize_admin_styles($file) {
549
  global $wp_version;
550
 
551
  $_mw_adminimize_path = WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/';
@@ -553,98 +598,98 @@ function _mw_adminimize_admin_styles($file) {
553
  if ( version_compare( $wp_version, '3.0alpha', '>=' ) ) {
554
 
555
  // MW Adminimize Classic Tweak
556
- $styleName = 'Adminimize:' . ' Tweak ' . __('Blue');
557
  wp_admin_css_color (
558
  'mw_classic_tweak', $styleName, $_mw_adminimize_path . 'mw_classic28_tweak.css',
559
- array('#073447', '#21759b', '#eaf3fa', '#bbd8e7')
560
  );
561
 
562
  // MW Adminimize Fresh Tweak
563
- $styleName = 'Adminimize:' . ' Tweak ' . __('Gray');
564
  wp_admin_css_color (
565
  'mw_fresh_tweak', $styleName, $_mw_adminimize_path . 'mw_fresh28_tweak.css',
566
- array('#464646', '#6d6d6d', '#f1f1f1', '#dfdfdf')
567
  );
568
 
569
  }
570
 
571
  if ( version_compare( $wp_version, '2.7alpha', '>=' ) && version_compare( $wp_version, '3.0alpha', '<' ) ) {
572
  // MW Adminimize Classic
573
- $styleName = 'Adminimize:' . ' ' . __('Blue');
574
  wp_admin_css_color (
575
  'mw_classic', $styleName, $_mw_adminimize_path . 'mw_classic27.css',
576
- array('#073447', '#21759b', '#eaf3fa', '#bbd8e7')
577
  );
578
 
579
  // MW Adminimize Fresh
580
- $styleName = 'Adminimize:' . ' ' . __('Gray');
581
  wp_admin_css_color (
582
  'mw_fresh', $styleName, $_mw_adminimize_path . 'mw_fresh27.css',
583
- array('#464646', '#6d6d6d', '#f1f1f1', '#dfdfdf')
584
  );
585
 
586
  // MW Adminimize Classic Fixed
587
- $styleName = 'Adminimize:' . ' Fixed ' . __('Blue');
588
  wp_admin_css_color (
589
  'mw_classic_fixed', $styleName, $_mw_adminimize_path . 'mw_classic28_fixed.css',
590
- array('#073447', '#21759b', '#eaf3fa', '#bbd8e7')
591
  );
592
 
593
  // MW Adminimize Fresh Fixed
594
- $styleName = 'Adminimize:' . ' Fixed ' . __('Gray');
595
  wp_admin_css_color (
596
  'mw_fresh_fixed', $styleName, $_mw_adminimize_path . 'mw_fresh28_fixed.css',
597
- array('#464646', '#6d6d6d', '#f1f1f1', '#dfdfdf')
598
  );
599
 
600
  // MW Adminimize Classic Tweak
601
- $styleName = 'Adminimize:' . ' Tweak ' . __('Blue');
602
  wp_admin_css_color (
603
  'mw_classic_tweak', $styleName, $_mw_adminimize_path . 'mw_classic28_tweak.css',
604
- array('#073447', '#21759b', '#eaf3fa', '#bbd8e7')
605
  );
606
 
607
  // MW Adminimize Fresh Tweak
608
- $styleName = 'Adminimize:' . ' Tweak ' . __('Gray');
609
  wp_admin_css_color (
610
  'mw_fresh_tweak', $styleName, $_mw_adminimize_path . 'mw_fresh28_tweak.css',
611
- array('#464646', '#6d6d6d', '#f1f1f1', '#dfdfdf')
612
  );
613
 
614
  } elseif ( version_compare( $wp_version, '2.7alpha', '<' ) ) {
615
  // MW Adminimize Classic
616
- $styleName = 'MW Adminimize:' . ' ' . __('Classic');
617
  wp_admin_css_color (
618
  'mw_classic', $styleName, $_mw_adminimize_path . 'mw_classic.css',
619
- array('#07273E', '#14568A', '#D54E21', '#2683AE')
620
  );
621
 
622
  // MW Adminimize Fresh
623
- $styleName = 'MW Adminimize:' . ' ' . __('Fresh');
624
  wp_admin_css_color (
625
  'mw_fresh', $styleName, $_mw_adminimize_path . 'mw_fresh.css',
626
- array('#464646', '#CEE1EF', '#D54E21', '#2683AE')
627
  );
628
 
629
  // MW Adminimize WordPress 2.3
630
- $styleName = 'MW Adminimize:' . ' ' . __('WordPress 2.3');
631
  wp_admin_css_color (
632
  'mw_wp23', $styleName, $_mw_adminimize_path . 'mw_wp23.css',
633
- array('#000000', '#14568A', '#448ABD', '#83B4D8')
634
  );
635
 
636
  // MW Adminimize Colorblind
637
- $styleName = 'MW Adminimize:' . ' ' . __('Maybe i\'m colorblind');
638
  wp_admin_css_color (
639
  'mw_colorblind', $styleName, $_mw_adminimize_path . 'mw_colorblind.css',
640
- array('#FF9419', '#F0720C', '#710001', '#550007', '#CF4529')
641
  );
642
 
643
  // MW Adminimize Grey
644
- $styleName = 'MW Adminimize:' . ' ' . __('Grey');
645
  wp_admin_css_color (
646
  'mw_grey', $styleName, $_mw_adminimize_path . 'mw_grey.css',
647
- array('#000000', '#787878', '#F0F0F0', '#D8D8D8', '#909090')
648
  );
649
  }
650
  /**
@@ -652,20 +697,20 @@ function _mw_adminimize_admin_styles($file) {
652
  * by Ozh
653
  * http://planetozh.com/blog/my-projects/wordpress-admin-menu-drop-down-css/
654
  */
655
- if ( function_exists('wp_ozh_adminmenu') ) {
656
 
657
  // MW Adminimize Classic include ozh adminmenu
658
- $styleName = 'MW Adminimize inc. Admin Drop Down Menu' . ' ' . __('Classic');
659
  wp_admin_css_color (
660
  'mw_classic_ozh_am', $styleName, $_mw_adminimize_path . 'mw_classic_ozh_am.css',
661
- array('#07273E', '#14568A', '#D54E21', '#2683AE')
662
  );
663
 
664
  // MW Adminimize Fresh include ozh adminmenu
665
- $styleName = 'MW Adminimize inc. Admin Drop Down Menu' . ' ' . __('Fresh');
666
  wp_admin_css_color (
667
  'mw_fresh_ozh_am', $styleName, $_mw_adminimize_path . 'mw_fresh_ozh_am.css',
668
- array('#464646', '#CEE1EF', '#D54E21', '#2683AE')
669
  );
670
 
671
  }
@@ -675,20 +720,20 @@ function _mw_adminimize_admin_styles($file) {
675
  * by corpodibacco
676
  * http://www.italyisfalling.com/lighter-menus
677
  */
678
- if ( function_exists('lm_build') ) {
679
 
680
  // MW Adminimize Classic include Lighter Menus
681
- $styleName = 'MW Adminimize inc. Lighter Menus' . ' ' . __('Classic');
682
  wp_admin_css_color (
683
  'mw_classic_lm', $styleName, $_mw_adminimize_path . 'mw_classic_lm.css',
684
- array('#07273E', '#14568A', '#D54E21', '#2683AE')
685
  );
686
 
687
  // MW Adminimize Fresh include Lighter Menus
688
- $styleName = 'MW Adminimize inc. Lighter Menus' . ' ' . __('Fresh');
689
  wp_admin_css_color (
690
  'mw_fresh_lm', $styleName, $_mw_adminimize_path . 'mw_fresh_lm.css',
691
- array('#464646', '#CEE1EF', '#D54E21', '#2683AE')
692
  );
693
 
694
  }
@@ -703,28 +748,28 @@ function _mw_adminimize_admin_styles($file) {
703
  function _mw_adminimize_remove_dashboard() {
704
  global $menu, $submenu, $user_ID, $wp_version;
705
 
706
- $user_roles = get_all_user_roles();
707
 
708
- foreach ($user_roles as $role) {
709
- $disabled_menu_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_menu_'. $role .'_items');
710
- $disabled_submenu_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_submenu_'. $role .'_items');
711
  }
712
 
713
  $disabled_menu_all = array();
714
  $disabled_submenu_all = array();
715
 
716
- foreach ($user_roles as $role) {
717
- array_push($disabled_menu_all, $disabled_menu_[$role]);
718
- array_push($disabled_submenu_all, $disabled_submenu_[$role]);
719
  }
720
 
721
  // remove dashboard
722
  if ( $disabled_menu_all != '' || $disabled_submenu_all != '' ) {
723
 
724
- foreach ($user_roles as $role) {
725
 
726
- if ( current_user_can($role) ) {
727
- if ( recursive_in_array('index.php', $disabled_menu_[$role]) || recursive_in_array('index.php', $disabled_submenu_[$role]) )
728
  $redirect = TRUE;
729
  else
730
  $redirect = FALSE;
@@ -732,9 +777,9 @@ function _mw_adminimize_remove_dashboard() {
732
  }
733
 
734
  if ( $redirect ) {
735
- $_mw_adminimize_db_redirect = _mw_adminimize_getOptionValue('_mw_adminimize_db_redirect');
736
- $_mw_adminimize_db_redirect_admin_url = get_option('siteurl') . '/wp-admin/';
737
- switch ($_mw_adminimize_db_redirect) {
738
  case 0:
739
  $_mw_adminimize_db_redirect = $_mw_adminimize_db_redirect_admin_url . 'profile.php';
740
  break;
@@ -754,29 +799,29 @@ function _mw_adminimize_remove_dashboard() {
754
  $_mw_adminimize_db_redirect = $_mw_adminimize_db_redirect_admin_url . 'edit-comments.php';
755
  break;
756
  case 6:
757
- $_mw_adminimize_db_redirect = _mw_adminimize_getOptionValue('_mw_adminimize_db_redirect_txt');
758
  break;
759
  }
760
 
761
  // fallback for WP smaller 3.0
762
- if ( version_compare($wp_version, "3.0alpha", "<") && 'edit.php?post_type=page' == $_mw_adminimize_db_redirect )
763
  $_mw_adminimize_db_redirect = 'edit-pages.php';
764
 
765
- $the_user = new WP_User($user_ID);
766
- reset($menu);
767
- $page = key($menu);
768
 
769
- while ( (__('Dashboard') != $menu[$page][0]) && next($menu) || (__('Dashboard') != $menu[$page][1]) && next($menu) )
770
- $page = key($menu);
771
 
772
- if (__('Dashboard') == $menu[$page][0] || __('Dashboard') == $menu[$page][1])
773
- unset($menu[$page]);
774
- reset($menu); $page = key($menu);
775
 
776
- while ( !$the_user->has_cap($menu[$page][1]) && next($menu) )
777
- $page = key($menu);
778
 
779
- if ( preg_match('#wp-admin/?(index.php)?$#', $_SERVER['REQUEST_URI']) ) {
780
  wp_redirect( $_mw_adminimize_db_redirect );
781
  }
782
  }
@@ -803,54 +848,66 @@ function _mw_adminimize_set_menu_option() {
803
  if ( _mw_adminimize_exclude_super_admin() )
804
  return NULL;
805
 
806
- $user_roles = get_all_user_roles();
807
 
808
- foreach ($user_roles as $role) {
809
- $disabled_menu_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_menu_'. $role .'_items');
810
- $disabled_submenu_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_submenu_'. $role .'_items');
811
  }
812
 
813
  $_mw_adminimize_admin_head = "\n";
814
- $_mw_adminimize_user_info = _mw_adminimize_getOptionValue('_mw_adminimize_user_info');
815
- $_mw_adminimize_ui_redirect = _mw_adminimize_getOptionValue('_mw_adminimize_ui_redirect');
816
 
817
- switch ($_mw_adminimize_user_info) {
818
  case 1:
819
  $_mw_adminimize_admin_head .= '<script type="text/javascript">' . "\n";
820
- $_mw_adminimize_admin_head .= "\t" . 'jQuery(document).ready(function() { jQuery(\'#user_info\').remove(); });' . "\n";
821
  $_mw_adminimize_admin_head .= '</script>' . "\n";
822
  break;
823
  case 2:
824
- if ( version_compare($wp_version, "3.0alpha", ">=") ) {
 
 
 
 
 
 
825
  $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info30.css" type="text/css" />' . "\n";
826
- } elseif ( version_compare(substr($wp_version, 0, 3), '2.7', '>=') ) {
827
  $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info27.css" type="text/css" />' . "\n";
828
  } else {
829
  $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info.css" type="text/css" />' . "\n";
830
  }
831
  $_mw_adminimize_admin_head .= '<script type="text/javascript">' . "\n";
832
- $_mw_adminimize_admin_head .= "\t" . 'jQuery(document).ready(function() { jQuery(\'#user_info\').remove();';
833
- if ($_mw_adminimize_ui_redirect == '1') {
834
- $_mw_adminimize_admin_head .= 'jQuery(\'div#wpcontent\').after(\'<div id="small_user_info"><p><a href="' . get_option('siteurl') . wp_nonce_url( ('/wp-login.php?action=logout&amp;redirect_to=') . get_option('siteurl') , 'log-out' ) . '" title="' . __('Log Out') . '">' . __('Log Out') . '</a></p></div>\') });' . "\n";
835
  } else {
836
- $_mw_adminimize_admin_head .= 'jQuery(\'div#wpcontent\').after(\'<div id="small_user_info"><p><a href="' . get_option('siteurl') . wp_nonce_url( ('/wp-login.php?action=logout') , 'log-out' ) . '" title="' . __('Log Out') . '">' . __('Log Out') . '</a></p></div>\') });' . "\n";
837
  }
838
  $_mw_adminimize_admin_head .= '</script>' . "\n";
839
  break;
840
  case 3:
841
- if ( version_compare($wp_version, "3.0alpha", ">=") ) {
 
 
 
 
 
 
842
  $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info30.css" type="text/css" />' . "\n";
843
- } elseif ( version_compare(substr($wp_version, 0, 3), '2.7', '>=') ) {
844
  $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info27.css" type="text/css" />' . "\n";
845
  } else {
846
  $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info.css" type="text/css" />' . "\n";
847
  }
848
  $_mw_adminimize_admin_head .= '<script type="text/javascript">' . "\n";
849
- $_mw_adminimize_admin_head .= "\t" . 'jQuery(document).ready(function() { jQuery(\'#user_info\').remove();';
850
- if ($_mw_adminimize_ui_redirect == '1') {
851
- $_mw_adminimize_admin_head .= 'jQuery(\'div#wpcontent\').after(\'<div id="small_user_info"><p><a href="' . get_option('siteurl') . ('/wp-admin/profile.php') . '">' . $user_identity . '</a> | <a href="' . get_option('siteurl') . wp_nonce_url( ('/wp-login.php?action=logout&amp;redirect_to=') . get_option('siteurl'), 'log-out' ) . '" title="' . __('Log Out') . '">' . __('Log Out') . '</a></p></div>\') });' . "\n";
852
  } else {
853
- $_mw_adminimize_admin_head .= 'jQuery(\'div#wpcontent\').after(\'<div id="small_user_info"><p><a href="' . get_option('siteurl') . ('/wp-admin/profile.php') . '">' . $user_identity . '</a> | <a href="' . get_option('siteurl') . wp_nonce_url( ('/wp-login.php?action=logout'), 'log-out' ) . '" title="' . __('Log Out') . '">' . __('Log Out') . '</a></p></div>\') });' . "\n";
854
  }
855
  $_mw_adminimize_admin_head .= '</script>' . "\n";
856
  break;
@@ -860,10 +917,10 @@ function _mw_adminimize_set_menu_option() {
860
  if ( '' != $disabled_menu_['editor'] ) {
861
 
862
  // set admin-menu
863
- foreach ($user_roles as $role) {
864
  $user = wp_get_current_user();
865
- if ( in_array($role, $user->roles) ) {
866
- if ( current_user_can($role) ) {
867
  $mw_adminimize_menu = $disabled_menu_[$role];
868
  $mw_adminimize_submenu = $disabled_submenu_[$role];
869
  }
@@ -871,24 +928,24 @@ function _mw_adminimize_set_menu_option() {
871
  }
872
 
873
  // fallback on users.php on all userroles smaller admin
874
- if ( is_array($mw_adminimize_menu) && in_array('users.php', $mw_adminimize_menu) )
875
  $mw_adminimize_menu[] = 'profile.php';
876
 
877
- if ( isset($menu) && !empty($menu) ) {
878
- foreach ($menu as $index => $item) {
879
  if ( 'index.php' === $item )
880
  continue;
881
 
882
- if ( isset($mw_adminimize_menu) && in_array($item[2], $mw_adminimize_menu) ) {
883
- unset($menu[$index]);
884
  }
885
 
886
- if ( isset($submenu) && !empty($submenu[$item[2]]) ) {
887
- foreach ($submenu[$item[2]] as $subindex => $subitem) {
888
- if ( isset($mw_adminimize_submenu) && in_array($subitem[2], $mw_adminimize_submenu))
889
- //if ('profile.php' === $subitem[2])
890
- // unset($menu[70]);
891
- unset($submenu[$item[2]][$subindex]);
892
  }
893
  }
894
  }
@@ -910,39 +967,39 @@ function _mw_adminimize_set_global_option() {
910
  if ( _mw_adminimize_exclude_super_admin() )
911
  return NULL;
912
 
913
- $user_roles = get_all_user_roles();
914
 
915
  $_mw_adminimize_admin_head = '';
916
 
917
- remove_action('admin_head', 'index_js');
918
 
919
- foreach ($user_roles as $role) {
920
- $disabled_global_option_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_global_option_'. $role .'_items');
921
  }
922
 
923
- foreach ($user_roles as $role) {
924
- if ( !isset($disabled_global_option_[$role]['0']) )
925
  $disabled_global_option_[$role]['0'] = '';
926
  }
927
 
928
  $remove_adminbar = FALSE;
929
  // new 1.7.8
930
- foreach ($user_roles as $role) {
931
  $user = wp_get_current_user();
932
- if ( in_array($role, $user->roles) ) {
933
- if ( current_user_can($role) && is_array($disabled_global_option_[$role]) ) {
934
- $global_options = implode(', ', $disabled_global_option_[$role]);
935
- if ( recursive_in_array('.show-admin-bar', $disabled_global_option_[$role]) )
936
  $remove_adminbar = TRUE;
937
  }
938
  }
939
  }
940
- if ( 0 != strpos($global_options, '#your-profile .form-table fieldset') )
941
  $_wp_admin_css_colors = 0;
942
  $_mw_adminimize_admin_head .= '<!-- global options -->' . "\n";
943
  $_mw_adminimize_admin_head .= '<style type="text/css">' . $global_options . ' {display: none !important;}</style>' . "\n";
944
 
945
- if ($global_options)
946
  echo $_mw_adminimize_admin_head;
947
  }
948
 
@@ -953,25 +1010,27 @@ function _mw_adminimize_remove_admin_bar() {
953
  if ( _mw_adminimize_exclude_super_admin() )
954
  return NULL;
955
 
956
- $user_roles = get_all_user_roles();
957
 
958
- foreach ($user_roles as $role) {
959
- $disabled_global_option_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_global_option_'. $role .'_items');
 
 
960
  }
961
 
962
- foreach ($user_roles as $role) {
963
- if ( !isset($disabled_global_option_[$role]['0']) )
964
  $disabled_global_option_[$role]['0'] = '';
965
  }
966
 
967
  $remove_adminbar = FALSE;
968
  // new 1.7.8
969
- foreach ($user_roles as $role) {
970
  $user = wp_get_current_user();
971
- if ( in_array($role, $user->roles) ) {
972
- if ( current_user_can($role) && is_array($disabled_global_option_[$role]) ) {
973
- $global_options = implode(', ', $disabled_global_option_[$role]);
974
- if ( recursive_in_array('.show-admin-bar', $disabled_global_option_[$role]) )
975
  $remove_adminbar = TRUE;
976
  }
977
  }
@@ -997,32 +1056,38 @@ function _mw_adminimize_set_metabox_post_option() {
997
  if ( _mw_adminimize_exclude_super_admin() )
998
  return NULL;
999
 
1000
- $user_roles = get_all_user_roles();
1001
 
1002
  $_mw_adminimize_admin_head = '';
1003
 
1004
- remove_action('admin_head', 'index_js');
1005
 
1006
- foreach ($user_roles as $role) {
1007
- $disabled_metaboxes_post_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_metaboxes_post_'. $role .'_items');
 
 
1008
 
1009
- if ( !isset($disabled_metaboxes_post_[$role]['0']) )
1010
  $disabled_metaboxes_post_[$role]['0'] = '';
1011
 
1012
  // new 1.7.8
1013
- foreach ($user_roles as $role) {
1014
  $user = wp_get_current_user();
1015
- if ( in_array($role, $user->roles) ) {
1016
- if ( current_user_can($role) && isset($disabled_metaboxes_post_[$role]) && is_array($disabled_metaboxes_post_[$role]) ) {
1017
- $metaboxes = implode(',', $disabled_metaboxes_post_[$role]);
 
 
 
1018
  }
1019
  }
1020
  }
1021
  }
1022
 
1023
- $_mw_adminimize_admin_head .= '<style type="text/css">' . $metaboxes . ' {display: none !important;}</style>' . "\n";
 
1024
 
1025
- if ($metaboxes)
1026
  echo $_mw_adminimize_admin_head;
1027
  }
1028
 
@@ -1036,32 +1101,94 @@ function _mw_adminimize_set_metabox_page_option() {
1036
  if ( _mw_adminimize_exclude_super_admin() )
1037
  return NULL;
1038
 
1039
- $user_roles = get_all_user_roles();
1040
 
1041
  $_mw_adminimize_admin_head = '';
1042
 
1043
- remove_action('admin_head', 'index_js');
1044
 
1045
- foreach ($user_roles as $role) {
1046
- $disabled_metaboxes_page_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_metaboxes_page_'. $role .'_items');
 
 
1047
 
1048
- if ( !isset($disabled_metaboxes_page_[$role]['0']) )
1049
  $disabled_metaboxes_page_[$role]['0'] = '';
1050
 
1051
  // new 1.7.8
1052
- foreach ($user_roles as $role) {
1053
  $user = wp_get_current_user();
1054
- if ( in_array($role, $user->roles) ) {
1055
- if ( current_user_can($role) && is_array($disabled_metaboxes_page_[$role]) ) {
1056
- $metaboxes = implode(',', $disabled_metaboxes_page_[$role]);
1057
  }
1058
  }
1059
  }
1060
  }
1061
 
1062
- $_mw_adminimize_admin_head .= '<style type="text/css">' . $metaboxes . ' {display: none !important;}</style>' . "\n";
 
1063
 
1064
- if ($metaboxes)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1065
  echo $_mw_adminimize_admin_head;
1066
  }
1067
 
@@ -1075,33 +1202,36 @@ function _mw_adminimize_set_link_option() {
1075
  if ( _mw_adminimize_exclude_super_admin() )
1076
  return NULL;
1077
 
1078
- $user_roles = get_all_user_roles();
1079
 
1080
  $_mw_adminimize_admin_head = '';
1081
 
1082
- remove_action('admin_head', 'index_js');
1083
 
1084
- foreach ($user_roles as $role) {
1085
- $disabled_link_option_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_link_option_'. $role .'_items');
 
 
1086
  }
1087
 
1088
- foreach ($user_roles as $role) {
1089
- if ( !isset($disabled_link_option_[$role]['0']) )
1090
  $disabled_link_option_[$role]['0'] = '';
1091
  }
1092
 
1093
  // new 1.7.8
1094
- foreach ($user_roles as $role) {
1095
  $user = wp_get_current_user();
1096
- if ( in_array($role, $user->roles) ) {
1097
- if ( current_user_can($role) && is_array($disabled_link_option_[$role]) ) {
1098
- $link_options = implode(',', $disabled_link_option_[$role]);
1099
  }
1100
  }
1101
  }
1102
- $_mw_adminimize_admin_head .= '<style type="text/css">' . $link_options . ' {display: none !important;}</style>' . "\n";
 
1103
 
1104
- if ($link_options)
1105
  echo $_mw_adminimize_admin_head;
1106
  }
1107
 
@@ -1114,34 +1244,37 @@ function _mw_adminimize_set_nav_menu_option() {
1114
  if ( _mw_adminimize_exclude_super_admin() )
1115
  return NULL;
1116
 
1117
- $user_roles = get_all_user_roles();
1118
 
1119
  $_mw_adminimize_admin_head = '';
1120
 
1121
- remove_action('admin_head', 'index_js');
1122
 
1123
- foreach ($user_roles as $role) {
1124
- $disabled_nav_menu_option_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_nav_menu_option_'. $role .'_items');
 
 
1125
  }
1126
 
1127
- foreach ($user_roles as $role) {
1128
- if ( !isset($disabled_nav_menu_option_[$role]['0']) )
1129
  $disabled_nav_menu_option_[$role]['0'] = '';
1130
  }
1131
 
1132
  // new 1.7.8
1133
- foreach ($user_roles as $role) {
1134
  $user = wp_get_current_user();
1135
- if ( in_array($role, $user->roles) ) {
1136
- if ( current_user_can($role) && is_array($disabled_nav_menu_option_[$role]) ) {
1137
- $nav_menu_options = implode(',', $disabled_nav_menu_option_[$role]);
1138
  }
1139
  }
1140
  }
1141
- //remove_meta_box($id, 'nav-menus', 'side');
1142
- $_mw_adminimize_admin_head .= '<style type="text/css">' . $nav_menu_options . ' {display: none !important;}</style>' . "\n";
 
1143
 
1144
- if ($nav_menu_options)
1145
  echo $_mw_adminimize_admin_head;
1146
  }
1147
 
@@ -1153,7 +1286,12 @@ function _mw_adminimize_set_nav_menu_option() {
1153
  function _mw_adminimize_small_user_info() {
1154
  ?>
1155
  <div id="small_user_info">
1156
- <p><a href="<?php echo wp_nonce_url( site_url('wp-login.php?action=logout'), 'log-out' ) ?>" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a></p>
 
 
 
 
 
1157
  </div>
1158
  <?php
1159
  }
@@ -1162,7 +1300,7 @@ function _mw_adminimize_small_user_info() {
1162
  /**
1163
  * include options-page in wp-admin
1164
  */
1165
- require_once('adminimize_page.php');
1166
 
1167
 
1168
  /**
@@ -1173,15 +1311,15 @@ function _mw_adminimize_admin_footer() {
1173
  $plugin_data = get_plugin_data( __FILE__ );
1174
  $plugin_data['Title'] = $plugin_data['Name'];
1175
 
1176
- if ( !empty($plugin_data['PluginURI']) && !empty($plugin_data['Name']) )
1177
  $plugin_data['Title'] = '<a href="' . $plugin_data['PluginURI'] . '" title="'.__( 'Visit plugin homepage' ).'">' . $plugin_data['Name'] . '</a>';
1178
 
1179
- if ( basename($_SERVER['REQUEST_URI']) == 'adminimize.php') {
1180
- printf('%1$s ' . __('plugin') . ' | ' . __('Version') . ' <a href="http://wordpress.org/extend/plugins/adminimize/changelog/" title="' . __('History', FB_ADMINIMIZE_TEXTDOMAIN ) . '">%2$s</a> | ' . __('Author') . ' %3$s<br />', $plugin_data['Title'], $plugin_data['Version'], $plugin_data['Author']);
1181
  }
1182
 
1183
- if ( _mw_adminimize_getOptionValue('_mw_adminimize_advice') == 1 && basename($_SERVER['REQUEST_URI']) != 'adminimize.php' ) {
1184
- printf('%1$s ' . __('plugin activate', FB_ADMINIMIZE_TEXTDOMAIN ) . ' | ' . stripslashes( _mw_adminimize_getOptionValue('_mw_adminimize_advice_txt') ) . '<br />', $plugin_data['Title']);
1185
  }
1186
 
1187
  }
@@ -1196,13 +1334,13 @@ function _mw_adminimize_admin_footer() {
1196
  * @param $links, $file
1197
  * @return $links
1198
  */
1199
- function _mw_adminimize_filter_plugin_meta($links, $file) {
1200
 
1201
  /* create link */
1202
  if ( FB_ADMINIMIZE_BASENAME == $file ) {
1203
  array_unshift(
1204
  $links,
1205
- sprintf( '<a href="options-general.php?page=%s">%s</a>', FB_ADMINIMIZE_BASENAME, __('Settings') )
1206
  );
1207
  }
1208
 
@@ -1210,64 +1348,17 @@ function _mw_adminimize_filter_plugin_meta($links, $file) {
1210
  }
1211
 
1212
 
1213
- /**
1214
- * Images/ Icons in base64-encoding
1215
- * @use function _mw_adminimize_get_resource_url() for display
1216
- */
1217
- if ( isset($_GET['resource']) && !empty($_GET['resource']) ) {
1218
-
1219
- # base64 encoding performed by base64img.php from http://php.holtsmark.no
1220
- $resources = array(
1221
- 'adminimize.gif' =>
1222
- 'R0lGODlhCwALAKIEAPb29tTU1Kurq5SUlP///wAAAAAAAAAAAC'.
1223
- 'H5BAEAAAQALAAAAAALAAsAAAMlSErTuw1Ix4a8s4mYgxZbE4wf'.
1224
- 'OIzkAJqop64nWm7tULHu0+xLAgA7'.
1225
- '');
1226
-
1227
- if (array_key_exists($_GET['resource'], $resources)) {
1228
-
1229
- $content = base64_decode($resources[ $_GET['resource'] ]);
1230
-
1231
- $lastMod = filemtime(__FILE__);
1232
- $client = ( isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) ? $_SERVER['HTTP_IF_MODIFIED_SINCE'] : FALSE );
1233
- // Checking if the client is validating his cache and if it is current.
1234
- if (isset($client) && (strtotime($client) == $lastMod)) {
1235
- // Client's cache IS current, so we just respond '304 Not Modified'.
1236
- header('Last-Modified: '.gmdate('D, d M Y H:i:s', $lastMod).' GMT', TRUE, 304);
1237
- exit;
1238
- } else {
1239
- // Image not cached or cache outdated, we respond '200 OK' and output the image.
1240
- header('Last-Modified: '.gmdate('D, d M Y H:i:s', $lastMod).' GMT', TRUE, 200);
1241
- header('Content-Length: '.strlen($content));
1242
- header('Content-Type: image/' . substr(strrchr($_GET['resource'], '.'), 1) );
1243
- echo $content;
1244
- exit;
1245
- }
1246
- }
1247
-
1248
- }
1249
-
1250
-
1251
- /**
1252
- * Display Images/ Icons in base64-encoding
1253
- * @return $resourceID
1254
- */
1255
- function _mw_adminimize_get_resource_url($resourceID) {
1256
-
1257
- return trailingslashit( get_bloginfo('url') ) . '?resource=' . $resourceID;
1258
- }
1259
-
1260
-
1261
  /**
1262
  * content of help
1263
- *
1264
- * @package Secure WordPress
1265
  */
1266
- function _mw_adminimize_contextual_help() {
1267
 
1268
- $content = __('<a href="http://wordpress.org/extend/plugins/adminimize/">Documentation</a>', FB_ADMINIMIZE_TEXTDOMAIN );
 
1269
 
1270
- return $content;
 
 
1271
  }
1272
 
1273
 
@@ -1277,15 +1368,16 @@ function _mw_adminimize_contextual_help() {
1277
  function _mw_adminimize_add_settings_page() {
1278
  global $wp_version;
1279
 
1280
- if ( current_user_can('switch_themes') && function_exists('add_submenu_page') ) {
1281
-
1282
- $menutitle = '';
1283
- if ( version_compare( $wp_version, '2.7alpha', '>' ) ) {
1284
- $menutitle = '<img src="' . _mw_adminimize_get_resource_url('adminimize.gif') . '" alt="" />';
1285
- }
1286
- $menutitle .= ' ' . __('Adminimize', FB_ADMINIMIZE_TEXTDOMAIN );
1287
-
1288
- $pagehook = add_submenu_page('options-general.php', __('Adminimize Options', FB_ADMINIMIZE_TEXTDOMAIN ), $menutitle, 'unfiltered_html', __FILE__, '_mw_adminimize_options');
 
1289
  add_action( 'load-' . $pagehook, '_mw_adminimize_on_load_page' );
1290
  add_filter( 'plugin_action_links', '_mw_adminimize_filter_plugin_meta', 10, 2 );
1291
  }
@@ -1295,7 +1387,7 @@ function _mw_adminimize_add_settings_page() {
1295
 
1296
  function _mw_adminimize_on_load_page() {
1297
 
1298
- add_filter( 'contextual_help', '_mw_adminimize_contextual_help' );
1299
 
1300
  wp_enqueue_style( 'adminimize-style' );
1301
  }
@@ -1303,20 +1395,21 @@ function _mw_adminimize_on_load_page() {
1303
 
1304
  /**
1305
  * Set theme for users
 
1306
  */
1307
  function _mw_adminimize_set_theme() {
1308
 
1309
- if ( !current_user_can('edit_users') )
1310
- wp_die(__('Cheatin&#8217; uh?'));
1311
 
1312
  $user_ids = $_POST[mw_adminimize_theme_items];
1313
  $admin_color = htmlspecialchars( stripslashes( $_POST[_mw_adminimize_set_theme] ) );
1314
 
1315
- if ( !$user_ids )
1316
  return FALSE;
1317
 
1318
- foreach( $user_ids as $user_id) {
1319
- update_usermeta($user_id, 'admin_color', $admin_color);
1320
  }
1321
 
1322
  }
@@ -1325,12 +1418,12 @@ function _mw_adminimize_set_theme() {
1325
  /**
1326
  * read otpions
1327
  */
1328
- function _mw_adminimize_getOptionValue($key) {
1329
 
1330
- $adminimizeoptions = get_option('mw_adminimize');
1331
 
1332
- if ( isset($adminimizeoptions[$key]) )
1333
- return ($adminimizeoptions[$key]);
1334
  }
1335
 
1336
 
@@ -1338,220 +1431,247 @@ function _mw_adminimize_getOptionValue($key) {
1338
  * Update options in database
1339
  */
1340
  function _mw_adminimize_update() {
1341
- global $menu, $submenu, $adminimizeoptions;
1342
 
1343
- $user_roles = get_all_user_roles();
1344
-
1345
- if (isset($_POST['_mw_adminimize_user_info'])) {
1346
- $adminimizeoptions['_mw_adminimize_user_info'] = strip_tags(stripslashes($_POST['_mw_adminimize_user_info']));
 
 
1347
  } else {
1348
  $adminimizeoptions['_mw_adminimize_user_info'] = 0;
1349
  }
1350
 
1351
- if (isset($_POST['_mw_adminimize_dashmenu'])) {
1352
- $adminimizeoptions['_mw_adminimize_dashmenu'] = strip_tags(stripslashes($_POST['_mw_adminimize_dashmenu']));
1353
  } else {
1354
  $adminimizeoptions['_mw_adminimize_dashmenu'] = 0;
1355
  }
1356
 
1357
- if (isset($_POST['_mw_adminimize_footer'])) {
1358
- $adminimizeoptions['_mw_adminimize_footer'] = strip_tags(stripslashes($_POST['_mw_adminimize_footer']));
1359
  } else {
1360
  $adminimizeoptions['_mw_adminimize_footer'] = 0;
1361
  }
1362
 
1363
- if (isset($_POST['_mw_adminimize_header'])) {
1364
- $adminimizeoptions['_mw_adminimize_header'] = strip_tags(stripslashes($_POST['_mw_adminimize_header']));
1365
  } else {
1366
  $adminimizeoptions['_mw_adminimize_header'] = 0;
1367
  }
1368
 
1369
- if (isset($_POST['_mw_adminimize_exclude_super_admin'])) {
1370
- $adminimizeoptions['_mw_adminimize_exclude_super_admin'] = strip_tags(stripslashes($_POST['_mw_adminimize_exclude_super_admin']));
1371
  } else {
1372
  $adminimizeoptions['_mw_adminimize_exclude_super_admin'] = 0;
1373
  }
1374
 
1375
- if (isset($_POST['_mw_adminimize_writescroll'])) {
1376
- $adminimizeoptions['_mw_adminimize_writescroll'] = strip_tags(stripslashes($_POST['_mw_adminimize_writescroll']));
1377
  } else {
1378
  $adminimizeoptions['_mw_adminimize_writescroll'] = 0;
1379
  }
1380
 
1381
- if (isset($_POST['_mw_adminimize_tb_window'])) {
1382
- $adminimizeoptions['_mw_adminimize_tb_window'] = strip_tags(stripslashes($_POST['_mw_adminimize_tb_window']));
1383
  } else {
1384
  $adminimizeoptions['_mw_adminimize_tb_window'] = 0;
1385
  }
1386
 
1387
- if (isset($_POST['_mw_adminimize_cat_full'])) {
1388
- $adminimizeoptions['_mw_adminimize_cat_full'] = strip_tags(stripslashes($_POST['_mw_adminimize_cat_full']));
1389
  } else {
1390
  $adminimizeoptions['_mw_adminimize_cat_full'] = 0;
1391
  }
1392
 
1393
- if (isset($_POST['_mw_adminimize_db_redirect'])) {
1394
- $adminimizeoptions['_mw_adminimize_db_redirect'] = strip_tags(stripslashes($_POST['_mw_adminimize_db_redirect']));
1395
  } else {
1396
  $adminimizeoptions['_mw_adminimize_db_redirect'] = 0;
1397
  }
1398
 
1399
- if (isset($_POST['_mw_adminimize_ui_redirect'])) {
1400
- $adminimizeoptions['_mw_adminimize_ui_redirect'] = strip_tags(stripslashes($_POST['_mw_adminimize_ui_redirect']));
1401
  } else {
1402
  $adminimizeoptions['_mw_adminimize_ui_redirect'] = 0;
1403
  }
1404
 
1405
- if (isset($_POST['_mw_adminimize_advice'])) {
1406
- $adminimizeoptions['_mw_adminimize_advice'] = strip_tags(stripslashes($_POST['_mw_adminimize_advice']));
1407
  } else {
1408
  $adminimizeoptions['_mw_adminimize_advice'] = 0;
1409
  }
1410
 
1411
- if (isset($_POST['_mw_adminimize_advice_txt'])) {
1412
- $adminimizeoptions['_mw_adminimize_advice_txt'] = stripslashes($_POST['_mw_adminimize_advice_txt']);
1413
  } else {
1414
  $adminimizeoptions['_mw_adminimize_advice_txt'] = 0;
1415
  }
1416
 
1417
- if (isset($_POST['_mw_adminimize_timestamp'])) {
1418
- $adminimizeoptions['_mw_adminimize_timestamp'] = strip_tags(stripslashes($_POST['_mw_adminimize_timestamp']));
1419
  } else {
1420
  $adminimizeoptions['_mw_adminimize_timestamp'] = 0;
1421
  }
1422
 
1423
- if (isset($_POST['_mw_adminimize_control_flashloader'])) {
1424
- $adminimizeoptions['_mw_adminimize_control_flashloader'] = strip_tags(stripslashes($_POST['_mw_adminimize_control_flashloader']));
1425
  } else {
1426
  $adminimizeoptions['_mw_adminimize_control_flashloader'] = 0;
1427
  }
1428
 
1429
- if (isset($_POST['_mw_adminimize_db_redirect_txt'])) {
1430
- $adminimizeoptions['_mw_adminimize_db_redirect_txt'] = stripslashes($_POST['_mw_adminimize_db_redirect_txt']);
1431
  } else {
1432
  $adminimizeoptions['_mw_adminimize_db_redirect_txt'] = 0;
1433
  }
1434
 
1435
  // menu update
1436
- foreach ($user_roles as $role) {
1437
- if (isset($_POST['mw_adminimize_disabled_menu_'. $role .'_items'])) {
1438
- $adminimizeoptions['mw_adminimize_disabled_menu_'. $role .'_items'] = $_POST['mw_adminimize_disabled_menu_'. $role .'_items'];
1439
  } else {
1440
- $adminimizeoptions['mw_adminimize_disabled_menu_'. $role .'_items'] = array();
1441
  }
1442
 
1443
- if (isset($_POST['mw_adminimize_disabled_submenu_'. $role .'_items'])) {
1444
- $adminimizeoptions['mw_adminimize_disabled_submenu_'. $role .'_items'] = $_POST['mw_adminimize_disabled_submenu_'. $role .'_items'];
1445
  } else {
1446
- $adminimizeoptions['mw_adminimize_disabled_submenu_'. $role .'_items'] = array();
1447
  }
1448
  }
1449
 
1450
  // global_options, metaboxes update
1451
- foreach ($user_roles as $role) {
1452
- if (isset($_POST['mw_adminimize_disabled_global_option_'. $role . '_items'])) {
1453
- $adminimizeoptions['mw_adminimize_disabled_global_option_'. $role . '_items'] = $_POST['mw_adminimize_disabled_global_option_'. $role . '_items'];
1454
  } else {
1455
- $adminimizeoptions['mw_adminimize_disabled_global_option_'. $role . '_items'] = array();
1456
  }
1457
 
1458
- if (isset($_POST['mw_adminimize_disabled_metaboxes_post_'. $role . '_items'])) {
1459
- $adminimizeoptions['mw_adminimize_disabled_metaboxes_post_'. $role . '_items'] = $_POST['mw_adminimize_disabled_metaboxes_post_'. $role . '_items'];
1460
  } else {
1461
- $adminimizeoptions['mw_adminimize_disabled_metaboxes_post_'. $role . '_items'] = array();
1462
  }
1463
 
1464
- if (isset($_POST['mw_adminimize_disabled_metaboxes_page_'. $role . '_items'])) {
1465
- $adminimizeoptions['mw_adminimize_disabled_metaboxes_page_'. $role . '_items'] = $_POST['mw_adminimize_disabled_metaboxes_page_'. $role . '_items'];
1466
  } else {
1467
- $adminimizeoptions['mw_adminimize_disabled_metaboxes_page_'. $role . '_items'] = array();
1468
  }
1469
 
1470
- if (isset($_POST['mw_adminimize_disabled_link_option_'. $role . '_items'])) {
1471
- $adminimizeoptions['mw_adminimize_disabled_link_option_'. $role . '_items'] = $_POST['mw_adminimize_disabled_link_option_'. $role . '_items'];
 
 
 
 
 
 
 
 
1472
  } else {
1473
- $adminimizeoptions['mw_adminimize_disabled_link_option_'. $role . '_items'] = array();
1474
  }
1475
 
1476
  // wp nav menu options
1477
- if (isset($_POST['mw_adminimize_disabled_nav_menu_option_'. $role . '_items'])) {
1478
- $adminimizeoptions['mw_adminimize_disabled_nav_menu_option_'. $role . '_items'] = $_POST['mw_adminimize_disabled_nav_menu_option_'. $role . '_items'];
1479
  } else {
1480
- $adminimizeoptions['mw_adminimize_disabled_nav_menu_option_'. $role . '_items'] = array();
1481
  }
1482
  }
1483
 
1484
  // own options
1485
- if (isset($_POST['_mw_adminimize_own_values'])) {
1486
- $adminimizeoptions['_mw_adminimize_own_values'] = stripslashes($_POST['_mw_adminimize_own_values']);
1487
  } else {
1488
  $adminimizeoptions['_mw_adminimize_own_values'] = 0;
1489
  }
1490
 
1491
- if (isset($_POST['_mw_adminimize_own_options'])) {
1492
- $adminimizeoptions['_mw_adminimize_own_options'] = stripslashes($_POST['_mw_adminimize_own_options']);
1493
  } else {
1494
  $adminimizeoptions['_mw_adminimize_own_options'] = 0;
1495
  }
1496
 
1497
  // own post options
1498
- if (isset($_POST['_mw_adminimize_own_post_values'])) {
1499
- $adminimizeoptions['_mw_adminimize_own_post_values'] = stripslashes($_POST['_mw_adminimize_own_post_values']);
1500
  } else {
1501
  $adminimizeoptions['_mw_adminimize_own_post_values'] = 0;
1502
  }
1503
 
1504
- if (isset($_POST['_mw_adminimize_own_post_options'])) {
1505
- $adminimizeoptions['_mw_adminimize_own_post_options'] = stripslashes($_POST['_mw_adminimize_own_post_options']);
1506
  } else {
1507
  $adminimizeoptions['_mw_adminimize_own_post_options'] = 0;
1508
  }
1509
 
1510
  // own page options
1511
- if (isset($_POST['_mw_adminimize_own_page_values'])) {
1512
- $adminimizeoptions['_mw_adminimize_own_page_values'] = stripslashes($_POST['_mw_adminimize_own_page_values']);
1513
  } else {
1514
  $adminimizeoptions['_mw_adminimize_own_page_values'] = 0;
1515
  }
1516
 
1517
- if (isset($_POST['_mw_adminimize_own_page_options'])) {
1518
- $adminimizeoptions['_mw_adminimize_own_page_options'] = stripslashes($_POST['_mw_adminimize_own_page_options']);
1519
  } else {
1520
  $adminimizeoptions['_mw_adminimize_own_page_options'] = 0;
1521
  }
1522
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1523
  // own link options
1524
- if (isset($_POST['_mw_adminimize_own_link_values'])) {
1525
- $adminimizeoptions['_mw_adminimize_own_link_values'] = stripslashes($_POST['_mw_adminimize_own_link_values']);
1526
  } else {
1527
  $adminimizeoptions['_mw_adminimize_own_link_values'] = 0;
1528
  }
1529
 
1530
- if (isset($_POST['_mw_adminimize_own_link_options'])) {
1531
- $adminimizeoptions['_mw_adminimize_own_link_options'] = stripslashes($_POST['_mw_adminimize_own_link_options']);
1532
  } else {
1533
  $adminimizeoptions['_mw_adminimize_own_link_options'] = 0;
1534
  }
1535
 
1536
  // wp nav menu options
1537
- if (isset($_POST['_mw_adminimize_own_nav_menu_values'])) {
1538
- $adminimizeoptions['_mw_adminimize_own_nav_menu_values'] = stripslashes($_POST['_mw_adminimize_own_nav_menu_values']);
1539
  } else {
1540
  $adminimizeoptions['_mw_adminimize_own_nav_menu_values'] = 0;
1541
  }
1542
 
1543
- if (isset($_POST['_mw_adminimize_own_nav_menu_options'])) {
1544
- $adminimizeoptions['_mw_adminimize_own_nav_menu_options'] = stripslashes($_POST['_mw_adminimize_own_nav_menu_options']);
1545
  } else {
1546
  $adminimizeoptions['_mw_adminimize_own_nav_menu_options'] = 0;
1547
  }
1548
 
 
 
 
1549
  // update
1550
- update_option('mw_adminimize', $adminimizeoptions);
1551
- $adminimizeoptions = get_option('mw_adminimize');
1552
-
1553
  $myErrors = new _mw_adminimize_message_class();
1554
- $myErrors = '<div id="message" class="updated fade"><p>' . $myErrors->get_error('_mw_adminimize_update') . '</p></div>';
1555
  echo $myErrors;
1556
  }
1557
 
@@ -1561,7 +1681,7 @@ function _mw_adminimize_update() {
1561
  */
1562
  function _mw_adminimize_deinstall() {
1563
 
1564
- delete_option('mw_adminimize');
1565
  }
1566
 
1567
 
@@ -1571,21 +1691,25 @@ function _mw_adminimize_deinstall() {
1571
  function _mw_adminimize_install() {
1572
  global $menu, $submenu;
1573
 
1574
- $user_roles = get_all_user_roles();
1575
  $adminimizeoptions = array();
1576
 
1577
- foreach ($user_roles as $role) {
1578
- $adminimizeoptions['mw_adminimize_disabled_menu_'. $role .'_items'] = array();
1579
- $adminimizeoptions['mw_adminimize_disabled_submenu_'. $role .'_items'] = array();
1580
- $adminimizeoptions['mw_adminimize_disabled_global_option_'. $role .'_items'] = array();
1581
- $adminimizeoptions['mw_adminimize_disabled_metaboxes_post_'. $role .'_items'] = array();
1582
- $adminimizeoptions['mw_adminimize_disabled_metaboxes_page_'. $role .'_items'] = array();
 
 
 
 
1583
  }
1584
 
1585
  $adminimizeoptions['mw_adminimize_default_menu'] = $menu;
1586
  $adminimizeoptions['mw_adminimize_default_submenu'] = $submenu;
1587
 
1588
- add_option('mw_adminimize', $adminimizeoptions);
1589
  }
1590
 
1591
  /**
@@ -1594,18 +1718,18 @@ function _mw_adminimize_install() {
1594
  function _mw_adminimize_export() {
1595
  global $wpdb;
1596
 
1597
- $filename = 'adminimize_export-' . date('Y-m-d_G-i-s') . '.seq';
1598
 
1599
- header("Content-Description: File Transfer");
1600
- header("Content-Disposition: attachment; filename=" . urlencode($filename));
1601
- header("Content-Type: application/force-download");
1602
- header("Content-Type: application/octet-stream");
1603
- header("Content-Type: application/download");
1604
- header('Content-Type: text/seq; charset=' . get_option('blog_charset'), TRUE);
1605
  flush();
1606
 
1607
  $export_data = mysql_query("SELECT option_value FROM $wpdb->options WHERE option_name = 'mw_adminimize'");
1608
- $export_data = mysql_result($export_data, 0);
1609
  echo $export_data;
1610
  flush();
1611
  }
@@ -1617,38 +1741,39 @@ function _mw_adminimize_import() {
1617
 
1618
  // check file extension
1619
  $str_file_name = $_FILES['datei']['name'];
1620
- $str_file_ext = explode(".", $str_file_name);
1621
 
1622
- if ($str_file_ext[1] != 'seq') {
1623
  $addreferer = 'notexist';
1624
- } elseif (file_exists($_FILES['datei']['name'])) {
1625
  $addreferer = 'exist';
1626
  } else {
1627
  // path for file
1628
  $str_ziel = WP_CONTENT_DIR . '/' . $_FILES['datei']['name'];
1629
  // transfer
1630
- move_uploaded_file($_FILES['datei']['tmp_name'], $str_ziel);
1631
  // access authorisation
1632
- chmod($str_ziel, 0644);
1633
  // SQL import
1634
- ini_set('default_socket_timeout', 120);
1635
- $import_file = file_get_contents($str_ziel);
1636
 
1637
  _mw_adminimize_deinstall();
1638
- $import_file = unserialize($import_file);
1639
 
1640
- if ( file_exists($str_ziel) )
1641
- unlink($str_ziel);
1642
- update_option('mw_adminimize', $import_file);
1643
- if ( file_exists($str_ziel) )
1644
- unlink($str_ziel);
1645
 
1646
  $addreferer = 'true';
1647
  }
1648
 
1649
  $myErrors = new _mw_adminimize_message_class();
1650
- $myErrors = '<div id="message" class="updated fade"><p>' . $myErrors->get_error('_mw_adminimize_import') . '</p></div>';
 
1651
  echo $myErrors;
1652
  }
1653
 
1654
- ?>
1
  <?php
2
  /**
3
  * @package Adminimize
4
+ * @author Frank Bültge
5
  */
6
 
7
  /*
12
  Description: Visually compresses the administratrive meta-boxes so that more admin page content can be initially seen. The plugin that lets you hide 'unnecessary' items from the WordPress administration menu, for alle roles of your install. You can also hide post meta controls on the edit-area to simplify the interface. It is possible to simplify the admin in different for all roles.
13
  Author: Frank B&uuml;ltge
14
  Author URI: http://bueltge.de/
15
+ Version: 1.7.18
16
  License: GPL
17
  */
18
 
24
 
25
 
26
  global $wp_version;
27
+ if ( ! function_exists( 'add_action' ) || version_compare( $wp_version, "2.5alpha", "<") ) {
28
+ if ( function_exists( 'add_action' ) )
29
  $exit_msg = 'The plugin <em><a href="http://bueltge.de/wordpress-admin-theme-adminimize/674/">Adminimize</a></em> requires WordPress 2.5 or newer. <a href="http://codex.wordpress.org/Upgrading_WordPress">Please update WordPress</a> or delete the plugin.';
30
  else
31
  $exit_msg = '';
32
 
33
+ header( 'Status: 403 Forbidden' );
34
+ header( 'HTTP/1.1 403 Forbidden' );
35
+ exit( $exit_msg );
36
  }
37
 
38
+ if ( function_exists( 'add_action' ) ) {
39
 
40
  // Pre-2.6 compatibility
41
+ if ( ! defined( 'WP_CONTENT_URL' ) )
42
  define( 'WP_CONTENT_URL', get_option( 'siteurl' ) . '/wp-content' );
43
+ if ( ! defined( 'WP_CONTENT_DIR' ) )
44
  define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
45
+ if ( ! defined( 'WP_PLUGIN_URL' ) )
46
  define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' );
47
+ if ( ! defined( 'WP_PLUGIN_DIR' ) )
48
  define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' );
49
 
50
  // plugin definitions
51
  define( 'FB_ADMINIMIZE_BASENAME', plugin_basename( __FILE__ ) );
52
  define( 'FB_ADMINIMIZE_BASEFOLDER', plugin_basename( dirname( __FILE__ ) ) );
53
+ define( 'FB_ADMINIMIZE_TEXTDOMAIN', _mw_adminimize_get_plugin_data( 'TextDomain' ) );
54
+ }
55
+
56
+ function _mw_adminimize_get_plugin_data( $value = 'Version' ) {
57
+
58
+ if ( ! function_exists( 'get_plugin_data' ) )
59
+ require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
60
+
61
+ $plugin_data = get_plugin_data( __FILE__ );
62
+ $plugin_value = $plugin_data[$value];
63
+
64
+ return $plugin_value;
65
  }
66
 
67
  function _mw_adminimize_textdomain() {
68
 
69
+ load_plugin_textdomain( FB_ADMINIMIZE_TEXTDOMAIN, FALSE, dirname( FB_ADMINIMIZE_BASENAME ) . '/languages' );
70
  }
71
 
72
 
76
  }
77
 
78
 
79
+ function _mw_adminimize_recursive_in_array( $needle, $haystack ) {
80
 
81
  if ( '' != $haystack ) {
82
+ foreach ( $haystack as $stalk ) {
83
+ if ( $needle == $stalk ||
84
+ ( is_array( $stalk) &&
85
+ _mw_adminimize_recursive_in_array( $needle, $stalk )
86
+ )
87
+ ) {
88
  return TRUE;
89
  }
90
  }
102
  * constructor
103
  */
104
  function _mw_adminimize_message_class() {
105
+
106
+ $this->localizion_name = FB_ADMINIMIZE_TEXTDOMAIN;
107
  $this->errors = new WP_Error();
108
  $this->initialize_errors();
109
  }
113
  * Parameters - $code (the error code as a string)
114
  * @return Returns an error message
115
  */
116
+ function get_error( $code = '' ) {
117
+
118
+ $errorMessage = $this->errors->get_error_message( $code );
119
+
120
+ if ( $errorMessage == NULL )
121
+ return __( 'Unknown error.', $this->localizion_name );
122
+
123
  return $errorMessage;
124
  }
125
 
127
  * Initializes all the error messages
128
  */
129
  function initialize_errors() {
130
+ $this->errors->add( '_mw_adminimize_update', __( 'The updates were saved.', $this->localizion_name ) );
131
+ $this->errors->add( '_mw_adminimize_access_denied', __( 'You have not enough rights to edit entries in the database.', $this->localizion_name ) );
132
+ $this->errors->add( '_mw_adminimize_import', __( 'All entries in the database were imported.', $this->localizion_name ) );
133
+ $this->errors->add( '_mw_adminimize_deinstall', __( 'All entries in the database were deleted.', $this->localizion_name ) );
134
+ $this->errors->add( '_mw_adminimize_deinstall_yes', __( 'Set the checkbox on deinstall-button.', $this->localizion_name ) );
135
+ $this->errors->add( '_mw_adminimize_get_option', __( 'Can\'t load menu and submenu.', $this->localizion_name ) );
136
+ $this->errors->add( '_mw_adminimize_set_theme', __( 'Backend-Theme was activated!', $this->localizion_name ) );
137
+ $this->errors->add( '_mw_adminimize_load_theme', __( 'Load user data to themes was successful.', $this->localizion_name ) );
138
  }
139
+
140
+ } // end class
141
 
142
 
143
  function _mw_adminimize_exclude_super_admin() {
144
  // exclude super admin
145
+ if ( function_exists( 'is_super_admin' )
146
  && is_super_admin()
147
+ && 1 == _mw_adminimize_get_option_value( '_mw_adminimize_exclude_super_admin' )
148
  )
149
  return TRUE;
150
 
153
 
154
 
155
  /**
156
+ * _mw_adminimize_get_all_user_roles() - Returns an array with all user roles(names) in it.
157
  * Inclusive self defined roles (for example with the 'Role Manager' plugin).
158
  * code by Vincent Weber, www.webRtistik.nl
159
  * @uses $wp_roles
160
  * @return $user_roles
161
  */
162
+ function _mw_adminimize_get_all_user_roles() {
163
  global $wp_roles;
164
 
165
  $user_roles = array();
166
 
167
+ if ( isset( $wp_roles->roles) && is_array( $wp_roles->roles) ) {
168
+ foreach ( $wp_roles->roles as $role => $data) {
169
+ array_push( $user_roles, $role );
170
  //$data contains caps, maybe for later use..
171
  }
172
  }
176
 
177
 
178
  /**
179
+ * _mw_adminimize_get_all_user_roles_names() - Returns an array with all user roles_names in it.
180
  * Inclusive self defined roles (for example with the 'Role Manager' plugin).
181
  * @uses $wp_roles
182
  * @return $user_roles_names
183
  */
184
+ function _mw_adminimize_get_all_user_roles_names() {
185
  global $wp_roles;
186
 
187
  $user_roles_names = array();
188
 
189
+ foreach ( $wp_roles->role_names as $role_name => $data) {
190
+ if ( function_exists( 'translate_user_role' ) )
191
  $data = translate_user_role( $data );
192
  else
193
  $data = translate_with_context( $data );
194
 
195
+ array_push( $user_roles_names, $data );
196
  }
197
 
198
  return $user_roles_names;
205
  */
206
  function _mw_adminimize_control_flashloader() {
207
 
208
+ $_mw_adminimize_control_flashloader = _mw_adminimize_get_option_value( '_mw_adminimize_control_flashloader' );
209
 
210
+ if ( $_mw_adminimize_control_flashloader == '1' ) {
211
  return FALSE;
212
  } else {
213
  return TRUE;
220
  * @uses $pagenow
221
  */
222
  function _mw_adminimize_admin_init() {
223
+ global $pagenow, $post_type, $menu, $submenu, $wp_version;
224
 
225
+ if ( isset( $_GET['post'] ) )
226
+ $post_id = (int) $_GET['post'];
227
+ elseif ( isset( $_POST['post_ID'] ) )
228
+ $post_id = (int) $_POST['post_ID'];
229
+ else
230
+ $post_id = 0;
231
+
232
+ $current_post_type = $post_type;
233
+ if ( ! isset( $current_post_type ) )
234
+ $current_post_type = get_post_type( $post_id );
235
+ if ( ! $current_post_type )
236
+ $current_post_type = str_replace( 'post_type=', '', esc_attr( $_SERVER['QUERY_STRING'] ) );
237
+ if ( ! $current_post_type ) // set hard to post
238
+ $current_post_type = 'post';
239
+
240
+ $user_roles = _mw_adminimize_get_all_user_roles();
241
+
242
+ $adminimizeoptions = get_option( 'mw_adminimize' );
243
+ // pages for post type Post
244
+ $def_post_pages = array( 'edit.php', 'post.php', 'post-new.php' );
245
+ $def_post_types = array( 'post' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
  $disabled_metaboxes_post_all = array();
247
+ // pages for post type Page
248
+ $def_page_pages = array_merge( $def_post_pages, array( 'page-new.php', 'page.php' ) );
249
+ $def_page_types = array( 'page' );
250
  $disabled_metaboxes_page_all = array();
251
+ // pages for custom post types
252
+ $def_custom_pages = $def_post_pages;
253
+ $args = array( 'public' => TRUE, '_builtin' => FALSE );
254
+ $def_custom_types = get_post_types( $args );
255
+ // pages for link pages
256
+ $link_pages = array( 'link-manager.php', 'link-add.php', 'edit-link-categories.php' );
257
+ // pages for nav menu
258
+ $nav_menu_pages = array( 'nav-menus.php' );
259
+ // get admin color for current user
260
+ $_mw_admin_color = get_user_option( 'admin_color' );
261
+
262
+ foreach ( $user_roles as $role ) {
263
+ $disabled_global_option_[$role] = _mw_adminimize_get_option_value(
264
+ 'mw_adminimize_disabled_global_option_' . $role . '_items'
265
+ );
266
+ $disabled_metaboxes_post_[$role] = _mw_adminimize_get_option_value(
267
+ 'mw_adminimize_disabled_metaboxes_post_' . $role . '_items'
268
+ );
269
+ $disabled_metaboxes_page_[$role] = _mw_adminimize_get_option_value(
270
+ 'mw_adminimize_disabled_metaboxes_page_' . $role . '_items'
271
+ );
272
+ foreach ( $def_custom_types as $post_type ) {
273
+ $disabled_metaboxes_[$post_type . '_' . $role] = _mw_adminimize_get_option_value(
274
+ 'mw_adminimize_disabled_metaboxes_' . $post_type . '_' . $role . '_items'
275
+ );
276
+ }
277
+ $disabled_link_option_[$role] = _mw_adminimize_get_option_value(
278
+ 'mw_adminimize_disabled_link_option_' . $role . '_items'
279
+ );
280
+ $disabled_nav_menu_option_[$role] = _mw_adminimize_get_option_value(
281
+ 'mw_adminimize_disabled_nav_menu_option_' . $role . '_items'
282
+ );
283
+ array_push( $disabled_metaboxes_post_all, $disabled_metaboxes_post_[$role] );
284
+ array_push( $disabled_metaboxes_page_all, $disabled_metaboxes_page_[$role] );
285
  }
286
 
287
+ // global options
 
 
288
  // exclude super admin
289
  if ( ! _mw_adminimize_exclude_super_admin() ) {
290
+ $_mw_adminimize_footer = _mw_adminimize_get_option_value( '_mw_adminimize_footer' );
291
+ switch ( $_mw_adminimize_footer) {
292
  case 1:
293
+ wp_enqueue_script(
294
+ '_mw_adminimize_remove_footer',
295
+ WP_PLUGIN_URL . '/' . FB_ADMINIMIZE_BASEFOLDER . '/js/remove_footer.js',
296
+ array( 'jquery' )
297
+ );
298
  break;
299
  }
300
 
301
+ $_mw_adminimize_header = _mw_adminimize_get_option_value( '_mw_adminimize_header' );
302
+ switch ( $_mw_adminimize_header) {
303
  case 1:
304
+ wp_enqueue_script(
305
+ '_mw_adminimize_remove_header',
306
+ WP_PLUGIN_URL . '/' . FB_ADMINIMIZE_BASEFOLDER . '/js/remove_header.js',
307
+ array( 'jquery' )
308
+ );
309
  break;
310
  }
311
 
312
  //post-page options
313
+ if ( in_array( $pagenow, $def_post_pages ) ) {
 
314
 
315
+ $_mw_adminimize_writescroll = _mw_adminimize_get_option_value( '_mw_adminimize_writescroll' );
316
+ switch ( $_mw_adminimize_writescroll ) {
317
  case 1:
318
+ wp_enqueue_script( '_mw_adminimize_writescroll', WP_PLUGIN_URL . '/' . FB_ADMINIMIZE_BASEFOLDER . '/js/writescroll.js', array( 'jquery' ) );
319
  break;
320
  }
321
+ $_mw_adminimize_tb_window = _mw_adminimize_get_option_value( '_mw_adminimize_tb_window' );
322
+ switch ( $_mw_adminimize_tb_window) {
323
  case 1:
324
+ wp_deregister_script( 'media-upload' );
325
+ wp_enqueue_script(
326
+ 'media-upload',
327
+ WP_PLUGIN_URL . '/' . FB_ADMINIMIZE_BASEFOLDER . '/js/tb_window.js',
328
+ array( 'thickbox' )
329
+ );
330
  break;
331
  }
332
+ $_mw_adminimize_timestamp = _mw_adminimize_get_option_value( '_mw_adminimize_timestamp' );
333
+ switch ( $_mw_adminimize_timestamp) {
334
  case 1:
335
+ wp_enqueue_script(
336
+ '_mw_adminimize_timestamp',
337
+ WP_PLUGIN_URL . '/' . FB_ADMINIMIZE_BASEFOLDER . '/js/timestamp.js',
338
+ array( 'jquery' )
339
+ );
340
  break;
341
  }
342
 
343
  //category options
344
+ $_mw_adminimize_cat_full = _mw_adminimize_get_option_value( '_mw_adminimize_cat_full' );
345
+ switch ( $_mw_adminimize_cat_full ) {
346
  case 1:
347
+ wp_enqueue_style(
348
+ 'adminimize-ful-category',
349
+ WP_PLUGIN_URL . '/' . FB_ADMINIMIZE_BASEFOLDER . '/css/mw_cat_full.css'
350
+ );
351
  break;
352
  }
353
 
354
  // set default editor tinymce
355
+ if ( _mw_adminimize_recursive_in_array(
356
+ '#editor-toolbar #edButtonHTML, #quicktags',
357
+ $disabled_metaboxes_page_all
358
+ )
359
+ || _mw_adminimize_recursive_in_array(
360
+ '#editor-toolbar #edButtonHTML, #quicktags',
361
+ $disabled_metaboxes_post_all
362
+ ) )
363
+ add_filter( 'wp_default_editor', create_function( '', 'return "tinymce";' ) );
364
 
365
  // remove media bottons
366
+ if ( _mw_adminimize_recursive_in_array( 'media_buttons', $disabled_metaboxes_page_all )
367
+ || _mw_adminimize_recursive_in_array( 'media_buttons', $disabled_metaboxes_post_all ) )
368
+ remove_action( 'media_buttons', 'media_buttons' );
369
 
370
+ //add_filter( 'image_downsize', '_mw_adminimize_image_downsize', 1, 3);
371
  }
372
 
373
+ $_mw_adminimize_control_flashloader = _mw_adminimize_get_option_value( '_mw_adminimize_control_flashloader' );
374
+ switch ( $_mw_adminimize_control_flashloader) {
375
  case 1:
376
  add_filter( 'flash_uploader', '_mw_adminimize_control_flashloader', 1 );
377
  break;
378
  }
379
  }
380
 
381
+ // set menu option
382
+ add_action( 'admin_head', '_mw_adminimize_set_menu_option', 1 );
383
+ // global_options
384
+ add_action( 'admin_head', '_mw_adminimize_set_global_option', 1 );
385
+
386
+ // set metabox post option
387
+ if ( in_array( $pagenow, $def_post_pages ) && in_array( $current_post_type, $def_post_types) )
388
+ add_action( 'admin_head', '_mw_adminimize_set_metabox_post_option', 1 );
389
+ // set metabox page option
390
+ if ( in_array( $pagenow, $def_page_pages ) && in_array( $current_post_type, $def_page_types) )
391
+ add_action( 'admin_head', '_mw_adminimize_set_metabox_page_option', 1 );
392
+ // set custom post type options
393
+ if ( function_exists( 'get_post_types' ) &&
394
+ in_array( $pagenow, $def_custom_pages ) &&
395
+ in_array( $current_post_type, $def_custom_types)
396
+ )
397
+ add_action( 'admin_head', '_mw_adminimize_set_metabox_cp_option', 1 );
398
+ // set link option
399
+ if ( in_array( $pagenow, $link_pages ) )
400
+ add_action( 'admin_head', '_mw_adminimize_set_link_option', 1 );
401
+ // set wp nav menu options
402
+ if ( in_array( $pagenow, $nav_menu_pages ) )
403
+ add_action( 'admin_head', '_mw_adminimize_set_nav_menu_option', 1 );
404
+
405
+ add_action( 'in_admin_footer', '_mw_adminimize_admin_footer' );
406
+
407
+ $adminimizeoptions['mw_adminimize_default_menu'] = $menu;
408
+ $adminimizeoptions['mw_adminimize_default_submenu'] = $submenu;
409
+
410
+ // if custom design of Adminimize; kill with version 1.7.18
411
+ if ( ( $_mw_admin_color == 'mw_fresh' ) ||
412
+ ( $_mw_admin_color == 'mw_classic' ) ||
413
+ ( $_mw_admin_color == 'mw_colorblind' ) ||
414
+ ( $_mw_admin_color == 'mw_grey' ) ||
415
+ ( $_mw_admin_color == 'mw_fresh_ozh_am' ) ||
416
+ ( $_mw_admin_color == 'mw_classic_ozh_am' ) ||
417
+ ( $_mw_admin_color == 'mw_fresh_lm' ) ||
418
+ ( $_mw_admin_color == 'mw_classic_lm' ) ||
419
+ ( $_mw_admin_color == 'mw_wp23' )
420
+ ) {
421
 
422
  // only posts
423
+ if ( ( 'post-new.php' == $pagenow ) ||
424
+ ( 'post.php' == $pagenow ) ||
425
+ ( 'post' == $post_type )
426
+ ) {
427
+ if ( version_compare( substr( $wp_version, 0, 3), '2.7', '<' ) )
428
+ add_action( 'admin_head', '_mw_adminimize_remove_box', 99 );
 
429
 
430
  // check for array empty
431
+ if ( !isset( $disabled_metaboxes_post_['editor']['0'] ) )
432
  $disabled_metaboxes_post_['editor']['0'] = '';
433
+ if ( isset( $disabled_metaboxes_post_['administrator']['0'] ) )
434
  $disabled_metaboxes_post_['administrator']['0'] = '';
435
+ if ( version_compare(substr( $wp_version, 0, 3), '2.7', '<' ) ) {
436
+ if ( !_mw_adminimize_recursive_in_array( '#categorydivsb', $disabled_metaboxes_post_all ) )
437
+ add_action( 'submitpost_box', '_mw_adminimize_sidecat_list_category_box' );
438
+ if ( !_mw_adminimize_recursive_in_array( '#tagsdivsb', $disabled_metaboxes_post_all ) )
439
+ add_action( 'submitpost_box', '_mw_adminimize_sidecat_list_tag_box' );
440
  }
441
  }
442
 
443
  // only pages
444
+ if ( ( 'page-new.php' == $pagenow ) ||
445
+ ( 'page.php' == $pagenow ) ||
446
+ ( 'post_type=page' == esc_attr( $_SERVER['QUERY_STRING'] ) ) ||
447
+ ( 'page' == $post_type )
448
+ ) {
 
 
449
  // check for array empty
450
+ if ( !isset( $disabled_metaboxes_page_['editor']['0'] ) )
451
  $disabled_metaboxes_page_['editor']['0'] = '';
452
+ if ( isset( $disabled_metaboxes_page_['administrator']['0'] ) )
453
  $disabled_metaboxes_page_['administrator']['0'] = '';
454
  }
455
 
456
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
457
  }
458
 
459
  // on init of WordPress
 
 
460
  add_action( 'init', '_mw_adminimize_remove_admin_bar' );
461
 
462
  // on admin init
463
+ add_action( 'admin_init', '_mw_adminimize_textdomain' );
464
+ add_action( 'admin_init', '_mw_adminimize_register_styles', 1 );
465
+ add_action( 'admin_init', '_mw_adminimize_admin_init', 2 );
466
  add_action( 'admin_menu', '_mw_adminimize_add_settings_page' );
467
  add_action( 'admin_menu', '_mw_adminimize_remove_dashboard' );
468
+ if ( version_compare( $wp_version, '3.2alpha', '<=' ) )
469
+ add_action( 'admin_init', '_mw_adminimize_admin_styles', 1 );
470
 
471
  register_activation_hook( __FILE__, '_mw_adminimize_install' );
472
  register_uninstall_hook( __FILE__, '_mw_adminimize_deinstall' );
473
+ //register_deactivation_hook(__FILE__, '_mw_adminimize_deinstall' );
474
 
475
 
476
  /**
479
  * http://www.wp-fun.co.uk/
480
  * @param $value, $id, $size
481
  */
482
+ function _mw_adminimize_image_downsize( $value = FALSE, $id = 0, $size = 'medium' ) {
483
 
484
+ if ( ! wp_attachment_is_image( $id ) )
485
  return FALSE;
486
 
487
+ $img_url = wp_get_attachment_url( $id);
488
 
489
  // Mimic functionality in image_downsize function in wp-includes/media.php
490
+ if ( $intermediate = image_get_intermediate_size( $id, $size ) ) {
491
+ $img_url = str_replace( basename( $img_url ), $intermediate['file'], $img_url );
492
  } elseif ( $size == 'thumbnail' ) {
493
  // fall back to the old thumbnail
494
+ if ( $thumb_file = wp_get_attachment_thumb_file() && $info = getimagesize( $thumb_file ) ) {
495
+ $img_url = str_replace( basename( $img_url ), basename( $thumb_file ), $img_url );
496
  }
497
  }
498
 
499
+ if ( $img_url )
500
+ return array( $img_url, 0, 0);
501
 
502
  return FALSE;
503
  }
514
  <div class="inside" id="categorydivsb">
515
  <p><strong><?php _e("Categories"); ?></strong></p>
516
  <ul id="categorychecklist" class="list:category categorychecklist form-no-clear">
517
+ <?php wp_category_checklist( $post_ID); ?>
518
  </ul>
519
+ <?php if ( !defined( 'WP_PLUGIN_DIR' ) ) { // for wp <2.6 ?>
520
  <div id="category-adder" class="wp-hidden-children">
521
  <h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a></h4>
522
  <p id="category-add" class="wp-hidden-child">
523
  <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" tabindex="3" />
524
+ <?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __( 'Parent category' ), 'tab_index' => 3 ) ); ?>
525
  <input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _e( 'Add' ); ?>" tabindex="3" />
526
  <?php wp_nonce_field( 'add-category', '_ajax_nonce', FALSE ); ?>
527
  <span id="category-ajax-response"></span>
533
  <p id="category-add" class="wp-hidden-child">
534
  <label class="hidden" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php _e( 'New category name' ); ?>" tabindex="3" aria-required="TRUE"/>
535
  <br />
536
+ <label class="hidden" for="newcat_parent"><?php _e( 'Parent category' ); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __( 'Parent category' ), 'tab_index' => 3 ) ); ?>
537
  <input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php _e( 'Add' ); ?>" tabindex="3" />
538
  <?php wp_nonce_field( 'add-category', '_ajax_nonce', FALSE ); ?>
539
  <span id="category-ajax-response"></span>
552
  function _mw_adminimize_sidecat_list_tag_box() {
553
  global $post_ID;
554
 
555
+ if ( !class_exists( 'SimpleTagsAdmin' ) ) {
556
  ?>
557
  <div class="inside" id="tagsdivsb">
558
+ <p><strong><?php _e( 'Tags' ); ?></strong></p>
559
+ <p id="jaxtag"><label class="hidden" for="newtag"><?php _e( 'Tags' ); ?></label><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post_ID); ?>" /></p>
560
  <div id="tagchecklist"></div>
561
  </div>
562
  <?php
570
  */
571
  function _mw_adminimize_remove_box() {
572
 
573
+ if ( function_exists( 'remove_meta_box' ) ) {
574
+ if ( !class_exists( 'SimpleTagsAdmin' ) )
575
+ remove_meta_box( 'tagsdiv', 'post', 'normal' );
576
 
577
+ remove_meta_box( 'categorydiv', 'post', 'normal' );
578
  } else {
579
  $_mw_adminimize_sidecat_admin_head = "\n" . '<script type="text/javascript">' . "\n";
580
+ $_mw_adminimize_sidecat_admin_head .= "\t" . 'jQuery(document).ready(function() { jQuery(\'#categorydiv\' ).remove(); });' . "\n";
581
+ $_mw_adminimize_sidecat_admin_head .= "\t" . 'jQuery(document).ready(function() { jQuery(\'#tagsdiv\' ).remove(); });' . "\n";
582
  $_mw_adminimize_sidecat_admin_head .= '</script>' . "\n";
583
 
584
  echo $_mw_adminimize_sidecat_admin_head;
590
  * add new adminstyle to usersettings
591
  * @param $file
592
  */
593
+ function _mw_adminimize_admin_styles( $file ) {
594
  global $wp_version;
595
 
596
  $_mw_adminimize_path = WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/';
598
  if ( version_compare( $wp_version, '3.0alpha', '>=' ) ) {
599
 
600
  // MW Adminimize Classic Tweak
601
+ $styleName = 'Adminimize:' . ' Tweak ' . __( 'Blue' );
602
  wp_admin_css_color (
603
  'mw_classic_tweak', $styleName, $_mw_adminimize_path . 'mw_classic28_tweak.css',
604
+ array( '#073447', '#21759b', '#eaf3fa', '#bbd8e7' )
605
  );
606
 
607
  // MW Adminimize Fresh Tweak
608
+ $styleName = 'Adminimize:' . ' Tweak ' . __( 'Gray' );
609
  wp_admin_css_color (
610
  'mw_fresh_tweak', $styleName, $_mw_adminimize_path . 'mw_fresh28_tweak.css',
611
+ array( '#464646', '#6d6d6d', '#f1f1f1', '#dfdfdf' )
612
  );
613
 
614
  }
615
 
616
  if ( version_compare( $wp_version, '2.7alpha', '>=' ) && version_compare( $wp_version, '3.0alpha', '<' ) ) {
617
  // MW Adminimize Classic
618
+ $styleName = 'Adminimize:' . ' ' . __( 'Blue' );
619
  wp_admin_css_color (
620
  'mw_classic', $styleName, $_mw_adminimize_path . 'mw_classic27.css',
621
+ array( '#073447', '#21759b', '#eaf3fa', '#bbd8e7' )
622
  );
623
 
624
  // MW Adminimize Fresh
625
+ $styleName = 'Adminimize:' . ' ' . __( 'Gray' );
626
  wp_admin_css_color (
627
  'mw_fresh', $styleName, $_mw_adminimize_path . 'mw_fresh27.css',
628
+ array( '#464646', '#6d6d6d', '#f1f1f1', '#dfdfdf' )
629
  );
630
 
631
  // MW Adminimize Classic Fixed
632
+ $styleName = 'Adminimize:' . ' Fixed ' . __( 'Blue' );
633
  wp_admin_css_color (
634
  'mw_classic_fixed', $styleName, $_mw_adminimize_path . 'mw_classic28_fixed.css',
635
+ array( '#073447', '#21759b', '#eaf3fa', '#bbd8e7' )
636
  );
637
 
638
  // MW Adminimize Fresh Fixed
639
+ $styleName = 'Adminimize:' . ' Fixed ' . __( 'Gray' );
640
  wp_admin_css_color (
641
  'mw_fresh_fixed', $styleName, $_mw_adminimize_path . 'mw_fresh28_fixed.css',
642
+ array( '#464646', '#6d6d6d', '#f1f1f1', '#dfdfdf' )
643
  );
644
 
645
  // MW Adminimize Classic Tweak
646
+ $styleName = 'Adminimize:' . ' Tweak ' . __( 'Blue' );
647
  wp_admin_css_color (
648
  'mw_classic_tweak', $styleName, $_mw_adminimize_path . 'mw_classic28_tweak.css',
649
+ array( '#073447', '#21759b', '#eaf3fa', '#bbd8e7' )
650
  );
651
 
652
  // MW Adminimize Fresh Tweak
653
+ $styleName = 'Adminimize:' . ' Tweak ' . __( 'Gray' );
654
  wp_admin_css_color (
655
  'mw_fresh_tweak', $styleName, $_mw_adminimize_path . 'mw_fresh28_tweak.css',
656
+ array( '#464646', '#6d6d6d', '#f1f1f1', '#dfdfdf' )
657
  );
658
 
659
  } elseif ( version_compare( $wp_version, '2.7alpha', '<' ) ) {
660
  // MW Adminimize Classic
661
+ $styleName = 'MW Adminimize:' . ' ' . __( 'Classic' );
662
  wp_admin_css_color (
663
  'mw_classic', $styleName, $_mw_adminimize_path . 'mw_classic.css',
664
+ array( '#07273E', '#14568A', '#D54E21', '#2683AE' )
665
  );
666
 
667
  // MW Adminimize Fresh
668
+ $styleName = 'MW Adminimize:' . ' ' . __( 'Fresh' );
669
  wp_admin_css_color (
670
  'mw_fresh', $styleName, $_mw_adminimize_path . 'mw_fresh.css',
671
+ array( '#464646', '#CEE1EF', '#D54E21', '#2683AE' )
672
  );
673
 
674
  // MW Adminimize WordPress 2.3
675
+ $styleName = 'MW Adminimize:' . ' ' . __( 'WordPress 2.3' );
676
  wp_admin_css_color (
677
  'mw_wp23', $styleName, $_mw_adminimize_path . 'mw_wp23.css',
678
+ array( '#000000', '#14568A', '#448ABD', '#83B4D8' )
679
  );
680
 
681
  // MW Adminimize Colorblind
682
+ $styleName = 'MW Adminimize:' . ' ' . __( 'Maybe i\'m colorblind' );
683
  wp_admin_css_color (
684
  'mw_colorblind', $styleName, $_mw_adminimize_path . 'mw_colorblind.css',
685
+ array( '#FF9419', '#F0720C', '#710001', '#550007', '#CF4529' )
686
  );
687
 
688
  // MW Adminimize Grey
689
+ $styleName = 'MW Adminimize:' . ' ' . __( 'Grey' );
690
  wp_admin_css_color (
691
  'mw_grey', $styleName, $_mw_adminimize_path . 'mw_grey.css',
692
+ array( '#000000', '#787878', '#F0F0F0', '#D8D8D8', '#909090' )
693
  );
694
  }
695
  /**
697
  * by Ozh
698
  * http://planetozh.com/blog/my-projects/wordpress-admin-menu-drop-down-css/
699
  */
700
+ if ( function_exists( 'wp_ozh_adminmenu' ) ) {
701
 
702
  // MW Adminimize Classic include ozh adminmenu
703
+ $styleName = 'MW Adminimize inc. Admin Drop Down Menu' . ' ' . __( 'Classic' );
704
  wp_admin_css_color (
705
  'mw_classic_ozh_am', $styleName, $_mw_adminimize_path . 'mw_classic_ozh_am.css',
706
+ array( '#07273E', '#14568A', '#D54E21', '#2683AE' )
707
  );
708
 
709
  // MW Adminimize Fresh include ozh adminmenu
710
+ $styleName = 'MW Adminimize inc. Admin Drop Down Menu' . ' ' . __( 'Fresh' );
711
  wp_admin_css_color (
712
  'mw_fresh_ozh_am', $styleName, $_mw_adminimize_path . 'mw_fresh_ozh_am.css',
713
+ array( '#464646', '#CEE1EF', '#D54E21', '#2683AE' )
714
  );
715
 
716
  }
720
  * by corpodibacco
721
  * http://www.italyisfalling.com/lighter-menus
722
  */
723
+ if ( function_exists( 'lm_build' ) ) {
724
 
725
  // MW Adminimize Classic include Lighter Menus
726
+ $styleName = 'MW Adminimize inc. Lighter Menus' . ' ' . __( 'Classic' );
727
  wp_admin_css_color (
728
  'mw_classic_lm', $styleName, $_mw_adminimize_path . 'mw_classic_lm.css',
729
+ array( '#07273E', '#14568A', '#D54E21', '#2683AE' )
730
  );
731
 
732
  // MW Adminimize Fresh include Lighter Menus
733
+ $styleName = 'MW Adminimize inc. Lighter Menus' . ' ' . __( 'Fresh' );
734
  wp_admin_css_color (
735
  'mw_fresh_lm', $styleName, $_mw_adminimize_path . 'mw_fresh_lm.css',
736
+ array( '#464646', '#CEE1EF', '#D54E21', '#2683AE' )
737
  );
738
 
739
  }
748
  function _mw_adminimize_remove_dashboard() {
749
  global $menu, $submenu, $user_ID, $wp_version;
750
 
751
+ $user_roles = _mw_adminimize_get_all_user_roles();
752
 
753
+ foreach ( $user_roles as $role ) {
754
+ $disabled_menu_[$role] = _mw_adminimize_get_option_value( 'mw_adminimize_disabled_menu_' . $role . '_items' );
755
+ $disabled_submenu_[$role] = _mw_adminimize_get_option_value( 'mw_adminimize_disabled_submenu_' . $role . '_items' );
756
  }
757
 
758
  $disabled_menu_all = array();
759
  $disabled_submenu_all = array();
760
 
761
+ foreach ( $user_roles as $role ) {
762
+ array_push( $disabled_menu_all, $disabled_menu_[$role] );
763
+ array_push( $disabled_submenu_all, $disabled_submenu_[$role] );
764
  }
765
 
766
  // remove dashboard
767
  if ( $disabled_menu_all != '' || $disabled_submenu_all != '' ) {
768
 
769
+ foreach ( $user_roles as $role ) {
770
 
771
+ if ( current_user_can( $role ) ) {
772
+ if ( _mw_adminimize_recursive_in_array( 'index.php', $disabled_menu_[$role] ) || _mw_adminimize_recursive_in_array( 'index.php', $disabled_submenu_[$role] ) )
773
  $redirect = TRUE;
774
  else
775
  $redirect = FALSE;
777
  }
778
 
779
  if ( $redirect ) {
780
+ $_mw_adminimize_db_redirect = _mw_adminimize_get_option_value( '_mw_adminimize_db_redirect' );
781
+ $_mw_adminimize_db_redirect_admin_url = get_option( 'siteurl' ) . '/wp-admin/';
782
+ switch ( $_mw_adminimize_db_redirect) {
783
  case 0:
784
  $_mw_adminimize_db_redirect = $_mw_adminimize_db_redirect_admin_url . 'profile.php';
785
  break;
799
  $_mw_adminimize_db_redirect = $_mw_adminimize_db_redirect_admin_url . 'edit-comments.php';
800
  break;
801
  case 6:
802
+ $_mw_adminimize_db_redirect = _mw_adminimize_get_option_value( '_mw_adminimize_db_redirect_txt' );
803
  break;
804
  }
805
 
806
  // fallback for WP smaller 3.0
807
+ if ( version_compare( $wp_version, "3.0alpha", "<") && 'edit.php?post_type=page' == $_mw_adminimize_db_redirect )
808
  $_mw_adminimize_db_redirect = 'edit-pages.php';
809
 
810
+ $the_user = new WP_User( $user_ID);
811
+ reset( $menu);
812
+ $page = key( $menu);
813
 
814
+ while ( (__( 'Dashboard' ) != $menu[$page][0] ) && next( $menu) || (__( 'Dashboard' ) != $menu[$page][1] ) && next( $menu) )
815
+ $page = key( $menu);
816
 
817
+ if (__( 'Dashboard' ) == $menu[$page][0] || __( 'Dashboard' ) == $menu[$page][1] )
818
+ unset( $menu[$page] );
819
+ reset( $menu); $page = key( $menu);
820
 
821
+ while ( !$the_user->has_cap( $menu[$page][1] ) && next( $menu) )
822
+ $page = key( $menu);
823
 
824
+ if ( preg_match( '#wp-admin/?(index.php)?$#', $_SERVER['REQUEST_URI'] ) ) {
825
  wp_redirect( $_mw_adminimize_db_redirect );
826
  }
827
  }
848
  if ( _mw_adminimize_exclude_super_admin() )
849
  return NULL;
850
 
851
+ $user_roles = _mw_adminimize_get_all_user_roles();
852
 
853
+ foreach ( $user_roles as $role ) {
854
+ $disabled_menu_[$role] = _mw_adminimize_get_option_value( 'mw_adminimize_disabled_menu_' . $role . '_items' );
855
+ $disabled_submenu_[$role] = _mw_adminimize_get_option_value( 'mw_adminimize_disabled_submenu_' . $role . '_items' );
856
  }
857
 
858
  $_mw_adminimize_admin_head = "\n";
859
+ $_mw_adminimize_user_info = _mw_adminimize_get_option_value( '_mw_adminimize_user_info' );
860
+ $_mw_adminimize_ui_redirect = _mw_adminimize_get_option_value( '_mw_adminimize_ui_redirect' );
861
 
862
+ switch ( $_mw_adminimize_user_info) {
863
  case 1:
864
  $_mw_adminimize_admin_head .= '<script type="text/javascript">' . "\n";
865
+ $_mw_adminimize_admin_head .= "\t" . 'jQuery(document).ready(function() { jQuery(\'#user_info\' ).remove(); });' . "\n";
866
  $_mw_adminimize_admin_head .= '</script>' . "\n";
867
  break;
868
  case 2:
869
+ if ( version_compare( $wp_version, "3.2alpha", ">=") ) {
870
+ if ( function_exists( 'is_admin_bar_showing' ) && is_admin_bar_showing() )
871
+ $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info31.css" type="text/css" />' . "\n";
872
+ $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info32.css" type="text/css" />' . "\n";
873
+ } elseif ( version_compare( $wp_version, "3.0alpha", ">=") ) {
874
+ if ( function_exists( 'is_admin_bar_showing' ) && is_admin_bar_showing() )
875
+ $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info31.css" type="text/css" />' . "\n";
876
  $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info30.css" type="text/css" />' . "\n";
877
+ } elseif ( version_compare(substr( $wp_version, 0, 3), '2.7', '>=' ) ) {
878
  $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info27.css" type="text/css" />' . "\n";
879
  } else {
880
  $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info.css" type="text/css" />' . "\n";
881
  }
882
  $_mw_adminimize_admin_head .= '<script type="text/javascript">' . "\n";
883
+ $_mw_adminimize_admin_head .= "\t" . 'jQuery(document).ready(function() { jQuery(\'#user_info\' ).remove();';
884
+ if ( $_mw_adminimize_ui_redirect == '1' ) {
885
+ $_mw_adminimize_admin_head .= 'jQuery(\'div#wpcontent\' ).after(\'<div id="small_user_info"><p><a href="' . get_option( 'siteurl' ) . wp_nonce_url( ( '/wp-login.php?action=logout&amp;redirect_to=' ) . get_option( 'siteurl' ) , 'log-out' ) . '" title="' . __( 'Log Out' ) . '">' . __( 'Log Out' ) . '</a></p></div>\' ) });' . "\n";
886
  } else {
887
+ $_mw_adminimize_admin_head .= 'jQuery(\'div#wpcontent\' ).after(\'<div id="small_user_info"><p><a href="' . get_option( 'siteurl' ) . wp_nonce_url( ( '/wp-login.php?action=logout' ) , 'log-out' ) . '" title="' . __( 'Log Out' ) . '">' . __( 'Log Out' ) . '</a></p></div>\' ) });' . "\n";
888
  }
889
  $_mw_adminimize_admin_head .= '</script>' . "\n";
890
  break;
891
  case 3:
892
+ if ( version_compare( $wp_version, "3.2alpha", ">=") ) {
893
+ if ( function_exists( 'is_admin_bar_showing' ) && is_admin_bar_showing() )
894
+ $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info31.css" type="text/css" />' . "\n";
895
+ $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info32.css" type="text/css" />' . "\n";
896
+ } elseif ( version_compare( $wp_version, "3.0alpha", ">=") ) {
897
+ if ( function_exists( 'is_admin_bar_showing' ) && is_admin_bar_showing() )
898
+ $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info31.css" type="text/css" />' . "\n";
899
  $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info30.css" type="text/css" />' . "\n";
900
+ } elseif ( version_compare(substr( $wp_version, 0, 3), '2.7', '>=' ) ) {
901
  $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info27.css" type="text/css" />' . "\n";
902
  } else {
903
  $_mw_adminimize_admin_head .= '<link rel="stylesheet" href="' . WP_PLUGIN_URL . '/' . plugin_basename( dirname(__FILE__) ) . '/css/mw_small_user_info.css" type="text/css" />' . "\n";
904
  }
905
  $_mw_adminimize_admin_head .= '<script type="text/javascript">' . "\n";
906
+ $_mw_adminimize_admin_head .= "\t" . 'jQuery(document).ready(function() { jQuery(\'#user_info\' ).remove();';
907
+ if ( $_mw_adminimize_ui_redirect == '1' ) {
908
+ $_mw_adminimize_admin_head .= 'jQuery(\'div#wpcontent\' ).after(\'<div id="small_user_info"><p><a href="' . get_option( 'siteurl' ) . ( '/wp-admin/profile.php' ) . '">' . $user_identity . '</a> | <a href="' . get_option( 'siteurl' ) . wp_nonce_url( ( '/wp-login.php?action=logout&amp;redirect_to=' ) . get_option( 'siteurl' ), 'log-out' ) . '" title="' . __( 'Log Out' ) . '">' . __( 'Log Out' ) . '</a></p></div>\' ) });' . "\n";
909
  } else {
910
+ $_mw_adminimize_admin_head .= 'jQuery(\'div#wpcontent\' ).after(\'<div id="small_user_info"><p><a href="' . get_option( 'siteurl' ) . ( '/wp-admin/profile.php' ) . '">' . $user_identity . '</a> | <a href="' . get_option( 'siteurl' ) . wp_nonce_url( ( '/wp-login.php?action=logout' ), 'log-out' ) . '" title="' . __( 'Log Out' ) . '">' . __( 'Log Out' ) . '</a></p></div>\' ) });' . "\n";
911
  }
912
  $_mw_adminimize_admin_head .= '</script>' . "\n";
913
  break;
917
  if ( '' != $disabled_menu_['editor'] ) {
918
 
919
  // set admin-menu
920
+ foreach ( $user_roles as $role ) {
921
  $user = wp_get_current_user();
922
+ if ( is_array( $user->roles) && in_array( $role, $user->roles) ) {
923
+ if ( current_user_can( $role ) ) {
924
  $mw_adminimize_menu = $disabled_menu_[$role];
925
  $mw_adminimize_submenu = $disabled_submenu_[$role];
926
  }
928
  }
929
 
930
  // fallback on users.php on all userroles smaller admin
931
+ if ( is_array( $mw_adminimize_menu) && in_array( 'users.php', $mw_adminimize_menu) )
932
  $mw_adminimize_menu[] = 'profile.php';
933
 
934
+ if ( isset( $menu) && !empty( $menu) ) {
935
+ foreach ( $menu as $index => $item) {
936
  if ( 'index.php' === $item )
937
  continue;
938
 
939
+ if ( isset( $mw_adminimize_menu) && in_array( $item[2], $mw_adminimize_menu) ) {
940
+ unset( $menu[$index] );
941
  }
942
 
943
+ if ( isset( $submenu) && !empty( $submenu[$item[2]] ) ) {
944
+ foreach ( $submenu[$item[2]] as $subindex => $subitem) {
945
+ if ( isset( $mw_adminimize_submenu) && in_array( $subitem[2], $mw_adminimize_submenu) )
946
+ //if ( 'profile.php' === $subitem[2] )
947
+ // unset( $menu[70] );
948
+ unset( $submenu[$item[2]][$subindex] );
949
  }
950
  }
951
  }
967
  if ( _mw_adminimize_exclude_super_admin() )
968
  return NULL;
969
 
970
+ $user_roles = _mw_adminimize_get_all_user_roles();
971
 
972
  $_mw_adminimize_admin_head = '';
973
 
974
+ // remove_action( 'admin_head', 'index_js' );
975
 
976
+ foreach ( $user_roles as $role ) {
977
+ $disabled_global_option_[$role] = _mw_adminimize_get_option_value( 'mw_adminimize_disabled_global_option_' . $role . '_items' );
978
  }
979
 
980
+ foreach ( $user_roles as $role ) {
981
+ if ( !isset( $disabled_global_option_[$role]['0'] ) )
982
  $disabled_global_option_[$role]['0'] = '';
983
  }
984
 
985
  $remove_adminbar = FALSE;
986
  // new 1.7.8
987
+ foreach ( $user_roles as $role ) {
988
  $user = wp_get_current_user();
989
+ if ( is_array( $user->roles) && in_array( $role, $user->roles) ) {
990
+ if ( current_user_can( $role ) && is_array( $disabled_global_option_[$role] ) ) {
991
+ $global_options = implode( ', ', $disabled_global_option_[$role] );
992
+ if ( _mw_adminimize_recursive_in_array( '.show-admin-bar', $disabled_global_option_[$role] ) )
993
  $remove_adminbar = TRUE;
994
  }
995
  }
996
  }
997
+ if ( 0 != strpos( $global_options, '#your-profile .form-table fieldset' ) )
998
  $_wp_admin_css_colors = 0;
999
  $_mw_adminimize_admin_head .= '<!-- global options -->' . "\n";
1000
  $_mw_adminimize_admin_head .= '<style type="text/css">' . $global_options . ' {display: none !important;}</style>' . "\n";
1001
 
1002
+ if ( $global_options)
1003
  echo $_mw_adminimize_admin_head;
1004
  }
1005
 
1010
  if ( _mw_adminimize_exclude_super_admin() )
1011
  return NULL;
1012
 
1013
+ $user_roles = _mw_adminimize_get_all_user_roles();
1014
 
1015
+ foreach ( $user_roles as $role ) {
1016
+ $disabled_global_option_[$role] = _mw_adminimize_get_option_value(
1017
+ 'mw_adminimize_disabled_global_option_' . $role . '_items'
1018
+ );
1019
  }
1020
 
1021
+ foreach ( $user_roles as $role ) {
1022
+ if ( !isset( $disabled_global_option_[$role]['0'] ) )
1023
  $disabled_global_option_[$role]['0'] = '';
1024
  }
1025
 
1026
  $remove_adminbar = FALSE;
1027
  // new 1.7.8
1028
+ foreach ( $user_roles as $role ) {
1029
  $user = wp_get_current_user();
1030
+ if ( is_array( $user->roles) && in_array( $role, $user->roles) ) {
1031
+ if ( current_user_can( $role ) && is_array( $disabled_global_option_[$role] ) ) {
1032
+ $global_options = implode( ', ', $disabled_global_option_[$role] );
1033
+ if ( _mw_adminimize_recursive_in_array( '.show-admin-bar', $disabled_global_option_[$role] ) )
1034
  $remove_adminbar = TRUE;
1035
  }
1036
  }
1056
  if ( _mw_adminimize_exclude_super_admin() )
1057
  return NULL;
1058
 
1059
+ $user_roles = _mw_adminimize_get_all_user_roles();
1060
 
1061
  $_mw_adminimize_admin_head = '';
1062
 
1063
+ // remove_action( 'admin_head', 'index_js' );
1064
 
1065
+ foreach ( $user_roles as $role ) {
1066
+ $disabled_metaboxes_post_[$role] = _mw_adminimize_get_option_value(
1067
+ 'mw_adminimize_disabled_metaboxes_post_' . $role . '_items'
1068
+ );
1069
 
1070
+ if ( !isset( $disabled_metaboxes_post_[$role]['0'] ) )
1071
  $disabled_metaboxes_post_[$role]['0'] = '';
1072
 
1073
  // new 1.7.8
1074
+ foreach ( $user_roles as $role ) {
1075
  $user = wp_get_current_user();
1076
+ if ( is_array( $user->roles) && in_array( $role, $user->roles) ) {
1077
+ if ( current_user_can( $role ) &&
1078
+ isset( $disabled_metaboxes_post_[$role] ) &&
1079
+ is_array( $disabled_metaboxes_post_[$role] )
1080
+ ) {
1081
+ $metaboxes = implode( ',', $disabled_metaboxes_post_[$role] );
1082
  }
1083
  }
1084
  }
1085
  }
1086
 
1087
+ $_mw_adminimize_admin_head .= '<style type="text/css">' .
1088
+ $metaboxes . ' {display: none !important;}</style>' . "\n";
1089
 
1090
+ if ( $metaboxes)
1091
  echo $_mw_adminimize_admin_head;
1092
  }
1093
 
1101
  if ( _mw_adminimize_exclude_super_admin() )
1102
  return NULL;
1103
 
1104
+ $user_roles = _mw_adminimize_get_all_user_roles();
1105
 
1106
  $_mw_adminimize_admin_head = '';
1107
 
1108
+ // remove_action( 'admin_head', 'index_js' );
1109
 
1110
+ foreach ( $user_roles as $role ) {
1111
+ $disabled_metaboxes_page_[$role] = _mw_adminimize_get_option_value(
1112
+ 'mw_adminimize_disabled_metaboxes_page_' . $role . '_items'
1113
+ );
1114
 
1115
+ if ( !isset( $disabled_metaboxes_page_[$role]['0'] ) )
1116
  $disabled_metaboxes_page_[$role]['0'] = '';
1117
 
1118
  // new 1.7.8
1119
+ foreach ( $user_roles as $role ) {
1120
  $user = wp_get_current_user();
1121
+ if ( is_array( $user->roles) && in_array( $role, $user->roles) ) {
1122
+ if ( current_user_can( $role ) && is_array( $disabled_metaboxes_page_[$role] ) ) {
1123
+ $metaboxes = implode( ',', $disabled_metaboxes_page_[$role] );
1124
  }
1125
  }
1126
  }
1127
  }
1128
 
1129
+ $_mw_adminimize_admin_head .= '<style type="text/css">' .
1130
+ $metaboxes . ' {display: none !important;}</style>' . "\n";
1131
 
1132
+ if ( $metaboxes)
1133
+ echo $_mw_adminimize_admin_head;
1134
+ }
1135
+
1136
+
1137
+ /**
1138
+ * set metabox options from database an area post
1139
+ */
1140
+ function _mw_adminimize_set_metabox_cp_option() {
1141
+
1142
+ // exclude super admin
1143
+ if ( _mw_adminimize_exclude_super_admin() )
1144
+ return NULL;
1145
+
1146
+ if ( isset( $_GET['post'] ) )
1147
+ $post_id = (int) $_GET['post'];
1148
+ elseif ( isset( $_POST['post_ID'] ) )
1149
+ $post_id = (int) $_POST['post_ID'];
1150
+ else
1151
+ $post_id = 0;
1152
+
1153
+ $current_post_type = $GLOBALS['post_type'];
1154
+ if ( ! isset( $current_post_type ) )
1155
+ $current_post_type = get_post_type( $post_id );
1156
+ if ( ! isset($current_post_type) || ! $current_post_type )
1157
+ $current_post_type = str_replace( 'post_type=', '', esc_attr( $_SERVER['QUERY_STRING'] ) );
1158
+ if ( ! $current_post_type ) // set hard to post
1159
+ $current_post_type = 'post';
1160
+
1161
+ $user_roles = _mw_adminimize_get_all_user_roles();
1162
+
1163
+ $_mw_adminimize_admin_head = '';
1164
+
1165
+ // remove_action( 'admin_head', 'index_js' );
1166
+
1167
+ foreach ( $user_roles as $role ) {
1168
+ $disabled_metaboxes_[$current_post_type . '_' . $role] = _mw_adminimize_get_option_value(
1169
+ 'mw_adminimize_disabled_metaboxes_' . $current_post_type . '_' . $role . '_items'
1170
+ );
1171
+
1172
+ if ( ! isset( $disabled_metaboxes_[$current_post_type . '_' . $role]['0'] ) )
1173
+ $disabled_metaboxes_[$current_post_type . '_' . $role]['0'] = '';
1174
+
1175
+ foreach ( $user_roles as $role ) {
1176
+ $user = wp_get_current_user();
1177
+ if ( is_array( $user->roles ) && in_array( $role, $user->roles ) ) {
1178
+ if ( current_user_can( $role )
1179
+ && isset( $disabled_metaboxes_[$current_post_type . '_' . $role] )
1180
+ && is_array( $disabled_metaboxes_[$current_post_type . '_' . $role] )
1181
+ ) {
1182
+ $metaboxes = implode( ',', $disabled_metaboxes_[$current_post_type . '_' . $role] );
1183
+ }
1184
+ }
1185
+ }
1186
+ }
1187
+
1188
+ $_mw_adminimize_admin_head .= '<style type="text/css">' .
1189
+ $metaboxes . ' {display: none !important;}</style>' . "\n";
1190
+
1191
+ if ( $metaboxes )
1192
  echo $_mw_adminimize_admin_head;
1193
  }
1194
 
1202
  if ( _mw_adminimize_exclude_super_admin() )
1203
  return NULL;
1204
 
1205
+ $user_roles = _mw_adminimize_get_all_user_roles();
1206
 
1207
  $_mw_adminimize_admin_head = '';
1208
 
1209
+ // remove_action( 'admin_head', 'index_js' );
1210
 
1211
+ foreach ( $user_roles as $role ) {
1212
+ $disabled_link_option_[$role] = _mw_adminimize_get_option_value(
1213
+ 'mw_adminimize_disabled_link_option_' . $role . '_items'
1214
+ );
1215
  }
1216
 
1217
+ foreach ( $user_roles as $role ) {
1218
+ if ( !isset( $disabled_link_option_[$role]['0'] ) )
1219
  $disabled_link_option_[$role]['0'] = '';
1220
  }
1221
 
1222
  // new 1.7.8
1223
+ foreach ( $user_roles as $role ) {
1224
  $user = wp_get_current_user();
1225
+ if ( is_array( $user->roles) && in_array( $role, $user->roles) ) {
1226
+ if ( current_user_can( $role ) && is_array( $disabled_link_option_[$role] ) ) {
1227
+ $link_options = implode( ',', $disabled_link_option_[$role] );
1228
  }
1229
  }
1230
  }
1231
+ $_mw_adminimize_admin_head .= '<style type="text/css">' .
1232
+ $link_options . ' {display: none !important;}</style>' . "\n";
1233
 
1234
+ if ( $link_options)
1235
  echo $_mw_adminimize_admin_head;
1236
  }
1237
 
1244
  if ( _mw_adminimize_exclude_super_admin() )
1245
  return NULL;
1246
 
1247
+ $user_roles = _mw_adminimize_get_all_user_roles();
1248
 
1249
  $_mw_adminimize_admin_head = '';
1250
 
1251
+ // remove_action( 'admin_head', 'index_js' );
1252
 
1253
+ foreach ( $user_roles as $role ) {
1254
+ $disabled_nav_menu_option_[$role] = _mw_adminimize_get_option_value(
1255
+ 'mw_adminimize_disabled_nav_menu_option_' . $role . '_items'
1256
+ );
1257
  }
1258
 
1259
+ foreach ( $user_roles as $role ) {
1260
+ if ( !isset( $disabled_nav_menu_option_[$role]['0'] ) )
1261
  $disabled_nav_menu_option_[$role]['0'] = '';
1262
  }
1263
 
1264
  // new 1.7.8
1265
+ foreach ( $user_roles as $role ) {
1266
  $user = wp_get_current_user();
1267
+ if ( is_array( $user->roles) && in_array( $role, $user->roles) ) {
1268
+ if ( current_user_can( $role ) && is_array( $disabled_nav_menu_option_[$role] ) ) {
1269
+ $nav_menu_options = implode( ',', $disabled_nav_menu_option_[$role] );
1270
  }
1271
  }
1272
  }
1273
+ //remove_meta_box( $id, 'nav-menus', 'side' );
1274
+ $_mw_adminimize_admin_head .= '<style type="text/css">' .
1275
+ $nav_menu_options . ' {display: none !important;}</style>' . "\n";
1276
 
1277
+ if ( $nav_menu_options)
1278
  echo $_mw_adminimize_admin_head;
1279
  }
1280
 
1286
  function _mw_adminimize_small_user_info() {
1287
  ?>
1288
  <div id="small_user_info">
1289
+ <p>
1290
+ <a href="<?php echo wp_nonce_url(
1291
+ site_url( 'wp-login.php?action=logout' ),
1292
+ 'log-out' ) ?>"
1293
+ title="<?php _e( 'Log Out' ) ?>"><?php _e( 'Log Out' ); ?></a>
1294
+ </p>
1295
  </div>
1296
  <?php
1297
  }
1300
  /**
1301
  * include options-page in wp-admin
1302
  */
1303
+ require_once( 'adminimize_page.php' );
1304
 
1305
 
1306
  /**
1311
  $plugin_data = get_plugin_data( __FILE__ );
1312
  $plugin_data['Title'] = $plugin_data['Name'];
1313
 
1314
+ if ( !empty( $plugin_data['PluginURI'] ) && !empty( $plugin_data['Name'] ) )
1315
  $plugin_data['Title'] = '<a href="' . $plugin_data['PluginURI'] . '" title="'.__( 'Visit plugin homepage' ).'">' . $plugin_data['Name'] . '</a>';
1316
 
1317
+ if ( basename( $_SERVER['REQUEST_URI'] ) == 'adminimize.php' ) {
1318
+ printf( '%1$s ' . __( 'plugin' ) . ' | ' . __( 'Version' ) . ' <a href="http://wordpress.org/extend/plugins/adminimize/changelog/" title="' . __( 'History', FB_ADMINIMIZE_TEXTDOMAIN ) . '">%2$s</a> | ' . __( 'Author' ) . ' %3$s<br />', $plugin_data['Title'], $plugin_data['Version'], $plugin_data['Author'] );
1319
  }
1320
 
1321
+ if ( _mw_adminimize_get_option_value( '_mw_adminimize_advice' ) == 1 && basename( $_SERVER['REQUEST_URI'] ) != 'adminimize.php' ) {
1322
+ printf( '%1$s ' . __( 'plugin activate', FB_ADMINIMIZE_TEXTDOMAIN ) . ' | ' . stripslashes( _mw_adminimize_get_option_value( '_mw_adminimize_advice_txt' ) ) . '<br />', $plugin_data['Title'] );
1323
  }
1324
 
1325
  }
1334
  * @param $links, $file
1335
  * @return $links
1336
  */
1337
+ function _mw_adminimize_filter_plugin_meta( $links, $file ) {
1338
 
1339
  /* create link */
1340
  if ( FB_ADMINIMIZE_BASENAME == $file ) {
1341
  array_unshift(
1342
  $links,
1343
+ sprintf( '<a href="options-general.php?page=%s">%s</a>', FB_ADMINIMIZE_BASENAME, __( 'Settings' ) )
1344
  );
1345
  }
1346
 
1348
  }
1349
 
1350
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1351
  /**
1352
  * content of help
 
 
1353
  */
1354
+ function _mw_adminimize_contextual_help( $contextual_help, $screen_id, $screen ) {
1355
 
1356
+ if ( 'settings_page_adminimize/adminimize' !== $screen_id )
1357
+ return $contextual_help;
1358
 
1359
+ $contextual_help = __( '<a href="http://wordpress.org/extend/plugins/adminimize/">Documentation</a>', FB_ADMINIMIZE_TEXTDOMAIN );
1360
+
1361
+ return $contextual_help;
1362
  }
1363
 
1364
 
1368
  function _mw_adminimize_add_settings_page() {
1369
  global $wp_version;
1370
 
1371
+ if ( current_user_can( 'manage_options' ) && function_exists( 'add_submenu_page' ) ) {
1372
+
1373
+ $pagehook = add_submenu_page(
1374
+ 'options-general.php',
1375
+ __( 'Adminimize Options', FB_ADMINIMIZE_TEXTDOMAIN ),
1376
+ __( 'Adminimize', FB_ADMINIMIZE_TEXTDOMAIN ),
1377
+ 'manage_options',
1378
+ __FILE__,
1379
+ '_mw_adminimize_options'
1380
+ );
1381
  add_action( 'load-' . $pagehook, '_mw_adminimize_on_load_page' );
1382
  add_filter( 'plugin_action_links', '_mw_adminimize_filter_plugin_meta', 10, 2 );
1383
  }
1387
 
1388
  function _mw_adminimize_on_load_page() {
1389
 
1390
+ add_filter( 'contextual_help', '_mw_adminimize_contextual_help', 10, 3 );
1391
 
1392
  wp_enqueue_style( 'adminimize-style' );
1393
  }
1395
 
1396
  /**
1397
  * Set theme for users
1398
+ * Kill with version 1.7.18
1399
  */
1400
  function _mw_adminimize_set_theme() {
1401
 
1402
+ if ( ! current_user_can( 'edit_users' ) )
1403
+ wp_die( __( 'Cheatin&#8217; uh?' ) );
1404
 
1405
  $user_ids = $_POST[mw_adminimize_theme_items];
1406
  $admin_color = htmlspecialchars( stripslashes( $_POST[_mw_adminimize_set_theme] ) );
1407
 
1408
+ if ( ! $user_ids )
1409
  return FALSE;
1410
 
1411
+ foreach( $user_ids as $user_id ) {
1412
+ update_usermeta( $user_id, 'admin_color', $admin_color );
1413
  }
1414
 
1415
  }
1418
  /**
1419
  * read otpions
1420
  */
1421
+ function _mw_adminimize_get_option_value( $key) {
1422
 
1423
+ $adminimizeoptions = get_option( 'mw_adminimize' );
1424
 
1425
+ if ( isset( $adminimizeoptions[$key] ) )
1426
+ return ( $adminimizeoptions[$key] );
1427
  }
1428
 
1429
 
1431
  * Update options in database
1432
  */
1433
  function _mw_adminimize_update() {
 
1434
 
1435
+ $user_roles = _mw_adminimize_get_all_user_roles();
1436
+ $args = array( 'public' => TRUE, '_builtin' => FALSE );
1437
+ $post_types = get_post_types( $args );
1438
+
1439
+ if ( isset( $_POST['_mw_adminimize_user_info'] ) ) {
1440
+ $adminimizeoptions['_mw_adminimize_user_info'] = strip_tags(stripslashes( $_POST['_mw_adminimize_user_info'] ) );
1441
  } else {
1442
  $adminimizeoptions['_mw_adminimize_user_info'] = 0;
1443
  }
1444
 
1445
+ if ( isset( $_POST['_mw_adminimize_dashmenu'] ) ) {
1446
+ $adminimizeoptions['_mw_adminimize_dashmenu'] = strip_tags(stripslashes( $_POST['_mw_adminimize_dashmenu'] ) );
1447
  } else {
1448
  $adminimizeoptions['_mw_adminimize_dashmenu'] = 0;
1449
  }
1450
 
1451
+ if ( isset( $_POST['_mw_adminimize_footer'] ) ) {
1452
+ $adminimizeoptions['_mw_adminimize_footer'] = strip_tags(stripslashes( $_POST['_mw_adminimize_footer'] ) );
1453
  } else {
1454
  $adminimizeoptions['_mw_adminimize_footer'] = 0;
1455
  }
1456
 
1457
+ if ( isset( $_POST['_mw_adminimize_header'] ) ) {
1458
+ $adminimizeoptions['_mw_adminimize_header'] = strip_tags(stripslashes( $_POST['_mw_adminimize_header'] ) );
1459
  } else {
1460
  $adminimizeoptions['_mw_adminimize_header'] = 0;
1461
  }
1462
 
1463
+ if ( isset( $_POST['_mw_adminimize_exclude_super_admin'] ) ) {
1464
+ $adminimizeoptions['_mw_adminimize_exclude_super_admin'] = strip_tags(stripslashes( $_POST['_mw_adminimize_exclude_super_admin'] ) );
1465
  } else {
1466
  $adminimizeoptions['_mw_adminimize_exclude_super_admin'] = 0;
1467
  }
1468
 
1469
+ if ( isset( $_POST['_mw_adminimize_writescroll'] ) ) {
1470
+ $adminimizeoptions['_mw_adminimize_writescroll'] = strip_tags(stripslashes( $_POST['_mw_adminimize_writescroll'] ) );
1471
  } else {
1472
  $adminimizeoptions['_mw_adminimize_writescroll'] = 0;
1473
  }
1474
 
1475
+ if ( isset( $_POST['_mw_adminimize_tb_window'] ) ) {
1476
+ $adminimizeoptions['_mw_adminimize_tb_window'] = strip_tags(stripslashes( $_POST['_mw_adminimize_tb_window'] ) );
1477
  } else {
1478
  $adminimizeoptions['_mw_adminimize_tb_window'] = 0;
1479
  }
1480
 
1481
+ if ( isset( $_POST['_mw_adminimize_cat_full'] ) ) {
1482
+ $adminimizeoptions['_mw_adminimize_cat_full'] = strip_tags(stripslashes( $_POST['_mw_adminimize_cat_full'] ) );
1483
  } else {
1484
  $adminimizeoptions['_mw_adminimize_cat_full'] = 0;
1485
  }
1486
 
1487
+ if ( isset( $_POST['_mw_adminimize_db_redirect'] ) ) {
1488
+ $adminimizeoptions['_mw_adminimize_db_redirect'] = strip_tags(stripslashes( $_POST['_mw_adminimize_db_redirect'] ) );
1489
  } else {
1490
  $adminimizeoptions['_mw_adminimize_db_redirect'] = 0;
1491
  }
1492
 
1493
+ if ( isset( $_POST['_mw_adminimize_ui_redirect'] ) ) {
1494
+ $adminimizeoptions['_mw_adminimize_ui_redirect'] = strip_tags(stripslashes( $_POST['_mw_adminimize_ui_redirect'] ) );
1495
  } else {
1496
  $adminimizeoptions['_mw_adminimize_ui_redirect'] = 0;
1497
  }
1498
 
1499
+ if ( isset( $_POST['_mw_adminimize_advice'] ) ) {
1500
+ $adminimizeoptions['_mw_adminimize_advice'] = strip_tags(stripslashes( $_POST['_mw_adminimize_advice'] ) );
1501
  } else {
1502
  $adminimizeoptions['_mw_adminimize_advice'] = 0;
1503
  }
1504
 
1505
+ if ( isset( $_POST['_mw_adminimize_advice_txt'] ) ) {
1506
+ $adminimizeoptions['_mw_adminimize_advice_txt'] = stripslashes( $_POST['_mw_adminimize_advice_txt'] );
1507
  } else {
1508
  $adminimizeoptions['_mw_adminimize_advice_txt'] = 0;
1509
  }
1510
 
1511
+ if ( isset( $_POST['_mw_adminimize_timestamp'] ) ) {
1512
+ $adminimizeoptions['_mw_adminimize_timestamp'] = strip_tags(stripslashes( $_POST['_mw_adminimize_timestamp'] ) );
1513
  } else {
1514
  $adminimizeoptions['_mw_adminimize_timestamp'] = 0;
1515
  }
1516
 
1517
+ if ( isset( $_POST['_mw_adminimize_control_flashloader'] ) ) {
1518
+ $adminimizeoptions['_mw_adminimize_control_flashloader'] = strip_tags(stripslashes( $_POST['_mw_adminimize_control_flashloader'] ) );
1519
  } else {
1520
  $adminimizeoptions['_mw_adminimize_control_flashloader'] = 0;
1521
  }
1522
 
1523
+ if ( isset( $_POST['_mw_adminimize_db_redirect_txt'] ) ) {
1524
+ $adminimizeoptions['_mw_adminimize_db_redirect_txt'] = stripslashes( $_POST['_mw_adminimize_db_redirect_txt'] );
1525
  } else {
1526
  $adminimizeoptions['_mw_adminimize_db_redirect_txt'] = 0;
1527
  }
1528
 
1529
  // menu update
1530
+ foreach ( $user_roles as $role ) {
1531
+ if ( isset( $_POST['mw_adminimize_disabled_menu_' . $role . '_items'] ) ) {
1532
+ $adminimizeoptions['mw_adminimize_disabled_menu_' . $role . '_items'] = $_POST['mw_adminimize_disabled_menu_' . $role . '_items'];
1533
  } else {
1534
+ $adminimizeoptions['mw_adminimize_disabled_menu_' . $role . '_items'] = array();
1535
  }
1536
 
1537
+ if ( isset( $_POST['mw_adminimize_disabled_submenu_' . $role . '_items'] ) ) {
1538
+ $adminimizeoptions['mw_adminimize_disabled_submenu_' . $role . '_items'] = $_POST['mw_adminimize_disabled_submenu_' . $role . '_items'];
1539
  } else {
1540
+ $adminimizeoptions['mw_adminimize_disabled_submenu_' . $role . '_items'] = array();
1541
  }
1542
  }
1543
 
1544
  // global_options, metaboxes update
1545
+ foreach ( $user_roles as $role ) {
1546
+ if ( isset( $_POST['mw_adminimize_disabled_global_option_' . $role . '_items'] ) ) {
1547
+ $adminimizeoptions['mw_adminimize_disabled_global_option_' . $role . '_items'] = $_POST['mw_adminimize_disabled_global_option_' . $role . '_items'];
1548
  } else {
1549
+ $adminimizeoptions['mw_adminimize_disabled_global_option_' . $role . '_items'] = array();
1550
  }
1551
 
1552
+ if ( isset( $_POST['mw_adminimize_disabled_metaboxes_post_' . $role . '_items'] ) ) {
1553
+ $adminimizeoptions['mw_adminimize_disabled_metaboxes_post_' . $role . '_items'] = $_POST['mw_adminimize_disabled_metaboxes_post_' . $role . '_items'];
1554
  } else {
1555
+ $adminimizeoptions['mw_adminimize_disabled_metaboxes_post_' . $role . '_items'] = array();
1556
  }
1557
 
1558
+ if ( isset( $_POST['mw_adminimize_disabled_metaboxes_page_' . $role . '_items'] ) ) {
1559
+ $adminimizeoptions['mw_adminimize_disabled_metaboxes_page_' . $role . '_items'] = $_POST['mw_adminimize_disabled_metaboxes_page_' . $role . '_items'];
1560
  } else {
1561
+ $adminimizeoptions['mw_adminimize_disabled_metaboxes_page_' . $role . '_items'] = array();
1562
  }
1563
 
1564
+ foreach ( $post_types as $post_type ) {
1565
+ if ( isset( $_POST['mw_adminimize_disabled_metaboxes_' . $post_type . '_' . $role . '_items'] ) ) {
1566
+ $adminimizeoptions['mw_adminimize_disabled_metaboxes_' . $post_type . '_' . $role . '_items'] = $_POST['mw_adminimize_disabled_metaboxes_' . $post_type . '_' . $role . '_items'];
1567
+ } else {
1568
+ $adminimizeoptions['mw_adminimize_disabled_metaboxes_' . $post_type . '_' . $role . '_items'] = array();
1569
+ }
1570
+ }
1571
+
1572
+ if ( isset( $_POST['mw_adminimize_disabled_link_option_' . $role . '_items'] ) ) {
1573
+ $adminimizeoptions['mw_adminimize_disabled_link_option_' . $role . '_items'] = $_POST['mw_adminimize_disabled_link_option_' . $role . '_items'];
1574
  } else {
1575
+ $adminimizeoptions['mw_adminimize_disabled_link_option_' . $role . '_items'] = array();
1576
  }
1577
 
1578
  // wp nav menu options
1579
+ if ( isset( $_POST['mw_adminimize_disabled_nav_menu_option_' . $role . '_items'] ) ) {
1580
+ $adminimizeoptions['mw_adminimize_disabled_nav_menu_option_' . $role . '_items'] = $_POST['mw_adminimize_disabled_nav_menu_option_' . $role . '_items'];
1581
  } else {
1582
+ $adminimizeoptions['mw_adminimize_disabled_nav_menu_option_' . $role . '_items'] = array();
1583
  }
1584
  }
1585
 
1586
  // own options
1587
+ if ( isset( $_POST['_mw_adminimize_own_values'] ) ) {
1588
+ $adminimizeoptions['_mw_adminimize_own_values'] = stripslashes( $_POST['_mw_adminimize_own_values'] );
1589
  } else {
1590
  $adminimizeoptions['_mw_adminimize_own_values'] = 0;
1591
  }
1592
 
1593
+ if ( isset( $_POST['_mw_adminimize_own_options'] ) ) {
1594
+ $adminimizeoptions['_mw_adminimize_own_options'] = stripslashes( $_POST['_mw_adminimize_own_options'] );
1595
  } else {
1596
  $adminimizeoptions['_mw_adminimize_own_options'] = 0;
1597
  }
1598
 
1599
  // own post options
1600
+ if ( isset( $_POST['_mw_adminimize_own_post_values'] ) ) {
1601
+ $adminimizeoptions['_mw_adminimize_own_post_values'] = stripslashes( $_POST['_mw_adminimize_own_post_values'] );
1602
  } else {
1603
  $adminimizeoptions['_mw_adminimize_own_post_values'] = 0;
1604
  }
1605
 
1606
+ if ( isset( $_POST['_mw_adminimize_own_post_options'] ) ) {
1607
+ $adminimizeoptions['_mw_adminimize_own_post_options'] = stripslashes( $_POST['_mw_adminimize_own_post_options'] );
1608
  } else {
1609
  $adminimizeoptions['_mw_adminimize_own_post_options'] = 0;
1610
  }
1611
 
1612
  // own page options
1613
+ if ( isset( $_POST['_mw_adminimize_own_page_values'] ) ) {
1614
+ $adminimizeoptions['_mw_adminimize_own_page_values'] = stripslashes( $_POST['_mw_adminimize_own_page_values'] );
1615
  } else {
1616
  $adminimizeoptions['_mw_adminimize_own_page_values'] = 0;
1617
  }
1618
 
1619
+ if ( isset( $_POST['_mw_adminimize_own_page_options'] ) ) {
1620
+ $adminimizeoptions['_mw_adminimize_own_page_options'] = stripslashes( $_POST['_mw_adminimize_own_page_options'] );
1621
  } else {
1622
  $adminimizeoptions['_mw_adminimize_own_page_options'] = 0;
1623
  }
1624
 
1625
+ // own custom post options
1626
+ foreach ( $post_types as $post_type ) {
1627
+ if ( isset( $_POST['_mw_adminimize_own_values_' . $post_type] ) ) {
1628
+ $adminimizeoptions['_mw_adminimize_own_values_' . $post_type] = stripslashes( $_POST['_mw_adminimize_own_values_' . $post_type] );
1629
+ } else {
1630
+ $adminimizeoptions['_mw_adminimize_own_values_' . $post_type] = 0;
1631
+ }
1632
+
1633
+ if ( isset( $_POST['_mw_adminimize_own_options_' . $post_type] ) ) {
1634
+ $adminimizeoptions['_mw_adminimize_own_options_' . $post_type ] = stripslashes( $_POST['_mw_adminimize_own_options_' . $post_type] );
1635
+ } else {
1636
+ $adminimizeoptions['_mw_adminimize_own_options_' . $post_type] = 0;
1637
+ }
1638
+ }
1639
+
1640
  // own link options
1641
+ if ( isset( $_POST['_mw_adminimize_own_link_values'] ) ) {
1642
+ $adminimizeoptions['_mw_adminimize_own_link_values'] = stripslashes( $_POST['_mw_adminimize_own_link_values'] );
1643
  } else {
1644
  $adminimizeoptions['_mw_adminimize_own_link_values'] = 0;
1645
  }
1646
 
1647
+ if ( isset( $_POST['_mw_adminimize_own_link_options'] ) ) {
1648
+ $adminimizeoptions['_mw_adminimize_own_link_options'] = stripslashes( $_POST['_mw_adminimize_own_link_options'] );
1649
  } else {
1650
  $adminimizeoptions['_mw_adminimize_own_link_options'] = 0;
1651
  }
1652
 
1653
  // wp nav menu options
1654
+ if ( isset( $_POST['_mw_adminimize_own_nav_menu_values'] ) ) {
1655
+ $adminimizeoptions['_mw_adminimize_own_nav_menu_values'] = stripslashes( $_POST['_mw_adminimize_own_nav_menu_values'] );
1656
  } else {
1657
  $adminimizeoptions['_mw_adminimize_own_nav_menu_values'] = 0;
1658
  }
1659
 
1660
+ if ( isset( $_POST['_mw_adminimize_own_nav_menu_options'] ) ) {
1661
+ $adminimizeoptions['_mw_adminimize_own_nav_menu_options'] = stripslashes( $_POST['_mw_adminimize_own_nav_menu_options'] );
1662
  } else {
1663
  $adminimizeoptions['_mw_adminimize_own_nav_menu_options'] = 0;
1664
  }
1665
 
1666
+ $adminimizeoptions['mw_adminimize_default_menu'] = $GLOBALS['menu'];
1667
+ $adminimizeoptions['mw_adminimize_default_submenu'] = $GLOBALS['submenu'];
1668
+
1669
  // update
1670
+ update_option( 'mw_adminimize', $adminimizeoptions );
1671
+ //$adminimizeoptions = get_option( 'mw_adminimize' );
1672
+
1673
  $myErrors = new _mw_adminimize_message_class();
1674
+ $myErrors = '<div id="message" class="updated fade"><p>' . $myErrors->get_error( '_mw_adminimize_update' ) . '</p></div>';
1675
  echo $myErrors;
1676
  }
1677
 
1681
  */
1682
  function _mw_adminimize_deinstall() {
1683
 
1684
+ delete_option( 'mw_adminimize' );
1685
  }
1686
 
1687
 
1691
  function _mw_adminimize_install() {
1692
  global $menu, $submenu;
1693
 
1694
+ $user_roles = _mw_adminimize_get_all_user_roles();
1695
  $adminimizeoptions = array();
1696
 
1697
+ foreach ( $user_roles as $role ) {
1698
+ $adminimizeoptions['mw_adminimize_disabled_menu_' . $role . '_items'] = array();
1699
+ $adminimizeoptions['mw_adminimize_disabled_submenu_' . $role . '_items'] = array();
1700
+ $adminimizeoptions['mw_adminimize_disabled_global_option_' . $role . '_items'] = array();
1701
+ $adminimizeoptions['mw_adminimize_disabled_metaboxes_post_' . $role . '_items'] = array();
1702
+ $adminimizeoptions['mw_adminimize_disabled_metaboxes_page_' . $role . '_items'] = array();
1703
+ $args = array( 'public' => TRUE, '_builtin' => FALSE );
1704
+ foreach ( get_post_types( $args ) as $post_type ) {
1705
+ $adminimizeoptions['mw_adminimize_disabled_metaboxes_' . $post_type . '_' . $role . '_items'] = array();
1706
+ }
1707
  }
1708
 
1709
  $adminimizeoptions['mw_adminimize_default_menu'] = $menu;
1710
  $adminimizeoptions['mw_adminimize_default_submenu'] = $submenu;
1711
 
1712
+ add_option( 'mw_adminimize', $adminimizeoptions );
1713
  }
1714
 
1715
  /**
1718
  function _mw_adminimize_export() {
1719
  global $wpdb;
1720
 
1721
+ $filename = 'adminimize_export-' . date( 'Y-m-d_G-i-s' ) . '.seq';
1722
 
1723
+ header( "Content-Description: File Transfer");
1724
+ header( "Content-Disposition: attachment; filename=" . urlencode( $filename ) );
1725
+ header( "Content-Type: application/force-download");
1726
+ header( "Content-Type: application/octet-stream");
1727
+ header( "Content-Type: application/download");
1728
+ header( 'Content-Type: text/seq; charset=' . get_option( 'blog_charset' ), TRUE );
1729
  flush();
1730
 
1731
  $export_data = mysql_query("SELECT option_value FROM $wpdb->options WHERE option_name = 'mw_adminimize'");
1732
+ $export_data = mysql_result( $export_data, 0 );
1733
  echo $export_data;
1734
  flush();
1735
  }
1741
 
1742
  // check file extension
1743
  $str_file_name = $_FILES['datei']['name'];
1744
+ $str_file_ext = explode( ".", $str_file_name );
1745
 
1746
+ if ( $str_file_ext[1] != 'seq' ) {
1747
  $addreferer = 'notexist';
1748
+ } elseif ( file_exists( $_FILES['datei']['name'] ) ) {
1749
  $addreferer = 'exist';
1750
  } else {
1751
  // path for file
1752
  $str_ziel = WP_CONTENT_DIR . '/' . $_FILES['datei']['name'];
1753
  // transfer
1754
+ move_uploaded_file( $_FILES['datei']['tmp_name'], $str_ziel );
1755
  // access authorisation
1756
+ chmod( $str_ziel, 0644);
1757
  // SQL import
1758
+ ini_set( 'default_socket_timeout', 120);
1759
+ $import_file = file_get_contents( $str_ziel );
1760
 
1761
  _mw_adminimize_deinstall();
1762
+ $import_file = unserialize( $import_file );
1763
 
1764
+ if ( file_exists( $str_ziel ) )
1765
+ unlink( $str_ziel );
1766
+ update_option( 'mw_adminimize', $import_file );
1767
+ if ( file_exists( $str_ziel ) )
1768
+ unlink( $str_ziel );
1769
 
1770
  $addreferer = 'true';
1771
  }
1772
 
1773
  $myErrors = new _mw_adminimize_message_class();
1774
+ $myErrors = '<div id="message" class="updated fade"><p>' .
1775
+ $myErrors->get_error( '_mw_adminimize_import' ) . '</p></div>';
1776
  echo $myErrors;
1777
  }
1778
 
1779
+ ?>
adminimize_page.php CHANGED
@@ -1,7 +1,13 @@
1
  <?php
2
  /**
3
- * options-page in wp-admin
 
 
4
  */
 
 
 
 
5
 
6
  // export options
7
  if ( isset( $_GET['_mw_adminimize_export'] ) ) {
@@ -17,17 +23,17 @@ function _mw_adminimize_options() {
17
  $_mw_adminimize_user_info = '';
18
 
19
  //get array with userroles
20
- $user_roles = get_all_user_roles();
21
- $user_roles_names = get_all_user_roles_names();
22
 
23
  // update options
24
  if ( ( isset($_POST['_mw_adminimize_action']) && $_POST['_mw_adminimize_action'] == '_mw_adminimize_insert') && $_POST['_mw_adminimize_save'] ) {
25
 
26
  if ( function_exists('current_user_can') && current_user_can('manage_options') ) {
27
  check_admin_referer('mw_adminimize_nonce');
28
-
29
  _mw_adminimize_update();
30
-
31
  } else {
32
  $myErrors = new _mw_adminimize_message_class();
33
  $myErrors = '<div id="message" class="error"><p>' . $myErrors->get_error('_mw_adminimize_access_denied') . '</p></div>';
@@ -129,194 +135,29 @@ function _mw_adminimize_options() {
129
  // Write Page Options
130
  require_once('inc-options/write_page_options.php');
131
 
 
 
 
 
132
  // Links Options
133
  require_once('inc-options/links_options.php');
134
-
135
  // WP Nav Menu Options
136
  require_once('inc-options/wp_nav_menu_options.php');
137
  ?>
138
  </form>
139
 
140
- <div id="poststuff" class="ui-sortable meta-box-sortables">
141
- <div class="postbox">
142
- <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div>
143
- <h3 class="hndle" id="set_theme"><?php _e('Set Theme', FB_ADMINIMIZE_TEXTDOMAIN ) ?></h3>
144
- <div class="inside">
145
- <br class="clear" />
146
-
147
- <?php if ( !isset($_POST['_mw_adminimize_action']) || !($_POST['_mw_adminimize_action'] == '_mw_adminimize_load_theme') ) { ?>
148
- <form name="set_theme" method="post" id="_mw_adminimize_set_theme" action="?page=<?php echo $_GET['page'];?>" >
149
- <?php wp_nonce_field('mw_adminimize_nonce'); ?>
150
- <p><?php _e('For better peformance with many users on your blog; load only userlist, when you will change the theme options for users.', FB_ADMINIMIZE_TEXTDOMAIN ); ?></p>
151
- <p id="submitbutton">
152
- <input type="hidden" name="_mw_adminimize_action" value="_mw_adminimize_load_theme" />
153
- <input type="submit" name="_mw_adminimize_load" value="<?php _e('Load User Data', FB_ADMINIMIZE_TEXTDOMAIN ); ?> &raquo;" class="button button-primary" />
154
- </p>
155
- </form>
156
- <?php }
157
- if ( isset($_POST['_mw_adminimize_action']) && ($_POST['_mw_adminimize_action'] == '_mw_adminimize_load_theme') ) { ?>
158
- <form name="set_theme" method="post" id="_mw_adminimize_set_theme" action="?page=<?php echo $_GET['page'];?>" >
159
- <?php wp_nonce_field('mw_adminimize_nonce'); ?>
160
- <table class="widefat">
161
- <thead>
162
- <tr class="thead">
163
- <th>&nbsp;</th>
164
- <th class="num"><?php _e('User-ID') ?></th>
165
- <th><?php _e('Username') ?></th>
166
- <th><?php _e('Display name publicly as') ?></th>
167
- <th><?php _e('Admin-Color Scheme') ?></th>
168
- <th><?php _e('User Level') ?></th>
169
- <th><?php _e('Role') ?></th>
170
- </tr>
171
- </thead>
172
- <tbody id="users" class="list:user user-list">
173
- <?php
174
- $wp_user_search = $wpdb->get_results("SELECT ID, user_login, display_name FROM $wpdb->users ORDER BY ID");
175
-
176
- $style = '';
177
- foreach ( $wp_user_search as $userid ) {
178
- $user_id = (int) $userid->ID;
179
- $user_login = stripslashes($userid->user_login);
180
- $display_name = stripslashes($userid->display_name);
181
- $current_color = get_user_option('admin_color', $user_id);
182
- $user_level = (int) get_user_option($table_prefix . 'user_level', $user_id);
183
- $user_object = new WP_User($user_id);
184
- $roles = $user_object->roles;
185
- $role = array_shift($roles);
186
- if ( function_exists('translate_user_role') )
187
- $role_name = translate_user_role( $wp_roles->role_names[$role] );
188
- elseif ( function_exists('before_last_bar') )
189
- $role_name = before_last_bar( $wp_roles->role_names[$role], 'User role' );
190
- else
191
- $role_name = strrpos( $wp_roles->role_names[$role], '|' );
192
-
193
- $style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"';
194
- $return = '';
195
- $return .= '<tr>' . "\n";
196
- $return .= "\t" . '<td><input type="checkbox" name="mw_adminimize_theme_items[]" value="' . $user_id . '" /></td>' . "\n";
197
- $return .= "\t" . '<td class="num">'. $user_id .'</td>' . "\n";
198
- $return .= "\t" . '<td>'. $user_login .'</td>' . "\n";
199
- $return .= "\t" . '<td>'. $display_name .'</td>' . "\n";
200
- $return .= "\t" . '<td>'. $current_color . '</td>' . "\n";
201
- $return .= "\t" . '<td class="num">'. $user_level . '</td>' . "\n";
202
- $return .= "\t" . '<td>'. $role_name . '</td>' . "\n";
203
- $return .= '</tr>' . "\n";
204
-
205
- echo $return;
206
- }
207
- ?>
208
- <tr valign="top">
209
- <td>&nbsp;</td>
210
- <td>&nbsp;</td>
211
- <td>&nbsp;</td>
212
- <td>&nbsp;</td>
213
- <td>
214
- <select name="_mw_adminimize_set_theme">
215
- <?php foreach ( $_wp_admin_css_colors as $color => $color_info ): ?>
216
- <option value="<?php echo $color; ?>"><?php echo $color_info->name . ' (' . $color . ')' ?></option>
217
- <?php endforeach; ?>
218
- </select>
219
- </td>
220
- <td>&nbsp;</td>
221
- <td>&nbsp;</td>
222
- </tr>
223
- </tbody>
224
- </table>
225
- <p id="submitbutton">
226
- <input type="hidden" name="_mw_adminimize_action" value="_mw_adminimize_set_theme" />
227
- <input type="hidden" name="_mw_adminimize_load" value="_mw_adminimize_load_theme" />
228
- <input type="submit" name="_mw_adminimize_save" value="<?php _e('Set Theme', FB_ADMINIMIZE_TEXTDOMAIN ); ?> &raquo;" class="button button-primary" />
229
- </p>
230
- </form>
231
- <?php } ?>
232
-
233
- <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>
234
- </div>
235
- </div>
236
- </div>
237
 
238
- <div id="poststuff" class="ui-sortable meta-box-sortables">
239
- <div class="postbox">
240
- <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div>
241
- <h3 class="hndle" id="import"><?php _e('Export/Import Options', FB_ADMINIMIZE_TEXTDOMAIN ) ?></h3>
242
- <div class="inside">
243
- <br class="clear" />
244
-
245
- <h4><?php _e('Export', FB_ADMINIMIZE_TEXTDOMAIN ) ?></h4>
246
- <form name="export_options" method="get" action="">
247
- <p><?php _e('You can save a .seq file with your options.', FB_ADMINIMIZE_TEXTDOMAIN ) ?></p>
248
- <p id="submitbutton">
249
- <input type="hidden" name="_mw_adminimize_export" value="true" />
250
- <input type="submit" name="_mw_adminimize_save" value="<?php _e('Export &raquo;', FB_ADMINIMIZE_TEXTDOMAIN ) ?>" class="button" />
251
- </p>
252
- </form>
253
-
254
- <h4><?php _e('Import', FB_ADMINIMIZE_TEXTDOMAIN ) ?></h4>
255
- <form name="import_options" enctype="multipart/form-data" method="post" action="?page=<?php echo $_GET['page'];?>">
256
- <?php wp_nonce_field('mw_adminimize_nonce'); ?>
257
- <p><?php _e('Choose a Adminimize (<em>.seq</em>) file to upload, then click <em>Upload file and import</em>.', FB_ADMINIMIZE_TEXTDOMAIN ) ?></p>
258
- <p>
259
- <label for="datei_id"><?php _e('Choose a file from your computer', FB_ADMINIMIZE_TEXTDOMAIN ) ?>: </label>
260
- <input name="datei" id="datei_id" type="file" />
261
- </p>
262
- <p id="submitbutton">
263
- <input type="hidden" name="_mw_adminimize_action" value="_mw_adminimize_import" />
264
- <input type="submit" name="_mw_adminimize_save" value="<?php _e('Upload file and import &raquo;', FB_ADMINIMIZE_TEXTDOMAIN ) ?>" class="button" />
265
- </p>
266
- </form>
267
- <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>
268
-
269
- </div>
270
- </div>
271
- </div>
272
-
273
- <div id="poststuff" class="ui-sortable meta-box-sortables">
274
- <div class="postbox">
275
- <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div>
276
- <h3 class="hndle" id="uninstall"><?php _e('Deinstall Options', FB_ADMINIMIZE_TEXTDOMAIN ) ?></h3>
277
- <div class="inside">
278
-
279
- <p><?php _e('Use this option for clean your database from all entries of this plugin. When you deactivate the plugin, the deinstall of the plugin <strong>clean not</strong> all entries in the database.', FB_ADMINIMIZE_TEXTDOMAIN ); ?></p>
280
- <form name="deinstall_options" method="post" id="_mw_adminimize_options_deinstall" action="?page=<?php echo $_GET['page'];?>">
281
- <?php wp_nonce_field('mw_adminimize_nonce'); ?>
282
- <p id="submitbutton">
283
- <input type="submit" name="_mw_adminimize_deinstall" value="<?php _e('Delete Options', FB_ADMINIMIZE_TEXTDOMAIN ); ?> &raquo;" class="button-secondary" />
284
- <input type="checkbox" name="_mw_adminimize_deinstall_yes" value="_mw_adminimize_deinstall" />
285
- <input type="hidden" name="_mw_adminimize_action" value="_mw_adminimize_deinstall" />
286
- </p>
287
- </form>
288
- <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>
289
-
290
- </div>
291
- </div>
292
- </div>
293
-
294
- <div id="poststuff" class="ui-sortable meta-box-sortables">
295
- <div class="postbox" >
296
- <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div>
297
- <h3 class="hndle" id="about"><?php _e('About the plugin', FB_ADMINIMIZE_TEXTDOMAIN ) ?></h3>
298
- <div class="inside">
299
-
300
- <p><?php _e('Further information: Visit the <a href="http://bueltge.de/wordpress-admin-theme-adminimize/674/">plugin homepage</a> for further information or to grab the latest version of this plugin.', FB_ADMINIMIZE_TEXTDOMAIN); ?></p>
301
- <p>
302
- <span style="float: left;">
303
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
304
- <input type="hidden" name="cmd" value="_s-xclick">
305
- <input type="hidden" name="hosted_button_id" value="4578111">
306
- <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="<?php _e('PayPal - The safer, easier way to pay online!', FB_ADMINIMIZE_TEXTDOMAIN); ?>">
307
- <img alt="" border="0" src="https://www.paypal.com/de_DE/i/scr/pixel.gif" width="1" height="1">
308
- </form>
309
- </span>
310
- <?php _e('You want to thank me? Visit my <a href="http://bueltge.de/wunschliste/">wishlist</a> or donate.', FB_ADMINIMIZE_TEXTDOMAIN); ?>
311
- </p>
312
- <p>&copy; Copyright 2008 - <?php echo date('Y'); ?> <a href="http://bueltge.de">Frank B&uuml;ltge</a></p>
313
- <p class="textright" style="color:#ccc"><small><?php echo $wpdb->num_queries; ?>q, <?php timer_stop(1); ?>s</small></p>
314
- <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>
315
-
316
- </div>
317
- </div>
318
- </div>
319
-
320
  <script type="text/javascript">
321
  <!--
322
  <?php if ( version_compare( $wp_version, '2.7alpha', '<' ) ) { ?>
1
  <?php
2
  /**
3
+ * @package Adminimize
4
+ * @subpackage Settings page
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
  // export options
13
  if ( isset( $_GET['_mw_adminimize_export'] ) ) {
23
  $_mw_adminimize_user_info = '';
24
 
25
  //get array with userroles
26
+ $user_roles = _mw_adminimize_get_all_user_roles();
27
+ $user_roles_names = _mw_adminimize_get_all_user_roles_names();
28
 
29
  // update options
30
  if ( ( isset($_POST['_mw_adminimize_action']) && $_POST['_mw_adminimize_action'] == '_mw_adminimize_insert') && $_POST['_mw_adminimize_save'] ) {
31
 
32
  if ( function_exists('current_user_can') && current_user_can('manage_options') ) {
33
  check_admin_referer('mw_adminimize_nonce');
34
+
35
  _mw_adminimize_update();
36
+
37
  } else {
38
  $myErrors = new _mw_adminimize_message_class();
39
  $myErrors = '<div id="message" class="error"><p>' . $myErrors->get_error('_mw_adminimize_access_denied') . '</p></div>';
135
  // Write Page Options
136
  require_once('inc-options/write_page_options.php');
137
 
138
+ // Custom Post Type
139
+ if ( function_exists( 'get_post_types' ) )
140
+ require_once('inc-options/write_cp_options.php');
141
+
142
  // Links Options
143
  require_once('inc-options/links_options.php');
144
+
145
  // WP Nav Menu Options
146
  require_once('inc-options/wp_nav_menu_options.php');
147
  ?>
148
  </form>
149
 
150
+ <?php
151
+ // Theme Options
152
+ require_once('inc-options/theme_options.php');
153
+
154
+ // Im/Export Options
155
+ require_once('inc-options/im_export_options.php');
156
+
157
+ // deinstall options
158
+ require_once('inc-options/deinstall_options.php');
159
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  <script type="text/javascript">
162
  <!--
163
  <?php if ( version_compare( $wp_version, '2.7alpha', '<' ) ) { ?>
css/colors-colorblind.css CHANGED
File without changes
css/colors-grey.css CHANGED
File without changes
css/colors-wp23.css CHANGED
File without changes
css/mw_admin.css CHANGED
File without changes
css/mw_admin27.css CHANGED
File without changes
css/mw_admin28_tweak.css CHANGED
File without changes
css/mw_basic.css CHANGED
File without changes
css/mw_big_sidebar.css CHANGED
File without changes
css/mw_cat.css CHANGED
File without changes
css/mw_cat_full.css CHANGED
File without changes
css/mw_classic.css CHANGED
File without changes
css/mw_classic27.css CHANGED
File without changes
css/mw_classic28_fixed.css CHANGED
File without changes
css/mw_classic28_fixed.dev.css CHANGED
File without changes
css/mw_classic28_save_50px.css CHANGED
File without changes
css/mw_classic28_tweak.css CHANGED
File without changes
css/mw_classic28_tweak.dev.css CHANGED
File without changes
css/mw_classic_lm.css CHANGED
File without changes
css/mw_classic_ozh_am.css CHANGED
File without changes
css/mw_colorblind.css CHANGED
File without changes
css/mw_fixed_header.css CHANGED
File without changes
css/mw_fixed_menu.css CHANGED
File without changes
css/mw_fresh.css CHANGED
File without changes
css/mw_fresh27.css CHANGED
File without changes
css/mw_fresh27.dev.css CHANGED
File without changes
css/mw_fresh28_fixed.css CHANGED
File without changes
css/mw_fresh28_fixed.dev.css CHANGED
File without changes
css/mw_fresh28_save_50px.css CHANGED
File without changes
css/mw_fresh28_tweak.css CHANGED
File without changes
css/mw_fresh28_tweak.dev.css CHANGED
File without changes
css/mw_fresh_lm.css CHANGED
File without changes
css/mw_fresh_ozh_am.css CHANGED
File without changes
css/mw_grey.css CHANGED
File without changes
css/mw_save_50px.css CHANGED
File without changes
css/mw_small_user_info.css CHANGED
File without changes
css/mw_small_user_info27.css CHANGED
File without changes
css/mw_small_user_info30.css CHANGED
File without changes
css/mw_small_user_info31.css ADDED
@@ -0,0 +1 @@
 
1
+ #small_user_info { top: 28px !important; }
css/mw_small_user_info32.css ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #small_user_info {
2
+ float:right;
3
+ font-size:12px;
4
+ position:absolute;
5
+ right:15px;
6
+ top:0;
7
+ color:#777;
8
+ margin:5px 5px 0;
9
+ }
10
+
11
+ #small_user_info:hover,
12
+ #small_user_info.active {
13
+ color: #185069;
14
+ }
15
+
16
+ #small_user_info.active {
17
+ background-color: #f7fcfe; /* Fallback */
18
+ background-image: -ms-linear-gradient(bottom, #f7fcfe, #f9f9f9); /* IE10 */
19
+ background-image: -moz-linear-gradient(bottom, #f7fcfe, #f9f9f9); /* Firefox */
20
+ background-image: -o-linear-gradient(bottom, #f7fcfe, #f9f9f9); /* Opera */
21
+ background-image: -webkit-gradient(linear, left bottom, left top, from(#f7fcfe), to(#f9f9f9)); /* old Webkit */
22
+ background-image: -webkit-linear-gradient(bottom, #f7fcfe, #f9f9f9); /* new Webkit */
23
+ background-image: linear-gradient(bottom, #f7fcfe, #f9f9f9); /* proposed W3C Markup */
24
+ border-color: #d0dfe9 #d0dfe9 #d0dfe9;
25
+ }
26
+
27
+ #small_user_info a:link,
28
+ #small_user_info a:visited {
29
+ text-decoration: none;
30
+ }
31
+
32
+ #small_user_info.active {
33
+ border-width: 1px;
34
+ margin-right: -1px;
35
+ margin-top: 2px;
36
+ -moz-border-radius: 3px 3px 0 0;
37
+ -webkit-border-top-right-radius: 3px;
38
+ -webkit-border-top-left-radius: 3px;
39
+ -khtml-border-top-right-radius: 3px;
40
+ -khtml-border-top-left-radius: 3px;
41
+ border-top-right-radius: 3px;
42
+ border-top-left-radius: 3px;
43
+ }
44
+
45
+ #small_user_info p {
46
+ margin: 0;
47
+ padding: 0;
48
+ line-height: 25px;
49
+ cursor: pointer;
50
+ }
51
+
52
+ #small_user_info .hide-if-no-js p {
53
+ margin: 0 20px 0 0;
54
+ }
55
+
56
+ #small_user_info:hover .hide-if-no-js p {
57
+ text-decoration: underline;
58
+ }
59
+ #small_user_info.active .hide-if-no-js p {
60
+ text-decoration: none;
61
+ }
62
+
css/mw_wp23.css CHANGED
File without changes
css/style.css CHANGED
@@ -1,3 +1,5 @@
 
 
1
  tr:hover {
2
  background: #DFDFDF !important;
3
  }
1
+ @CHARSET "UTF-8";
2
+
3
  tr:hover {
4
  background: #DFDFDF !important;
5
  }
inc-options/backend_options.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
- // backend options
 
 
 
 
 
 
 
 
3
  ?>
4
 
5
  <div id="poststuff" class="ui-sortable meta-box-sortables">
@@ -17,7 +25,7 @@
17
  <tr valign="top" class="form-invalid">
18
  <td><?php _e('Exclude Super Admin', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
19
  <td>
20
- <?php $_mw_adminimize_exclude_super_admin = _mw_adminimize_getOptionValue('_mw_adminimize_exclude_super_admin'); ?>
21
  <select name="_mw_adminimize_exclude_super_admin">
22
  <option value="0"<?php if ($_mw_adminimize_exclude_super_admin == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
23
  <option value="1"<?php if ($_mw_adminimize_exclude_super_admin == '1') { echo ' selected="selected"'; } ?>><?php _e('Activate', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
@@ -28,7 +36,7 @@
28
  <tr valign="top">
29
  <td><?php _e('User-Info', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
30
  <td>
31
- <?php $_mw_adminimize_user_info = _mw_adminimize_getOptionValue('_mw_adminimize_user_info'); ?>
32
  <select name="_mw_adminimize_user_info">
33
  <option value="0"<?php if ($_mw_adminimize_user_info == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
34
  <option value="1"<?php if ($_mw_adminimize_user_info == '1') { echo ' selected="selected"'; } ?>><?php _e('Hide', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
@@ -41,7 +49,7 @@
41
  <tr valign="top" class="form-invalid">
42
  <td><?php _e('Change User-Info, redirect to', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
43
  <td>
44
- <?php $_mw_adminimize_ui_redirect = _mw_adminimize_getOptionValue('_mw_adminimize_ui_redirect'); ?>
45
  <select name="_mw_adminimize_ui_redirect" <?php if ( isset($disabled_item) ) echo $disabled_item; ?>>
46
  <option value="0"<?php if ($_mw_adminimize_ui_redirect == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
47
  <option value="1"<?php if ($_mw_adminimize_ui_redirect == '1') { echo ' selected="selected"'; } ?>><?php _e('Frontpage of the Blog', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
@@ -51,7 +59,7 @@
51
  <tr valign="top">
52
  <td><?php _e('Footer', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
53
  <td>
54
- <?php $_mw_adminimize_footer = _mw_adminimize_getOptionValue('_mw_adminimize_footer'); ?>
55
  <select name="_mw_adminimize_footer">
56
  <option value="0"<?php if ($_mw_adminimize_footer == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
57
  <option value="1"<?php if ($_mw_adminimize_footer == '1') { echo ' selected="selected"'; } ?>><?php _e('Hide', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
@@ -61,7 +69,7 @@
61
  <tr valign="top">
62
  <td><?php _e('Header', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
63
  <td>
64
- <?php $_mw_adminimize_header = _mw_adminimize_getOptionValue('_mw_adminimize_header'); ?>
65
  <select name="_mw_adminimize_header">
66
  <option value="0"<?php if ($_mw_adminimize_header == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
67
  <option value="1"<?php if ($_mw_adminimize_header == '1') { echo ' selected="selected"'; } ?>><?php _e('Hide', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
@@ -71,7 +79,7 @@
71
  <tr valign="top">
72
  <td><?php _e('WriteScroll', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
73
  <td>
74
- <?php $_mw_adminimize_writescroll = _mw_adminimize_getOptionValue('_mw_adminimize_writescroll'); ?>
75
  <select name="_mw_adminimize_writescroll">
76
  <option value="0"<?php if ($_mw_adminimize_writescroll == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
77
  <option value="1"<?php if ($_mw_adminimize_writescroll == '1') { echo ' selected="selected"'; } ?>><?php _e('Activate', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
@@ -81,7 +89,7 @@
81
  <tr valign="top">
82
  <td><?php _e('Timestamp', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
83
  <td>
84
- <?php $_mw_adminimize_timestamp = _mw_adminimize_getOptionValue('_mw_adminimize_timestamp'); ?>
85
  <select name="_mw_adminimize_timestamp">
86
  <option value="0"<?php if ($_mw_adminimize_timestamp == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
87
  <option value="1"<?php if ($_mw_adminimize_timestamp == '1') { echo ' selected="selected"'; } ?>><?php _e('Activate', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
@@ -91,7 +99,7 @@
91
  <tr valign="top">
92
  <td><?php _e('Thickbox FullScreen', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
93
  <td>
94
- <?php $_mw_adminimize_tb_window = _mw_adminimize_getOptionValue('_mw_adminimize_tb_window'); ?>
95
  <select name="_mw_adminimize_tb_window">
96
  <option value="0"<?php if ($_mw_adminimize_tb_window == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
97
  <option value="1"<?php if ($_mw_adminimize_tb_window == '1') { echo ' selected="selected"'; } ?>><?php _e('Activate', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
@@ -101,7 +109,7 @@
101
  <tr valign="top">
102
  <td><?php _e('Flashuploader', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
103
  <td>
104
- <?php $_mw_adminimize_control_flashloader = _mw_adminimize_getOptionValue('_mw_adminimize_control_flashloader'); ?>
105
  <select name="_mw_adminimize_control_flashloader">
106
  <option value="0"<?php if ($_mw_adminimize_control_flashloader == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
107
  <option value="1"<?php if ($_mw_adminimize_control_flashloader == '1') { echo ' selected="selected"'; } ?>><?php _e('Activate', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
@@ -111,7 +119,7 @@
111
  <tr valign="top">
112
  <td><?php _e('Category Height', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
113
  <td>
114
- <?php $_mw_adminimize_cat_full = _mw_adminimize_getOptionValue('_mw_adminimize_cat_full'); ?>
115
  <select name="_mw_adminimize_cat_full">
116
  <option value="0"<?php if ($_mw_adminimize_cat_full == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
117
  <option value="1"<?php if ($_mw_adminimize_cat_full == '1') { echo ' selected="selected"'; } ?>><?php _e('Activate', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
@@ -121,19 +129,19 @@
121
  <tr valign="top">
122
  <td><?php _e('Advice in Footer', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
123
  <td>
124
- <?php $_mw_adminimize_advice = _mw_adminimize_getOptionValue('_mw_adminimize_advice'); ?>
125
  <select name="_mw_adminimize_advice">
126
  <option value="0"<?php if ($_mw_adminimize_advice == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
127
  <option value="1"<?php if ($_mw_adminimize_advice == '1') { echo ' selected="selected"'; } ?>><?php _e('Activate', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
128
  </select>
129
- <textarea style="width: 85%;" class="code" rows="1" cols="60" name="_mw_adminimize_advice_txt" id="_mw_adminimize_advice_txt" ><?php echo htmlspecialchars(stripslashes(_mw_adminimize_getOptionValue('_mw_adminimize_advice_txt'))); ?></textarea><br /><?php _e('In the Footer you can display an advice for changing the Default-design, (x)HTML is possible.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
130
  </td>
131
  </tr>
132
  <?php
133
  // when remove dashboard
134
  foreach ($user_roles as $role) {
135
- $disabled_menu_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_menu_'. $role .'_items');
136
- $disabled_submenu_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_submenu_'. $role .'_items');
137
  }
138
 
139
  $disabled_menu_all = array();
@@ -142,15 +150,15 @@
142
  array_push($disabled_menu_all, $disabled_submenu_[$role]);
143
  }
144
 
145
- if ($disabled_menu_all != '') {
146
- if ( !recursive_in_array('index.php', $disabled_menu_all) ) {
147
  $disabled_item2 = ' disabled="disabled"';
148
  }
149
  ?>
150
  <tr valign="top" class="form-invalid">
151
  <td><?php _e('Dashboard deactivate, redirect to', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
152
  <td>
153
- <?php $_mw_adminimize_db_redirect = _mw_adminimize_getOptionValue('_mw_adminimize_db_redirect'); ?>
154
  <select name="_mw_adminimize_db_redirect"<?php if ( isset($disabled_item2) ) echo $disabled_item2; ?>>
155
  <option value="0"<?php if ($_mw_adminimize_db_redirect == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?> (profile.php)</option>
156
  <option value="1"<?php if ($_mw_adminimize_db_redirect == '1') { echo ' selected="selected"'; } ?>><?php _e('Manage Posts', FB_ADMINIMIZE_TEXTDOMAIN ); ?> (edit.php)</option>
@@ -160,7 +168,7 @@
160
  <option value="5"<?php if ($_mw_adminimize_db_redirect == '5') { echo ' selected="selected"'; } ?>><?php _e('Comments', FB_ADMINIMIZE_TEXTDOMAIN ); ?> (edit-comments.php)</option>
161
  <option value="6"<?php if ($_mw_adminimize_db_redirect == '6') { echo ' selected="selected"'; } ?>><?php _e('other Page', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
162
  </select>
163
- <textarea style="width: 85%;" class="code" rows="1" cols="60" name="_mw_adminimize_db_redirect_txt" id="_mw_adminimize_db_redirect_txt" ><?php echo htmlspecialchars(stripslashes(_mw_adminimize_getOptionValue('_mw_adminimize_db_redirect_txt'))); ?></textarea>
164
  <br /><?php _e('You have deactivated the Dashboard, please select a page for redirection or define custom url, include http://?', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
165
  </td>
166
  </tr>
1
  <?php
2
+ /**
3
+ * @package Adminimize
4
+ * @subpackage Backend 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
 
13
  <div id="poststuff" class="ui-sortable meta-box-sortables">
25
  <tr valign="top" class="form-invalid">
26
  <td><?php _e('Exclude Super Admin', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
27
  <td>
28
+ <?php $_mw_adminimize_exclude_super_admin = _mw_adminimize_get_option_value('_mw_adminimize_exclude_super_admin'); ?>
29
  <select name="_mw_adminimize_exclude_super_admin">
30
  <option value="0"<?php if ($_mw_adminimize_exclude_super_admin == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
31
  <option value="1"<?php if ($_mw_adminimize_exclude_super_admin == '1') { echo ' selected="selected"'; } ?>><?php _e('Activate', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
36
  <tr valign="top">
37
  <td><?php _e('User-Info', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
38
  <td>
39
+ <?php $_mw_adminimize_user_info = _mw_adminimize_get_option_value('_mw_adminimize_user_info'); ?>
40
  <select name="_mw_adminimize_user_info">
41
  <option value="0"<?php if ($_mw_adminimize_user_info == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
42
  <option value="1"<?php if ($_mw_adminimize_user_info == '1') { echo ' selected="selected"'; } ?>><?php _e('Hide', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
49
  <tr valign="top" class="form-invalid">
50
  <td><?php _e('Change User-Info, redirect to', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
51
  <td>
52
+ <?php $_mw_adminimize_ui_redirect = _mw_adminimize_get_option_value('_mw_adminimize_ui_redirect'); ?>
53
  <select name="_mw_adminimize_ui_redirect" <?php if ( isset($disabled_item) ) echo $disabled_item; ?>>
54
  <option value="0"<?php if ($_mw_adminimize_ui_redirect == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
55
  <option value="1"<?php if ($_mw_adminimize_ui_redirect == '1') { echo ' selected="selected"'; } ?>><?php _e('Frontpage of the Blog', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
59
  <tr valign="top">
60
  <td><?php _e('Footer', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
61
  <td>
62
+ <?php $_mw_adminimize_footer = _mw_adminimize_get_option_value('_mw_adminimize_footer'); ?>
63
  <select name="_mw_adminimize_footer">
64
  <option value="0"<?php if ($_mw_adminimize_footer == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
65
  <option value="1"<?php if ($_mw_adminimize_footer == '1') { echo ' selected="selected"'; } ?>><?php _e('Hide', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
69
  <tr valign="top">
70
  <td><?php _e('Header', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
71
  <td>
72
+ <?php $_mw_adminimize_header = _mw_adminimize_get_option_value('_mw_adminimize_header'); ?>
73
  <select name="_mw_adminimize_header">
74
  <option value="0"<?php if ($_mw_adminimize_header == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
75
  <option value="1"<?php if ($_mw_adminimize_header == '1') { echo ' selected="selected"'; } ?>><?php _e('Hide', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
79
  <tr valign="top">
80
  <td><?php _e('WriteScroll', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
81
  <td>
82
+ <?php $_mw_adminimize_writescroll = _mw_adminimize_get_option_value('_mw_adminimize_writescroll'); ?>
83
  <select name="_mw_adminimize_writescroll">
84
  <option value="0"<?php if ($_mw_adminimize_writescroll == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
85
  <option value="1"<?php if ($_mw_adminimize_writescroll == '1') { echo ' selected="selected"'; } ?>><?php _e('Activate', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
89
  <tr valign="top">
90
  <td><?php _e('Timestamp', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
91
  <td>
92
+ <?php $_mw_adminimize_timestamp = _mw_adminimize_get_option_value('_mw_adminimize_timestamp'); ?>
93
  <select name="_mw_adminimize_timestamp">
94
  <option value="0"<?php if ($_mw_adminimize_timestamp == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
95
  <option value="1"<?php if ($_mw_adminimize_timestamp == '1') { echo ' selected="selected"'; } ?>><?php _e('Activate', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
99
  <tr valign="top">
100
  <td><?php _e('Thickbox FullScreen', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
101
  <td>
102
+ <?php $_mw_adminimize_tb_window = _mw_adminimize_get_option_value('_mw_adminimize_tb_window'); ?>
103
  <select name="_mw_adminimize_tb_window">
104
  <option value="0"<?php if ($_mw_adminimize_tb_window == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
105
  <option value="1"<?php if ($_mw_adminimize_tb_window == '1') { echo ' selected="selected"'; } ?>><?php _e('Activate', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
109
  <tr valign="top">
110
  <td><?php _e('Flashuploader', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
111
  <td>
112
+ <?php $_mw_adminimize_control_flashloader = _mw_adminimize_get_option_value('_mw_adminimize_control_flashloader'); ?>
113
  <select name="_mw_adminimize_control_flashloader">
114
  <option value="0"<?php if ($_mw_adminimize_control_flashloader == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
115
  <option value="1"<?php if ($_mw_adminimize_control_flashloader == '1') { echo ' selected="selected"'; } ?>><?php _e('Activate', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
119
  <tr valign="top">
120
  <td><?php _e('Category Height', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
121
  <td>
122
+ <?php $_mw_adminimize_cat_full = _mw_adminimize_get_option_value('_mw_adminimize_cat_full'); ?>
123
  <select name="_mw_adminimize_cat_full">
124
  <option value="0"<?php if ($_mw_adminimize_cat_full == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
125
  <option value="1"<?php if ($_mw_adminimize_cat_full == '1') { echo ' selected="selected"'; } ?>><?php _e('Activate', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
129
  <tr valign="top">
130
  <td><?php _e('Advice in Footer', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
131
  <td>
132
+ <?php $_mw_adminimize_advice = _mw_adminimize_get_option_value('_mw_adminimize_advice'); ?>
133
  <select name="_mw_adminimize_advice">
134
  <option value="0"<?php if ($_mw_adminimize_advice == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
135
  <option value="1"<?php if ($_mw_adminimize_advice == '1') { echo ' selected="selected"'; } ?>><?php _e('Activate', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
136
  </select>
137
+ <textarea style="width: 85%;" class="code" rows="1" cols="60" name="_mw_adminimize_advice_txt" id="_mw_adminimize_advice_txt" ><?php echo htmlspecialchars(stripslashes(_mw_adminimize_get_option_value('_mw_adminimize_advice_txt'))); ?></textarea><br /><?php _e('In the Footer you can display an advice for changing the Default-design, (x)HTML is possible.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
138
  </td>
139
  </tr>
140
  <?php
141
  // when remove dashboard
142
  foreach ($user_roles as $role) {
143
+ $disabled_menu_[$role] = _mw_adminimize_get_option_value('mw_adminimize_disabled_menu_'. $role .'_items');
144
+ $disabled_submenu_[$role] = _mw_adminimize_get_option_value('mw_adminimize_disabled_submenu_'. $role .'_items');
145
  }
146
 
147
  $disabled_menu_all = array();
150
  array_push($disabled_menu_all, $disabled_submenu_[$role]);
151
  }
152
 
153
+ if ( '' != $disabled_menu_all ) {
154
+ if ( ! _mw_adminimize_recursive_in_array('index.php', $disabled_menu_all) ) {
155
  $disabled_item2 = ' disabled="disabled"';
156
  }
157
  ?>
158
  <tr valign="top" class="form-invalid">
159
  <td><?php _e('Dashboard deactivate, redirect to', FB_ADMINIMIZE_TEXTDOMAIN ); ?></td>
160
  <td>
161
+ <?php $_mw_adminimize_db_redirect = _mw_adminimize_get_option_value('_mw_adminimize_db_redirect'); ?>
162
  <select name="_mw_adminimize_db_redirect"<?php if ( isset($disabled_item2) ) echo $disabled_item2; ?>>
163
  <option value="0"<?php if ($_mw_adminimize_db_redirect == '0') { echo ' selected="selected"'; } ?>><?php _e('Default', FB_ADMINIMIZE_TEXTDOMAIN ); ?> (profile.php)</option>
164
  <option value="1"<?php if ($_mw_adminimize_db_redirect == '1') { echo ' selected="selected"'; } ?>><?php _e('Manage Posts', FB_ADMINIMIZE_TEXTDOMAIN ); ?> (edit.php)</option>
168
  <option value="5"<?php if ($_mw_adminimize_db_redirect == '5') { echo ' selected="selected"'; } ?>><?php _e('Comments', FB_ADMINIMIZE_TEXTDOMAIN ); ?> (edit-comments.php)</option>
169
  <option value="6"<?php if ($_mw_adminimize_db_redirect == '6') { echo ' selected="selected"'; } ?>><?php _e('other Page', FB_ADMINIMIZE_TEXTDOMAIN ); ?></option>
170
  </select>
171
+ <textarea style="width: 85%;" class="code" rows="1" cols="60" name="_mw_adminimize_db_redirect_txt" id="_mw_adminimize_db_redirect_txt" ><?php echo htmlspecialchars(stripslashes(_mw_adminimize_get_option_value('_mw_adminimize_db_redirect_txt'))); ?></textarea>
172
  <br /><?php _e('You have deactivated the Dashboard, please select a page for redirection or define custom url, include http://?', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
173
  </td>
174
  </tr>
inc-options/deinstall_options.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Adminimize
4
+ * @subpackage Deinstall 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="uninstall"><?php _e('Deinstall Options', FB_ADMINIMIZE_TEXTDOMAIN ) ?></h3>
16
+ <div class="inside">
17
+
18
+ <p><?php _e('Use this option for clean your database from all entries of this plugin. When you deactivate the plugin, the deinstall of the plugin <strong>clean not</strong> all entries in the database.', FB_ADMINIMIZE_TEXTDOMAIN ); ?></p>
19
+ <form name="deinstall_options" method="post" id="_mw_adminimize_options_deinstall" action="?page=<?php echo $_GET['page'];?>">
20
+ <?php wp_nonce_field('mw_adminimize_nonce'); ?>
21
+ <p id="submitbutton">
22
+ <input type="submit" name="_mw_adminimize_deinstall" value="<?php _e('Delete Options', FB_ADMINIMIZE_TEXTDOMAIN ); ?> &raquo;" class="button-secondary" />
23
+ <input type="checkbox" name="_mw_adminimize_deinstall_yes" value="_mw_adminimize_deinstall" />
24
+ <input type="hidden" name="_mw_adminimize_action" value="_mw_adminimize_deinstall" />
25
+ </p>
26
+ </form>
27
+ <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>
28
+
29
+ </div>
30
+ </div>
31
+ </div>
32
+
inc-options/global_options.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
- // options for all pages inn backend, global
 
 
 
 
 
 
 
 
3
  ?>
4
 
5
  <div id="poststuff" class="ui-sortable meta-box-sortables">
@@ -23,7 +31,7 @@
23
  <tbody>
24
  <?php
25
  foreach ($user_roles as $role) {
26
- $disabled_global_option_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_global_option_'. $role .'_items');
27
  }
28
 
29
  $global_options = array(
@@ -44,14 +52,14 @@
44
  __('Admin Color Scheme', FB_ADMINIMIZE_TEXTDOMAIN)
45
  );
46
 
47
- $_mw_adminimize_own_values = _mw_adminimize_getOptionValue('_mw_adminimize_own_values');
48
  $_mw_adminimize_own_values = preg_split( "/\r\n/", $_mw_adminimize_own_values );
49
  foreach ( (array) $_mw_adminimize_own_values as $key => $_mw_adminimize_own_value ) {
50
  $_mw_adminimize_own_value = trim($_mw_adminimize_own_value);
51
  array_push($global_options, $_mw_adminimize_own_value);
52
  }
53
 
54
- $_mw_adminimize_own_options = _mw_adminimize_getOptionValue('_mw_adminimize_own_options');
55
  $_mw_adminimize_own_options = preg_split( "/\r\n/", $_mw_adminimize_own_options );
56
  foreach ( (array) $_mw_adminimize_own_options as $key => $_mw_adminimize_own_option ) {
57
  $_mw_adminimize_own_option = trim($_mw_adminimize_own_option);
@@ -96,12 +104,12 @@
96
  </tr>
97
  <tr valign="top">
98
  <td>
99
- <textarea name="_mw_adminimize_own_options" cols="60" rows="3" id="_mw_adminimize_own_options" style="width: 95%;" ><?php echo _mw_adminimize_getOptionValue('_mw_adminimize_own_options'); ?></textarea>
100
  <br />
101
  <?php _e('Possible nomination for ID or class. Separate multiple nominations through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
102
  </td>
103
  <td>
104
- <textarea class="code" name="_mw_adminimize_own_values" cols="60" rows="3" id="_mw_adminimize_own_values" style="width: 95%;" ><?php echo _mw_adminimize_getOptionValue('_mw_adminimize_own_values'); ?></textarea>
105
  <br />
106
  <?php _e('Possible IDs or classes. Separate multiple values through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
107
  </td>
1
  <?php
2
+ /**
3
+ * @package Adminimize
4
+ * @subpackage Global 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
 
13
  <div id="poststuff" class="ui-sortable meta-box-sortables">
31
  <tbody>
32
  <?php
33
  foreach ($user_roles as $role) {
34
+ $disabled_global_option_[$role] = _mw_adminimize_get_option_value('mw_adminimize_disabled_global_option_'. $role .'_items');
35
  }
36
 
37
  $global_options = array(
52
  __('Admin Color Scheme', FB_ADMINIMIZE_TEXTDOMAIN)
53
  );
54
 
55
+ $_mw_adminimize_own_values = _mw_adminimize_get_option_value('_mw_adminimize_own_values');
56
  $_mw_adminimize_own_values = preg_split( "/\r\n/", $_mw_adminimize_own_values );
57
  foreach ( (array) $_mw_adminimize_own_values as $key => $_mw_adminimize_own_value ) {
58
  $_mw_adminimize_own_value = trim($_mw_adminimize_own_value);
59
  array_push($global_options, $_mw_adminimize_own_value);
60
  }
61
 
62
+ $_mw_adminimize_own_options = _mw_adminimize_get_option_value('_mw_adminimize_own_options');
63
  $_mw_adminimize_own_options = preg_split( "/\r\n/", $_mw_adminimize_own_options );
64
  foreach ( (array) $_mw_adminimize_own_options as $key => $_mw_adminimize_own_option ) {
65
  $_mw_adminimize_own_option = trim($_mw_adminimize_own_option);
104
  </tr>
105
  <tr valign="top">
106
  <td>
107
+ <textarea name="_mw_adminimize_own_options" cols="60" rows="3" id="_mw_adminimize_own_options" style="width: 95%;" ><?php echo _mw_adminimize_get_option_value('_mw_adminimize_own_options'); ?></textarea>
108
  <br />
109
  <?php _e('Possible nomination for ID or class. Separate multiple nominations through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
110
  </td>
111
  <td>
112
+ <textarea class="code" name="_mw_adminimize_own_values" cols="60" rows="3" id="_mw_adminimize_own_values" style="width: 95%;" ><?php echo _mw_adminimize_get_option_value('_mw_adminimize_own_values'); ?></textarea>
113
  <br />
114
  <?php _e('Possible IDs or classes. Separate multiple values through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
115
  </td>
inc-options/im_export_options.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Adminimize
4
+ * @subpackage Im/Export 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="import"><?php _e('Export/Import Options', FB_ADMINIMIZE_TEXTDOMAIN ) ?></h3>
16
+ <div class="inside">
17
+ <br class="clear" />
18
+
19
+ <h4><?php _e('Export', FB_ADMINIMIZE_TEXTDOMAIN ) ?></h4>
20
+ <form name="export_options" method="get" action="">
21
+ <p><?php _e('You can save a .seq file with your options.', FB_ADMINIMIZE_TEXTDOMAIN ) ?></p>
22
+ <p id="submitbutton">
23
+ <input type="hidden" name="_mw_adminimize_export" value="true" />
24
+ <input type="submit" name="_mw_adminimize_save" value="<?php _e('Export &raquo;', FB_ADMINIMIZE_TEXTDOMAIN ) ?>" class="button" />
25
+ </p>
26
+ </form>
27
+
28
+ <h4><?php _e('Import', FB_ADMINIMIZE_TEXTDOMAIN ) ?></h4>
29
+ <form name="import_options" enctype="multipart/form-data" method="post" action="?page=<?php echo $_GET['page'];?>">
30
+ <?php wp_nonce_field('mw_adminimize_nonce'); ?>
31
+ <p><?php _e('Choose a Adminimize (<em>.seq</em>) file to upload, then click <em>Upload file and import</em>.', FB_ADMINIMIZE_TEXTDOMAIN ) ?></p>
32
+ <p>
33
+ <label for="datei_id"><?php _e('Choose a file from your computer', FB_ADMINIMIZE_TEXTDOMAIN ) ?>: </label>
34
+ <input name="datei" id="datei_id" type="file" />
35
+ </p>
36
+ <p id="submitbutton">
37
+ <input type="hidden" name="_mw_adminimize_action" value="_mw_adminimize_import" />
38
+ <input type="submit" name="_mw_adminimize_save" value="<?php _e('Upload file and import &raquo;', FB_ADMINIMIZE_TEXTDOMAIN ) ?>" class="button" />
39
+ </p>
40
+ </form>
41
+ <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>
42
+
43
+ </div>
44
+ </div>
45
+ </div>
46
+
inc-options/links_options.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
- // options for Links
 
 
 
 
 
 
 
 
3
  ?>
4
 
5
  <div id="poststuff" class="ui-sortable meta-box-sortables">
@@ -23,7 +31,7 @@
23
  <tbody>
24
  <?php
25
  foreach ($user_roles as $role) {
26
- $disabled_link_option_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_link_option_'. $role .'_items');
27
  }
28
 
29
  $link_options = array(
@@ -48,14 +56,14 @@
48
  __('Publish Actions', FB_ADMINIMIZE_TEXTDOMAIN)
49
  );
50
 
51
- $_mw_adminimize_own_link_values = _mw_adminimize_getOptionValue('_mw_adminimize_own_link_values');
52
  $_mw_adminimize_own_link_values = preg_split( "/\r\n/", $_mw_adminimize_own_link_values );
53
  foreach ( (array) $_mw_adminimize_own_link_values as $key => $_mw_adminimize_own_link_value ) {
54
  $_mw_adminimize_own_link_value = trim($_mw_adminimize_own_link_value);
55
  array_push($link_options, $_mw_adminimize_own_link_value);
56
  }
57
 
58
- $_mw_adminimize_own_link_options = _mw_adminimize_getOptionValue('_mw_adminimize_own_link_options');
59
  $_mw_adminimize_own_link_options = preg_split( "/\r\n/", $_mw_adminimize_own_link_options );
60
  foreach ( (array) $_mw_adminimize_own_link_options as $key => $_mw_adminimize_own_link_option ) {
61
  $_mw_adminimize_own_link_option = trim($_mw_adminimize_own_link_option);
@@ -89,7 +97,7 @@
89
  <table summary="config_edit_post" class="widefat">
90
  <thead>
91
  <tr>
92
- <th><?php _e('Your own options', FB_ADMINIMIZE_TEXTDOMAIN ); echo '<br />'; _e('ID or class', FB_ADMINIMIZE_TEXTDOMAIN ); ?></th>
93
  <th><?php echo '<br />'; _e('Option', FB_ADMINIMIZE_TEXTDOMAIN ); ?></th>
94
  </tr>
95
  </thead>
@@ -100,12 +108,12 @@
100
  </tr>
101
  <tr valign="top">
102
  <td>
103
- <textarea name="_mw_adminimize_own_link_options" cols="60" rows="3" id="_mw_adminimize_own_link_options" style="width: 95%;" ><?php echo _mw_adminimize_getOptionValue('_mw_adminimize_own_link_options'); ?></textarea>
104
  <br />
105
  <?php _e('Possible nomination for ID or class. Separate multiple nominations through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
106
  </td>
107
  <td>
108
- <textarea class="code" name="_mw_adminimize_own_link_values" cols="60" rows="3" id="_mw_adminimize_own_link_values" style="width: 95%;" ><?php echo _mw_adminimize_getOptionValue('_mw_adminimize_own_link_values'); ?></textarea>
109
  <br />
110
  <?php _e('Possible IDs or classes. Separate multiple values through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
111
  </td>
1
  <?php
2
+ /**
3
+ * @package Adminimize
4
+ * @subpackage Link 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
 
13
  <div id="poststuff" class="ui-sortable meta-box-sortables">
31
  <tbody>
32
  <?php
33
  foreach ($user_roles as $role) {
34
+ $disabled_link_option_[$role] = _mw_adminimize_get_option_value('mw_adminimize_disabled_link_option_'. $role .'_items');
35
  }
36
 
37
  $link_options = array(
56
  __('Publish Actions', FB_ADMINIMIZE_TEXTDOMAIN)
57
  );
58
 
59
+ $_mw_adminimize_own_link_values = _mw_adminimize_get_option_value('_mw_adminimize_own_link_values');
60
  $_mw_adminimize_own_link_values = preg_split( "/\r\n/", $_mw_adminimize_own_link_values );
61
  foreach ( (array) $_mw_adminimize_own_link_values as $key => $_mw_adminimize_own_link_value ) {
62
  $_mw_adminimize_own_link_value = trim($_mw_adminimize_own_link_value);
63
  array_push($link_options, $_mw_adminimize_own_link_value);
64
  }
65
 
66
+ $_mw_adminimize_own_link_options = _mw_adminimize_get_option_value('_mw_adminimize_own_link_options');
67
  $_mw_adminimize_own_link_options = preg_split( "/\r\n/", $_mw_adminimize_own_link_options );
68
  foreach ( (array) $_mw_adminimize_own_link_options as $key => $_mw_adminimize_own_link_option ) {
69
  $_mw_adminimize_own_link_option = trim($_mw_adminimize_own_link_option);
97
  <table summary="config_edit_post" class="widefat">
98
  <thead>
99
  <tr>
100
+ <th><?php _e('Your own Link options', FB_ADMINIMIZE_TEXTDOMAIN ); echo '<br />'; _e('ID or class', FB_ADMINIMIZE_TEXTDOMAIN ); ?></th>
101
  <th><?php echo '<br />'; _e('Option', FB_ADMINIMIZE_TEXTDOMAIN ); ?></th>
102
  </tr>
103
  </thead>
108
  </tr>
109
  <tr valign="top">
110
  <td>
111
+ <textarea name="_mw_adminimize_own_link_options" cols="60" rows="3" id="_mw_adminimize_own_link_options" style="width: 95%;" ><?php echo _mw_adminimize_get_option_value('_mw_adminimize_own_link_options'); ?></textarea>
112
  <br />
113
  <?php _e('Possible nomination for ID or class. Separate multiple nominations through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
114
  </td>
115
  <td>
116
+ <textarea class="code" name="_mw_adminimize_own_link_values" cols="60" rows="3" id="_mw_adminimize_own_link_values" style="width: 95%;" ><?php echo _mw_adminimize_get_option_value('_mw_adminimize_own_link_values'); ?></textarea>
117
  <br />
118
  <?php _e('Possible IDs or classes. Separate multiple values through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
119
  </td>
inc-options/menu_options.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
- // options for menu, submenu
 
 
 
 
 
 
 
 
3
  ?>
4
 
5
  <div id="poststuff" class="ui-sortable meta-box-sortables">
@@ -22,8 +30,8 @@
22
  </thead>
23
  <tbody>
24
  <?php
25
- $wp_menu = _mw_adminimize_getOptionValue('mw_adminimize_default_menu');
26
- $wp_submenu = _mw_adminimize_getOptionValue('mw_adminimize_default_submenu');
27
 
28
  if ( empty($wp_menu) ) {
29
  global $menu;
@@ -37,201 +45,8 @@
37
  }
38
 
39
  foreach ($user_roles as $role) {
40
- $disabled_metaboxes_post_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_metaboxes_post_'. $role .'_items');
41
- $disabled_metaboxes_page_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_metaboxes_page_'. $role .'_items');
42
- }
43
-
44
- $metaboxes = array(
45
- '#contextual-help-link-wrap',
46
- '#screen-options-link-wrap',
47
- '#titlediv',
48
- '#pageslugdiv',
49
- '#tagsdiv,#tagsdivsb,#tagsdiv-post_tag',
50
- '#formatdiv',
51
- '#categorydiv,#categorydivsb',
52
- '#category-add-toggle',
53
- '#postexcerpt',
54
- '#trackbacksdiv',
55
- '#postcustom',
56
- '#commentsdiv',
57
- '#passworddiv',
58
- '#authordiv',
59
- '#revisionsdiv',
60
- '.side-info',
61
- '#notice',
62
- '#post-body h2',
63
- '#media-buttons',
64
- '#wp-word-count',
65
- '#slugdiv,#edit-slug-box',
66
- '#misc-publishing-actions',
67
- '#commentstatusdiv',
68
- '#editor-toolbar #edButtonHTML, #quicktags'
69
- );
70
-
71
- if ( function_exists('current_theme_supports') && current_theme_supports( 'post-thumbnails', 'post' ) )
72
- array_push($metaboxes, '#postimagediv');
73
- if (class_exists('SimpleTagsAdmin'))
74
- array_push($metaboxes, '#suggestedtags');
75
- if (function_exists('tc_post'))
76
- array_push($metaboxes, '#textcontroldiv');
77
- if (class_exists('HTMLSpecialCharactersHelper'))
78
- array_push($metaboxes, '#htmlspecialchars');
79
- if (class_exists('All_in_One_SEO_Pack'))
80
- array_push($metaboxes, '#postaiosp, #aiosp');
81
- if (function_exists('tdomf_edit_post_panel_admin_head'))
82
- array_push($metaboxes, '#tdomf');
83
- if (function_exists('post_notification_form'))
84
- array_push($metaboxes, '#post_notification');
85
- if (function_exists('sticky_add_meta_box'))
86
- array_push($metaboxes, '#poststickystatusdiv');
87
-
88
- $metaboxes_names = array(
89
- __('Help'),
90
- __('Screen Options'),
91
- __('Title', FB_ADMINIMIZE_TEXTDOMAIN),
92
- __('Permalink', FB_ADMINIMIZE_TEXTDOMAIN ),
93
- __('Tags', FB_ADMINIMIZE_TEXTDOMAIN ),
94
- __('Format'),
95
- __('Categories', FB_ADMINIMIZE_TEXTDOMAIN ),
96
- __('Add New Category', FB_ADMINIMIZE_TEXTDOMAIN ),
97
- __('Excerpt', FB_ADMINIMIZE_TEXTDOMAIN ),
98
- __('Trackbacks', FB_ADMINIMIZE_TEXTDOMAIN ),
99
- __('Custom Fields'),
100
- __('Comments', FB_ADMINIMIZE_TEXTDOMAIN ),
101
- __('Password Protect This Post', FB_ADMINIMIZE_TEXTDOMAIN ),
102
- __('Post Author'),
103
- __('Post Revisions'),
104
- __('Related, Shortcuts', FB_ADMINIMIZE_TEXTDOMAIN ),
105
- __('Messages', FB_ADMINIMIZE_TEXTDOMAIN ),
106
- __('h2: Advanced Options', FB_ADMINIMIZE_TEXTDOMAIN ),
107
- __('Media Buttons (all)', FB_ADMINIMIZE_TEXTDOMAIN ),
108
- __('Word count', FB_ADMINIMIZE_TEXTDOMAIN ),
109
- __('Post Slug'),
110
- __('Publish Actions', FB_ADMINIMIZE_TEXTDOMAIN ),
111
- __('Discussion'),
112
- __('HTML Editor Button')
113
- );
114
-
115
- if ( function_exists('current_theme_supports') && current_theme_supports( 'post-thumbnails', 'post' ) )
116
- array_push($metaboxes_names, __('Post Thumbnail') );
117
- if (class_exists('SimpleTagsAdmin'))
118
- array_push($metaboxes_names, __('Suggested tags from'));
119
- if (function_exists('tc_post'))
120
- array_push($metaboxes_names, __('Text Control'));
121
- if (class_exists('HTMLSpecialCharactersHelper'))
122
- array_push($metaboxes_names, __('HTML Special Characters'));
123
- if (class_exists('All_in_One_SEO_Pack'))
124
- array_push($metaboxes_names, __('All in One SEO Pack'));
125
- if (function_exists('tdomf_edit_post_panel_admin_head'))
126
- array_push($metaboxes_names, 'TDOMF');
127
- if (function_exists('post_notification_form'))
128
- array_push($metaboxes_names, 'Post Notification');
129
- if (function_exists('sticky_add_meta_box'))
130
- array_push($metaboxes, 'Post Sticky Status');
131
-
132
- // add own post options
133
- $_mw_adminimize_own_post_values = _mw_adminimize_getOptionValue('_mw_adminimize_own_post_values');
134
- $_mw_adminimize_own_post_values = preg_split( "/\r\n/", $_mw_adminimize_own_post_values );
135
- foreach ( (array) $_mw_adminimize_own_post_values as $key => $_mw_adminimize_own_post_value ) {
136
- $_mw_adminimize_own_post_value = trim($_mw_adminimize_own_post_value);
137
- array_push($metaboxes, $_mw_adminimize_own_post_value);
138
- }
139
-
140
- $_mw_adminimize_own_post_options = _mw_adminimize_getOptionValue('_mw_adminimize_own_post_options');
141
- $_mw_adminimize_own_post_options = preg_split( "/\r\n/", $_mw_adminimize_own_post_options );
142
- foreach ( (array) $_mw_adminimize_own_post_options as $key => $_mw_adminimize_own_post_option ) {
143
- $_mw_adminimize_own_post_option = trim($_mw_adminimize_own_post_option);
144
- array_push($metaboxes_names, $_mw_adminimize_own_post_option);
145
- }
146
-
147
- // pages
148
- $metaboxes_page = array(
149
- '#contextual-help-link-wrap',
150
- '#screen-options-link-wrap',
151
- '#titlediv',
152
- '#pageslugdiv',
153
- '#pagepostcustom, #pagecustomdiv, #postcustom',
154
- '#pagecommentstatusdiv, #commentsdiv',
155
- '#pagepassworddiv',
156
- '#pageparentdiv',
157
- '#pagetemplatediv',
158
- '#pageorderdiv',
159
- '#pageauthordiv, #authordiv',
160
- '#revisionsdiv',
161
- '.side-info',
162
- '#notice',
163
- '#post-body h2',
164
- '#media-buttons',
165
- '#wp-word-count',
166
- '#slugdiv,#edit-slug-box',
167
- '#misc-publishing-actions',
168
- '#commentstatusdiv',
169
- '#editor-toolbar #edButtonHTML, #quicktags'
170
- );
171
-
172
- if ( function_exists('current_theme_supports') && current_theme_supports( 'post-thumbnails', 'page' ) )
173
- array_push($metaboxes_page, '#postimagediv' );
174
- if (class_exists('SimpleTagsAdmin'))
175
- array_push($metaboxes_page, '#suggestedtags');
176
- if (class_exists('HTMLSpecialCharactersHelper'))
177
- array_push($metaboxes_page, '#htmlspecialchars');
178
- if (class_exists('All_in_One_SEO_Pack'))
179
- array_push($metaboxes_page, '#postaiosp, #aiosp');
180
- if (function_exists('tdomf_edit_post_panel_admin_head'))
181
- array_push($metaboxes_page, '#tdomf');
182
- if (function_exists('post_notification_form'))
183
- array_push($metaboxes_page, '#post_notification');
184
-
185
- $metaboxes_names_page = array(
186
- __('Help'),
187
- __('Screen Options'),
188
- __('Title', FB_ADMINIMIZE_TEXTDOMAIN),
189
- __('Permalink', FB_ADMINIMIZE_TEXTDOMAIN ),
190
- __('Custom Fields'),
191
- __('Comments &amp; Pings', FB_ADMINIMIZE_TEXTDOMAIN ),
192
- __('Password Protect This Page', FB_ADMINIMIZE_TEXTDOMAIN ),
193
- __('Attributes'),
194
- __('Page Template', FB_ADMINIMIZE_TEXTDOMAIN ),
195
- __('Page Order', FB_ADMINIMIZE_TEXTDOMAIN ),
196
- __('Page Author'),
197
- __('Page Revisions'),
198
- __('Related', FB_ADMINIMIZE_TEXTDOMAIN ),
199
- __('Messages', FB_ADMINIMIZE_TEXTDOMAIN ),
200
- __('h2: Advanced Options', FB_ADMINIMIZE_TEXTDOMAIN ),
201
- __('Media Buttons (all)', FB_ADMINIMIZE_TEXTDOMAIN ),
202
- __('Word count', FB_ADMINIMIZE_TEXTDOMAIN ),
203
- __('Page Slug'),
204
- __('Publish Actions', FB_ADMINIMIZE_TEXTDOMAIN ),
205
- __('Discussion'),
206
- __('HTML Editor Button')
207
- );
208
-
209
- if ( function_exists('current_theme_supports') && current_theme_supports( 'post-thumbnails', 'page' ) )
210
- array_push($metaboxes_names_page, __('Page Image') );
211
- if (class_exists('SimpleTagsAdmin'))
212
- array_push($metaboxes_names_page, __('Suggested tags from', FB_ADMINIMIZE_TEXTDOMAIN ));
213
- if (class_exists('HTMLSpecialCharactersHelper'))
214
- array_push($metaboxes_names_page, __('HTML Special Characters'));
215
- if (class_exists('All_in_One_SEO_Pack'))
216
- array_push($metaboxes_names_page, 'All in One SEO Pack');
217
- if (function_exists('tdomf_edit_post_panel_admin_head'))
218
- array_push($metaboxes_names_page, 'TDOMF');
219
- if (function_exists('post_notification_form'))
220
- array_push($metaboxes_names_page, 'Post Notification');
221
-
222
- // add own page options
223
- $_mw_adminimize_own_page_values = _mw_adminimize_getOptionValue('_mw_adminimize_own_page_values');
224
- $_mw_adminimize_own_page_values = preg_split( "/\r\n/", $_mw_adminimize_own_page_values );
225
- foreach ( (array) $_mw_adminimize_own_page_values as $key => $_mw_adminimize_own_page_value ) {
226
- $_mw_adminimize_own_page_value = trim($_mw_adminimize_own_page_value);
227
- array_push($metaboxes_page, $_mw_adminimize_own_page_value);
228
- }
229
-
230
- $_mw_adminimize_own_page_options = _mw_adminimize_getOptionValue('_mw_adminimize_own_page_options');
231
- $_mw_adminimize_own_page_options = preg_split( "/\r\n/", $_mw_adminimize_own_page_options );
232
- foreach ( (array) $_mw_adminimize_own_page_options as $key => $_mw_adminimize_own_page_option ) {
233
- $_mw_adminimize_own_page_option = trim($_mw_adminimize_own_page_option);
234
- array_push($metaboxes_names_page, $_mw_adminimize_own_page_option);
235
  }
236
 
237
  // print menu, submenu
1
  <?php
2
+ /**
3
+ * @package Adminimize
4
+ * @subpackage Menu, Submenu 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
 
13
  <div id="poststuff" class="ui-sortable meta-box-sortables">
30
  </thead>
31
  <tbody>
32
  <?php
33
+ $wp_menu = _mw_adminimize_get_option_value('mw_adminimize_default_menu');
34
+ $wp_submenu = _mw_adminimize_get_option_value('mw_adminimize_default_submenu');
35
 
36
  if ( empty($wp_menu) ) {
37
  global $menu;
45
  }
46
 
47
  foreach ($user_roles as $role) {
48
+ $disabled_metaboxes_post_[$role] = _mw_adminimize_get_option_value('mw_adminimize_disabled_metaboxes_post_'. $role .'_items');
49
+ $disabled_metaboxes_page_[$role] = _mw_adminimize_get_option_value('mw_adminimize_disabled_metaboxes_page_'. $role .'_items');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  }
51
 
52
  // print menu, submenu
inc-options/minimenu.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
- // options for write page
 
 
 
 
 
 
 
 
3
  ?>
4
 
5
  <?php screen_icon('tools'); ?>
@@ -53,6 +61,23 @@
53
  <tr class="alternate">
54
  <td class="row-title"><a href="#config_edit_page"><?php _e('Write options - Page', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td>
55
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  <tr>
57
  <td class="row-title"><a href="#links_options"><?php _e('Links options', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td>
58
  </tr>
@@ -68,9 +93,6 @@
68
  <tr>
69
  <td class="row-title"><a href="#uninstall"><?php _e('Deinstall Options', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td>
70
  </tr>
71
- <tr class="alternate">
72
- <td class="row-title"><a href="#about"><?php _e('About the plugin', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td>
73
- </tr>
74
  </table>
75
  </div>
76
  </div>
1
  <?php
2
+ /**
3
+ * @package Adminimize
4
+ * @subpackage Menu on settings page
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
 
13
  <?php screen_icon('tools'); ?>
61
  <tr class="alternate">
62
  <td class="row-title"><a href="#config_edit_page"><?php _e('Write options - Page', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td>
63
  </tr>
64
+ <?php
65
+ if ( function_exists( 'get_post_types' ) ) {
66
+ $args = array( 'public' => TRUE, '_builtin' => FALSE );
67
+ foreach ( get_post_types( $args ) as $post_type) {
68
+ $post_type_object = get_post_type_object($post_type);
69
+ ?>
70
+ <tr class="form-invalid">
71
+ <td class="row-title">
72
+ <a href="#config_edit_<?php echo $post_type; ?>">
73
+ <?php _e('Write options', FB_ADMINIMIZE_TEXTDOMAIN ); echo ' - ' . $post_type_object->label ?>
74
+ </a>
75
+ </td>
76
+ </tr>
77
+ <?php
78
+ }
79
+ }
80
+ ?>
81
  <tr>
82
  <td class="row-title"><a href="#links_options"><?php _e('Links options', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td>
83
  </tr>
93
  <tr>
94
  <td class="row-title"><a href="#uninstall"><?php _e('Deinstall Options', FB_ADMINIMIZE_TEXTDOMAIN ); ?></a></td>
95
  </tr>
 
 
 
96
  </table>
97
  </div>
98
  </div>
inc-options/theme_options.php ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Adminimize
4
+ * @subpackage Backend Theme 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="set_theme"><?php _e('Set Theme', FB_ADMINIMIZE_TEXTDOMAIN ) ?></h3>
16
+ <div class="inside">
17
+ <br class="clear" />
18
+
19
+ <?php if ( ! isset($_POST['_mw_adminimize_action']) || !($_POST['_mw_adminimize_action'] == '_mw_adminimize_load_theme') ) { ?>
20
+ <form name="set_theme" method="post" id="_mw_adminimize_set_theme" action="?page=<?php echo $_GET['page'];?>" >
21
+ <?php wp_nonce_field('mw_adminimize_nonce'); ?>
22
+ <p><?php _e('For better peformance with many users on your blog; load only userlist, when you will change the theme options for users.', FB_ADMINIMIZE_TEXTDOMAIN ); ?></p>
23
+ <p id="submitbutton">
24
+ <input type="hidden" name="_mw_adminimize_action" value="_mw_adminimize_load_theme" />
25
+ <input type="submit" name="_mw_adminimize_load" value="<?php _e('Load User Data', FB_ADMINIMIZE_TEXTDOMAIN ); ?> &raquo;" class="button button-primary" />
26
+ </p>
27
+ </form>
28
+ <?php }
29
+ if ( isset($_POST['_mw_adminimize_action']) && ($_POST['_mw_adminimize_action'] == '_mw_adminimize_load_theme') ) { ?>
30
+ <form name="set_theme" method="post" id="_mw_adminimize_set_theme" action="?page=<?php echo $_GET['page'];?>" >
31
+ <?php wp_nonce_field('mw_adminimize_nonce'); ?>
32
+ <table class="widefat">
33
+ <thead>
34
+ <tr class="thead">
35
+ <th>&nbsp;</th>
36
+ <th class="num"><?php _e('User-ID') ?></th>
37
+ <th><?php _e('Username') ?></th>
38
+ <th><?php _e('Display name publicly as') ?></th>
39
+ <th><?php _e('Admin-Color Scheme') ?></th>
40
+ <th><?php _e('User Level') ?></th>
41
+ <th><?php _e('Role') ?></th>
42
+ </tr>
43
+ </thead>
44
+ <tbody id="users" class="list:user user-list">
45
+ <?php
46
+ $wp_user_search = $wpdb->get_results("SELECT ID, user_login, display_name FROM $wpdb->users ORDER BY ID");
47
+
48
+ $style = '';
49
+ foreach ( $wp_user_search as $userid ) {
50
+ $user_id = (int) $userid->ID;
51
+ $user_login = stripslashes($userid->user_login);
52
+ $display_name = stripslashes($userid->display_name);
53
+ $current_color = get_user_option('admin_color', $user_id);
54
+ $user_level = (int) get_user_option($table_prefix . 'user_level', $user_id);
55
+ $user_object = new WP_User($user_id);
56
+ $roles = $user_object->roles;
57
+ $role = array_shift($roles);
58
+ if ( function_exists('translate_user_role') )
59
+ $role_name = translate_user_role( $wp_roles->role_names[$role] );
60
+ elseif ( function_exists('before_last_bar') )
61
+ $role_name = before_last_bar( $wp_roles->role_names[$role], 'User role' );
62
+ else
63
+ $role_name = strrpos( $wp_roles->role_names[$role], '|' );
64
+
65
+ $style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"';
66
+ $return = '';
67
+ $return .= '<tr>' . "\n";
68
+ $return .= "\t" . '<td><input type="checkbox" name="mw_adminimize_theme_items[]" value="' . $user_id . '" /></td>' . "\n";
69
+ $return .= "\t" . '<td class="num">'. $user_id .'</td>' . "\n";
70
+ $return .= "\t" . '<td>'. $user_login .'</td>' . "\n";
71
+ $return .= "\t" . '<td>'. $display_name .'</td>' . "\n";
72
+ $return .= "\t" . '<td>'. $current_color . '</td>' . "\n";
73
+ $return .= "\t" . '<td class="num">'. $user_level . '</td>' . "\n";
74
+ $return .= "\t" . '<td>'. $role_name . '</td>' . "\n";
75
+ $return .= '</tr>' . "\n";
76
+
77
+ echo $return;
78
+ }
79
+ ?>
80
+ <tr valign="top">
81
+ <td>&nbsp;</td>
82
+ <td>&nbsp;</td>
83
+ <td>&nbsp;</td>
84
+ <td>&nbsp;</td>
85
+ <td>
86
+ <select name="_mw_adminimize_set_theme">
87
+ <?php foreach ( $_wp_admin_css_colors as $color => $color_info ): ?>
88
+ <option value="<?php echo $color; ?>"><?php echo $color_info->name . ' (' . $color . ')' ?></option>
89
+ <?php endforeach; ?>
90
+ </select>
91
+ </td>
92
+ <td>&nbsp;</td>
93
+ <td>&nbsp;</td>
94
+ </tr>
95
+ </tbody>
96
+ </table>
97
+ <p id="submitbutton">
98
+ <input type="hidden" name="_mw_adminimize_action" value="_mw_adminimize_set_theme" />
99
+ <input type="hidden" name="_mw_adminimize_load" value="_mw_adminimize_load_theme" />
100
+ <input type="submit" name="_mw_adminimize_save" value="<?php _e('Set Theme', FB_ADMINIMIZE_TEXTDOMAIN ); ?> &raquo;" class="button button-primary" />
101
+ </p>
102
+ </form>
103
+ <?php } ?>
104
+
105
+ <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>
106
+ </div>
107
+ </div>
108
+ </div>
inc-options/wp_nav_menu_options.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
- // options for WP nav menu
 
 
 
 
 
 
 
 
3
  ?>
4
  <div id="poststuff" class="ui-sortable meta-box-sortables">
5
  <div class="postbox">
@@ -22,7 +30,7 @@
22
  <tbody>
23
  <?php
24
  foreach ($user_roles as $role) {
25
- $disabled_nav_menu_option_[$role] = _mw_adminimize_getOptionValue('mw_adminimize_disabled_nav_menu_option_'. $role .'_items');
26
  }
27
 
28
  $nav_menu_options = array(
@@ -37,11 +45,11 @@
37
  array( $nav_menu_options, '#nav-menu-theme-locations' );
38
 
39
  $nav_menu_options_names = array(
40
- __('Help'),
41
  __('Screen Options'),
42
- __('Theme Locations'),
43
- __('Custom Links'),
44
- __('#') . '(' . __('Add menu') . ')'
45
  );
46
 
47
  if ( wp_get_nav_menus() )
@@ -69,14 +77,14 @@
69
  }
70
  }
71
 
72
- $_mw_adminimize_own_nav_menu_values = _mw_adminimize_getOptionValue('_mw_adminimize_own_nav_menu_values');
73
  $_mw_adminimize_own_nav_menu_values = preg_split( "/\r\n/", $_mw_adminimize_own_nav_menu_values );
74
  foreach ( (array) $_mw_adminimize_own_nav_menu_values as $key => $_mw_adminimize_own_nav_menu_value ) {
75
  $_mw_adminimize_own_nav_menu_value = trim($_mw_adminimize_own_nav_menu_value);
76
  array_push($nav_menu_options, $_mw_adminimize_own_nav_menu_value);
77
  }
78
 
79
- $_mw_adminimize_own_nav_menu_options = _mw_adminimize_getOptionValue('_mw_adminimize_own_nav_menu_options');
80
  $_mw_adminimize_own_nav_menu_options = preg_split( "/\r\n/", $_mw_adminimize_own_nav_menu_options );
81
  foreach ( (array) $_mw_adminimize_own_nav_menu_options as $key => $_mw_adminimize_own_nav_menu_option ) {
82
  $_mw_adminimize_own_nav_menu_option = trim($_mw_adminimize_own_nav_menu_option);
@@ -110,7 +118,7 @@
110
  <table summary="config_edit_post" class="widefat">
111
  <thead>
112
  <tr>
113
- <th><?php _e('Your own options', FB_ADMINIMIZE_TEXTDOMAIN ); echo '<br />'; _e('ID or class', FB_ADMINIMIZE_TEXTDOMAIN ); ?></th>
114
  <th><?php echo '<br />'; _e('Option', FB_ADMINIMIZE_TEXTDOMAIN ); ?></th>
115
  </tr>
116
  </thead>
@@ -121,12 +129,12 @@
121
  </tr>
122
  <tr valign="top">
123
  <td>
124
- <textarea name="_mw_adminimize_own_nav_menu_options" cols="60" rows="3" id="_mw_adminimize_own_nav_menu_options" style="width: 95%;" ><?php echo _mw_adminimize_getOptionValue('_mw_adminimize_own_nav_menu_options'); ?></textarea>
125
  <br />
126
  <?php _e('Possible nomination for ID or class. Separate multiple nominations through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
127
  </td>
128
  <td>
129
- <textarea class="code" name="_mw_adminimize_own_nav_menu_values" cols="60" rows="3" id="_mw_adminimize_own_nav_menu_values" style="width: 95%;" ><?php echo _mw_adminimize_getOptionValue('_mw_adminimize_own_nav_menu_values'); ?></textarea>
130
  <br />
131
  <?php _e('Possible IDs or classes. Separate multiple values through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
132
  </td>
1
  <?php
2
+ /**
3
+ * @package Adminimize
4
+ * @subpackage Nav Menu 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">
30
  <tbody>
31
  <?php
32
  foreach ($user_roles as $role) {
33
+ $disabled_nav_menu_option_[$role] = _mw_adminimize_get_option_value('mw_adminimize_disabled_nav_menu_option_'. $role .'_items');
34
  }
35
 
36
  $nav_menu_options = array(
45
  array( $nav_menu_options, '#nav-menu-theme-locations' );
46
 
47
  $nav_menu_options_names = array(
48
+ __('Help', FB_ADMINIMIZE_TEXTDOMAIN),
49
  __('Screen Options'),
50
+ __('Theme Locations', FB_ADMINIMIZE_TEXTDOMAIN),
51
+ __('Custom Links', FB_ADMINIMIZE_TEXTDOMAIN),
52
+ '#(' . __('Add menu', FB_ADMINIMIZE_TEXTDOMAIN) . ')'
53
  );
54
 
55
  if ( wp_get_nav_menus() )
77
  }
78
  }
79
 
80
+ $_mw_adminimize_own_nav_menu_values = _mw_adminimize_get_option_value('_mw_adminimize_own_nav_menu_values');
81
  $_mw_adminimize_own_nav_menu_values = preg_split( "/\r\n/", $_mw_adminimize_own_nav_menu_values );
82
  foreach ( (array) $_mw_adminimize_own_nav_menu_values as $key => $_mw_adminimize_own_nav_menu_value ) {
83
  $_mw_adminimize_own_nav_menu_value = trim($_mw_adminimize_own_nav_menu_value);
84
  array_push($nav_menu_options, $_mw_adminimize_own_nav_menu_value);
85
  }
86
 
87
+ $_mw_adminimize_own_nav_menu_options = _mw_adminimize_get_option_value('_mw_adminimize_own_nav_menu_options');
88
  $_mw_adminimize_own_nav_menu_options = preg_split( "/\r\n/", $_mw_adminimize_own_nav_menu_options );
89
  foreach ( (array) $_mw_adminimize_own_nav_menu_options as $key => $_mw_adminimize_own_nav_menu_option ) {
90
  $_mw_adminimize_own_nav_menu_option = trim($_mw_adminimize_own_nav_menu_option);
118
  <table summary="config_edit_post" class="widefat">
119
  <thead>
120
  <tr>
121
+ <th><?php _e('Your own Nav Menu options', FB_ADMINIMIZE_TEXTDOMAIN ); echo '<br />'; _e('ID or class', FB_ADMINIMIZE_TEXTDOMAIN ); ?></th>
122
  <th><?php echo '<br />'; _e('Option', FB_ADMINIMIZE_TEXTDOMAIN ); ?></th>
123
  </tr>
124
  </thead>
129
  </tr>
130
  <tr valign="top">
131
  <td>
132
+ <textarea name="_mw_adminimize_own_nav_menu_options" cols="60" rows="3" id="_mw_adminimize_own_nav_menu_options" style="width: 95%;" ><?php echo _mw_adminimize_get_option_value('_mw_adminimize_own_nav_menu_options'); ?></textarea>
133
  <br />
134
  <?php _e('Possible nomination for ID or class. Separate multiple nominations through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
135
  </td>
136
  <td>
137
+ <textarea class="code" name="_mw_adminimize_own_nav_menu_values" cols="60" rows="3" id="_mw_adminimize_own_nav_menu_values" style="width: 95%;" ><?php echo _mw_adminimize_get_option_value('_mw_adminimize_own_nav_menu_values'); ?></textarea>
138
  <br />
139
  <?php _e('Possible IDs or classes. Separate multiple values through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
140
  </td>
inc-options/write_cp_options.php ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Adminimize
4
+ * @subpackage Custom Post type 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
+ $args = array( 'public' => TRUE, '_builtin' => FALSE );
13
+ foreach ( get_post_types( $args ) as $post_type ) {
14
+ $post_type_object = get_post_type_object($post_type);
15
+ ?>
16
+
17
+ <div id="poststuff" class="ui-sortable meta-box-sortables">
18
+ <div class="postbox">
19
+ <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div>
20
+ <h3 class="hndle" id="config_edit_<?php echo $post_type; ?>">
21
+ <?php _e('Write options', FB_ADMINIMIZE_TEXTDOMAIN ); echo ' - ' . $post_type_object->label; ?>
22
+ </h3>
23
+ <div class="inside">
24
+ <br class="clear" />
25
+
26
+ <table summary="config_edit_post" class="widefat">
27
+ <thead>
28
+ <tr>
29
+ <th><?php _e('Write options', FB_ADMINIMIZE_TEXTDOMAIN ); echo ' - ' . $post_type_object->label ?></th>
30
+ <?php
31
+ foreach ( $user_roles_names as $role_name ) { ?>
32
+ <th><?php _e('Deactivate for', FB_ADMINIMIZE_TEXTDOMAIN ); echo '<br/>' . $role_name; ?></th>
33
+ <?php } ?>
34
+ </tr>
35
+ </thead>
36
+
37
+ <tbody>
38
+ <?php
39
+ $metaboxes = array(
40
+ '#contextual-help-link-wrap',
41
+ '#screen-options-link-wrap',
42
+ '#pageslugdiv',
43
+ '#tagsdiv,#tagsdivsb,#tagsdiv-post_tag',
44
+ '#formatdiv',
45
+ '#categorydiv,#categorydivsb',
46
+ '#category-add-toggle',
47
+ '#passworddiv',
48
+ '.side-info',
49
+ '#notice',
50
+ '#post-body h2',
51
+ '#media-buttons',
52
+ '#wp-word-count',
53
+ '#slugdiv,#edit-slug-box',
54
+ '#misc-publishing-actions',
55
+ '#commentstatusdiv',
56
+ '#editor-toolbar #edButtonHTML, #quicktags'
57
+ );
58
+
59
+ foreach ( $GLOBALS['_wp_post_type_features'][$post_type] as $post_type_support => $key ) {
60
+ if ( post_type_supports( $post_type, $post_type_support ) )
61
+ if ( 'excerpt' === $post_type_support )
62
+ $post_type_support = 'postexcerpt';
63
+ if ( 'page-attributes' === $post_type_support )
64
+ $post_type_support = 'pageparentdiv';
65
+ if ( 'custom-fields' == $post_type_support )
66
+ $post_type_support = 'postcustom';
67
+ array_push( $metaboxes, '#' . $post_type_support . ', #' . $post_type_support . 'div' );
68
+ }
69
+ if ( function_exists('current_theme_supports') &&
70
+ current_theme_supports( 'post-thumbnails', $post_type )
71
+ )
72
+ array_push($metaboxes, '#postimagediv');
73
+ if (function_exists('sticky_add_meta_box'))
74
+ array_push($metaboxes, '#poststickystatusdiv');
75
+
76
+ // quick edit areas, id and class
77
+ $quickedit_areas = array(
78
+ 'div.row-actions .inline',
79
+ 'fieldset.inline-edit-col-left',
80
+ 'fieldset.inline-edit-col-left label',
81
+ 'fieldset.inline-edit-col-left label.inline-edit-author',
82
+ 'fieldset.inline-edit-col-left .inline-edit-group',
83
+ 'fieldset.inline-edit-col-center',
84
+ 'fieldset.inline-edit-col-center .inline-edit-categories-label',
85
+ 'fieldset.inline-edit-col-center .category-checklist',
86
+ 'fieldset.inline-edit-col-right',
87
+ 'fieldset.inline-edit-col-right .inline-edit-tags',
88
+ 'fieldset.inline-edit-col-right .inline-edit-group',
89
+ 'tr.inline-edit-save p.inline-edit-save'
90
+ );
91
+ $metaboxes = array_merge( $metaboxes, $quickedit_areas );
92
+
93
+ $metaboxes_names = array(
94
+ __('Help'),
95
+ __('Screen Options'),
96
+ __('Permalink', FB_ADMINIMIZE_TEXTDOMAIN ),
97
+ __('Tags', FB_ADMINIMIZE_TEXTDOMAIN ),
98
+ __('Format', FB_ADMINIMIZE_TEXTDOMAIN),
99
+ __('Categories', FB_ADMINIMIZE_TEXTDOMAIN ),
100
+ __('Add New Category', FB_ADMINIMIZE_TEXTDOMAIN ),
101
+ __('Password Protect This Post', FB_ADMINIMIZE_TEXTDOMAIN ),
102
+ __('Related, Shortcuts', FB_ADMINIMIZE_TEXTDOMAIN ),
103
+ __('Messages', FB_ADMINIMIZE_TEXTDOMAIN ),
104
+ __('h2: Advanced Options', FB_ADMINIMIZE_TEXTDOMAIN ),
105
+ __('Media Buttons (all)', FB_ADMINIMIZE_TEXTDOMAIN ),
106
+ __('Word count', FB_ADMINIMIZE_TEXTDOMAIN ),
107
+ __('Post Slug', FB_ADMINIMIZE_TEXTDOMAIN),
108
+ __('Publish Actions', FB_ADMINIMIZE_TEXTDOMAIN ),
109
+ __('Discussion'),
110
+ __('HTML Editor Button')
111
+ );
112
+
113
+ foreach ( $GLOBALS['_wp_post_type_features'][$post_type] as $post_type_support => $key ) {
114
+ if ( post_type_supports( $post_type, $post_type_support ) )
115
+ array_push( $metaboxes_names, ucfirst($post_type_support) );
116
+ }
117
+ if ( function_exists('current_theme_supports') &&
118
+ current_theme_supports( 'post-thumbnails', 'post' )
119
+ )
120
+ array_push($metaboxes_names, __('Post Thumbnail', FB_ADMINIMIZE_TEXTDOMAIN) );
121
+ if (function_exists('sticky_add_meta_box'))
122
+ array_push($metaboxes_names, 'Post Sticky Status');
123
+
124
+ // quick edit names
125
+ $quickedit_names = array(
126
+ '<strong>' .__('Quick Edit Link', FB_ADMINIMIZE_TEXTDOMAIN) . '</strong>',
127
+ __('QE', FB_ADMINIMIZE_TEXTDOMAIN) . ' ' . __('Inline Edit Left', FB_ADMINIMIZE_TEXTDOMAIN),
128
+ '&emsp;QE &rArr;' . ' ' . __('All Labels', FB_ADMINIMIZE_TEXTDOMAIN),
129
+ '&emsp;QE &rArr;' . ' ' . __('Author'),
130
+ '&emsp;QE &rArr;' . ' ' . __('Password and Private', FB_ADMINIMIZE_TEXTDOMAIN),
131
+ __('QE', FB_ADMINIMIZE_TEXTDOMAIN) . ' ' . __('Inline Edit Center', FB_ADMINIMIZE_TEXTDOMAIN),
132
+ '&emsp;QE &rArr;' . ' ' . __('Categories Title', FB_ADMINIMIZE_TEXTDOMAIN),
133
+ '&emsp;QE &rArr;' . ' ' . __('Categories List', FB_ADMINIMIZE_TEXTDOMAIN),
134
+ __('QE', FB_ADMINIMIZE_TEXTDOMAIN) . ' ' . __('Inline Edit Right', FB_ADMINIMIZE_TEXTDOMAIN),
135
+ '&emsp;QE &rArr;' . ' ' . __('Tags'),
136
+ '&emsp;QE &rArr;' . ' ' . __('Status, Sticky', FB_ADMINIMIZE_TEXTDOMAIN),
137
+ __('QE', FB_ADMINIMIZE_TEXTDOMAIN) . ' ' . __('Cancel/Save Button', FB_ADMINIMIZE_TEXTDOMAIN)
138
+ );
139
+ $metaboxes_names = array_merge($metaboxes_names, $quickedit_names);
140
+
141
+ // add own post options
142
+ $_mw_adminimize_own_values_[$post_type] = _mw_adminimize_get_option_value(
143
+ '_mw_adminimize_own_values_' . $post_type
144
+ );
145
+ $_mw_adminimize_own_values_[$post_type] = preg_split( "/\r\n/", $_mw_adminimize_own_values_[$post_type] );
146
+ foreach ( (array) $_mw_adminimize_own_values_[$post_type] as $key => $_mw_adminimize_own_value_[$post_type] ) {
147
+ $_mw_adminimize_own_value_[$post_type] = trim( $_mw_adminimize_own_value_[$post_type] );
148
+ array_push( $metaboxes, $_mw_adminimize_own_value_[$post_type] );
149
+ }
150
+
151
+ $_mw_adminimize_own_options_[$post_type] = _mw_adminimize_get_option_value(
152
+ '_mw_adminimize_own_options_' . $post_type
153
+ );
154
+ $_mw_adminimize_own_options_[$post_type] = preg_split( "/\r\n/", $_mw_adminimize_own_options_[$post_type] );
155
+ foreach ( (array) $_mw_adminimize_own_options_[$post_type] as $key => $_mw_adminimize_own_option_[$post_type] ) {
156
+ $_mw_adminimize_own_option_[$post_type] = trim( $_mw_adminimize_own_option_[$post_type] );
157
+ array_push( $metaboxes_names, $_mw_adminimize_own_option_[$post_type] );
158
+ }
159
+
160
+ $x = 0;
161
+ $class = '';
162
+ foreach ($metaboxes as $index => $metabox) {
163
+ if ( '' != $metabox ) {
164
+ $class = ( ' class="alternate"' == $class ) ? '' : ' class="alternate"';
165
+ $checked_user_role_ = array();
166
+ foreach ($user_roles as $role) {
167
+ $disabled_metaboxes_[$post_type . '_' . $role] = _mw_adminimize_get_option_value(
168
+ 'mw_adminimize_disabled_metaboxes_' . $post_type . '_' . $role . '_items'
169
+ );
170
+ $checked_user_role_[$post_type . '_' . $role] = (
171
+ isset($disabled_metaboxes_[$post_type . '_' . $role]) &&
172
+ in_array($metabox, $disabled_metaboxes_[$post_type . '_' . $role])
173
+ ) ? ' checked="checked"' : '';
174
+ }
175
+ echo '<tr' . $class . '>' . "\n";
176
+ echo '<td>' . $metaboxes_names[$index] .
177
+ ' <span style="color:#ccc; font-weight: 400;">(' . $metabox . ')</span> </td>' . "\n";
178
+ foreach ($user_roles as $role) {
179
+ echo '<td class="num"><input id="check_' .
180
+ $post_type . $role . $x .'" type="checkbox"' .
181
+ $checked_user_role_[$post_type . '_' . $role] .
182
+ ' name="mw_adminimize_disabled_metaboxes_' . $post_type .
183
+ '_'. $role .'_items[]" value="' . $metabox . '" /></td>' . "\n";
184
+ }
185
+ echo '</tr>' . "\n";
186
+ $x ++;
187
+ }
188
+ }
189
+ ?>
190
+ </tbody>
191
+ </table>
192
+
193
+ <?php
194
+ //your own post options
195
+ ?>
196
+ <br style="margin-top: 10px;" />
197
+ <table summary="config_own_post" class="widefat">
198
+ <thead>
199
+ <tr>
200
+ <th>
201
+ <?php echo sprintf( __('Your own %s options', FB_ADMINIMIZE_TEXTDOMAIN ), $post_type_object->label );
202
+ echo '<br />'; _e('ID or class', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
203
+ </th>
204
+ <th><?php echo '<br />'; _e('Option', FB_ADMINIMIZE_TEXTDOMAIN ); ?></th>
205
+ </tr>
206
+ </thead>
207
+
208
+ <tbody>
209
+ <tr valign="top">
210
+ <td colspan="2">
211
+ <?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 ); ?>
212
+ </td>
213
+ </tr>
214
+ <tr valign="top">
215
+ <td>
216
+ <textarea name="_mw_adminimize_own_options_<?php echo $post_type; ?>"
217
+ cols="60" rows="3"
218
+ id="_mw_adminimize_own_options_<?php echo $post_type; ?>"
219
+ style="width: 95%;" ><?php echo _mw_adminimize_get_option_value('_mw_adminimize_own_' . $post_type . '_options'); ?></textarea>
220
+ <br />
221
+ <?php _e('Possible nomination for ID or class. Separate multiple nominations through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
222
+ </td>
223
+ <td>
224
+ <textarea class="code" name="_mw_adminimize_own_values_<?php echo $post_type; ?>"
225
+ cols="60" rows="3"
226
+ id="_mw_adminimize_own_values_<?php echo $post_type; ?>"
227
+ style="width: 95%;" >
228
+ <?php echo _mw_adminimize_get_option_value('_mw_adminimize_own_' . $post_type . '_values'); ?></textarea>
229
+ <br />
230
+ <?php _e('Possible IDs or classes. Separate multiple values through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
231
+ </td>
232
+ </tr>
233
+ </tbody>
234
+ </table>
235
+
236
+ <p id="submitbutton">
237
+ <input type="hidden" name="_mw_adminimize_action" value="_mw_adminimize_insert" />
238
+ <input class="button button-primary" type="submit"
239
+ name="_mw_adminimize_save"
240
+ value="<?php _e('Update Options', FB_ADMINIMIZE_TEXTDOMAIN ); ?> &raquo;" />
241
+ <input type="hidden" name="page_options" value="'dofollow_timeout'" />
242
+ </p>
243
+ <p><a class="alignright button" href="javascript:void(0);"
244
+ onclick="window.scrollTo(0,0);" style="margin:3px 0 0 30px;">
245
+ <?php _e('scroll to top', FB_ADMINIMIZE_TEXTDOMAIN); ?></a>
246
+ <br class="clear" />
247
+ </p>
248
+
249
+ </div>
250
+ </div>
251
+ </div>
252
+
253
+ <?php } // end foreach ?>
inc-options/write_page_options.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
- // options for write page
 
 
 
 
 
 
 
 
3
  ?>
4
  <div id="poststuff" class="ui-sortable meta-box-sortables">
5
  <div class="postbox">
@@ -21,6 +29,126 @@
21
 
22
  <tbody>
23
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  $x = 0;
25
  $class = '';
26
  foreach ($metaboxes_page as $index => $metabox) {
@@ -28,7 +156,7 @@
28
  $class = ( ' class="alternate"' == $class ) ? '' : ' class="alternate"';
29
  $checked_user_role_ = array();
30
  foreach ($user_roles as $role) {
31
- $checked_user_role_[$role] = ( isset($disabled_metaboxes_page_[$role]) && in_array($metabox, $disabled_metaboxes_page_[$role]) ) ? ' checked="checked"' : '';
32
  }
33
  echo '<tr' . $class . '>' . "\n";
34
  echo '<td>' . $metaboxes_names_page[$index] . ' <span style="color:#ccc; font-weight: 400;">(' . $metabox . ')</span> </td>' . "\n";
@@ -61,12 +189,12 @@
61
  </tr>
62
  <tr valign="top">
63
  <td>
64
- <textarea name="_mw_adminimize_own_page_options" cols="60" rows="3" id="_mw_adminimize_own_page_options" style="width: 95%;" ><?php echo _mw_adminimize_getOptionValue('_mw_adminimize_own_page_options'); ?></textarea>
65
  <br />
66
  <?php _e('Possible nomination for ID or class. Separate multiple nominations through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
67
  </td>
68
  <td>
69
- <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_getOptionValue('_mw_adminimize_own_page_values'); ?></textarea>
70
  <br />
71
  <?php _e('Possible IDs or classes. Separate multiple values through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
72
  </td>
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">
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) {
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";
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>
inc-options/write_post_options.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
- // options for write post
 
 
 
 
 
 
 
 
3
  ?>
4
 
5
  <div id="poststuff" class="ui-sortable meta-box-sortables">
@@ -22,6 +30,143 @@
22
 
23
  <tbody>
24
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  $x = 0;
26
  $class = '';
27
  foreach ($metaboxes as $index => $metabox) {
@@ -62,12 +207,12 @@
62
  </tr>
63
  <tr valign="top">
64
  <td>
65
- <textarea name="_mw_adminimize_own_post_options" cols="60" rows="3" id="_mw_adminimize_own_post_options" style="width: 95%;" ><?php echo _mw_adminimize_getOptionValue('_mw_adminimize_own_post_options'); ?></textarea>
66
  <br />
67
  <?php _e('Possible nomination for ID or class. Separate multiple nominations through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
68
  </td>
69
  <td>
70
- <textarea class="code" name="_mw_adminimize_own_post_values" cols="60" rows="3" id="_mw_adminimize_own_post_values" style="width: 95%;" ><?php echo _mw_adminimize_getOptionValue('_mw_adminimize_own_post_values'); ?></textarea>
71
  <br />
72
  <?php _e('Possible IDs or classes. Separate multiple values through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
73
  </td>
1
  <?php
2
+ /**
3
+ * @package Adminimize
4
+ * @subpackage Post 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
 
13
  <div id="poststuff" class="ui-sortable meta-box-sortables">
30
 
31
  <tbody>
32
  <?php
33
+ $metaboxes = array(
34
+ '#contextual-help-link-wrap',
35
+ '#screen-options-link-wrap',
36
+ '#titlediv',
37
+ '#pageslugdiv',
38
+ '#tagsdiv,#tagsdivsb,#tagsdiv-post_tag',
39
+ '#formatdiv',
40
+ '#categorydiv,#categorydivsb',
41
+ '#category-add-toggle',
42
+ '#postexcerpt',
43
+ '#trackbacksdiv',
44
+ '#postcustom',
45
+ '#commentsdiv',
46
+ '#passworddiv',
47
+ '#authordiv',
48
+ '#revisionsdiv',
49
+ '.side-info',
50
+ '#notice',
51
+ '#post-body h2',
52
+ '#media-buttons',
53
+ '#wp-word-count',
54
+ '#slugdiv,#edit-slug-box',
55
+ '#misc-publishing-actions',
56
+ '#commentstatusdiv',
57
+ '#editor-toolbar #edButtonHTML, #quicktags'
58
+ );
59
+
60
+ if ( function_exists('current_theme_supports') && current_theme_supports( 'post-thumbnails', 'post' ) )
61
+ array_push($metaboxes, '#postimagediv');
62
+ if (class_exists('SimpleTagsAdmin'))
63
+ array_push($metaboxes, '#suggestedtags');
64
+ if (function_exists('tc_post'))
65
+ array_push($metaboxes, '#textcontroldiv');
66
+ if (class_exists('HTMLSpecialCharactersHelper'))
67
+ array_push($metaboxes, '#htmlspecialchars');
68
+ if (class_exists('All_in_One_SEO_Pack'))
69
+ array_push($metaboxes, '#postaiosp, #aiosp');
70
+ if (function_exists('tdomf_edit_post_panel_admin_head'))
71
+ array_push($metaboxes, '#tdomf');
72
+ if (function_exists('post_notification_form'))
73
+ array_push($metaboxes, '#post_notification');
74
+ if (function_exists('sticky_add_meta_box'))
75
+ array_push($metaboxes, '#poststickystatusdiv');
76
+
77
+ // quick edit areas, id and class
78
+ $quickedit_areas = array(
79
+ 'div.row-actions .inline',
80
+ 'fieldset.inline-edit-col-left',
81
+ 'fieldset.inline-edit-col-left label',
82
+ 'fieldset.inline-edit-col-left label.inline-edit-author',
83
+ 'fieldset.inline-edit-col-left .inline-edit-group',
84
+ 'fieldset.inline-edit-col-center',
85
+ 'fieldset.inline-edit-col-center .inline-edit-categories-label',
86
+ 'fieldset.inline-edit-col-center .category-checklist',
87
+ 'fieldset.inline-edit-col-right',
88
+ 'fieldset.inline-edit-col-right .inline-edit-tags',
89
+ 'fieldset.inline-edit-col-right .inline-edit-group',
90
+ 'tr.inline-edit-post p.inline-edit-save'
91
+ );
92
+ $metaboxes = array_merge($metaboxes, $quickedit_areas);
93
+
94
+ $metaboxes_names = array(
95
+ __('Help'),
96
+ __('Screen Options'),
97
+ __('Title', FB_ADMINIMIZE_TEXTDOMAIN),
98
+ __('Permalink', FB_ADMINIMIZE_TEXTDOMAIN ),
99
+ __('Tags', FB_ADMINIMIZE_TEXTDOMAIN ),
100
+ __('Format', FB_ADMINIMIZE_TEXTDOMAIN),
101
+ __('Categories', FB_ADMINIMIZE_TEXTDOMAIN ),
102
+ __('Add New Category', FB_ADMINIMIZE_TEXTDOMAIN ),
103
+ __('Excerpt', FB_ADMINIMIZE_TEXTDOMAIN ),
104
+ __('Trackbacks', FB_ADMINIMIZE_TEXTDOMAIN ),
105
+ __('Custom Fields'),
106
+ __('Comments', FB_ADMINIMIZE_TEXTDOMAIN ),
107
+ __('Password Protect This Post', FB_ADMINIMIZE_TEXTDOMAIN ),
108
+ __('Post Author'),
109
+ __('Post Revisions'),
110
+ __('Related, Shortcuts', FB_ADMINIMIZE_TEXTDOMAIN ),
111
+ __('Messages', FB_ADMINIMIZE_TEXTDOMAIN ),
112
+ __('h2: Advanced Options', FB_ADMINIMIZE_TEXTDOMAIN ),
113
+ __('Media Buttons (all)', FB_ADMINIMIZE_TEXTDOMAIN ),
114
+ __('Word count', FB_ADMINIMIZE_TEXTDOMAIN ),
115
+ __('Post Slug', FB_ADMINIMIZE_TEXTDOMAIN),
116
+ __('Publish Actions', FB_ADMINIMIZE_TEXTDOMAIN ),
117
+ __('Discussion'),
118
+ __('HTML Editor Button')
119
+ );
120
+
121
+ if ( function_exists('current_theme_supports') && current_theme_supports( 'post-thumbnails', 'post' ) )
122
+ array_push($metaboxes_names, __('Post Thumbnail', FB_ADMINIMIZE_TEXTDOMAIN) );
123
+ if (class_exists('SimpleTagsAdmin'))
124
+ array_push($metaboxes_names, 'Suggested tags from');
125
+ if (function_exists('tc_post'))
126
+ array_push($metaboxes_names, 'Text Control');
127
+ if (class_exists('HTMLSpecialCharactersHelper'))
128
+ array_push($metaboxes_names, 'HTML Special Characters');
129
+ if (class_exists('All_in_One_SEO_Pack'))
130
+ array_push($metaboxes_names, 'All in One SEO Pack');
131
+ if (function_exists('tdomf_edit_post_panel_admin_head'))
132
+ array_push($metaboxes_names, 'TDOMF');
133
+ if (function_exists('post_notification_form'))
134
+ array_push($metaboxes_names, 'Post Notification');
135
+ if (function_exists('sticky_add_meta_box'))
136
+ array_push($metaboxes_names, 'Post Sticky Status');
137
+
138
+ // quick edit names
139
+ $quickedit_names = array(
140
+ '<strong>' .__('Quick Edit Link', FB_ADMINIMIZE_TEXTDOMAIN) . '</strong>',
141
+ __('QE', FB_ADMINIMIZE_TEXTDOMAIN) . ' ' . __('Inline Edit Left', FB_ADMINIMIZE_TEXTDOMAIN),
142
+ '&emsp;QE &rArr;' . ' ' . __('All Labels', FB_ADMINIMIZE_TEXTDOMAIN),
143
+ '&emsp;QE &rArr;' . ' ' . __('Author'),
144
+ '&emsp;QE &rArr;' . ' ' . __('Password and Private', FB_ADMINIMIZE_TEXTDOMAIN),
145
+ __('QE', FB_ADMINIMIZE_TEXTDOMAIN) . ' ' . __('Inline Edit Center', FB_ADMINIMIZE_TEXTDOMAIN),
146
+ '&emsp;QE &rArr;' . ' ' . __('Categories Title', FB_ADMINIMIZE_TEXTDOMAIN),
147
+ '&emsp;QE &rArr;' . ' ' . __('Categories List', FB_ADMINIMIZE_TEXTDOMAIN),
148
+ __('QE', FB_ADMINIMIZE_TEXTDOMAIN) . ' ' . __('Inline Edit Right', FB_ADMINIMIZE_TEXTDOMAIN),
149
+ '&emsp;QE &rArr;' . ' ' . __('Tags'),
150
+ '&emsp;QE &rArr;' . ' ' . __('Status, Sticky', FB_ADMINIMIZE_TEXTDOMAIN),
151
+ __('QE', FB_ADMINIMIZE_TEXTDOMAIN) . ' ' . __('Cancel/Save Button', FB_ADMINIMIZE_TEXTDOMAIN)
152
+ );
153
+ $metaboxes_names = array_merge($metaboxes_names, $quickedit_names);
154
+
155
+ // add own post options
156
+ $_mw_adminimize_own_post_values = _mw_adminimize_get_option_value('_mw_adminimize_own_post_values');
157
+ $_mw_adminimize_own_post_values = preg_split( "/\r\n/", $_mw_adminimize_own_post_values );
158
+ foreach ( (array) $_mw_adminimize_own_post_values as $key => $_mw_adminimize_own_post_value ) {
159
+ $_mw_adminimize_own_post_value = trim($_mw_adminimize_own_post_value);
160
+ array_push($metaboxes, $_mw_adminimize_own_post_value);
161
+ }
162
+
163
+ $_mw_adminimize_own_post_options = _mw_adminimize_get_option_value('_mw_adminimize_own_post_options');
164
+ $_mw_adminimize_own_post_options = preg_split( "/\r\n/", $_mw_adminimize_own_post_options );
165
+ foreach ( (array) $_mw_adminimize_own_post_options as $key => $_mw_adminimize_own_post_option ) {
166
+ $_mw_adminimize_own_post_option = trim($_mw_adminimize_own_post_option);
167
+ array_push($metaboxes_names, $_mw_adminimize_own_post_option);
168
+ }
169
+
170
  $x = 0;
171
  $class = '';
172
  foreach ($metaboxes as $index => $metabox) {
207
  </tr>
208
  <tr valign="top">
209
  <td>
210
+ <textarea name="_mw_adminimize_own_post_options" cols="60" rows="3" id="_mw_adminimize_own_post_options" style="width: 95%;" ><?php echo _mw_adminimize_get_option_value('_mw_adminimize_own_post_options'); ?></textarea>
211
  <br />
212
  <?php _e('Possible nomination for ID or class. Separate multiple nominations through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
213
  </td>
214
  <td>
215
+ <textarea class="code" name="_mw_adminimize_own_post_values" cols="60" rows="3" id="_mw_adminimize_own_post_values" style="width: 95%;" ><?php echo _mw_adminimize_get_option_value('_mw_adminimize_own_post_values'); ?></textarea>
216
  <br />
217
  <?php _e('Possible IDs or classes. Separate multiple values through a carriage return.', FB_ADMINIMIZE_TEXTDOMAIN ); ?>
218
  </td>
js/remove_footer.js CHANGED
File without changes
js/remove_header.js CHANGED
File without changes
js/tb_window.js CHANGED
File without changes
js/timestamp.js CHANGED
File without changes
js/writescroll.js CHANGED
File without changes
languages/adminimize-by_BY.mo CHANGED
File without changes
languages/adminimize-by_BY.po CHANGED
File without changes
languages/adminimize-da_DK.mo CHANGED
File without changes
languages/adminimize-da_DK.po CHANGED
File without changes
languages/adminimize-de_DE.mo CHANGED
Binary file
languages/adminimize-de_DE.po CHANGED
@@ -19,919 +19,932 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: .\n"
20
  "X-Textdomain-Support: yes"
21
 
22
- #: adminimize.php:103
23
  #@ adminimize
24
  msgid "Unknown error."
25
  msgstr "Unbekannter Fehler."
26
 
27
- #: adminimize.php:112
28
  #@ adminimize
29
  msgid "The updates were saved."
30
  msgstr "Die Einstellungen wurden gespeichert"
31
 
32
- #: adminimize.php:113
33
  #@ adminimize
34
  msgid "You have not enough rights to edit entries in the database."
35
  msgstr "Du hast nicht ausreichend Rechte um diese Aktion durchzuf&uuml;hren!"
36
 
37
- #: adminimize.php:115
38
  #@ adminimize
39
  msgid "All entries in the database were deleted."
40
  msgstr "Die Einstellungen wurde gel&ouml;scht!"
41
 
42
- #: adminimize.php:116
43
  #@ adminimize
44
  msgid "Set the checkbox on deinstall-button."
45
  msgstr "Checkbox setzen, wenn wirklich deinstalliert werden soll!"
46
 
47
- #: adminimize.php:117
48
  #@ adminimize
49
  msgid "Can't load menu and submenu."
50
  msgstr "Menu und Submenu k&ouml;nnen nicht geladen werden!"
51
 
52
- #: adminimize.php:118
53
  #@ adminimize
54
  msgid "Backend-Theme was activated!"
55
  msgstr "Backend-Theme wurde zugewiesen!"
56
 
57
- #: adminimize.php:119
58
  #@ adminimize
59
  msgid "Load user data to themes was successful."
60
  msgstr "Das Laden der User-Daten zum Theme war erfolgreich."
61
 
62
- #: adminimize.php:470
63
- #: inc-options/links_options.php:44
64
- #: inc-options/menu_options.php:95
 
65
  #@ default
66
  #@ adminimize
67
  msgid "Categories"
68
  msgstr "Kategorien"
69
 
70
- #: adminimize.php:476
71
- #: adminimize.php:487
72
  #@ default
73
  msgid "+ Add New Category"
74
  msgstr "+ Add New Category"
75
 
76
- #: adminimize.php:478
77
- #: adminimize.php:489
78
  #@ default
79
  msgid "New category name"
80
  msgstr "New category name"
81
 
82
- #: adminimize.php:479
83
- #: adminimize.php:491
84
  #@ default
85
  msgid "Parent category"
86
  msgstr "Parent category"
87
 
88
- #: adminimize.php:480
89
- #: adminimize.php:492
90
  #@ default
91
  msgid "Add"
92
  msgstr "Add"
93
 
94
- #: adminimize.php:489
95
- #: inc-options/menu_options.php:96
 
96
  #@ default
97
  #@ adminimize
98
  msgid "Add New Category"
99
  msgstr "Add New Category"
100
 
101
- #: adminimize.php:513
102
- #: adminimize.php:514
103
- #: inc-options/menu_options.php:93
 
 
 
104
  #@ default
105
  #@ adminimize
106
  msgid "Tags"
107
  msgstr "Tags"
108
 
109
- #: adminimize.php:555
110
- #: adminimize.php:569
111
- #: adminimize.php:583
 
112
  #@ default
113
  msgid "Blue"
114
  msgstr "Blau"
115
 
116
- #: adminimize.php:562
117
- #: adminimize.php:576
118
- #: adminimize.php:590
 
119
  #@ default
120
  msgid "Gray"
121
  msgstr "Grau"
122
 
123
- #: adminimize.php:598
124
- #: adminimize.php:640
125
- #: adminimize.php:663
126
  #@ default
127
  msgid "Classic"
128
  msgstr "Classic"
129
 
130
- #: adminimize.php:605
131
- #: adminimize.php:647
132
- #: adminimize.php:670
133
  #@ default
134
  msgid "Fresh"
135
  msgstr "Fresh"
136
 
137
- #: adminimize.php:612
138
  #@ default
139
  msgid "WordPress 2.3"
140
  msgstr "WordPress 2.3"
141
 
142
- #: adminimize.php:619
143
  #@ default
144
  msgid "Maybe i'm colorblind"
145
  msgstr "Maybe i'm colorblind"
146
 
147
- #: adminimize.php:626
148
  #@ default
149
  msgid "Grey"
150
  msgstr "Grey"
151
 
152
- #: adminimize.php:751
153
- #: adminimize.php:754
154
  #@ default
155
  msgid "Dashboard"
156
  msgstr "Dashboard"
157
 
158
- #: adminimize.php:816
159
- #: adminimize.php:818
160
- #: adminimize.php:833
161
- #: adminimize.php:835
162
- #: adminimize.php:1138
163
  #@ default
164
  msgid "Log Out"
165
  msgstr "Log Out"
166
 
167
- #: adminimize.php:1159
168
  #@ default
169
  msgid "Visit plugin homepage"
170
  msgstr "Visit plugin homepage"
171
 
172
- #: adminimize.php:1162
173
  #@ default
174
  msgid "plugin"
175
  msgstr "plugin"
176
 
177
- #: adminimize.php:1162
178
  #@ default
179
  msgid "Version"
180
  msgstr "Version"
181
 
182
- #: adminimize.php:1162
183
  #@ adminimize
184
  msgid "History"
185
  msgstr "Historie"
186
 
187
- #: adminimize.php:1162
 
 
 
188
  #@ default
189
  msgid "Author"
190
  msgstr "Author"
191
 
192
- #: adminimize.php:1166
193
  #@ adminimize
194
  msgid "plugin activate"
195
  msgstr "plugin activate"
196
 
197
- #: adminimize.php:1187
198
  #@ default
199
  msgid "Settings"
200
  msgstr "Settings"
201
 
202
- #: adminimize.php:1250
203
  #@ adminimize
204
  msgid "<a href=\"http://wordpress.org/extend/plugins/adminimize/\">Documentation</a>"
205
  msgstr "<a href=\"http://bueltge.de/wordpress-admin-theme-adminimize/674/\">Dokumentation</a> (<a href=\"http://wordpress.org/extend/plugins/adminimize/\">en</a>)"
206
 
207
  #. translators: plugin header field 'Name'
208
  #: adminimize.php:0
209
- #: adminimize.php:1268
210
- #: inc-options/minimenu.php:6
211
  #@ adminimize
212
  msgid "Adminimize"
213
  msgstr "Adminimize"
214
 
215
- #: adminimize.php:1270
216
  #@ adminimize
217
  msgid "Adminimize Options"
218
  msgstr "Adminimize Einstellungen"
219
 
220
- #: adminimize.php:1292
221
  #@ default
222
  msgid "Cheatin&#8217; uh?"
223
  msgstr "Cheatin&#8217; uh?"
224
 
225
- #: adminimize_page.php:142
226
- #: adminimize_page.php:240
227
- #: adminimize_page.php:275
228
- #: adminimize_page.php:296
229
- #: inc-options/backend_options.php:7
230
- #: inc-options/global_options.php:7
231
- #: inc-options/links_options.php:7
232
- #: inc-options/menu_options.php:7
233
- #: inc-options/minimenu.php:12
234
- #: inc-options/minimenu.php:37
235
- #: inc-options/wp_nav_menu_options.php:6
236
- #: inc-options/write_page_options.php:6
237
- #: inc-options/write_post_options.php:7
238
  #@ default
239
  msgid "Click to toggle"
240
  msgstr "Zum Umschalten klicken"
241
 
242
- #: inc-options/backend_options.php:8
243
- #: inc-options/minimenu.php:42
244
  #@ adminimize
245
  msgid "Backend Options"
246
  msgstr "Einstellungen Backend"
247
 
248
- #: inc-options/backend_options.php:29
249
  #@ adminimize
250
  msgid "User-Info"
251
  msgstr "User-Info"
252
 
253
- #: inc-options/backend_options.php:22
254
- #: inc-options/backend_options.php:33
255
- #: inc-options/backend_options.php:46
256
- #: inc-options/backend_options.php:56
257
- #: inc-options/backend_options.php:66
258
- #: inc-options/backend_options.php:76
259
- #: inc-options/backend_options.php:86
260
- #: inc-options/backend_options.php:96
261
- #: inc-options/backend_options.php:106
262
- #: inc-options/backend_options.php:116
263
- #: inc-options/backend_options.php:126
264
- #: inc-options/backend_options.php:155
265
  #@ adminimize
266
  msgid "Default"
267
  msgstr "Standard"
268
 
269
- #: inc-options/backend_options.php:34
270
- #: inc-options/backend_options.php:57
271
- #: inc-options/backend_options.php:67
272
  #@ adminimize
273
  msgid "Hide"
274
  msgstr "Ausblenden"
275
 
276
- #: inc-options/backend_options.php:35
277
  #@ adminimize
278
  msgid "Only logout"
279
  msgstr "nur Abmelden"
280
 
281
- #: inc-options/backend_options.php:36
282
  #@ adminimize
283
  msgid "User &amp; Logout"
284
  msgstr "User &amp; Abmelden"
285
 
286
- #: inc-options/backend_options.php:37
287
  #@ adminimize
288
  msgid "The &quot;User-Info-area&quot; is on the top right side of the backend. You can hide or reduced show."
289
  msgstr "Der &quot;User-Info-Bereich&quot; ist im oberen rechten Bereich zu finden und kann ausgeblendet oder reduziert dargestellt werden."
290
 
291
- #: inc-options/backend_options.php:42
292
  #@ adminimize
293
  msgid "Change User-Info, redirect to"
294
  msgstr "User Info ge&auml;ndert, Weiterleitung nach"
295
 
296
- #: inc-options/backend_options.php:47
297
  #@ adminimize
298
  msgid "Frontpage of the Blog"
299
  msgstr "Startseite des Blog"
300
 
301
- #: inc-options/backend_options.php:48
302
  #@ adminimize
303
  msgid "When the &quot;User-Info-area&quot; change it, then it is possible to change the redirect."
304
  msgstr "Wenn der &quot;User-Info-Bereich&quot; ge&auml;ndert wird, dann kann die die Weiterleitung nach einem Logout ge&auml;ndert werden."
305
 
306
- #: inc-options/backend_options.php:52
307
  #@ adminimize
308
  msgid "Footer"
309
  msgstr "Footer"
310
 
311
- #: inc-options/backend_options.php:58
312
  #@ adminimize
313
  msgid "The Footer-area can hide, include all links and details."
314
  msgstr "Der Footer-Bereich kann deaktiviert werden, inklusive aller Links und Hinweise."
315
 
316
- #: inc-options/backend_options.php:72
317
  #@ adminimize
318
  msgid "WriteScroll"
319
  msgstr "WriteScroll"
320
 
321
- #: inc-options/backend_options.php:23
322
- #: inc-options/backend_options.php:77
323
- #: inc-options/backend_options.php:87
324
- #: inc-options/backend_options.php:97
325
- #: inc-options/backend_options.php:107
326
- #: inc-options/backend_options.php:117
327
- #: inc-options/backend_options.php:127
328
  #@ adminimize
329
  msgid "Activate"
330
  msgstr "Aktiv"
331
 
332
- #: inc-options/backend_options.php:78
333
  #@ adminimize
334
  msgid "With the WriteScroll option active, these pages will automatically scroll to an optimal position for editing, when you visit Write Post or Write Page."
335
  msgstr "Automatisches Scrollen zum Editor beim Aufruf der Seite Schreiben in Beitr&auml;ge und Seite."
336
 
337
- #: inc-options/backend_options.php:82
338
  #@ adminimize
339
  msgid "Timestamp"
340
  msgstr "Timestamp"
341
 
342
- #: inc-options/backend_options.php:88
343
  #@ adminimize
344
  msgid "Opens the post timestamp editing fields without you having to click the \"Edit\" link every time."
345
  msgstr "Das Feld zum &Auml;ndern des Ver&ouml;ffentlichungsdatum ist immer ge&ouml;ffnet."
346
 
347
- #: inc-options/backend_options.php:92
348
  #@ adminimize
349
  msgid "Thickbox FullScreen"
350
  msgstr "Thickbox FullScreen"
351
 
352
- #: inc-options/backend_options.php:102
353
  #@ adminimize
354
  msgid "Flashuploader"
355
  msgstr "Flashuploader"
356
 
357
- #: inc-options/backend_options.php:108
358
  #@ adminimize
359
  msgid "Disable the flashuploader and users use only the standard uploader."
360
  msgstr "Deaktiviere den Flashuploader und Nutzer können nur den Standard-Uploader erreichen."
361
 
362
- #: inc-options/backend_options.php:122
363
  #@ adminimize
364
  msgid "Advice in Footer"
365
  msgstr "Hinweis im Footer"
366
 
367
- #: inc-options/backend_options.php:156
368
  #@ adminimize
369
  msgid "Manage Posts"
370
  msgstr "Verwalten Beitr&auml;ge"
371
 
372
- #: inc-options/backend_options.php:157
373
  #@ adminimize
374
  msgid "Manage Pages"
375
  msgstr "Verwalten Seiten"
376
 
377
- #: inc-options/backend_options.php:158
378
  #@ adminimize
379
  msgid "Write Post"
380
  msgstr "Schreiben Beitrag"
381
 
382
- #: inc-options/backend_options.php:159
383
  #@ adminimize
384
  msgid "Write Page"
385
  msgstr "Schreiben Seite"
386
 
387
- #: inc-options/backend_options.php:160
388
- #: inc-options/menu_options.php:100
389
  #@ adminimize
390
  msgid "Comments"
391
  msgstr "Kommentare"
392
 
393
- #: inc-options/backend_options.php:161
394
  #@ adminimize
395
  msgid "other Page"
396
  msgstr "andere Seite"
397
 
398
- #: inc-options/backend_options.php:173
399
- #: inc-options/global_options.php:114
400
- #: inc-options/links_options.php:118
401
- #: inc-options/menu_options.php:336
402
- #: inc-options/wp_nav_menu_options.php:139
403
- #: inc-options/write_page_options.php:79
404
- #: inc-options/write_post_options.php:80
 
405
  #@ adminimize
406
  msgid "Update Options"
407
  msgstr "Einstellungen aktualisieren"
408
 
409
- #: inc-options/global_options.php:8
410
- #: inc-options/minimenu.php:45
411
  #@ adminimize
412
  msgid "Global options"
413
  msgstr "Globale Einstellungen"
414
 
415
- #: inc-options/global_options.php:15
416
- #: inc-options/global_options.php:89
417
- #: inc-options/links_options.php:15
418
- #: inc-options/links_options.php:93
419
- #: inc-options/wp_nav_menu_options.php:14
420
- #: inc-options/wp_nav_menu_options.php:114
421
- #: inc-options/write_page_options.php:54
422
- #: inc-options/write_post_options.php:55
 
423
  #@ adminimize
424
  msgid "Option"
425
  msgstr "Einstellung"
426
 
427
- #: inc-options/global_options.php:18
428
- #: inc-options/links_options.php:18
429
- #: inc-options/menu_options.php:18
430
- #: inc-options/wp_nav_menu_options.php:17
431
- #: inc-options/write_page_options.php:17
432
- #: inc-options/write_post_options.php:18
 
433
  #@ adminimize
434
  msgid "Deactivate for"
435
  msgstr "Deaktiviere für"
436
 
437
- #: inc-options/global_options.php:40
438
  #@ adminimize
439
  msgid "Favorite Actions"
440
  msgstr "Favorisierte Aktionen"
441
 
442
- #: inc-options/global_options.php:41
443
  #@ adminimize
444
  msgid "Screen-Meta"
445
  msgstr "Screen-Meta"
446
 
447
- #: inc-options/global_options.php:42
448
- #: inc-options/menu_options.php:90
449
- #: inc-options/menu_options.php:187
450
- #: inc-options/wp_nav_menu_options.php:41
 
451
  #@ adminimize
452
  #@ default
453
  msgid "Screen Options"
454
  msgstr "kontextabhängige Optionen"
455
 
456
- #: inc-options/global_options.php:43
457
  #@ adminimize
458
  msgid "Contextual Help"
459
  msgstr "kontextabhängig Hilfe"
460
 
461
- #: inc-options/global_options.php:44
462
  #@ adminimize
463
  msgid "Admin Color Scheme"
464
  msgstr "Farbschema verwalten"
465
 
466
- #: inc-options/global_options.php:88
467
- #: inc-options/links_options.php:92
468
- #: inc-options/wp_nav_menu_options.php:113
469
  #@ adminimize
470
  msgid "Your own options"
471
  msgstr "Deine eigenen Einstellungen"
472
 
473
- #: inc-options/global_options.php:88
474
- #: inc-options/links_options.php:92
475
- #: inc-options/wp_nav_menu_options.php:113
476
- #: inc-options/write_page_options.php:53
477
- #: inc-options/write_post_options.php:54
 
478
  #@ adminimize
479
  msgid "ID or class"
480
  msgstr "ID oder Klasse"
481
 
482
- #: inc-options/global_options.php:95
483
- #: inc-options/links_options.php:99
484
- #: inc-options/wp_nav_menu_options.php:120
485
- #: inc-options/write_page_options.php:60
486
- #: inc-options/write_post_options.php:61
 
487
  #@ adminimize
488
  msgid "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."
489
  msgstr "Es ist möglich, dass du eigene IDs und Klassen eines Elementes oder Tags hinzufügst. Du findest IDs und Klassen sehr einfach mit dem Firebug Add-on für den Firefox. Füge pro Zeile einen Wert und dazugehörigen Namen ein."
490
 
491
- #: inc-options/global_options.php:101
492
- #: inc-options/links_options.php:105
493
- #: inc-options/wp_nav_menu_options.php:126
494
- #: inc-options/write_page_options.php:66
495
- #: inc-options/write_post_options.php:67
 
496
  #@ adminimize
497
  msgid "Possible nomination for ID or class. Separate multiple nominations through a carriage return."
498
  msgstr "Mögliche Benennung der ID oder Klasse. Trenne Werte durch eine neue Zeile."
499
 
500
- #: inc-options/global_options.php:106
501
- #: inc-options/links_options.php:110
502
- #: inc-options/wp_nav_menu_options.php:131
503
- #: inc-options/write_page_options.php:71
504
- #: inc-options/write_post_options.php:72
 
505
  #@ adminimize
506
  msgid "Possible IDs or classes. Separate multiple values through a carriage return."
507
  msgstr "Mögliche IDs oder Klassen. Trenne Werte durch eine neue Zeile."
508
 
509
- #: inc-options/menu_options.php:8
510
- #: inc-options/minimenu.php:48
511
  #@ adminimize
512
  msgid "Menu Options"
513
  msgstr "Menu Einstellungen"
514
 
515
- #: inc-options/menu_options.php:15
516
  #@ adminimize
517
  msgid "Menu options - Menu, <span style=\\\"font-weight: 400;\\\">Submenu</span>"
518
  msgstr "Menu Einstellungen - Menu, <span style=\"font-weight: 400;\">Submenu</span>"
519
 
520
- #: inc-options/menu_options.php:89
521
- #: inc-options/menu_options.php:186
522
- #: inc-options/wp_nav_menu_options.php:40
 
 
523
  #@ default
524
  msgid "Help"
525
- msgstr ""
526
 
527
- #: inc-options/menu_options.php:92
528
- #: inc-options/menu_options.php:189
 
529
  #@ adminimize
530
  msgid "Permalink"
531
  msgstr "Permalink"
532
 
533
- #: inc-options/menu_options.php:97
534
  #@ adminimize
535
  msgid "Excerpt"
536
  msgstr "Auszug"
537
 
538
- #: inc-options/menu_options.php:98
539
  #@ adminimize
540
  msgid "Trackbacks"
541
  msgstr "Trackbacks"
542
 
543
- #: inc-options/menu_options.php:99
544
- #: inc-options/menu_options.php:190
545
  #@ default
546
  msgid "Custom Fields"
547
  msgstr "Benutzerdefinierte Felder"
548
 
549
- #: inc-options/menu_options.php:101
 
550
  #@ adminimize
551
  msgid "Password Protect This Post"
552
  msgstr "Diesen Artikel durch ein Passwort sch&uuml;tzen"
553
 
554
- #: inc-options/menu_options.php:102
555
  #@ default
556
  msgid "Post Author"
557
  msgstr "Autor"
558
 
559
- #: inc-options/menu_options.php:103
560
  #@ default
561
  msgid "Post Revisions"
562
  msgstr "Post Revisions"
563
 
564
- #: inc-options/menu_options.php:104
 
565
  #@ adminimize
566
  msgid "Related, Shortcuts"
567
  msgstr "Siehe auch, Tastaturk&uuml;rzel"
568
 
569
- #: inc-options/menu_options.php:106
570
- #: inc-options/menu_options.php:200
 
571
  #@ adminimize
572
  msgid "h2: Advanced Options"
573
  msgstr "h2: Erweiterte Einstellungen"
574
 
575
- #: inc-options/menu_options.php:107
576
- #: inc-options/menu_options.php:201
 
577
  #@ adminimize
578
  msgid "Media Buttons (all)"
579
  msgstr "Media Buttons (alle)"
580
 
581
- #: inc-options/menu_options.php:108
582
- #: inc-options/menu_options.php:202
 
583
  #@ adminimize
584
  msgid "Word count"
585
  msgstr "Word count"
586
 
587
- #: inc-options/menu_options.php:109
588
- #@ default
 
589
  msgid "Post Slug"
590
- msgstr ""
591
 
592
- #: inc-options/links_options.php:48
593
- #: inc-options/menu_options.php:110
594
- #: inc-options/menu_options.php:204
 
595
  #@ adminimize
596
  msgid "Publish Actions"
597
  msgstr "Publish Actions"
598
 
599
- #: inc-options/menu_options.php:111
600
- #: inc-options/menu_options.php:205
 
601
  #@ default
 
602
  msgid "Discussion"
603
- msgstr ""
604
 
605
- #: inc-options/menu_options.php:116
606
- #@ default
 
607
  msgid "Post Thumbnail"
608
- msgstr ""
609
 
610
- #: inc-options/menu_options.php:118
611
- #: inc-options/menu_options.php:212
612
- #@ default
613
  #@ adminimize
614
  msgid "Suggested tags from"
615
  msgstr "Suggested tags from"
616
 
617
- #: inc-options/menu_options.php:120
618
- #@ default
619
- msgid "Text Control"
620
- msgstr "Text Control"
621
-
622
- #: inc-options/menu_options.php:122
623
- #: inc-options/menu_options.php:214
624
  #@ default
625
  msgid "HTML Special Characters"
626
  msgstr "HTML Special Characters"
627
 
628
- #: inc-options/menu_options.php:124
629
- #@ default
630
- msgid "All in One SEO Pack"
631
- msgstr ""
632
-
633
- #: inc-options/menu_options.php:191
634
  #@ adminimize
635
  msgid "Comments &amp; Pings"
636
  msgstr "Kommentare &amp; Pings"
637
 
638
- #: inc-options/menu_options.php:192
639
  #@ adminimize
640
  msgid "Password Protect This Page"
641
  msgstr "Diese Seite mit einem Passwort versehen"
642
 
643
- #: inc-options/menu_options.php:193
644
- #@ default
645
  msgid "Attributes"
646
- msgstr ""
647
 
648
- #: inc-options/menu_options.php:194
649
  #@ adminimize
650
  msgid "Page Template"
651
  msgstr "Seiten Template"
652
 
653
- #: inc-options/menu_options.php:195
654
  #@ adminimize
655
  msgid "Page Order"
656
  msgstr "Reihenfolge"
657
 
658
- #: inc-options/menu_options.php:196
659
  #@ default
660
  msgid "Page Author"
661
  msgstr "Seitenautor"
662
 
663
- #: inc-options/menu_options.php:197
664
  #@ default
665
  msgid "Page Revisions"
666
  msgstr "Page Revisions"
667
 
668
- #: inc-options/menu_options.php:198
669
  #@ adminimize
670
  msgid "Related"
671
  msgstr "Siehe auch"
672
 
673
- #: inc-options/menu_options.php:203
674
- #@ default
675
  msgid "Page Slug"
676
- msgstr ""
677
 
678
- #: inc-options/menu_options.php:210
679
- #@ default
680
  msgid "Page Image"
681
- msgstr ""
682
 
683
- #: inc-options/menu_options.php:252
684
- #: inc-options/menu_options.php:300
685
  #@ adminimize
686
  msgid "After activate the check box it heavy attitudes will change."
687
  msgstr "Wenn die Checkbox aktiv ist, dann wird das Ändern von Einstellungen erschwert."
688
 
689
- #: inc-options/menu_options.php:283
690
  #@ default
691
  msgid "Profile"
692
  msgstr "Profile"
693
 
694
- #: inc-options/minimenu.php:51
695
- #: inc-options/write_post_options.php:8
696
- #: inc-options/write_post_options.php:15
697
  #@ adminimize
698
  msgid "Write options - Post"
699
  msgstr "Schreiben Einstellungen - Beitr&auml;ge"
700
 
701
- #: inc-options/write_post_options.php:54
702
  #@ adminimize
703
  msgid "Your own post options"
704
  msgstr "Deine eigenen Beitrags-Einstellungen"
705
 
706
- #: inc-options/minimenu.php:54
707
- #: inc-options/write_page_options.php:7
708
- #: inc-options/write_page_options.php:14
709
  #@ adminimize
710
  msgid "Write options - Page"
711
  msgstr "Schreiben Einstellungen - Seiten"
712
 
713
- #: inc-options/write_page_options.php:53
714
  #@ adminimize
715
  msgid "Your own page options"
716
  msgstr "Deine eigenen Seiten-Einstellungen"
717
 
718
- #: inc-options/links_options.php:8
719
- #: inc-options/minimenu.php:57
720
  #@ adminimize
721
  msgid "Links options"
722
  msgstr "Link Einstellungen"
723
 
724
- #: inc-options/links_options.php:41
725
  #@ default
726
  msgid "Name"
727
  msgstr "Name"
728
 
729
- #: inc-options/links_options.php:42
730
  #@ default
731
  msgid "Web Address"
732
  msgstr "Web-Adresse"
733
 
734
- #: inc-options/links_options.php:43
735
  #@ default
736
  msgid "Description"
737
  msgstr "Beschreibung"
738
 
739
- #: inc-options/links_options.php:45
740
  #@ default
741
  msgid "Target"
742
  msgstr "Target"
743
 
744
- #: inc-options/links_options.php:46
745
  #@ default
746
  msgid "Link Relationship (XFN)"
747
  msgstr "Link-Beziehungen (XFN)"
748
 
749
- #: inc-options/links_options.php:47
750
  #@ default
751
  msgid "Advanced"
752
  msgstr "Erweitert"
753
 
754
- #: adminimize_page.php:143
755
- #: adminimize_page.php:228
756
- #: inc-options/minimenu.php:63
757
  #@ adminimize
758
  msgid "Set Theme"
759
  msgstr "Theme zuweisen"
760
 
761
- #: adminimize_page.php:150
762
  #@ adminimize
763
  msgid "For better peformance with many users on your blog; load only userlist, when you will change the theme options for users."
764
  msgstr "Für eine bessere Performance bei vielen Usern in deinem Blog werden die Userdaten nur nach Aufforderung geladen."
765
 
766
- #: adminimize_page.php:153
767
  #@ adminimize
768
  msgid "Load User Data"
769
  msgstr "Lade User Daten"
770
 
771
- #: adminimize_page.php:164
772
  #@ default
773
  msgid "User-ID"
774
  msgstr "User-ID"
775
 
776
- #: adminimize_page.php:165
777
  #@ default
778
  msgid "Username"
779
  msgstr "Benutzername"
780
 
781
- #: adminimize_page.php:166
782
  #@ default
783
  msgid "Display name publicly as"
784
  msgstr "Name im Blog"
785
 
786
- #: adminimize_page.php:167
787
  #@ default
788
  msgid "Admin-Color Scheme"
789
  msgstr "Admin-Color Scheme"
790
 
791
- #: adminimize_page.php:168
792
  #@ default
793
  msgid "User Level"
794
  msgstr "User Level"
795
 
796
- #: adminimize_page.php:169
797
  #@ default
798
  msgid "Role"
799
  msgstr "Rolle"
800
 
801
- #: adminimize_page.php:276
802
- #: inc-options/minimenu.php:69
803
  #@ adminimize
804
  msgid "Deinstall Options"
805
  msgstr "Einstellungen deinstallieren"
806
 
807
- #: adminimize_page.php:279
808
  #@ adminimize
809
  msgid "Use this option for clean your database from all entries of this plugin. When you deactivate the plugin, the deinstall of the plugin <strong>clean not</strong> all entries in the database."
810
  msgstr "Nutze diese Option, um die Einstellungen f&uuml;r das Plugin in der Datenbank zu l&ouml;schen. Das Plugin entfernt die Eintr&auml;ge <strong>nicht</strong>, wenn es deaktiviert wird!"
811
 
812
- #: adminimize_page.php:283
813
  #@ adminimize
814
  msgid "Delete Options"
815
  msgstr "Einstellungen Löschen"
816
 
817
- #: adminimize_page.php:297
818
- #: inc-options/minimenu.php:13
819
- #: inc-options/minimenu.php:72
820
  #@ adminimize
821
  msgid "About the plugin"
822
  msgstr "&Uuml;ber das Plugin"
823
 
824
- #: adminimize_page.php:300
825
- #: inc-options/minimenu.php:15
826
  #@ adminimize
827
  msgid "Further information: Visit the <a href=\"http://bueltge.de/wordpress-admin-theme-adminimize/674/\">plugin homepage</a> for further information or to grab the latest version of this plugin."
828
  msgstr "Weitere Information: Besuche die <a href=\"http://bueltge.de/wordpress-admin-theme-adminimize/674/\">Plugin Webseite</a> f&uuml;r weitere Informationen oder hole die aktuelle Version des Plugins."
829
 
830
- #: adminimize_page.php:306
831
- #: inc-options/minimenu.php:21
832
  #@ adminimize
833
  msgid "PayPal - The safer, easier way to pay online!"
834
  msgstr "PayPal - Der sichere und einfache Weg zu zahlen!"
835
 
836
- #: adminimize_page.php:310
837
- #: inc-options/minimenu.php:25
838
  #@ adminimize
839
  msgid "You want to thank me? Visit my <a href=\"http://bueltge.de/wunschliste/\">wishlist</a> or donate."
840
  msgstr "Du willst Danke sagen? Besuche meine <a href=\"http://bueltge.de/wunschliste/\">Wunschliste</a> oder spende."
841
 
842
- #: adminimize.php:114
843
  #@ adminimize
844
  msgid "All entries in the database were imported."
845
  msgstr "Alle Einträge wurden in die Datenbank geschrieben."
846
 
847
- #: adminimize_page.php:241
848
- #: inc-options/minimenu.php:66
849
  #@ adminimize
850
  msgid "Export/Import Options"
851
  msgstr "Export/Import Einstellungen"
852
 
853
- #: adminimize_page.php:245
854
  #@ adminimize
855
  msgid "Export"
856
  msgstr "Export"
857
 
858
- #: adminimize_page.php:250
859
  #@ adminimize
860
  msgid "Export &raquo;"
861
  msgstr "Exportieren &raquo;"
862
 
863
- #: adminimize_page.php:254
864
  #@ adminimize
865
  msgid "Import"
866
  msgstr "Import"
867
 
868
- #: adminimize_page.php:259
869
  #@ adminimize
870
  msgid "Choose a file from your computer"
871
  msgstr "Wähle eine Datei vom Rechner"
872
 
873
- #: adminimize_page.php:264
874
  #@ adminimize
875
  msgid "Upload file and import &raquo;"
876
  msgstr "Hochladen der Datei und importieren &raquo;"
877
 
878
- #: inc-options/minimenu.php:38
879
  #@ adminimize
880
  msgid "MiniMenu"
881
  msgstr "MiniMenu"
882
 
883
- #: adminimize_page.php:233
884
- #: adminimize_page.php:267
885
- #: adminimize_page.php:288
886
- #: adminimize_page.php:314
887
- #: inc-options/backend_options.php:175
888
- #: inc-options/global_options.php:116
889
- #: inc-options/links_options.php:121
890
- #: inc-options/menu_options.php:338
891
- #: inc-options/wp_nav_menu_options.php:141
892
- #: inc-options/write_page_options.php:81
893
- #: inc-options/write_post_options.php:82
894
  #@ adminimize
895
  msgid "scroll to top"
896
  msgstr "Nach oben"
897
 
898
- #: adminimize_page.php:247
899
  #@ adminimize
900
  msgid "You can save a .seq file with your options."
901
  msgstr "Du kannst deine Einstellungen in einer .seq Datei speichern."
902
 
903
- #: adminimize_page.php:257
904
  #@ adminimize
905
  msgid "Choose a Adminimize (<em>.seq</em>) file to upload, then click <em>Upload file and import</em>."
906
  msgstr "Wähle eine Adminimize (<em>.seq</em>) Datei zum hoch laden und dann klick <em>Hochladen der Datei und importieren</em>"
907
 
908
- #: inc-options/backend_options.php:112
909
  #@ adminimize
910
  msgid "Category Height"
911
  msgstr "Kategorie-Höhe"
912
 
913
- #: inc-options/backend_options.php:118
914
  #@ adminimize
915
  msgid "View the Meta Box with Categories in the full height, no scrollbar or whitespace."
916
  msgstr "Stellt in die Meta Box der Kategorien in voller Höhe dar, kein Scrollbar und kein Leerraum."
917
 
918
- #: inc-options/backend_options.php:129
919
  #@ adminimize
920
  msgid "In the Footer you can display an advice for changing the Default-design, (x)HTML is possible."
921
  msgstr "Im Footer kann ein Hinweis auf die aktive Ver&auml;nderung des Standard-Layout gesetzt werden, (x)HTML erlaubt."
922
 
923
- #: inc-options/backend_options.php:151
924
  #@ adminimize
925
  msgid "Dashboard deactivate, redirect to"
926
  msgstr "Dashboard inaktiv, Weiterleitung nach"
927
 
928
- #: inc-options/menu_options.php:112
929
- #: inc-options/menu_options.php:206
 
930
  #@ default
 
931
  msgid "HTML Editor Button"
932
- msgstr ""
933
 
934
- #: inc-options/backend_options.php:98
935
  #@ adminimize
936
  msgid "All Thickbox-function use the full area of the browser. Thickbox is for example in upload media-files."
937
  msgstr "Alle Thickbox-Funktion verwenden den vollständigen Bereich des Browsers. Thickbox ist beispielsweise in der Medien-Upload-Funktion."
@@ -946,7 +959,7 @@ msgstr ""
946
  #: adminimize.php:0
947
  #@ adminimize
948
  msgid "Visually compresses the administratrive meta-boxes so that more admin page content can be initially seen. The plugin that lets you hide 'unnecessary' items from the WordPress administration menu, for alle roles of your install. You can also hide post meta controls on the edit-area to simplify the interface. It is possible to simplify the admin in different for all roles."
949
- msgstr "Visuelles Reduzieren der administrativen Meta-Boxen, so dass mehr Raum ist und nur dargestellt, was gebraucht wird. Das Plugin erlaubt das ausblenden von ungenutzten Bereich vom WordPress Administrations-Bereich und dem Menu für alle vorhandenen Rollen. Es ist ebenso möglich, dass man Bereiche in Teilbereichen ausblenden und eigene Bereiche ausblenden kann. Kurz: Reduzieren den Admin-Bereich für das, was die jeweilige Rolle benötigt."
950
 
951
  #. translators: plugin header field 'Author'
952
  #: adminimize.php:0
@@ -960,87 +973,204 @@ msgstr ""
960
  msgid "http://bueltge.de/"
961
  msgstr ""
962
 
963
- #: inc-options/backend_options.php:62
964
  #@ adminimize
965
  msgid "Header"
966
  msgstr "Header"
967
 
968
- #: inc-options/backend_options.php:68
969
  #@ adminimize
970
  msgid "The Header-area can hide, include all links and details."
971
  msgstr "Der header-Bereich kann ausgeblendet werden, inkl. aller Links und Details."
972
 
973
- #: inc-options/menu_options.php:91
974
- #: inc-options/menu_options.php:188
975
  #@ adminimize
976
  msgid "Title"
977
  msgstr "Title"
978
 
979
- #: inc-options/backend_options.php:18
980
  #@ adminimize
981
  msgid "Exclude Super Admin"
982
  msgstr "Ausschließen des Super Admin"
983
 
984
- #: inc-options/backend_options.php:24
985
  #@ adminimize
986
  msgid "Exclude the Super Admin on a WP Multisite Install from all limitations of this plugin."
987
  msgstr "Schließe den Super Admin in einer WordPress Multisite Installation von allen Restriktionen dieses Plugins aus."
988
 
989
- #: inc-options/backend_options.php:164
990
  #@ adminimize
991
  msgid "You have deactivated the Dashboard, please select a page for redirection or define custom url, include http://?"
992
  msgstr "Du hast das Dashboard deaktiviert; bitte wähle eine Seite für die Weiterleitung oder definiere eine eigene URL, inklusive http://"
993
 
994
- #: inc-options/global_options.php:39
995
  #@ adminimize
996
  msgid "Admin Bar"
997
  msgstr "Admin Bar"
998
 
999
- #: inc-options/minimenu.php:60
1000
  #@ adminimize
1001
  msgid "WP Nav Menu"
1002
  msgstr "WP Nav Menü"
1003
 
1004
- #: inc-options/wp_nav_menu_options.php:7
1005
  #@ adminimize
1006
  msgid "WP Nav Menu options"
1007
  msgstr "WP Nav Menü Einstellungen"
1008
 
1009
- #: inc-options/wp_nav_menu_options.php:42
1010
- #: inc-options/wp_nav_menu_options.php:48
 
1011
  #@ default
1012
  msgid "Theme Locations"
1013
- msgstr ""
1014
 
1015
- #: inc-options/wp_nav_menu_options.php:43
1016
- #@ default
1017
  msgid "Custom Links"
1018
- msgstr ""
1019
-
1020
- #: inc-options/wp_nav_menu_options.php:44
1021
- #@ default
1022
- msgid "#"
1023
- msgstr ""
1024
 
1025
- #: inc-options/wp_nav_menu_options.php:44
1026
- #@ default
1027
  msgid "Add menu"
1028
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
1029
 
1030
  #. translators: plugin header field 'Version'
1031
  #: adminimize.php:0
1032
  #@ adminimize
1033
- msgid "1.7.16"
1034
  msgstr ""
1035
 
1036
- #: inc-options/menu_options.php:94
1037
- #@ default
1038
- msgid "Format"
1039
- msgstr ""
 
 
1040
 
1041
- #: inc-options/menu_options.php:105
1042
- #: inc-options/menu_options.php:199
 
 
 
 
 
 
 
 
 
1043
  #@ adminimize
1044
- msgid "Messages"
1045
- msgstr "Mitteilungen"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1046
 
19
  "X-Poedit-SearchPath-0: .\n"
20
  "X-Textdomain-Support: yes"
21
 
22
+ #: adminimize.php:121
23
  #@ adminimize
24
  msgid "Unknown error."
25
  msgstr "Unbekannter Fehler."
26
 
27
+ #: adminimize.php:130
28
  #@ adminimize
29
  msgid "The updates were saved."
30
  msgstr "Die Einstellungen wurden gespeichert"
31
 
32
+ #: adminimize.php:131
33
  #@ adminimize
34
  msgid "You have not enough rights to edit entries in the database."
35
  msgstr "Du hast nicht ausreichend Rechte um diese Aktion durchzuf&uuml;hren!"
36
 
37
+ #: adminimize.php:133
38
  #@ adminimize
39
  msgid "All entries in the database were deleted."
40
  msgstr "Die Einstellungen wurde gel&ouml;scht!"
41
 
42
+ #: adminimize.php:134
43
  #@ adminimize
44
  msgid "Set the checkbox on deinstall-button."
45
  msgstr "Checkbox setzen, wenn wirklich deinstalliert werden soll!"
46
 
47
+ #: adminimize.php:135
48
  #@ adminimize
49
  msgid "Can't load menu and submenu."
50
  msgstr "Menu und Submenu k&ouml;nnen nicht geladen werden!"
51
 
52
+ #: adminimize.php:136
53
  #@ adminimize
54
  msgid "Backend-Theme was activated!"
55
  msgstr "Backend-Theme wurde zugewiesen!"
56
 
57
+ #: adminimize.php:137
58
  #@ adminimize
59
  msgid "Load user data to themes was successful."
60
  msgstr "Das Laden der User-Daten zum Theme war erfolgreich."
61
 
62
+ #: adminimize.php:515
63
+ #: inc-options/links_options.php:52
64
+ #: inc-options/write_cp_options.php:99
65
+ #: inc-options/write_post_options.php:101
66
  #@ default
67
  #@ adminimize
68
  msgid "Categories"
69
  msgstr "Kategorien"
70
 
71
+ #: adminimize.php:521
72
+ #: adminimize.php:532
73
  #@ default
74
  msgid "+ Add New Category"
75
  msgstr "+ Add New Category"
76
 
77
+ #: adminimize.php:523
78
+ #: adminimize.php:534
79
  #@ default
80
  msgid "New category name"
81
  msgstr "New category name"
82
 
83
+ #: adminimize.php:524
84
+ #: adminimize.php:536
85
  #@ default
86
  msgid "Parent category"
87
  msgstr "Parent category"
88
 
89
+ #: adminimize.php:525
90
+ #: adminimize.php:537
91
  #@ default
92
  msgid "Add"
93
  msgstr "Add"
94
 
95
+ #: adminimize.php:534
96
+ #: inc-options/write_cp_options.php:100
97
+ #: inc-options/write_post_options.php:102
98
  #@ default
99
  #@ adminimize
100
  msgid "Add New Category"
101
  msgstr "Add New Category"
102
 
103
+ #: adminimize.php:558
104
+ #: adminimize.php:559
105
+ #: inc-options/write_cp_options.php:97
106
+ #: inc-options/write_cp_options.php:135
107
+ #: inc-options/write_post_options.php:99
108
+ #: inc-options/write_post_options.php:149
109
  #@ default
110
  #@ adminimize
111
  msgid "Tags"
112
  msgstr "Tags"
113
 
114
+ #: adminimize.php:601
115
+ #: adminimize.php:618
116
+ #: adminimize.php:632
117
+ #: adminimize.php:646
118
  #@ default
119
  msgid "Blue"
120
  msgstr "Blau"
121
 
122
+ #: adminimize.php:608
123
+ #: adminimize.php:625
124
+ #: adminimize.php:639
125
+ #: adminimize.php:653
126
  #@ default
127
  msgid "Gray"
128
  msgstr "Grau"
129
 
130
+ #: adminimize.php:661
131
+ #: adminimize.php:703
132
+ #: adminimize.php:726
133
  #@ default
134
  msgid "Classic"
135
  msgstr "Classic"
136
 
137
+ #: adminimize.php:668
138
+ #: adminimize.php:710
139
+ #: adminimize.php:733
140
  #@ default
141
  msgid "Fresh"
142
  msgstr "Fresh"
143
 
144
+ #: adminimize.php:675
145
  #@ default
146
  msgid "WordPress 2.3"
147
  msgstr "WordPress 2.3"
148
 
149
+ #: adminimize.php:682
150
  #@ default
151
  msgid "Maybe i'm colorblind"
152
  msgstr "Maybe i'm colorblind"
153
 
154
+ #: adminimize.php:689
155
  #@ default
156
  msgid "Grey"
157
  msgstr "Grey"
158
 
159
+ #: adminimize.php:814
160
+ #: adminimize.php:817
161
  #@ default
162
  msgid "Dashboard"
163
  msgstr "Dashboard"
164
 
165
+ #: adminimize.php:885
166
+ #: adminimize.php:887
167
+ #: adminimize.php:908
168
+ #: adminimize.php:910
169
+ #: adminimize.php:1293
170
  #@ default
171
  msgid "Log Out"
172
  msgstr "Log Out"
173
 
174
+ #: adminimize.php:1315
175
  #@ default
176
  msgid "Visit plugin homepage"
177
  msgstr "Visit plugin homepage"
178
 
179
+ #: adminimize.php:1318
180
  #@ default
181
  msgid "plugin"
182
  msgstr "plugin"
183
 
184
+ #: adminimize.php:1318
185
  #@ default
186
  msgid "Version"
187
  msgstr "Version"
188
 
189
+ #: adminimize.php:1318
190
  #@ adminimize
191
  msgid "History"
192
  msgstr "Historie"
193
 
194
+ #: adminimize.php:1318
195
+ #: inc-options/write_cp_options.php:129
196
+ #: inc-options/write_page_options.php:128
197
+ #: inc-options/write_post_options.php:143
198
  #@ default
199
  msgid "Author"
200
  msgstr "Author"
201
 
202
+ #: adminimize.php:1322
203
  #@ adminimize
204
  msgid "plugin activate"
205
  msgstr "plugin activate"
206
 
207
+ #: adminimize.php:1343
208
  #@ default
209
  msgid "Settings"
210
  msgstr "Settings"
211
 
212
+ #: adminimize.php:1406
213
  #@ adminimize
214
  msgid "<a href=\"http://wordpress.org/extend/plugins/adminimize/\">Documentation</a>"
215
  msgstr "<a href=\"http://bueltge.de/wordpress-admin-theme-adminimize/674/\">Dokumentation</a> (<a href=\"http://wordpress.org/extend/plugins/adminimize/\">en</a>)"
216
 
217
  #. translators: plugin header field 'Name'
218
  #: adminimize.php:0
219
+ #: adminimize.php:1423
220
+ #: inc-options/minimenu.php:14
221
  #@ adminimize
222
  msgid "Adminimize"
223
  msgstr "Adminimize"
224
 
225
+ #: adminimize.php:1425
226
  #@ adminimize
227
  msgid "Adminimize Options"
228
  msgstr "Adminimize Einstellungen"
229
 
230
+ #: adminimize.php:1448
231
  #@ default
232
  msgid "Cheatin&#8217; uh?"
233
  msgstr "Cheatin&#8217; uh?"
234
 
235
+ #: inc-options/backend_options.php:15
236
+ #: inc-options/deinstall_options.php:14
237
+ #: inc-options/global_options.php:15
238
+ #: inc-options/im_export_options.php:14
239
+ #: inc-options/links_options.php:15
240
+ #: inc-options/menu_options.php:15
241
+ #: inc-options/minimenu.php:20
242
+ #: inc-options/minimenu.php:45
243
+ #: inc-options/theme_options.php:14
244
+ #: inc-options/wp_nav_menu_options.php:14
245
+ #: inc-options/write_cp_options.php:19
246
+ #: inc-options/write_page_options.php:14
247
+ #: inc-options/write_post_options.php:15
248
  #@ default
249
  msgid "Click to toggle"
250
  msgstr "Zum Umschalten klicken"
251
 
252
+ #: inc-options/backend_options.php:16
253
+ #: inc-options/minimenu.php:50
254
  #@ adminimize
255
  msgid "Backend Options"
256
  msgstr "Einstellungen Backend"
257
 
258
+ #: inc-options/backend_options.php:37
259
  #@ adminimize
260
  msgid "User-Info"
261
  msgstr "User-Info"
262
 
263
+ #: inc-options/backend_options.php:30
264
+ #: inc-options/backend_options.php:41
265
+ #: inc-options/backend_options.php:54
266
+ #: inc-options/backend_options.php:64
267
+ #: inc-options/backend_options.php:74
268
+ #: inc-options/backend_options.php:84
269
+ #: inc-options/backend_options.php:94
270
+ #: inc-options/backend_options.php:104
271
+ #: inc-options/backend_options.php:114
272
+ #: inc-options/backend_options.php:124
273
+ #: inc-options/backend_options.php:134
274
+ #: inc-options/backend_options.php:163
275
  #@ adminimize
276
  msgid "Default"
277
  msgstr "Standard"
278
 
279
+ #: inc-options/backend_options.php:42
280
+ #: inc-options/backend_options.php:65
281
+ #: inc-options/backend_options.php:75
282
  #@ adminimize
283
  msgid "Hide"
284
  msgstr "Ausblenden"
285
 
286
+ #: inc-options/backend_options.php:43
287
  #@ adminimize
288
  msgid "Only logout"
289
  msgstr "nur Abmelden"
290
 
291
+ #: inc-options/backend_options.php:44
292
  #@ adminimize
293
  msgid "User &amp; Logout"
294
  msgstr "User &amp; Abmelden"
295
 
296
+ #: inc-options/backend_options.php:45
297
  #@ adminimize
298
  msgid "The &quot;User-Info-area&quot; is on the top right side of the backend. You can hide or reduced show."
299
  msgstr "Der &quot;User-Info-Bereich&quot; ist im oberen rechten Bereich zu finden und kann ausgeblendet oder reduziert dargestellt werden."
300
 
301
+ #: inc-options/backend_options.php:50
302
  #@ adminimize
303
  msgid "Change User-Info, redirect to"
304
  msgstr "User Info ge&auml;ndert, Weiterleitung nach"
305
 
306
+ #: inc-options/backend_options.php:55
307
  #@ adminimize
308
  msgid "Frontpage of the Blog"
309
  msgstr "Startseite des Blog"
310
 
311
+ #: inc-options/backend_options.php:56
312
  #@ adminimize
313
  msgid "When the &quot;User-Info-area&quot; change it, then it is possible to change the redirect."
314
  msgstr "Wenn der &quot;User-Info-Bereich&quot; ge&auml;ndert wird, dann kann die die Weiterleitung nach einem Logout ge&auml;ndert werden."
315
 
316
+ #: inc-options/backend_options.php:60
317
  #@ adminimize
318
  msgid "Footer"
319
  msgstr "Footer"
320
 
321
+ #: inc-options/backend_options.php:66
322
  #@ adminimize
323
  msgid "The Footer-area can hide, include all links and details."
324
  msgstr "Der Footer-Bereich kann deaktiviert werden, inklusive aller Links und Hinweise."
325
 
326
+ #: inc-options/backend_options.php:80
327
  #@ adminimize
328
  msgid "WriteScroll"
329
  msgstr "WriteScroll"
330
 
331
+ #: inc-options/backend_options.php:31
332
+ #: inc-options/backend_options.php:85
333
+ #: inc-options/backend_options.php:95
334
+ #: inc-options/backend_options.php:105
335
+ #: inc-options/backend_options.php:115
336
+ #: inc-options/backend_options.php:125
337
+ #: inc-options/backend_options.php:135
338
  #@ adminimize
339
  msgid "Activate"
340
  msgstr "Aktiv"
341
 
342
+ #: inc-options/backend_options.php:86
343
  #@ adminimize
344
  msgid "With the WriteScroll option active, these pages will automatically scroll to an optimal position for editing, when you visit Write Post or Write Page."
345
  msgstr "Automatisches Scrollen zum Editor beim Aufruf der Seite Schreiben in Beitr&auml;ge und Seite."
346
 
347
+ #: inc-options/backend_options.php:90
348
  #@ adminimize
349
  msgid "Timestamp"
350
  msgstr "Timestamp"
351
 
352
+ #: inc-options/backend_options.php:96
353
  #@ adminimize
354
  msgid "Opens the post timestamp editing fields without you having to click the \"Edit\" link every time."
355
  msgstr "Das Feld zum &Auml;ndern des Ver&ouml;ffentlichungsdatum ist immer ge&ouml;ffnet."
356
 
357
+ #: inc-options/backend_options.php:100
358
  #@ adminimize
359
  msgid "Thickbox FullScreen"
360
  msgstr "Thickbox FullScreen"
361
 
362
+ #: inc-options/backend_options.php:110
363
  #@ adminimize
364
  msgid "Flashuploader"
365
  msgstr "Flashuploader"
366
 
367
+ #: inc-options/backend_options.php:116
368
  #@ adminimize
369
  msgid "Disable the flashuploader and users use only the standard uploader."
370
  msgstr "Deaktiviere den Flashuploader und Nutzer können nur den Standard-Uploader erreichen."
371
 
372
+ #: inc-options/backend_options.php:130
373
  #@ adminimize
374
  msgid "Advice in Footer"
375
  msgstr "Hinweis im Footer"
376
 
377
+ #: inc-options/backend_options.php:164
378
  #@ adminimize
379
  msgid "Manage Posts"
380
  msgstr "Verwalten Beitr&auml;ge"
381
 
382
+ #: inc-options/backend_options.php:165
383
  #@ adminimize
384
  msgid "Manage Pages"
385
  msgstr "Verwalten Seiten"
386
 
387
+ #: inc-options/backend_options.php:166
388
  #@ adminimize
389
  msgid "Write Post"
390
  msgstr "Schreiben Beitrag"
391
 
392
+ #: inc-options/backend_options.php:167
393
  #@ adminimize
394
  msgid "Write Page"
395
  msgstr "Schreiben Seite"
396
 
397
+ #: inc-options/backend_options.php:168
398
+ #: inc-options/write_post_options.php:106
399
  #@ adminimize
400
  msgid "Comments"
401
  msgstr "Kommentare"
402
 
403
+ #: inc-options/backend_options.php:169
404
  #@ adminimize
405
  msgid "other Page"
406
  msgstr "andere Seite"
407
 
408
+ #: inc-options/backend_options.php:181
409
+ #: inc-options/global_options.php:122
410
+ #: inc-options/links_options.php:126
411
+ #: inc-options/menu_options.php:151
412
+ #: inc-options/wp_nav_menu_options.php:147
413
+ #: inc-options/write_cp_options.php:240
414
+ #: inc-options/write_page_options.php:207
415
+ #: inc-options/write_post_options.php:225
416
  #@ adminimize
417
  msgid "Update Options"
418
  msgstr "Einstellungen aktualisieren"
419
 
420
+ #: inc-options/global_options.php:16
421
+ #: inc-options/minimenu.php:53
422
  #@ adminimize
423
  msgid "Global options"
424
  msgstr "Globale Einstellungen"
425
 
426
+ #: inc-options/global_options.php:23
427
+ #: inc-options/global_options.php:97
428
+ #: inc-options/links_options.php:23
429
+ #: inc-options/links_options.php:101
430
+ #: inc-options/wp_nav_menu_options.php:22
431
+ #: inc-options/wp_nav_menu_options.php:122
432
+ #: inc-options/write_cp_options.php:204
433
+ #: inc-options/write_page_options.php:182
434
+ #: inc-options/write_post_options.php:200
435
  #@ adminimize
436
  msgid "Option"
437
  msgstr "Einstellung"
438
 
439
+ #: inc-options/global_options.php:26
440
+ #: inc-options/links_options.php:26
441
+ #: inc-options/menu_options.php:26
442
+ #: inc-options/wp_nav_menu_options.php:25
443
+ #: inc-options/write_cp_options.php:32
444
+ #: inc-options/write_page_options.php:25
445
+ #: inc-options/write_post_options.php:26
446
  #@ adminimize
447
  msgid "Deactivate for"
448
  msgstr "Deaktiviere für"
449
 
450
+ #: inc-options/global_options.php:48
451
  #@ adminimize
452
  msgid "Favorite Actions"
453
  msgstr "Favorisierte Aktionen"
454
 
455
+ #: inc-options/global_options.php:49
456
  #@ adminimize
457
  msgid "Screen-Meta"
458
  msgstr "Screen-Meta"
459
 
460
+ #: inc-options/global_options.php:50
461
+ #: inc-options/wp_nav_menu_options.php:49
462
+ #: inc-options/write_cp_options.php:95
463
+ #: inc-options/write_page_options.php:87
464
+ #: inc-options/write_post_options.php:96
465
  #@ adminimize
466
  #@ default
467
  msgid "Screen Options"
468
  msgstr "kontextabhängige Optionen"
469
 
470
+ #: inc-options/global_options.php:51
471
  #@ adminimize
472
  msgid "Contextual Help"
473
  msgstr "kontextabhängig Hilfe"
474
 
475
+ #: inc-options/global_options.php:52
476
  #@ adminimize
477
  msgid "Admin Color Scheme"
478
  msgstr "Farbschema verwalten"
479
 
480
+ #: inc-options/global_options.php:96
 
 
481
  #@ adminimize
482
  msgid "Your own options"
483
  msgstr "Deine eigenen Einstellungen"
484
 
485
+ #: inc-options/global_options.php:96
486
+ #: inc-options/links_options.php:100
487
+ #: inc-options/wp_nav_menu_options.php:121
488
+ #: inc-options/write_cp_options.php:202
489
+ #: inc-options/write_page_options.php:181
490
+ #: inc-options/write_post_options.php:199
491
  #@ adminimize
492
  msgid "ID or class"
493
  msgstr "ID oder Klasse"
494
 
495
+ #: inc-options/global_options.php:103
496
+ #: inc-options/links_options.php:107
497
+ #: inc-options/wp_nav_menu_options.php:128
498
+ #: inc-options/write_cp_options.php:211
499
+ #: inc-options/write_page_options.php:188
500
+ #: inc-options/write_post_options.php:206
501
  #@ adminimize
502
  msgid "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."
503
  msgstr "Es ist möglich, dass du eigene IDs und Klassen eines Elementes oder Tags hinzufügst. Du findest IDs und Klassen sehr einfach mit dem Firebug Add-on für den Firefox. Füge pro Zeile einen Wert und dazugehörigen Namen ein."
504
 
505
+ #: inc-options/global_options.php:109
506
+ #: inc-options/links_options.php:113
507
+ #: inc-options/wp_nav_menu_options.php:134
508
+ #: inc-options/write_cp_options.php:221
509
+ #: inc-options/write_page_options.php:194
510
+ #: inc-options/write_post_options.php:212
511
  #@ adminimize
512
  msgid "Possible nomination for ID or class. Separate multiple nominations through a carriage return."
513
  msgstr "Mögliche Benennung der ID oder Klasse. Trenne Werte durch eine neue Zeile."
514
 
515
+ #: inc-options/global_options.php:114
516
+ #: inc-options/links_options.php:118
517
+ #: inc-options/wp_nav_menu_options.php:139
518
+ #: inc-options/write_cp_options.php:230
519
+ #: inc-options/write_page_options.php:199
520
+ #: inc-options/write_post_options.php:217
521
  #@ adminimize
522
  msgid "Possible IDs or classes. Separate multiple values through a carriage return."
523
  msgstr "Mögliche IDs oder Klassen. Trenne Werte durch eine neue Zeile."
524
 
525
+ #: inc-options/menu_options.php:16
526
+ #: inc-options/minimenu.php:56
527
  #@ adminimize
528
  msgid "Menu Options"
529
  msgstr "Menu Einstellungen"
530
 
531
+ #: inc-options/menu_options.php:23
532
  #@ adminimize
533
  msgid "Menu options - Menu, <span style=\\\"font-weight: 400;\\\">Submenu</span>"
534
  msgstr "Menu Einstellungen - Menu, <span style=\"font-weight: 400;\">Submenu</span>"
535
 
536
+ #: inc-options/wp_nav_menu_options.php:48
537
+ #: inc-options/write_cp_options.php:94
538
+ #: inc-options/write_page_options.php:86
539
+ #: inc-options/write_post_options.php:95
540
+ #@ adminimize
541
  #@ default
542
  msgid "Help"
543
+ msgstr "Hilfe"
544
 
545
+ #: inc-options/write_cp_options.php:96
546
+ #: inc-options/write_page_options.php:89
547
+ #: inc-options/write_post_options.php:98
548
  #@ adminimize
549
  msgid "Permalink"
550
  msgstr "Permalink"
551
 
552
+ #: inc-options/write_post_options.php:103
553
  #@ adminimize
554
  msgid "Excerpt"
555
  msgstr "Auszug"
556
 
557
+ #: inc-options/write_post_options.php:104
558
  #@ adminimize
559
  msgid "Trackbacks"
560
  msgstr "Trackbacks"
561
 
562
+ #: inc-options/write_page_options.php:90
563
+ #: inc-options/write_post_options.php:105
564
  #@ default
565
  msgid "Custom Fields"
566
  msgstr "Benutzerdefinierte Felder"
567
 
568
+ #: inc-options/write_cp_options.php:101
569
+ #: inc-options/write_post_options.php:107
570
  #@ adminimize
571
  msgid "Password Protect This Post"
572
  msgstr "Diesen Artikel durch ein Passwort sch&uuml;tzen"
573
 
574
+ #: inc-options/write_post_options.php:108
575
  #@ default
576
  msgid "Post Author"
577
  msgstr "Autor"
578
 
579
+ #: inc-options/write_post_options.php:109
580
  #@ default
581
  msgid "Post Revisions"
582
  msgstr "Post Revisions"
583
 
584
+ #: inc-options/write_cp_options.php:102
585
+ #: inc-options/write_post_options.php:110
586
  #@ adminimize
587
  msgid "Related, Shortcuts"
588
  msgstr "Siehe auch, Tastaturk&uuml;rzel"
589
 
590
+ #: inc-options/write_cp_options.php:104
591
+ #: inc-options/write_page_options.php:100
592
+ #: inc-options/write_post_options.php:112
593
  #@ adminimize
594
  msgid "h2: Advanced Options"
595
  msgstr "h2: Erweiterte Einstellungen"
596
 
597
+ #: inc-options/write_cp_options.php:105
598
+ #: inc-options/write_page_options.php:101
599
+ #: inc-options/write_post_options.php:113
600
  #@ adminimize
601
  msgid "Media Buttons (all)"
602
  msgstr "Media Buttons (alle)"
603
 
604
+ #: inc-options/write_cp_options.php:106
605
+ #: inc-options/write_page_options.php:102
606
+ #: inc-options/write_post_options.php:114
607
  #@ adminimize
608
  msgid "Word count"
609
  msgstr "Word count"
610
 
611
+ #: inc-options/write_cp_options.php:107
612
+ #: inc-options/write_post_options.php:115
613
+ #@ adminimize
614
  msgid "Post Slug"
615
+ msgstr "Titelform"
616
 
617
+ #: inc-options/links_options.php:56
618
+ #: inc-options/write_cp_options.php:108
619
+ #: inc-options/write_page_options.php:104
620
+ #: inc-options/write_post_options.php:116
621
  #@ adminimize
622
  msgid "Publish Actions"
623
  msgstr "Publish Actions"
624
 
625
+ #: inc-options/write_cp_options.php:109
626
+ #: inc-options/write_page_options.php:105
627
+ #: inc-options/write_post_options.php:117
628
  #@ default
629
+ #@ adminimize
630
  msgid "Discussion"
631
+ msgstr "Kommentare"
632
 
633
+ #: inc-options/write_cp_options.php:120
634
+ #: inc-options/write_post_options.php:122
635
+ #@ adminimize
636
  msgid "Post Thumbnail"
637
+ msgstr "Artikelbild"
638
 
639
+ #: inc-options/write_page_options.php:112
 
 
640
  #@ adminimize
641
  msgid "Suggested tags from"
642
  msgstr "Suggested tags from"
643
 
644
+ #: inc-options/write_page_options.php:114
 
 
 
 
 
 
645
  #@ default
646
  msgid "HTML Special Characters"
647
  msgstr "HTML Special Characters"
648
 
649
+ #: inc-options/write_page_options.php:91
 
 
 
 
 
650
  #@ adminimize
651
  msgid "Comments &amp; Pings"
652
  msgstr "Kommentare &amp; Pings"
653
 
654
+ #: inc-options/write_page_options.php:92
655
  #@ adminimize
656
  msgid "Password Protect This Page"
657
  msgstr "Diese Seite mit einem Passwort versehen"
658
 
659
+ #: inc-options/write_page_options.php:93
660
+ #@ adminimize
661
  msgid "Attributes"
662
+ msgstr "Attribute"
663
 
664
+ #: inc-options/write_page_options.php:94
665
  #@ adminimize
666
  msgid "Page Template"
667
  msgstr "Seiten Template"
668
 
669
+ #: inc-options/write_page_options.php:95
670
  #@ adminimize
671
  msgid "Page Order"
672
  msgstr "Reihenfolge"
673
 
674
+ #: inc-options/write_page_options.php:96
675
  #@ default
676
  msgid "Page Author"
677
  msgstr "Seitenautor"
678
 
679
+ #: inc-options/write_page_options.php:97
680
  #@ default
681
  msgid "Page Revisions"
682
  msgstr "Page Revisions"
683
 
684
+ #: inc-options/write_page_options.php:98
685
  #@ adminimize
686
  msgid "Related"
687
  msgstr "Siehe auch"
688
 
689
+ #: inc-options/write_page_options.php:103
690
+ #@ adminimize
691
  msgid "Page Slug"
692
+ msgstr "Titelform"
693
 
694
+ #: inc-options/write_page_options.php:110
695
+ #@ adminimize
696
  msgid "Page Image"
697
+ msgstr "Artikelbild"
698
 
699
+ #: inc-options/menu_options.php:67
700
+ #: inc-options/menu_options.php:115
701
  #@ adminimize
702
  msgid "After activate the check box it heavy attitudes will change."
703
  msgstr "Wenn die Checkbox aktiv ist, dann wird das Ändern von Einstellungen erschwert."
704
 
705
+ #: inc-options/menu_options.php:98
706
  #@ default
707
  msgid "Profile"
708
  msgstr "Profile"
709
 
710
+ #: inc-options/minimenu.php:59
711
+ #: inc-options/write_post_options.php:16
712
+ #: inc-options/write_post_options.php:23
713
  #@ adminimize
714
  msgid "Write options - Post"
715
  msgstr "Schreiben Einstellungen - Beitr&auml;ge"
716
 
717
+ #: inc-options/write_post_options.php:199
718
  #@ adminimize
719
  msgid "Your own post options"
720
  msgstr "Deine eigenen Beitrags-Einstellungen"
721
 
722
+ #: inc-options/minimenu.php:62
723
+ #: inc-options/write_page_options.php:15
724
+ #: inc-options/write_page_options.php:22
725
  #@ adminimize
726
  msgid "Write options - Page"
727
  msgstr "Schreiben Einstellungen - Seiten"
728
 
729
+ #: inc-options/write_page_options.php:181
730
  #@ adminimize
731
  msgid "Your own page options"
732
  msgstr "Deine eigenen Seiten-Einstellungen"
733
 
734
+ #: inc-options/links_options.php:16
735
+ #: inc-options/minimenu.php:82
736
  #@ adminimize
737
  msgid "Links options"
738
  msgstr "Link Einstellungen"
739
 
740
+ #: inc-options/links_options.php:49
741
  #@ default
742
  msgid "Name"
743
  msgstr "Name"
744
 
745
+ #: inc-options/links_options.php:50
746
  #@ default
747
  msgid "Web Address"
748
  msgstr "Web-Adresse"
749
 
750
+ #: inc-options/links_options.php:51
751
  #@ default
752
  msgid "Description"
753
  msgstr "Beschreibung"
754
 
755
+ #: inc-options/links_options.php:53
756
  #@ default
757
  msgid "Target"
758
  msgstr "Target"
759
 
760
+ #: inc-options/links_options.php:54
761
  #@ default
762
  msgid "Link Relationship (XFN)"
763
  msgstr "Link-Beziehungen (XFN)"
764
 
765
+ #: inc-options/links_options.php:55
766
  #@ default
767
  msgid "Advanced"
768
  msgstr "Erweitert"
769
 
770
+ #: inc-options/minimenu.php:88
771
+ #: inc-options/theme_options.php:15
772
+ #: inc-options/theme_options.php:100
773
  #@ adminimize
774
  msgid "Set Theme"
775
  msgstr "Theme zuweisen"
776
 
777
+ #: inc-options/theme_options.php:22
778
  #@ adminimize
779
  msgid "For better peformance with many users on your blog; load only userlist, when you will change the theme options for users."
780
  msgstr "Für eine bessere Performance bei vielen Usern in deinem Blog werden die Userdaten nur nach Aufforderung geladen."
781
 
782
+ #: inc-options/theme_options.php:25
783
  #@ adminimize
784
  msgid "Load User Data"
785
  msgstr "Lade User Daten"
786
 
787
+ #: inc-options/theme_options.php:36
788
  #@ default
789
  msgid "User-ID"
790
  msgstr "User-ID"
791
 
792
+ #: inc-options/theme_options.php:37
793
  #@ default
794
  msgid "Username"
795
  msgstr "Benutzername"
796
 
797
+ #: inc-options/theme_options.php:38
798
  #@ default
799
  msgid "Display name publicly as"
800
  msgstr "Name im Blog"
801
 
802
+ #: inc-options/theme_options.php:39
803
  #@ default
804
  msgid "Admin-Color Scheme"
805
  msgstr "Admin-Color Scheme"
806
 
807
+ #: inc-options/theme_options.php:40
808
  #@ default
809
  msgid "User Level"
810
  msgstr "User Level"
811
 
812
+ #: inc-options/theme_options.php:41
813
  #@ default
814
  msgid "Role"
815
  msgstr "Rolle"
816
 
817
+ #: inc-options/deinstall_options.php:15
818
+ #: inc-options/minimenu.php:94
819
  #@ adminimize
820
  msgid "Deinstall Options"
821
  msgstr "Einstellungen deinstallieren"
822
 
823
+ #: inc-options/deinstall_options.php:18
824
  #@ adminimize
825
  msgid "Use this option for clean your database from all entries of this plugin. When you deactivate the plugin, the deinstall of the plugin <strong>clean not</strong> all entries in the database."
826
  msgstr "Nutze diese Option, um die Einstellungen f&uuml;r das Plugin in der Datenbank zu l&ouml;schen. Das Plugin entfernt die Eintr&auml;ge <strong>nicht</strong>, wenn es deaktiviert wird!"
827
 
828
+ #: inc-options/deinstall_options.php:22
829
  #@ adminimize
830
  msgid "Delete Options"
831
  msgstr "Einstellungen Löschen"
832
 
833
+ #: inc-options/minimenu.php:21
 
 
834
  #@ adminimize
835
  msgid "About the plugin"
836
  msgstr "&Uuml;ber das Plugin"
837
 
838
+ #: inc-options/minimenu.php:23
 
839
  #@ adminimize
840
  msgid "Further information: Visit the <a href=\"http://bueltge.de/wordpress-admin-theme-adminimize/674/\">plugin homepage</a> for further information or to grab the latest version of this plugin."
841
  msgstr "Weitere Information: Besuche die <a href=\"http://bueltge.de/wordpress-admin-theme-adminimize/674/\">Plugin Webseite</a> f&uuml;r weitere Informationen oder hole die aktuelle Version des Plugins."
842
 
843
+ #: inc-options/minimenu.php:29
 
844
  #@ adminimize
845
  msgid "PayPal - The safer, easier way to pay online!"
846
  msgstr "PayPal - Der sichere und einfache Weg zu zahlen!"
847
 
848
+ #: inc-options/minimenu.php:33
 
849
  #@ adminimize
850
  msgid "You want to thank me? Visit my <a href=\"http://bueltge.de/wunschliste/\">wishlist</a> or donate."
851
  msgstr "Du willst Danke sagen? Besuche meine <a href=\"http://bueltge.de/wunschliste/\">Wunschliste</a> oder spende."
852
 
853
+ #: adminimize.php:132
854
  #@ adminimize
855
  msgid "All entries in the database were imported."
856
  msgstr "Alle Einträge wurden in die Datenbank geschrieben."
857
 
858
+ #: inc-options/im_export_options.php:15
859
+ #: inc-options/minimenu.php:91
860
  #@ adminimize
861
  msgid "Export/Import Options"
862
  msgstr "Export/Import Einstellungen"
863
 
864
+ #: inc-options/im_export_options.php:19
865
  #@ adminimize
866
  msgid "Export"
867
  msgstr "Export"
868
 
869
+ #: inc-options/im_export_options.php:24
870
  #@ adminimize
871
  msgid "Export &raquo;"
872
  msgstr "Exportieren &raquo;"
873
 
874
+ #: inc-options/im_export_options.php:28
875
  #@ adminimize
876
  msgid "Import"
877
  msgstr "Import"
878
 
879
+ #: inc-options/im_export_options.php:33
880
  #@ adminimize
881
  msgid "Choose a file from your computer"
882
  msgstr "Wähle eine Datei vom Rechner"
883
 
884
+ #: inc-options/im_export_options.php:38
885
  #@ adminimize
886
  msgid "Upload file and import &raquo;"
887
  msgstr "Hochladen der Datei und importieren &raquo;"
888
 
889
+ #: inc-options/minimenu.php:46
890
  #@ adminimize
891
  msgid "MiniMenu"
892
  msgstr "MiniMenu"
893
 
894
+ #: inc-options/backend_options.php:183
895
+ #: inc-options/deinstall_options.php:27
896
+ #: inc-options/global_options.php:124
897
+ #: inc-options/im_export_options.php:41
898
+ #: inc-options/links_options.php:129
899
+ #: inc-options/menu_options.php:153
900
+ #: inc-options/theme_options.php:105
901
+ #: inc-options/wp_nav_menu_options.php:149
902
+ #: inc-options/write_cp_options.php:245
903
+ #: inc-options/write_page_options.php:209
904
+ #: inc-options/write_post_options.php:227
905
  #@ adminimize
906
  msgid "scroll to top"
907
  msgstr "Nach oben"
908
 
909
+ #: inc-options/im_export_options.php:21
910
  #@ adminimize
911
  msgid "You can save a .seq file with your options."
912
  msgstr "Du kannst deine Einstellungen in einer .seq Datei speichern."
913
 
914
+ #: inc-options/im_export_options.php:31
915
  #@ adminimize
916
  msgid "Choose a Adminimize (<em>.seq</em>) file to upload, then click <em>Upload file and import</em>."
917
  msgstr "Wähle eine Adminimize (<em>.seq</em>) Datei zum hoch laden und dann klick <em>Hochladen der Datei und importieren</em>"
918
 
919
+ #: inc-options/backend_options.php:120
920
  #@ adminimize
921
  msgid "Category Height"
922
  msgstr "Kategorie-Höhe"
923
 
924
+ #: inc-options/backend_options.php:126
925
  #@ adminimize
926
  msgid "View the Meta Box with Categories in the full height, no scrollbar or whitespace."
927
  msgstr "Stellt in die Meta Box der Kategorien in voller Höhe dar, kein Scrollbar und kein Leerraum."
928
 
929
+ #: inc-options/backend_options.php:137
930
  #@ adminimize
931
  msgid "In the Footer you can display an advice for changing the Default-design, (x)HTML is possible."
932
  msgstr "Im Footer kann ein Hinweis auf die aktive Ver&auml;nderung des Standard-Layout gesetzt werden, (x)HTML erlaubt."
933
 
934
+ #: inc-options/backend_options.php:159
935
  #@ adminimize
936
  msgid "Dashboard deactivate, redirect to"
937
  msgstr "Dashboard inaktiv, Weiterleitung nach"
938
 
939
+ #: inc-options/write_cp_options.php:110
940
+ #: inc-options/write_page_options.php:106
941
+ #: inc-options/write_post_options.php:118
942
  #@ default
943
+ #@ adminimize
944
  msgid "HTML Editor Button"
945
+ msgstr "HTML Editor Button"
946
 
947
+ #: inc-options/backend_options.php:106
948
  #@ adminimize
949
  msgid "All Thickbox-function use the full area of the browser. Thickbox is for example in upload media-files."
950
  msgstr "Alle Thickbox-Funktion verwenden den vollständigen Bereich des Browsers. Thickbox ist beispielsweise in der Medien-Upload-Funktion."
959
  #: adminimize.php:0
960
  #@ adminimize
961
  msgid "Visually compresses the administratrive meta-boxes so that more admin page content can be initially seen. The plugin that lets you hide 'unnecessary' items from the WordPress administration menu, for alle roles of your install. You can also hide post meta controls on the edit-area to simplify the interface. It is possible to simplify the admin in different for all roles."
962
+ msgstr "Visuelles Reduzieren der administrativen Meta-Boxen, so dass mehr Raum ist und nur dargestellt, was gebraucht wird. Das Plugin erlaubt das Ausblenden von ungenutzten Bereichen im WordPress Administrations-Bereich und dem Menu für alle vorhandenen Rollen. Es ist ebenso möglich, dass man Bereiche in Teilbereichen ausblenden und eigene Bereiche ausblenden kann. - Kurz: Reduzieren des Admin-Bereichs für das, was die jeweilige Rolle benötigt."
963
 
964
  #. translators: plugin header field 'Author'
965
  #: adminimize.php:0
973
  msgid "http://bueltge.de/"
974
  msgstr ""
975
 
976
+ #: inc-options/backend_options.php:70
977
  #@ adminimize
978
  msgid "Header"
979
  msgstr "Header"
980
 
981
+ #: inc-options/backend_options.php:76
982
  #@ adminimize
983
  msgid "The Header-area can hide, include all links and details."
984
  msgstr "Der header-Bereich kann ausgeblendet werden, inkl. aller Links und Details."
985
 
986
+ #: inc-options/write_page_options.php:88
987
+ #: inc-options/write_post_options.php:97
988
  #@ adminimize
989
  msgid "Title"
990
  msgstr "Title"
991
 
992
+ #: inc-options/backend_options.php:26
993
  #@ adminimize
994
  msgid "Exclude Super Admin"
995
  msgstr "Ausschließen des Super Admin"
996
 
997
+ #: inc-options/backend_options.php:32
998
  #@ adminimize
999
  msgid "Exclude the Super Admin on a WP Multisite Install from all limitations of this plugin."
1000
  msgstr "Schließe den Super Admin in einer WordPress Multisite Installation von allen Restriktionen dieses Plugins aus."
1001
 
1002
+ #: inc-options/backend_options.php:172
1003
  #@ adminimize
1004
  msgid "You have deactivated the Dashboard, please select a page for redirection or define custom url, include http://?"
1005
  msgstr "Du hast das Dashboard deaktiviert; bitte wähle eine Seite für die Weiterleitung oder definiere eine eigene URL, inklusive http://"
1006
 
1007
+ #: inc-options/global_options.php:47
1008
  #@ adminimize
1009
  msgid "Admin Bar"
1010
  msgstr "Admin Bar"
1011
 
1012
+ #: inc-options/minimenu.php:85
1013
  #@ adminimize
1014
  msgid "WP Nav Menu"
1015
  msgstr "WP Nav Menü"
1016
 
1017
+ #: inc-options/wp_nav_menu_options.php:15
1018
  #@ adminimize
1019
  msgid "WP Nav Menu options"
1020
  msgstr "WP Nav Menü Einstellungen"
1021
 
1022
+ #: inc-options/wp_nav_menu_options.php:50
1023
+ #: inc-options/wp_nav_menu_options.php:56
1024
+ #@ adminimize
1025
  #@ default
1026
  msgid "Theme Locations"
1027
+ msgstr "Anordnung im Theme"
1028
 
1029
+ #: inc-options/wp_nav_menu_options.php:51
1030
+ #@ adminimize
1031
  msgid "Custom Links"
1032
+ msgstr "Benutzerdef. Links"
 
 
 
 
 
1033
 
1034
+ #: inc-options/wp_nav_menu_options.php:52
1035
+ #@ adminimize
1036
  msgid "Add menu"
1037
+ msgstr "Menu hinzufügen"
1038
+
1039
+ #: inc-options/write_cp_options.php:98
1040
+ #: inc-options/write_post_options.php:100
1041
+ #@ adminimize
1042
+ msgid "Format"
1043
+ msgstr "Format"
1044
+
1045
+ #: inc-options/write_cp_options.php:103
1046
+ #: inc-options/write_page_options.php:99
1047
+ #: inc-options/write_post_options.php:111
1048
+ #@ adminimize
1049
+ msgid "Messages"
1050
+ msgstr "Mitteilungen"
1051
 
1052
  #. translators: plugin header field 'Version'
1053
  #: adminimize.php:0
1054
  #@ adminimize
1055
+ msgid "1.7.18"
1056
  msgstr ""
1057
 
1058
+ #: inc-options/write_cp_options.php:126
1059
+ #: inc-options/write_page_options.php:124
1060
+ #: inc-options/write_post_options.php:140
1061
+ #@ adminimize
1062
+ msgid "Quick Edit Link"
1063
+ msgstr "QuickEdit Link"
1064
 
1065
+ #: inc-options/write_cp_options.php:127
1066
+ #: inc-options/write_cp_options.php:131
1067
+ #: inc-options/write_cp_options.php:134
1068
+ #: inc-options/write_cp_options.php:137
1069
+ #: inc-options/write_page_options.php:125
1070
+ #: inc-options/write_page_options.php:130
1071
+ #: inc-options/write_page_options.php:133
1072
+ #: inc-options/write_post_options.php:141
1073
+ #: inc-options/write_post_options.php:145
1074
+ #: inc-options/write_post_options.php:148
1075
+ #: inc-options/write_post_options.php:151
1076
  #@ adminimize
1077
+ msgid "QE"
1078
+ msgstr "QE"
1079
+
1080
+ #: inc-options/write_cp_options.php:127
1081
+ #: inc-options/write_page_options.php:125
1082
+ #: inc-options/write_post_options.php:141
1083
+ #@ adminimize
1084
+ msgid "Inline Edit Left"
1085
+ msgstr "Inline Edit Links"
1086
+
1087
+ #: inc-options/write_cp_options.php:128
1088
+ #: inc-options/write_page_options.php:126
1089
+ #: inc-options/write_post_options.php:142
1090
+ #@ adminimize
1091
+ msgid "All Labels"
1092
+ msgstr "Alle labels"
1093
+
1094
+ #: inc-options/write_page_options.php:127
1095
+ #@ adminimize
1096
+ msgid "Date"
1097
+ msgstr "Datum"
1098
+
1099
+ #: inc-options/write_cp_options.php:130
1100
+ #: inc-options/write_page_options.php:129
1101
+ #: inc-options/write_post_options.php:144
1102
+ #@ adminimize
1103
+ msgid "Password and Private"
1104
+ msgstr "Passwort und Privat-Flag"
1105
+
1106
+ #: inc-options/write_cp_options.php:134
1107
+ #: inc-options/write_page_options.php:130
1108
+ #: inc-options/write_post_options.php:148
1109
+ #@ adminimize
1110
+ msgid "Inline Edit Right"
1111
+ msgstr "Inline Edit rechts"
1112
+
1113
+ #: inc-options/write_page_options.php:131
1114
+ #@ adminimize
1115
+ msgid "Parent, Order, Template"
1116
+ msgstr "Eltern, Reihenfolge, Template"
1117
+
1118
+ #: inc-options/write_page_options.php:132
1119
+ #@ adminimize
1120
+ msgid "Status"
1121
+ msgstr "Status"
1122
+
1123
+ #: inc-options/write_cp_options.php:137
1124
+ #: inc-options/write_page_options.php:133
1125
+ #: inc-options/write_post_options.php:151
1126
+ #@ adminimize
1127
+ msgid "Cancel/Save Button"
1128
+ msgstr "Abbrechen/Aktualisieren Button"
1129
+
1130
+ #: inc-options/write_cp_options.php:131
1131
+ #: inc-options/write_post_options.php:145
1132
+ #@ adminimize
1133
+ msgid "Inline Edit Center"
1134
+ msgstr "Inline Edit mitte"
1135
+
1136
+ #: inc-options/write_cp_options.php:132
1137
+ #: inc-options/write_post_options.php:146
1138
+ #@ adminimize
1139
+ msgid "Categories Title"
1140
+ msgstr "Kategorien Title"
1141
+
1142
+ #: inc-options/write_cp_options.php:133
1143
+ #: inc-options/write_post_options.php:147
1144
+ #@ adminimize
1145
+ msgid "Categories List"
1146
+ msgstr "Kategorien Liste"
1147
+
1148
+ #: inc-options/write_cp_options.php:136
1149
+ #: inc-options/write_post_options.php:150
1150
+ #@ adminimize
1151
+ msgid "Status, Sticky"
1152
+ msgstr "Status, Sticky"
1153
+
1154
+ #: inc-options/links_options.php:100
1155
+ #@ adminimize
1156
+ msgid "Your own Link options"
1157
+ msgstr "Deine eigenen Link Einstellungen"
1158
+
1159
+ #: inc-options/minimenu.php:73
1160
+ #: inc-options/write_cp_options.php:21
1161
+ #: inc-options/write_cp_options.php:29
1162
+ #@ adminimize
1163
+ msgid "Write options"
1164
+ msgstr "Einstellungen Schreiben"
1165
+
1166
+ #: inc-options/wp_nav_menu_options.php:121
1167
+ #@ adminimize
1168
+ msgid "Your own Nav Menu options"
1169
+ msgstr "Deine eigenen Nav Menu Einstellungen"
1170
+
1171
+ #: inc-options/write_cp_options.php:201
1172
+ #, php-format
1173
+ #@ adminimize
1174
+ msgid "Your own %s options"
1175
+ msgstr "Deine eigenen %s Einstellungen"
1176
 
languages/adminimize-es_ES.mo CHANGED
File without changes
languages/adminimize-es_ES.po CHANGED
File without changes
languages/adminimize-fr_FR.mo CHANGED
File without changes
languages/adminimize-fr_FR.po CHANGED
File without changes
languages/adminimize-hi_IN.mo ADDED
Binary file
languages/adminimize-hi_IN.po ADDED
@@ -0,0 +1,636 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Adminimize\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-04-27 10:55+0100\n"
6
+ "PO-Revision-Date: 2011-06-16 16:07+0530\n"
7
+ "Last-Translator: Ashish Jha <ashish@outshinesolutions.com>\n"
8
+ "Language-Team: Outshine Solutions <ash.pr@outshinesolutions.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-SourceCharset: utf-8\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: d:\\WP-Plugins\\adminimize\\trunk\\\n"
15
+ ": \n"
16
+ "X-Poedit-Language: Hindi\n"
17
+ "X-Poedit-Country: INDIA\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
+
20
+ #: adminimize.php:84
21
+ msgid "Unknown error."
22
+ msgstr "अज्ञात त्रुटि."
23
+
24
+ #: adminimize.php:91
25
+ msgid "The updates was saved."
26
+ msgstr "अपडेट सहेजा गया था."
27
+
28
+ #: adminimize.php:92
29
+ msgid "You have not enough rights for edit entries in the database."
30
+ msgstr "आप डेटाबेस में प्रविष्टियों को संपादित करने के लिए पर्याप्त नहीं है"
31
+
32
+ #: adminimize.php:93
33
+ msgid "All entries in the database was delleted."
34
+ msgstr "डेटाबेस में सभी प्रविष्टियों को नष्ट किया गया."
35
+
36
+ #: adminimize.php:94
37
+ msgid "Set the checkbox on deinstall-button."
38
+ msgstr "Deinstall बटन पर चेकबॉक्स निर्धारित करें."
39
+
40
+ #: adminimize.php:95
41
+ msgid "Can't load menu and submenu."
42
+ msgstr "मेनू और सबमेनू लोड नहीं कर सकते."
43
+
44
+ #: adminimize.php:96
45
+ msgid "Backend-Theme was activated!"
46
+ msgstr "बैकेंड थीम सक्रिय किया था!"
47
+
48
+ #: adminimize.php:347
49
+ #: adminimize_page.php:395
50
+ #: adminimize_page.php:797
51
+ msgid "Categories"
52
+ msgstr "श्रेणियाँ"
53
+
54
+ #: adminimize.php:353
55
+ #: adminimize.php:364
56
+ msgid "+ Add New Category"
57
+ msgstr "नई श्रेणी जोड़ें +"
58
+
59
+ #: adminimize.php:355
60
+ #: adminimize.php:366
61
+ msgid "New category name"
62
+ msgstr "नई श्रेणी का नाम"
63
+
64
+ #: adminimize.php:356
65
+ #: adminimize.php:368
66
+ msgid "Parent category"
67
+ msgstr "अभिभावक वर्ग"
68
+
69
+ #: adminimize.php:357
70
+ #: adminimize.php:369
71
+ msgid "Add"
72
+ msgstr "जोड़ें"
73
+
74
+ #: adminimize.php:366
75
+ #: adminimize_page.php:396
76
+ msgid "Add New Category"
77
+ msgstr "नई श्रेणी जोड़ें"
78
+
79
+ #: adminimize.php:390
80
+ #: adminimize.php:391
81
+ #: adminimize_page.php:394
82
+ msgid "Tags"
83
+ msgstr "टैग"
84
+
85
+ #: adminimize.php:431
86
+ #: adminimize.php:445
87
+ #: adminimize.php:459
88
+ msgid "Blue"
89
+ msgstr "नीला"
90
+
91
+ #: adminimize.php:438
92
+ #: adminimize.php:452
93
+ #: adminimize.php:466
94
+ msgid "Gray"
95
+ msgstr "ग्रे "
96
+
97
+ #: adminimize.php:474
98
+ #: adminimize.php:516
99
+ #: adminimize.php:539
100
+ msgid "Classic"
101
+ msgstr "क्लासिक"
102
+
103
+ #: adminimize.php:481
104
+ #: adminimize.php:523
105
+ #: adminimize.php:546
106
+ msgid "Fresh"
107
+ msgstr "ताज़ा"
108
+
109
+ #: adminimize.php:488
110
+ msgid "WordPress 2.3"
111
+ msgstr "WordPress 2.3"
112
+
113
+ #: adminimize.php:495
114
+ msgid "Maybe i'm colorblind"
115
+ msgstr "शायद मैं वर्णअंध हूँ"
116
+
117
+ #: adminimize.php:502
118
+ msgid "Grey"
119
+ msgstr "ग्रे"
120
+
121
+ #: adminimize.php:630
122
+ #: adminimize.php:633
123
+ msgid "Dashboard"
124
+ msgstr "डैशबोर्ड"
125
+
126
+ #: adminimize.php:692
127
+ #: adminimize.php:694
128
+ #: adminimize.php:707
129
+ #: adminimize.php:709
130
+ #: adminimize.php:907
131
+ msgid "Log Out"
132
+ msgstr "लॉग आउट"
133
+
134
+ #: adminimize.php:926
135
+ msgid "Visit plugin homepage"
136
+ msgstr " होमपेज प्लगइन पर जाएँ"
137
+
138
+ #: adminimize.php:929
139
+ msgid "plugin"
140
+ msgstr "प्लगइन"
141
+
142
+ #: adminimize.php:929
143
+ msgid "Version"
144
+ msgstr "संस्करण"
145
+
146
+ #: adminimize.php:929
147
+ msgid "History"
148
+ msgstr "इतिहास"
149
+
150
+ #: adminimize.php:929
151
+ msgid "Author"
152
+ msgstr "लेखक"
153
+
154
+ #: adminimize.php:932
155
+ msgid "plugin activate"
156
+ msgstr "सक्रिय प्लगइन"
157
+
158
+ #: adminimize.php:947
159
+ msgid "Settings"
160
+ msgstr "सेटिंग्स"
161
+
162
+ #: adminimize.php:1007
163
+ msgid "<a href=\"http://wordpress.org/extend/plugins/adminimize/\">Documentation</a>"
164
+ msgstr "<a href=\"http://wordpress.org/extend/plugins/adminimize/\">Documentación</a>"
165
+
166
+ #: adminimize.php:1024
167
+ #: adminimize_page.php:70
168
+ msgid "Adminimize"
169
+ msgstr "Adminimize"
170
+
171
+ #: adminimize.php:1026
172
+ msgid "Adminimize Options"
173
+ msgstr "Adminimize विकल्प"
174
+
175
+ #: adminimize.php:1040
176
+ msgid "Cheatin&#8217; uh?"
177
+ msgstr "Cheatin&#8217; uh?"
178
+
179
+ #: adminimize_page.php:74
180
+ #: adminimize_page.php:217
181
+ #: adminimize_page.php:331
182
+ #: adminimize_page.php:596
183
+ #: adminimize_page.php:678
184
+ #: adminimize_page.php:760
185
+ #: adminimize_page.php:881
186
+ #: adminimize_page.php:962
187
+ #: adminimize_page.php:982
188
+ msgid "Click to toggle"
189
+ msgstr "टॉगल करने के लिए क्लिक करें"
190
+
191
+ #: adminimize_page.php:75
192
+ msgid "Backend Options"
193
+ msgstr "बैकेंड विकल्प"
194
+
195
+ #: adminimize_page.php:84
196
+ msgid "User-Info"
197
+ msgstr "उपयोगकर्ता जानकारी"
198
+
199
+ #: adminimize_page.php:88
200
+ #: adminimize_page.php:101
201
+ #: adminimize_page.php:111
202
+ #: adminimize_page.php:121
203
+ #: adminimize_page.php:131
204
+ #: adminimize_page.php:141
205
+ #: adminimize_page.php:151
206
+ #: adminimize_page.php:161
207
+ #: adminimize_page.php:190
208
+ msgid "Default"
209
+ msgstr "डिफ़ॉल्ट"
210
+
211
+ #: adminimize_page.php:89
212
+ #: adminimize_page.php:112
213
+ msgid "Hide"
214
+ msgstr "छिपाना"
215
+
216
+ #: adminimize_page.php:90
217
+ msgid "Only logout"
218
+ msgstr "केवल लॉगआउट"
219
+
220
+ #: adminimize_page.php:91
221
+ msgid "User &amp; Logout"
222
+ msgstr "उपयोगकर्ता &amp; लॉगआउट"
223
+
224
+ #: adminimize_page.php:92
225
+ msgid "The &quot;User-Info-area&quot; is on the top right side of the backend. You can hide or reduced show."
226
+ msgstr "The &quot;उपयोगकर्ता के सूचना क्षेत्र \"बैकेंड का दाईं ओर ऊपर है. आप छिपा या कम दिखा सकते हैं."
227
+
228
+ #: adminimize_page.php:97
229
+ msgid "Change User-Info, redirect to"
230
+ msgstr "उपयोगकर्ता जानकारी, को अनुप्रेषित"
231
+
232
+ #: adminimize_page.php:102
233
+ msgid "Frontpage of the Blog"
234
+ msgstr "ब्लॉग का FrontPage"
235
+
236
+ #: adminimize_page.php:103
237
+ msgid "When the &quot;User-Info-area&quot; change it, then it is possible to change the redirect."
238
+ msgstr "जब &quot; उपयोगकर्ता के सूचना क्षेत्र \"इसे बदलना है, तो इसे बदलने के अनुप्रेषित संभव है."
239
+
240
+ #: adminimize_page.php:107
241
+ msgid "Footer"
242
+ msgstr "पाद लेख"
243
+
244
+ #: adminimize_page.php:113
245
+ msgid "The Footer-area kann hide, include all links and details."
246
+ msgstr "पाद लेख क्षेत्र के kann छुपाने के लिए, सभी लिंक और विवरण शामिल हैं."
247
+
248
+ #: adminimize_page.php:117
249
+ msgid "WriteScroll"
250
+ msgstr "WriteScroll"
251
+
252
+ #: adminimize_page.php:122
253
+ #: adminimize_page.php:132
254
+ #: adminimize_page.php:142
255
+ #: adminimize_page.php:152
256
+ #: adminimize_page.php:162
257
+ msgid "Activate"
258
+ msgstr "सक्रिय करें"
259
+
260
+ #: adminimize_page.php:123
261
+ msgid "With the WriteScroll option active, these pages will automatically scroll to an optimal position for editing, when you visit Write Post or Write Page."
262
+ msgstr "WriteScroll विकल्प के साथ सक्रिय, इन पृष्ठों स्वतः संपादन के लिए एक इष्टतम स्थिति पर स्क्रॉल करेगा, जब तुम यात्रा पोस्ट लिखें या पृष्ठ लिखो."
263
+
264
+ #: adminimize_page.php:127
265
+ msgid "Timestamp"
266
+ msgstr "टाइमस्टैम्प"
267
+
268
+ #: adminimize_page.php:133
269
+ msgid "Opens the post timestamp editing fields without you having to click the \"Edit\" link every time."
270
+ msgstr "आपके बिना पोस्ट टाइमस्टैम्प संपादन क्षेत्रों के लिए \"संपादित करें \" हर बार लिंक पर क्लिक कर रही है."
271
+
272
+ #: adminimize_page.php:137
273
+ msgid "Thickbox FullScreen"
274
+ msgstr "Thickbox Fullscreen"
275
+
276
+ #: adminimize_page.php:143
277
+ msgid "All Thickbox-function use the full area of the browser. Thickbox is for examble in upload media-files."
278
+ msgstr "सभी Thickbox समारोह ब्राउज़र के पूरे क्षेत्र का उपयोग करें. Thickbox मीडिया फ़ाइलों को अपलोड करने के examble के लिए है."
279
+
280
+ #: adminimize_page.php:147
281
+ msgid "Flashuploader"
282
+ msgstr "Flashuploader"
283
+
284
+ #: adminimize_page.php:153
285
+ msgid "Disable the flashuploader and users use only the standard uploader."
286
+ msgstr "निष्क्रिय करने flashuploader और उपयोगकर्ताओं को केवल मानक अपलोडर का उपयोग करें."
287
+
288
+ #: adminimize_page.php:157
289
+ msgid "Advice in Footer"
290
+ msgstr "पाद लेख में सलाह"
291
+
292
+ #: adminimize_page.php:164
293
+ msgid "In the Footer kann you display a advice for change the Default-design, (x)HTML is possible."
294
+ msgstr "फूटर kann में आप चूक से डिजाइन बदलने के लिए एक सलाह प्रदर्शन, (एक्स) HTML संभव है."
295
+
296
+ #: adminimize_page.php:186
297
+ msgid "Dashboard deaktivate, redirect to"
298
+ msgstr "डैशबोर्ड deaktivate, पुनर्प्रेषित करने के लिए"
299
+
300
+ #: adminimize_page.php:191
301
+ msgid "Manage Posts"
302
+ msgstr "पोस्ट प्रबंधित"
303
+
304
+ #: adminimize_page.php:192
305
+ msgid "Manage Pages"
306
+ msgstr "पृष्ठों को प्रबंधित करें"
307
+
308
+ #: adminimize_page.php:193
309
+ msgid "Write Post"
310
+ msgstr "पोस्ट लिखें"
311
+
312
+ #: adminimize_page.php:194
313
+ msgid "Write Page"
314
+ msgstr "पृष्ठ लिखें"
315
+
316
+ #: adminimize_page.php:195
317
+ msgid "Comments"
318
+ msgstr "टिप्पणियाँ"
319
+
320
+ #: adminimize_page.php:196
321
+ msgid "other Page"
322
+ msgstr "अन्य पेज"
323
+
324
+ #: adminimize_page.php:199
325
+ msgid "You have deaktivate the Dashboard, please select a page for redirect?"
326
+ msgstr "आप डैशबोर्ड deaktivate, अनुप्रेषित के लिए कृपया एक पृष्ठ का चयन करे?"
327
+
328
+ #: adminimize_page.php:208
329
+ #: adminimize_page.php:322
330
+ #: adminimize_page.php:587
331
+ #: adminimize_page.php:669
332
+ #: adminimize_page.php:751
333
+ #: adminimize_page.php:871
334
+ msgid "Update Options"
335
+ msgstr "अद्यतन विकल्प"
336
+
337
+ #: adminimize_page.php:218
338
+ msgid "Global options"
339
+ msgstr "ग्लोबल विकल्प"
340
+
341
+ #: adminimize_page.php:225
342
+ #: adminimize_page.php:297
343
+ #: adminimize_page.php:644
344
+ #: adminimize_page.php:726
345
+ #: adminimize_page.php:768
346
+ #: adminimize_page.php:846
347
+ msgid "Option"
348
+ msgstr "विकल्प"
349
+
350
+ #: adminimize_page.php:228
351
+ #: adminimize_page.php:341
352
+ #: adminimize_page.php:607
353
+ #: adminimize_page.php:689
354
+ #: adminimize_page.php:771
355
+ msgid "Deactivate for"
356
+ msgstr " निष्क्रिय के लिए"
357
+
358
+ #: adminimize_page.php:248
359
+ msgid "Favorite Actions"
360
+ msgstr "पसंदीदा कार्य"
361
+
362
+ #: adminimize_page.php:249
363
+ msgid "Screen-Meta"
364
+ msgstr "स्क्रीन मेटा"
365
+
366
+ #: adminimize_page.php:250
367
+ msgid "Screen Options"
368
+ msgstr "स्क्रीन विकल्प"
369
+
370
+ #: adminimize_page.php:251
371
+ msgid "Contextual Help"
372
+ msgstr "संदर्भ मदद"
373
+
374
+ #: adminimize_page.php:252
375
+ msgid "Admin Color Scheme"
376
+ msgstr "व्यवस्थापक रंग योजना"
377
+
378
+ #: adminimize_page.php:296
379
+ #: adminimize_page.php:845
380
+ msgid "Your own options"
381
+ msgstr "अपने खुद के विकल्प"
382
+
383
+ #: adminimize_page.php:296
384
+ #: adminimize_page.php:643
385
+ #: adminimize_page.php:725
386
+ #: adminimize_page.php:845
387
+ msgid "ID or class"
388
+ msgstr "आईडी या वर्ग"
389
+
390
+ #: adminimize_page.php:303
391
+ #: adminimize_page.php:650
392
+ #: adminimize_page.php:732
393
+ #: adminimize_page.php:852
394
+ msgid "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."
395
+ msgstr "यह संभव है कि तत्वों और टैग से अपने आईडी या वर्गों में जोड़ें. आपको ID और वर्गों के साथ मिल सकता है FireBug जोड़ें Firefox के लिए पर. एक मूल्य और प्रति पंक्ति सहयोगी नाम निरुपित."
396
+
397
+ #: adminimize_page.php:309
398
+ #: adminimize_page.php:656
399
+ #: adminimize_page.php:738
400
+ #: adminimize_page.php:858
401
+ msgid "Possible IDs or classes. Separate multiple values through a carriage return."
402
+ msgstr "संभव आईडी या वर्ग. एक गाड़ी वापसी के माध्यम से अनेक मान अलग करें."
403
+
404
+ #: adminimize_page.php:314
405
+ #: adminimize_page.php:661
406
+ #: adminimize_page.php:743
407
+ #: adminimize_page.php:863
408
+ msgid "Possible nomination for ID or class. Separate multiple nomination through a carriage return."
409
+ msgstr "आईडी या वर्ग के लिए संभावित नामांकन. अलग से एक गाड़ी वापसी के माध्यम से कई नामांकन."
410
+
411
+ #: adminimize_page.php:332
412
+ msgid "Menu Options"
413
+ msgstr "मेनू विकल्प"
414
+
415
+ #: adminimize_page.php:338
416
+ msgid "Menu options - Menu, <span style=\\\"font-weight: 400;\\\">Submenu</span>"
417
+ msgstr "मेनू विकल्पों - मेनू, <span style=\"font-weight: 400;\">Submenu</span>"
418
+
419
+ #: adminimize_page.php:393
420
+ #: adminimize_page.php:475
421
+ msgid "Permalink"
422
+ msgstr "Permalink"
423
+
424
+ #: adminimize_page.php:397
425
+ msgid "Excerpt"
426
+ msgstr "अंश"
427
+
428
+ #: adminimize_page.php:398
429
+ msgid "Trackbacks"
430
+ msgstr "Trackbacks"
431
+
432
+ #: adminimize_page.php:399
433
+ #: adminimize_page.php:476
434
+ msgid "Custom Fields"
435
+ msgstr "कस्टम फील्ड्स"
436
+
437
+ #: adminimize_page.php:400
438
+ #: adminimize_page.php:477
439
+ msgid "Comments &amp; Pings"
440
+ msgstr "टिप्पणियाँ &amp;पिंग्स"
441
+
442
+ #: adminimize_page.php:401
443
+ msgid "Password Protect This Post"
444
+ msgstr "इस पोस्ट के पासवर्ड को सुरक्षित रखें "
445
+
446
+ #: adminimize_page.php:402
447
+ msgid "Post Author"
448
+ msgstr "पोस्ट लेखक"
449
+
450
+ #: adminimize_page.php:403
451
+ msgid "Post Revisions"
452
+ msgstr "पोस्ट संशोधन"
453
+
454
+ #: adminimize_page.php:404
455
+ msgid "Related, Shortcuts"
456
+ msgstr "संबंधित, शॉर्टकट"
457
+
458
+ #: adminimize_page.php:405
459
+ #: adminimize_page.php:485
460
+ msgid "Messenges"
461
+ msgstr "Messenges"
462
+
463
+ #: adminimize_page.php:406
464
+ #: adminimize_page.php:486
465
+ msgid "h2: Advanced Options"
466
+ msgstr "h2:उन्नत विकल्प"
467
+
468
+ #: adminimize_page.php:407
469
+ #: adminimize_page.php:487
470
+ msgid "Media Buttons (all)"
471
+ msgstr "मीडिया बटन (सभी)"
472
+
473
+ #: adminimize_page.php:408
474
+ #: adminimize_page.php:488
475
+ msgid "Word count"
476
+ msgstr "शब्द गणना"
477
+
478
+ #: adminimize_page.php:409
479
+ msgid "Post Slug, Slug Box"
480
+ msgstr "पोस्ट स्लग, बॉक्स स्लग"
481
+
482
+ #: adminimize_page.php:410
483
+ #: adminimize_page.php:490
484
+ #: adminimize_page.php:801
485
+ msgid "Publish Actions"
486
+ msgstr " कार्य प्रकाशित"
487
+
488
+ #: adminimize_page.php:414
489
+ #: adminimize_page.php:494
490
+ msgid "Suggested tags from"
491
+ msgstr " टैग से सुझाया"
492
+
493
+ #: adminimize_page.php:416
494
+ msgid "Text Control"
495
+ msgstr "पाठ नियंत्रण"
496
+
497
+ #: adminimize_page.php:418
498
+ #: adminimize_page.php:496
499
+ msgid "HTML Special Characters"
500
+ msgstr "HTML विशेष वर्ण"
501
+
502
+ #: adminimize_page.php:478
503
+ msgid "Password Protect This Page"
504
+ msgstr "पासवर्ड इस पृष्ठ को सुरक्षित रखें"
505
+
506
+ #: adminimize_page.php:479
507
+ msgid "Page Parent"
508
+ msgstr " मूल पृष्ठ"
509
+
510
+ #: adminimize_page.php:480
511
+ msgid "Page Template"
512
+ msgstr "पृष्ठ टेम्पलेट"
513
+
514
+ #: adminimize_page.php:481
515
+ msgid "Page Order"
516
+ msgstr "पृष्ठ आदेश"
517
+
518
+ #: adminimize_page.php:482
519
+ msgid "Page Author"
520
+ msgstr "पृष्ठ लेखक"
521
+
522
+ #: adminimize_page.php:483
523
+ msgid "Page Revisions"
524
+ msgstr "पृष्ठ संशोधन"
525
+
526
+ #: adminimize_page.php:484
527
+ msgid "Related"
528
+ msgstr "संबंधित"
529
+
530
+ #: adminimize_page.php:489
531
+ msgid "Page Slug, Slug Box"
532
+ msgstr "पृष्ठ स्लग, बॉक्स स्लग"
533
+
534
+ #: adminimize_page.php:597
535
+ #: adminimize_page.php:604
536
+ msgid "Write options - Post"
537
+ msgstr "विकल्प लिखें - पोस्ट"
538
+
539
+ #: adminimize_page.php:643
540
+ msgid "Your own post options"
541
+ msgstr "अपने खुद के पद विकल्प"
542
+
543
+ #: adminimize_page.php:679
544
+ #: adminimize_page.php:686
545
+ msgid "Write options - Page"
546
+ msgstr "विकल्प लिखें - पेज"
547
+
548
+ #: adminimize_page.php:725
549
+ msgid "Your own page options"
550
+ msgstr "अपने खुद के विकल्प पृष्ठ"
551
+
552
+ #: adminimize_page.php:761
553
+ msgid "Links options"
554
+ msgstr "लिंक विकल्प"
555
+
556
+ #: adminimize_page.php:794
557
+ msgid "Name"
558
+ msgstr "नाम"
559
+
560
+ #: adminimize_page.php:795
561
+ msgid "Web Address"
562
+ msgstr "वेब पता"
563
+
564
+ #: adminimize_page.php:796
565
+ msgid "Description"
566
+ msgstr "विवरण"
567
+
568
+ #: adminimize_page.php:798
569
+ msgid "Target"
570
+ msgstr "लक्ष्य"
571
+
572
+ #: adminimize_page.php:799
573
+ msgid "Link Relationship (XFN)"
574
+ msgstr "लिंक संबंध (XFN)"
575
+
576
+ #: adminimize_page.php:800
577
+ msgid "Advanced"
578
+ msgstr "उन्नत"
579
+
580
+ #: adminimize_page.php:882
581
+ #: adminimize_page.php:952
582
+ msgid "Set Theme"
583
+ msgstr "सेट थीम"
584
+
585
+ #: adminimize_page.php:891
586
+ msgid "User-ID"
587
+ msgstr "प्रयोक्ता आईडी"
588
+
589
+ #: adminimize_page.php:892
590
+ msgid "Username"
591
+ msgstr "उपयोगकर्ता नाम"
592
+
593
+ #: adminimize_page.php:893
594
+ msgid "Display name publicly as"
595
+ msgstr " नाम सार्वजनिक रूप प्रदर्शित"
596
+
597
+ #: adminimize_page.php:894
598
+ msgid "Admin-Color Scheme"
599
+ msgstr "एडमिन रंग योजना"
600
+
601
+ #: adminimize_page.php:895
602
+ msgid "User Level"
603
+ msgstr "उपयोगकर्ता स्तर"
604
+
605
+ #: adminimize_page.php:896
606
+ msgid "Role"
607
+ msgstr "भूमिका"
608
+
609
+ #: adminimize_page.php:963
610
+ msgid "Deinstall Options"
611
+ msgstr "Deinstall विकल्प"
612
+
613
+ #: adminimize_page.php:966
614
+ msgid "Use this option for clean your database from all entries of this plugin. When you deactivate the plugin, the deinstall of the plugin <strong>clean not</strong> all entries in the database."
615
+ msgstr "सभी प्रविष्टियों का इस प्लगइन से अपने डेटाबेस को साफ के लिए इस विकल्प का प्रयोग करें. जब आप को निष्क्रिय प्लगइन, <strong> डेटाबेस में प्लगइन </strong> नहीं सभी प्रविष्टियों को साफ का deinstall."
616
+
617
+ #: adminimize_page.php:970
618
+ msgid "Delete Options"
619
+ msgstr " विकल्प हटाएँ"
620
+
621
+ #: adminimize_page.php:983
622
+ msgid "About the plugin"
623
+ msgstr " प्लगइन के बारे में"
624
+
625
+ #: adminimize_page.php:985
626
+ msgid "Further information: Visit the <a href=\"http://bueltge.de/wordpress-admin-theme-adminimize/674/\">plugin homepage</a> for further information or to grab the latest version of this plugin."
627
+ msgstr "अधिक जानकारी:प्लगइन के लिए अधिक जानकारी या इस का नवीनतम संस्करण हड़पने के लिए. <a href=\"http://bueltge.de/wordpress-admin-theme-adminimize/674/\"> मुखपृष्ठ प्लगइन</a>पर जाएँ"
628
+
629
+ #: adminimize_page.php:991
630
+ msgid "PayPal - The safer, easier way to pay online!"
631
+ msgstr "पेपैल - सुरक्षित, आसान करने के लिए ऑनलाइन भुगतान करते हैं!"
632
+
633
+ #: adminimize_page.php:995
634
+ msgid "You want to thank me? Visit my <a href=\"http://bueltge.de/wunschliste/\">wishlist</a> or donate."
635
+ msgstr "आपको मुझे शुक्रिया अदा करना चाहते हैं?<a href=\"http://bueltge.de/wunschliste/\">wishlist</a> मेरे पर जाएँ या दान."
636
+
languages/adminimize-it_IT.mo CHANGED
File without changes
languages/adminimize-it_IT.po CHANGED
File without changes
languages/adminimize-nl_NL.mo CHANGED
File without changes
languages/adminimize-nl_NL.po CHANGED
File without changes
languages/adminimize-tr.po CHANGED
File without changes
languages/adminimize-xx_XX.pot CHANGED
File without changes
license.txt ADDED
@@ -0,0 +1,674 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+ Preamble
9
+
10
+ The GNU General Public License is a free, copyleft license for
11
+ software and other kinds of works.
12
+
13
+ The licenses for most software and other practical works are designed
14
+ to take away your freedom to share and change the works. By contrast,
15
+ the GNU General Public License is intended to guarantee your freedom to
16
+ share and change all versions of a program--to make sure it remains free
17
+ software for all its users. We, the Free Software Foundation, use the
18
+ GNU General Public License for most of our software; it applies also to
19
+ any other work released this way by its authors. You can apply it to
20
+ your programs, too.
21
+
22
+ When we speak of free software, we are referring to freedom, not
23
+ price. Our General Public Licenses are designed to make sure that you
24
+ have the freedom to distribute copies of free software (and charge for
25
+ them if you wish), that you receive source code or can get it if you
26
+ want it, that you can change the software or use pieces of it in new
27
+ free programs, and that you know you can do these things.
28
+
29
+ To protect your rights, we need to prevent others from denying you
30
+ these rights or asking you to surrender the rights. Therefore, you have
31
+ certain responsibilities if you distribute copies of the software, or if
32
+ you modify it: responsibilities to respect the freedom of others.
33
+
34
+ For example, if you distribute copies of such a program, whether
35
+ gratis or for a fee, you must pass on to the recipients the same
36
+ freedoms that you received. You must make sure that they, too, receive
37
+ or can get the source code. And you must show them these terms so they
38
+ know their rights.
39
+
40
+ Developers that use the GNU GPL protect your rights with two steps:
41
+ (1) assert copyright on the software, and (2) offer you this License
42
+ giving you legal permission to copy, distribute and/or modify it.
43
+
44
+ For the developers' and authors' protection, the GPL clearly explains
45
+ that there is no warranty for this free software. For both users' and
46
+ authors' sake, the GPL requires that modified versions be marked as
47
+ changed, so that their problems will not be attributed erroneously to
48
+ authors of previous versions.
49
+
50
+ Some devices are designed to deny users access to install or run
51
+ modified versions of the software inside them, although the manufacturer
52
+ can do so. This is fundamentally incompatible with the aim of
53
+ protecting users' freedom to change the software. The systematic
54
+ pattern of such abuse occurs in the area of products for individuals to
55
+ use, which is precisely where it is most unacceptable. Therefore, we
56
+ have designed this version of the GPL to prohibit the practice for those
57
+ products. If such problems arise substantially in other domains, we
58
+ stand ready to extend this provision to those domains in future versions
59
+ of the GPL, as needed to protect the freedom of users.
60
+
61
+ Finally, every program is threatened constantly by software patents.
62
+ States should not allow patents to restrict development and use of
63
+ software on general-purpose computers, but in those that do, we wish to
64
+ avoid the special danger that patents applied to a free program could
65
+ make it effectively proprietary. To prevent this, the GPL assures that
66
+ patents cannot be used to render the program non-free.
67
+
68
+ The precise terms and conditions for copying, distribution and
69
+ modification follow.
70
+
71
+ TERMS AND CONDITIONS
72
+
73
+ 0. Definitions.
74
+
75
+ "This License" refers to version 3 of the GNU General Public License.
76
+
77
+ "Copyright" also means copyright-like laws that apply to other kinds of
78
+ works, such as semiconductor masks.
79
+
80
+ "The Program" refers to any copyrightable work licensed under this
81
+ License. Each licensee is addressed as "you". "Licensees" and
82
+ "recipients" may be individuals or organizations.
83
+
84
+ To "modify" a work means to copy from or adapt all or part of the work
85
+ in a fashion requiring copyright permission, other than the making of an
86
+ exact copy. The resulting work is called a "modified version" of the
87
+ earlier work or a work "based on" the earlier work.
88
+
89
+ A "covered work" means either the unmodified Program or a work based
90
+ on the Program.
91
+
92
+ To "propagate" a work means to do anything with it that, without
93
+ permission, would make you directly or secondarily liable for
94
+ infringement under applicable copyright law, except executing it on a
95
+ computer or modifying a private copy. Propagation includes copying,
96
+ distribution (with or without modification), making available to the
97
+ public, and in some countries other activities as well.
98
+
99
+ To "convey" a work means any kind of propagation that enables other
100
+ parties to make or receive copies. Mere interaction with a user through
101
+ a computer network, with no transfer of a copy, is not conveying.
102
+
103
+ An interactive user interface displays "Appropriate Legal Notices"
104
+ to the extent that it includes a convenient and prominently visible
105
+ feature that (1) displays an appropriate copyright notice, and (2)
106
+ tells the user that there is no warranty for the work (except to the
107
+ extent that warranties are provided), that licensees may convey the
108
+ work under this License, and how to view a copy of this License. If
109
+ the interface presents a list of user commands or options, such as a
110
+ menu, a prominent item in the list meets this criterion.
111
+
112
+ 1. Source Code.
113
+
114
+ The "source code" for a work means the preferred form of the work
115
+ for making modifications to it. "Object code" means any non-source
116
+ form of a work.
117
+
118
+ A "Standard Interface" means an interface that either is an official
119
+ standard defined by a recognized standards body, or, in the case of
120
+ interfaces specified for a particular programming language, one that
121
+ is widely used among developers working in that language.
122
+
123
+ The "System Libraries" of an executable work include anything, other
124
+ than the work as a whole, that (a) is included in the normal form of
125
+ packaging a Major Component, but which is not part of that Major
126
+ Component, and (b) serves only to enable use of the work with that
127
+ Major Component, or to implement a Standard Interface for which an
128
+ implementation is available to the public in source code form. A
129
+ "Major Component", in this context, means a major essential component
130
+ (kernel, window system, and so on) of the specific operating system
131
+ (if any) on which the executable work runs, or a compiler used to
132
+ produce the work, or an object code interpreter used to run it.
133
+
134
+ The "Corresponding Source" for a work in object code form means all
135
+ the source code needed to generate, install, and (for an executable
136
+ work) run the object code and to modify the work, including scripts to
137
+ control those activities. However, it does not include the work's
138
+ System Libraries, or general-purpose tools or generally available free
139
+ programs which are used unmodified in performing those activities but
140
+ which are not part of the work. For example, Corresponding Source
141
+ includes interface definition files associated with source files for
142
+ the work, and the source code for shared libraries and dynamically
143
+ linked subprograms that the work is specifically designed to require,
144
+ such as by intimate data communication or control flow between those
145
+ subprograms and other parts of the work.
146
+
147
+ The Corresponding Source need not include anything that users
148
+ can regenerate automatically from other parts of the Corresponding
149
+ Source.
150
+
151
+ The Corresponding Source for a work in source code form is that
152
+ same work.
153
+
154
+ 2. Basic Permissions.
155
+
156
+ All rights granted under this License are granted for the term of
157
+ copyright on the Program, and are irrevocable provided the stated
158
+ conditions are met. This License explicitly affirms your unlimited
159
+ permission to run the unmodified Program. The output from running a
160
+ covered work is covered by this License only if the output, given its
161
+ content, constitutes a covered work. This License acknowledges your
162
+ rights of fair use or other equivalent, as provided by copyright law.
163
+
164
+ You may make, run and propagate covered works that you do not
165
+ convey, without conditions so long as your license otherwise remains
166
+ in force. You may convey covered works to others for the sole purpose
167
+ of having them make modifications exclusively for you, or provide you
168
+ with facilities for running those works, provided that you comply with
169
+ the terms of this License in conveying all material for which you do
170
+ not control copyright. Those thus making or running the covered works
171
+ for you must do so exclusively on your behalf, under your direction
172
+ and control, on terms that prohibit them from making any copies of
173
+ your copyrighted material outside their relationship with you.
174
+
175
+ Conveying under any other circumstances is permitted solely under
176
+ the conditions stated below. Sublicensing is not allowed; section 10
177
+ makes it unnecessary.
178
+
179
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180
+
181
+ No covered work shall be deemed part of an effective technological
182
+ measure under any applicable law fulfilling obligations under article
183
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184
+ similar laws prohibiting or restricting circumvention of such
185
+ measures.
186
+
187
+ When you convey a covered work, you waive any legal power to forbid
188
+ circumvention of technological measures to the extent such circumvention
189
+ is effected by exercising rights under this License with respect to
190
+ the covered work, and you disclaim any intention to limit operation or
191
+ modification of the work as a means of enforcing, against the work's
192
+ users, your or third parties' legal rights to forbid circumvention of
193
+ technological measures.
194
+
195
+ 4. Conveying Verbatim Copies.
196
+
197
+ You may convey verbatim copies of the Program's source code as you
198
+ receive it, in any medium, provided that you conspicuously and
199
+ appropriately publish on each copy an appropriate copyright notice;
200
+ keep intact all notices stating that this License and any
201
+ non-permissive terms added in accord with section 7 apply to the code;
202
+ keep intact all notices of the absence of any warranty; and give all
203
+ recipients a copy of this License along with the Program.
204
+
205
+ You may charge any price or no price for each copy that you convey,
206
+ and you may offer support or warranty protection for a fee.
207
+
208
+ 5. Conveying Modified Source Versions.
209
+
210
+ You may convey a work based on the Program, or the modifications to
211
+ produce it from the Program, in the form of source code under the
212
+ terms of section 4, provided that you also meet all of these conditions:
213
+
214
+ a) The work must carry prominent notices stating that you modified
215
+ it, and giving a relevant date.
216
+
217
+ b) The work must carry prominent notices stating that it is
218
+ released under this License and any conditions added under section
219
+ 7. This requirement modifies the requirement in section 4 to
220
+ "keep intact all notices".
221
+
222
+ c) You must license the entire work, as a whole, under this
223
+ License to anyone who comes into possession of a copy. This
224
+ License will therefore apply, along with any applicable section 7
225
+ additional terms, to the whole of the work, and all its parts,
226
+ regardless of how they are packaged. This License gives no
227
+ permission to license the work in any other way, but it does not
228
+ invalidate such permission if you have separately received it.
229
+
230
+ d) If the work has interactive user interfaces, each must display
231
+ Appropriate Legal Notices; however, if the Program has interactive
232
+ interfaces that do not display Appropriate Legal Notices, your
233
+ work need not make them do so.
234
+
235
+ A compilation of a covered work with other separate and independent
236
+ works, which are not by their nature extensions of the covered work,
237
+ and which are not combined with it such as to form a larger program,
238
+ in or on a volume of a storage or distribution medium, is called an
239
+ "aggregate" if the compilation and its resulting copyright are not
240
+ used to limit the access or legal rights of the compilation's users
241
+ beyond what the individual works permit. Inclusion of a covered work
242
+ in an aggregate does not cause this License to apply to the other
243
+ parts of the aggregate.
244
+
245
+ 6. Conveying Non-Source Forms.
246
+
247
+ You may convey a covered work in object code form under the terms
248
+ of sections 4 and 5, provided that you also convey the
249
+ machine-readable Corresponding Source under the terms of this License,
250
+ in one of these ways:
251
+
252
+ a) Convey the object code in, or embodied in, a physical product
253
+ (including a physical distribution medium), accompanied by the
254
+ Corresponding Source fixed on a durable physical medium
255
+ customarily used for software interchange.
256
+
257
+ b) Convey the object code in, or embodied in, a physical product
258
+ (including a physical distribution medium), accompanied by a
259
+ written offer, valid for at least three years and valid for as
260
+ long as you offer spare parts or customer support for that product
261
+ model, to give anyone who possesses the object code either (1) a
262
+ copy of the Corresponding Source for all the software in the
263
+ product that is covered by this License, on a durable physical
264
+ medium customarily used for software interchange, for a price no
265
+ more than your reasonable cost of physically performing this
266
+ conveying of source, or (2) access to copy the
267
+ Corresponding Source from a network server at no charge.
268
+
269
+ c) Convey individual copies of the object code with a copy of the
270
+ written offer to provide the Corresponding Source. This
271
+ alternative is allowed only occasionally and noncommercially, and
272
+ only if you received the object code with such an offer, in accord
273
+ with subsection 6b.
274
+
275
+ d) Convey the object code by offering access from a designated
276
+ place (gratis or for a charge), and offer equivalent access to the
277
+ Corresponding Source in the same way through the same place at no
278
+ further charge. You need not require recipients to copy the
279
+ Corresponding Source along with the object code. If the place to
280
+ copy the object code is a network server, the Corresponding Source
281
+ may be on a different server (operated by you or a third party)
282
+ that supports equivalent copying facilities, provided you maintain
283
+ clear directions next to the object code saying where to find the
284
+ Corresponding Source. Regardless of what server hosts the
285
+ Corresponding Source, you remain obligated to ensure that it is
286
+ available for as long as needed to satisfy these requirements.
287
+
288
+ e) Convey the object code using peer-to-peer transmission, provided
289
+ you inform other peers where the object code and Corresponding
290
+ Source of the work are being offered to the general public at no
291
+ charge under subsection 6d.
292
+
293
+ A separable portion of the object code, whose source code is excluded
294
+ from the Corresponding Source as a System Library, need not be
295
+ included in conveying the object code work.
296
+
297
+ A "User Product" is either (1) a "consumer product", which means any
298
+ tangible personal property which is normally used for personal, family,
299
+ or household purposes, or (2) anything designed or sold for incorporation
300
+ into a dwelling. In determining whether a product is a consumer product,
301
+ doubtful cases shall be resolved in favor of coverage. For a particular
302
+ product received by a particular user, "normally used" refers to a
303
+ typical or common use of that class of product, regardless of the status
304
+ of the particular user or of the way in which the particular user
305
+ actually uses, or expects or is expected to use, the product. A product
306
+ is a consumer product regardless of whether the product has substantial
307
+ commercial, industrial or non-consumer uses, unless such uses represent
308
+ the only significant mode of use of the product.
309
+
310
+ "Installation Information" for a User Product means any methods,
311
+ procedures, authorization keys, or other information required to install
312
+ and execute modified versions of a covered work in that User Product from
313
+ a modified version of its Corresponding Source. The information must
314
+ suffice to ensure that the continued functioning of the modified object
315
+ code is in no case prevented or interfered with solely because
316
+ modification has been made.
317
+
318
+ If you convey an object code work under this section in, or with, or
319
+ specifically for use in, a User Product, and the conveying occurs as
320
+ part of a transaction in which the right of possession and use of the
321
+ User Product is transferred to the recipient in perpetuity or for a
322
+ fixed term (regardless of how the transaction is characterized), the
323
+ Corresponding Source conveyed under this section must be accompanied
324
+ by the Installation Information. But this requirement does not apply
325
+ if neither you nor any third party retains the ability to install
326
+ modified object code on the User Product (for example, the work has
327
+ been installed in ROM).
328
+
329
+ The requirement to provide Installation Information does not include a
330
+ requirement to continue to provide support service, warranty, or updates
331
+ for a work that has been modified or installed by the recipient, or for
332
+ the User Product in which it has been modified or installed. Access to a
333
+ network may be denied when the modification itself materially and
334
+ adversely affects the operation of the network or violates the rules and
335
+ protocols for communication across the network.
336
+
337
+ Corresponding Source conveyed, and Installation Information provided,
338
+ in accord with this section must be in a format that is publicly
339
+ documented (and with an implementation available to the public in
340
+ source code form), and must require no special password or key for
341
+ unpacking, reading or copying.
342
+
343
+ 7. Additional Terms.
344
+
345
+ "Additional permissions" are terms that supplement the terms of this
346
+ License by making exceptions from one or more of its conditions.
347
+ Additional permissions that are applicable to the entire Program shall
348
+ be treated as though they were included in this License, to the extent
349
+ that they are valid under applicable law. If additional permissions
350
+ apply only to part of the Program, that part may be used separately
351
+ under those permissions, but the entire Program remains governed by
352
+ this License without regard to the additional permissions.
353
+
354
+ When you convey a copy of a covered work, you may at your option
355
+ remove any additional permissions from that copy, or from any part of
356
+ it. (Additional permissions may be written to require their own
357
+ removal in certain cases when you modify the work.) You may place
358
+ additional permissions on material, added by you to a covered work,
359
+ for which you have or can give appropriate copyright permission.
360
+
361
+ Notwithstanding any other provision of this License, for material you
362
+ add to a covered work, you may (if authorized by the copyright holders of
363
+ that material) supplement the terms of this License with terms:
364
+
365
+ a) Disclaiming warranty or limiting liability differently from the
366
+ terms of sections 15 and 16 of this License; or
367
+
368
+ b) Requiring preservation of specified reasonable legal notices or
369
+ author attributions in that material or in the Appropriate Legal
370
+ Notices displayed by works containing it; or
371
+
372
+ c) Prohibiting misrepresentation of the origin of that material, or
373
+ requiring that modified versions of such material be marked in
374
+ reasonable ways as different from the original version; or
375
+
376
+ d) Limiting the use for publicity purposes of names of licensors or
377
+ authors of the material; or
378
+
379
+ e) Declining to grant rights under trademark law for use of some
380
+ trade names, trademarks, or service marks; or
381
+
382
+ f) Requiring indemnification of licensors and authors of that
383
+ material by anyone who conveys the material (or modified versions of
384
+ it) with contractual assumptions of liability to the recipient, for
385
+ any liability that these contractual assumptions directly impose on
386
+ those licensors and authors.
387
+
388
+ All other non-permissive additional terms are considered "further
389
+ restrictions" within the meaning of section 10. If the Program as you
390
+ received it, or any part of it, contains a notice stating that it is
391
+ governed by this License along with a term that is a further
392
+ restriction, you may remove that term. If a license document contains
393
+ a further restriction but permits relicensing or conveying under this
394
+ License, you may add to a covered work material governed by the terms
395
+ of that license document, provided that the further restriction does
396
+ not survive such relicensing or conveying.
397
+
398
+ If you add terms to a covered work in accord with this section, you
399
+ must place, in the relevant source files, a statement of the
400
+ additional terms that apply to those files, or a notice indicating
401
+ where to find the applicable terms.
402
+
403
+ Additional terms, permissive or non-permissive, may be stated in the
404
+ form of a separately written license, or stated as exceptions;
405
+ the above requirements apply either way.
406
+
407
+ 8. Termination.
408
+
409
+ You may not propagate or modify a covered work except as expressly
410
+ provided under this License. Any attempt otherwise to propagate or
411
+ modify it is void, and will automatically terminate your rights under
412
+ this License (including any patent licenses granted under the third
413
+ paragraph of section 11).
414
+
415
+ However, if you cease all violation of this License, then your
416
+ license from a particular copyright holder is reinstated (a)
417
+ provisionally, unless and until the copyright holder explicitly and
418
+ finally terminates your license, and (b) permanently, if the copyright
419
+ holder fails to notify you of the violation by some reasonable means
420
+ prior to 60 days after the cessation.
421
+
422
+ Moreover, your license from a particular copyright holder is
423
+ reinstated permanently if the copyright holder notifies you of the
424
+ violation by some reasonable means, this is the first time you have
425
+ received notice of violation of this License (for any work) from that
426
+ copyright holder, and you cure the violation prior to 30 days after
427
+ your receipt of the notice.
428
+
429
+ Termination of your rights under this section does not terminate the
430
+ licenses of parties who have received copies or rights from you under
431
+ this License. If your rights have been terminated and not permanently
432
+ reinstated, you do not qualify to receive new licenses for the same
433
+ material under section 10.
434
+
435
+ 9. Acceptance Not Required for Having Copies.
436
+
437
+ You are not required to accept this License in order to receive or
438
+ run a copy of the Program. Ancillary propagation of a covered work
439
+ occurring solely as a consequence of using peer-to-peer transmission
440
+ to receive a copy likewise does not require acceptance. However,
441
+ nothing other than this License grants you permission to propagate or
442
+ modify any covered work. These actions infringe copyright if you do
443
+ not accept this License. Therefore, by modifying or propagating a
444
+ covered work, you indicate your acceptance of this License to do so.
445
+
446
+ 10. Automatic Licensing of Downstream Recipients.
447
+
448
+ Each time you convey a covered work, the recipient automatically
449
+ receives a license from the original licensors, to run, modify and
450
+ propagate that work, subject to this License. You are not responsible
451
+ for enforcing compliance by third parties with this License.
452
+
453
+ An "entity transaction" is a transaction transferring control of an
454
+ organization, or substantially all assets of one, or subdividing an
455
+ organization, or merging organizations. If propagation of a covered
456
+ work results from an entity transaction, each party to that
457
+ transaction who receives a copy of the work also receives whatever
458
+ licenses to the work the party's predecessor in interest had or could
459
+ give under the previous paragraph, plus a right to possession of the
460
+ Corresponding Source of the work from the predecessor in interest, if
461
+ the predecessor has it or can get it with reasonable efforts.
462
+
463
+ You may not impose any further restrictions on the exercise of the
464
+ rights granted or affirmed under this License. For example, you may
465
+ not impose a license fee, royalty, or other charge for exercise of
466
+ rights granted under this License, and you may not initiate litigation
467
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
468
+ any patent claim is infringed by making, using, selling, offering for
469
+ sale, or importing the Program or any portion of it.
470
+
471
+ 11. Patents.
472
+
473
+ A "contributor" is a copyright holder who authorizes use under this
474
+ License of the Program or a work on which the Program is based. The
475
+ work thus licensed is called the contributor's "contributor version".
476
+
477
+ A contributor's "essential patent claims" are all patent claims
478
+ owned or controlled by the contributor, whether already acquired or
479
+ hereafter acquired, that would be infringed by some manner, permitted
480
+ by this License, of making, using, or selling its contributor version,
481
+ but do not include claims that would be infringed only as a
482
+ consequence of further modification of the contributor version. For
483
+ purposes of this definition, "control" includes the right to grant
484
+ patent sublicenses in a manner consistent with the requirements of
485
+ this License.
486
+
487
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
488
+ patent license under the contributor's essential patent claims, to
489
+ make, use, sell, offer for sale, import and otherwise run, modify and
490
+ propagate the contents of its contributor version.
491
+
492
+ In the following three paragraphs, a "patent license" is any express
493
+ agreement or commitment, however denominated, not to enforce a patent
494
+ (such as an express permission to practice a patent or covenant not to
495
+ sue for patent infringement). To "grant" such a patent license to a
496
+ party means to make such an agreement or commitment not to enforce a
497
+ patent against the party.
498
+
499
+ If you convey a covered work, knowingly relying on a patent license,
500
+ and the Corresponding Source of the work is not available for anyone
501
+ to copy, free of charge and under the terms of this License, through a
502
+ publicly available network server or other readily accessible means,
503
+ then you must either (1) cause the Corresponding Source to be so
504
+ available, or (2) arrange to deprive yourself of the benefit of the
505
+ patent license for this particular work, or (3) arrange, in a manner
506
+ consistent with the requirements of this License, to extend the patent
507
+ license to downstream recipients. "Knowingly relying" means you have
508
+ actual knowledge that, but for the patent license, your conveying the
509
+ covered work in a country, or your recipient's use of the covered work
510
+ in a country, would infringe one or more identifiable patents in that
511
+ country that you have reason to believe are valid.
512
+
513
+ If, pursuant to or in connection with a single transaction or
514
+ arrangement, you convey, or propagate by procuring conveyance of, a
515
+ covered work, and grant a patent license to some of the parties
516
+ receiving the covered work authorizing them to use, propagate, modify
517
+ or convey a specific copy of the covered work, then the patent license
518
+ you grant is automatically extended to all recipients of the covered
519
+ work and works based on it.
520
+
521
+ A patent license is "discriminatory" if it does not include within
522
+ the scope of its coverage, prohibits the exercise of, or is
523
+ conditioned on the non-exercise of one or more of the rights that are
524
+ specifically granted under this License. You may not convey a covered
525
+ work if you are a party to an arrangement with a third party that is
526
+ in the business of distributing software, under which you make payment
527
+ to the third party based on the extent of your activity of conveying
528
+ the work, and under which the third party grants, to any of the
529
+ parties who would receive the covered work from you, a discriminatory
530
+ patent license (a) in connection with copies of the covered work
531
+ conveyed by you (or copies made from those copies), or (b) primarily
532
+ for and in connection with specific products or compilations that
533
+ contain the covered work, unless you entered into that arrangement,
534
+ or that patent license was granted, prior to 28 March 2007.
535
+
536
+ Nothing in this License shall be construed as excluding or limiting
537
+ any implied license or other defenses to infringement that may
538
+ otherwise be available to you under applicable patent law.
539
+
540
+ 12. No Surrender of Others' Freedom.
541
+
542
+ If conditions are imposed on you (whether by court order, agreement or
543
+ otherwise) that contradict the conditions of this License, they do not
544
+ excuse you from the conditions of this License. If you cannot convey a
545
+ covered work so as to satisfy simultaneously your obligations under this
546
+ License and any other pertinent obligations, then as a consequence you may
547
+ not convey it at all. For example, if you agree to terms that obligate you
548
+ to collect a royalty for further conveying from those to whom you convey
549
+ the Program, the only way you could satisfy both those terms and this
550
+ License would be to refrain entirely from conveying the Program.
551
+
552
+ 13. Use with the GNU Affero General Public License.
553
+
554
+ Notwithstanding any other provision of this License, you have
555
+ permission to link or combine any covered work with a work licensed
556
+ under version 3 of the GNU Affero General Public License into a single
557
+ combined work, and to convey the resulting work. The terms of this
558
+ License will continue to apply to the part which is the covered work,
559
+ but the special requirements of the GNU Affero General Public License,
560
+ section 13, concerning interaction through a network will apply to the
561
+ combination as such.
562
+
563
+ 14. Revised Versions of this License.
564
+
565
+ The Free Software Foundation may publish revised and/or new versions of
566
+ the GNU General Public License from time to time. Such new versions will
567
+ be similar in spirit to the present version, but may differ in detail to
568
+ address new problems or concerns.
569
+
570
+ Each version is given a distinguishing version number. If the
571
+ Program specifies that a certain numbered version of the GNU General
572
+ Public License "or any later version" applies to it, you have the
573
+ option of following the terms and conditions either of that numbered
574
+ version or of any later version published by the Free Software
575
+ Foundation. If the Program does not specify a version number of the
576
+ GNU General Public License, you may choose any version ever published
577
+ by the Free Software Foundation.
578
+
579
+ If the Program specifies that a proxy can decide which future
580
+ versions of the GNU General Public License can be used, that proxy's
581
+ public statement of acceptance of a version permanently authorizes you
582
+ to choose that version for the Program.
583
+
584
+ Later license versions may give you additional or different
585
+ permissions. However, no additional obligations are imposed on any
586
+ author or copyright holder as a result of your choosing to follow a
587
+ later version.
588
+
589
+ 15. Disclaimer of Warranty.
590
+
591
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599
+
600
+ 16. Limitation of Liability.
601
+
602
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610
+ SUCH DAMAGES.
611
+
612
+ 17. Interpretation of Sections 15 and 16.
613
+
614
+ If the disclaimer of warranty and limitation of liability provided
615
+ above cannot be given local legal effect according to their terms,
616
+ reviewing courts shall apply local law that most closely approximates
617
+ an absolute waiver of all civil liability in connection with the
618
+ Program, unless a warranty or assumption of liability accompanies a
619
+ copy of the Program in return for a fee.
620
+
621
+ END OF TERMS AND CONDITIONS
622
+
623
+ How to Apply These Terms to Your New Programs
624
+
625
+ If you develop a new program, and you want it to be of the greatest
626
+ possible use to the public, the best way to achieve this is to make it
627
+ free software which everyone can redistribute and change under these terms.
628
+
629
+ To do so, attach the following notices to the program. It is safest
630
+ to attach them to the start of each source file to most effectively
631
+ state the exclusion of warranty; and each file should have at least
632
+ the "copyright" line and a pointer to where the full notice is found.
633
+
634
+ <one line to give the program's name and a brief idea of what it does.>
635
+ Copyright (C) <year> <name of author>
636
+
637
+ This program is free software: you can redistribute it and/or modify
638
+ it under the terms of the GNU General Public License as published by
639
+ the Free Software Foundation, either version 3 of the License, or
640
+ (at your option) any later version.
641
+
642
+ This program is distributed in the hope that it will be useful,
643
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
644
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645
+ GNU General Public License for more details.
646
+
647
+ You should have received a copy of the GNU General Public License
648
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
649
+
650
+ Also add information on how to contact you by electronic and paper mail.
651
+
652
+ If the program does terminal interaction, make it output a short
653
+ notice like this when it starts in an interactive mode:
654
+
655
+ <program> Copyright (C) <year> <name of author>
656
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657
+ This is free software, and you are welcome to redistribute it
658
+ under certain conditions; type `show c' for details.
659
+
660
+ The hypothetical commands `show w' and `show c' should show the appropriate
661
+ parts of the General Public License. Of course, your program's commands
662
+ might be different; for a GUI interface, you would use an "about box".
663
+
664
+ You should also get your employer (if you work as a programmer) or school,
665
+ if any, to sign a "copyright disclaimer" for the program, if necessary.
666
+ For more information on this, and how to apply and follow the GNU GPL, see
667
+ <http://www.gnu.org/licenses/>.
668
+
669
+ The GNU General Public License does not permit incorporating your program
670
+ into proprietary programs. If your program is a subroutine library, you
671
+ may consider it more useful to permit linking proprietary applications with
672
+ the library. If this is what you want to do, use the GNU Lesser General
673
+ Public License instead of this License. But first, please read
674
+ <http://www.gnu.org/philosophy/why-not-lgpl.html>.
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bueltge.de/wunschliste/
4
  Tags: color, scheme, theme, admin, dashboard, color scheme, plugin, interface, ui, metabox, hide, editor, minimal, menu, customization, interface, administration, lite, light, usability, lightweight, layout, zen
5
  Requires at least: 2.5
6
  Tested up to: 3.1.1
7
- Stable tag: 1.7.17
8
 
9
  Adminimize is a WordPress plugin that lets you hide 'unnecessary' items from the WordPress backend and many many more ...
10
 
@@ -12,8 +12,12 @@ Adminimize is a WordPress plugin that lets you hide 'unnecessary' items from the
12
  Visually compresses the administratrive header so that more admin page content can be initially seen. Also moves 'Dashboard' onto the main administrative menu because having it sit in the tip-top black bar was ticking me off and many other changes in the edit-area. Adminimize is a WordPress plugin that lets you hide 'unnecessary' items from the WordPress administration menu, submenu and even the 'Dashboard', with forwarding to the Manage-page. On top of that, you can also hide post meta controls on the Write page and other areas in the admin-area and Write-page, so as to simplify the editing interface. Compatible with WordPress 2.5 or later.
13
  Configure all metaboxes and other areas in the write-area. The new theme move the Tags- and Categorys-box to the sidebar, switch off optional metaboxes and other areas in the write-area. Scoll automatocly to the Textbox, when you click the write-button. Many options for menu, submenu and all areas, metaboxes in the write-area, separated for all roles in WordPress.
14
 
 
15
  With version 1.6.1 it is possible to add own options for hide areas in the backend of WordPress. It is easy and you must only forgive ID or class of the tag. Also it is possible to use a fixed menu and header.
16
 
 
 
 
17
  = Compatibility with the drop-down menu plugins =
18
  1. [Ozh Admin Drop Down Menu](http://planetozh.com/blog/my-projects/wordpress-admin-menu-drop-down-css/ "Admin Drop Down Menu for WordPress 2.5") by Ozh
19
  1. [Drop Down Admin Menus](http://www.stuff.yellowswordfish.com/ "Drop Down Admin Menus for WordPress 2.5") by Andy Staines
@@ -63,6 +67,8 @@ The plugin changes the administration backend and gives you the power to assign
63
  1. you can set an role to view the areas on link page, edit post, edit page and global
64
  1. you can add own options for set rights to role
65
  1. it is possible to disable HTML-Editor on edit-area, only Visual-tab
 
 
66
  1. ... many more
67
 
68
  = Localizations =
@@ -73,6 +79,7 @@ The plugin changes the administration backend and gives you the power to assign
73
  * Thanks to [Rene](http://wpwebshop.com/ "wpwebshop.com") for dutch translation.
74
  * Thanks to [GeorgWP](http://wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=208 "wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=208") for danish language files.
75
  * Thanks to [Scavenger](http://www.photos-marseille.fr) for french language files.
 
76
 
77
  = Interested in WordPress tips and tricks =
78
  You may also be interested in WordPress tips and tricks at [WP Engineer](http://wpengineer.com/) or for german people [bueltge.de](http://bueltge.de/)
@@ -90,6 +97,7 @@ Please use the `Deinstall-Function` in the option-area before update to version
90
  See on [the official website](http://bueltge.de/wordpress-admin-theme-adminimize/674/ "Adminimize").
91
 
92
  == Screenshots ==
 
93
  1. configure-area for user/admin; options for metaboxes, areas in write-area and menu in WordPress 2.7/2.8
94
  1. configure-area for user in WordPress 2.7/2.8
95
  1. Small tweak for design higher WP 2.7, save 50px over the menu
@@ -98,6 +106,18 @@ See on [the official website](http://bueltge.de/wordpress-admin-theme-adminimize
98
  1. Adminimize Theme how in WordPress 2.3
99
 
100
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
101
  = v1.7.17 (04/11/2011) =
102
  * Fixes on Admin-CSS Styles for WP 3.*
103
  * Reduce backend Styles of the Plugins - Goal: kill all styles!!! (to heavy for Maintenance)
4
  Tags: color, scheme, theme, admin, dashboard, color scheme, plugin, interface, ui, metabox, hide, editor, minimal, menu, customization, interface, administration, lite, light, usability, lightweight, layout, zen
5
  Requires at least: 2.5
6
  Tested up to: 3.1.1
7
+ Stable tag: 1.7.18
8
 
9
  Adminimize is a WordPress plugin that lets you hide 'unnecessary' items from the WordPress backend and many many more ...
10
 
12
  Visually compresses the administratrive header so that more admin page content can be initially seen. Also moves 'Dashboard' onto the main administrative menu because having it sit in the tip-top black bar was ticking me off and many other changes in the edit-area. Adminimize is a WordPress plugin that lets you hide 'unnecessary' items from the WordPress administration menu, submenu and even the 'Dashboard', with forwarding to the Manage-page. On top of that, you can also hide post meta controls on the Write page and other areas in the admin-area and Write-page, so as to simplify the editing interface. Compatible with WordPress 2.5 or later.
13
  Configure all metaboxes and other areas in the write-area. The new theme move the Tags- and Categorys-box to the sidebar, switch off optional metaboxes and other areas in the write-area. Scoll automatocly to the Textbox, when you click the write-button. Many options for menu, submenu and all areas, metaboxes in the write-area, separated for all roles in WordPress.
14
 
15
+ = Support Custom Options on all different post types =
16
  With version 1.6.1 it is possible to add own options for hide areas in the backend of WordPress. It is easy and you must only forgive ID or class of the tag. Also it is possible to use a fixed menu and header.
17
 
18
+ = Support Custom Post Type =
19
+ Also it is possible with version 1.7.18 to use on custom post types; hide 'unnecessary' areas on the custom post types for different roles and post types.
20
+
21
  = Compatibility with the drop-down menu plugins =
22
  1. [Ozh Admin Drop Down Menu](http://planetozh.com/blog/my-projects/wordpress-admin-menu-drop-down-css/ "Admin Drop Down Menu for WordPress 2.5") by Ozh
23
  1. [Drop Down Admin Menus](http://www.stuff.yellowswordfish.com/ "Drop Down Admin Menus for WordPress 2.5") by Andy Staines
67
  1. you can set an role to view the areas on link page, edit post, edit page and global
68
  1. you can add own options for set rights to role
69
  1. it is possible to disable HTML-Editor on edit-area, only Visual-tab
70
+ 1. remove admin bar
71
+ 1. remove items on custom post types
72
  1. ... many more
73
 
74
  = Localizations =
79
  * Thanks to [Rene](http://wpwebshop.com/ "wpwebshop.com") for dutch translation.
80
  * Thanks to [GeorgWP](http://wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=208 "wordpress.blogos.dk/s%C3%B8g-efter-downloads/?did=208") for danish language files.
81
  * Thanks to [Scavenger](http://www.photos-marseille.fr) for french language files.
82
+ * Thanks to [Outshine Solutions](http://outshinesolutions.com/web-hosting/web-hosting-india.html) for hindi language files.
83
 
84
  = Interested in WordPress tips and tricks =
85
  You may also be interested in WordPress tips and tricks at [WP Engineer](http://wpengineer.com/) or for german people [bueltge.de](http://bueltge.de/)
97
  See on [the official website](http://bueltge.de/wordpress-admin-theme-adminimize/674/ "Adminimize").
98
 
99
  == Screenshots ==
100
+ 1. Settings in WordPress 3.2-beta with two Custom Post Types
101
  1. configure-area for user/admin; options for metaboxes, areas in write-area and menu in WordPress 2.7/2.8
102
  1. configure-area for user in WordPress 2.7/2.8
103
  1. Small tweak for design higher WP 2.7, save 50px over the menu
106
  1. Adminimize Theme how in WordPress 2.3
107
 
108
  == Changelog ==
109
+ = v1.7.18 (06/07/2011) =
110
+ * Fixes Small User info on right top with Admin Bar, also ready for WP 3.2
111
+ * Fixes Error for xmlrpc
112
+ * Add QuickEdit-Areas for hide this
113
+ * Different changes on source
114
+ * With WP 3.2 remove all Admin Styles !
115
+ * Add support for custom post type
116
+ * many small changes on source
117
+ * update de_DE language files
118
+ * tested only in version 3.1 and 3.2-beta; dont test in smaller version
119
+ * add hindi language file
120
+
121
  = v1.7.17 (04/11/2011) =
122
  * Fixes on Admin-CSS Styles for WP 3.*
123
  * Reduce backend Styles of the Plugins - Goal: kill all styles!!! (to heavy for Maintenance)
screenshot-1.png ADDED
Binary file
screenshot-2.png ADDED
Binary file
screenshot-3.png ADDED
Binary file
screenshot-4.png ADDED
Binary file
screenshot-5.png ADDED
Binary file
screenshot-6.png ADDED
Binary file
screenshot-7.png ADDED
Binary file