Ozh' Admin Drop Down Menu - Version 3.7

Version Description

Download this release

Release Info

Developer ozh
Plugin Icon 128x128 Ozh' Admin Drop Down Menu
Version 3.7
Comparing to
See all releases

Code changes from version 3.6.3 to 3.7

inc/adminmenu.css.php CHANGED
@@ -61,6 +61,7 @@ header('Content-type:text/css');
61
  }
62
  #wpcontent, #footer, .folded #wpcontent, .folded #footer, .js.folded #wpcontent, .js.folded #footer {
63
  margin-left: 0px;
 
64
  margin-right:0px;
65
  }
66
  #wphead {
@@ -84,7 +85,7 @@ header('Content-type:text/css');
84
  clear:both;
85
  }
86
  #ozhmenu { /* our new ul */
87
- font-size:12px;
88
  <?php echo $dir; ?>:0px;
89
  list-style-image:none;
90
  list-style-position:outside;
@@ -121,25 +122,19 @@ header('Content-type:text/css');
121
  #ozhmenu li:hover,
122
  #ozhmenu li.ozhmenu_over,
123
  #ozhmenu li .wp-has-current-submenu {
124
- -moz-border-radius: 11px;
125
- -webkit-border-radius: 11px;
126
  color: #ffe;
127
  background: <?php echo $grad; ?> <?php if (!$nograd) { ?>url(<?php echo $plugin; ?>images/grad-trans.png) repeat-x <?php echo $dir; ?> -5px<?php } ?>;
128
  }
129
 
130
  #ozhmenu li:hover {
131
- -moz-border-radius: 0px;
132
- -webkit-border-radius: 0px;
133
  }
134
  #ozhmenu .ozhmenu_sublevel { line-height: 100%; margin: 0; } /* IE8 fix. Die, IE8 */
135
  #ozhmenu .ozhmenu_sublevel a:hover,
136
  #ozhmenu .ozhmenu_sublevel a.current,
137
  #ozhmenu .ozhmenu_sublevel a.current:hover {
138
  background-color: #e4f2fd;
139
- -moz-border-radius-topleft: 0px;
140
- -moz-border-radius-topright: 0px;
141
- -webkit-border-top-left-radius:0;
142
- -webkit-border-top-right-radius:0;
143
  border-top-left-radius:0;
144
  border-top-right-radius:0;
145
  color: #555;
@@ -155,14 +150,9 @@ header('Content-type:text/css');
155
  border-left:1px solid #ccc ;
156
  border-right:1px solid #ccc ;
157
  border-bottom:1px solid #c6d9e9 ;
158
- -moz-border-radius-bottomleft:5px;
159
- -moz-border-radius-bottomright:5px;
160
- -webkit-border-bottom-left-radius:5px;
161
- -webkit-border-bottom-right-radius:5px;
162
  border-bottom-left-radius:5px;
163
  border-bottom-right-radius:5px;
164
  width: 1*; /* maybe needed for some Opera ? */
165
- zmin-width:10em;
166
  <?php echo $dir; ?>: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
167
  list-style-position:auto;
168
  list-style-type:auto;
@@ -182,7 +172,7 @@ header('Content-type:text/css');
182
  <?php echo $dir; ?>: auto;
183
  z-index:999999;
184
  }
185
- #ozhmenu li a #awaiting-mod, #ozhmenu li a .update-plugins {
186
  position: absolute;
187
  margin-<?php echo $dir; ?>: 0.1em;
188
  font-size: 0.8em;
@@ -192,10 +182,10 @@ header('Content-type:text/css');
192
  height: 1.7em;
193
  width: 1em;
194
  }
195
- #ozhmenu li.ozhmenu_over a #awaiting-mod, #ozhmenu li a:hover #awaiting-mod, #ozhmenu li.ozhmenu_over a .update-plugins, #ozhmenu li a:hover .update-plugins {
196
  background-position: <?php echo ($dir == 'left' ? '-2' : '-307'); ?>px bottom;
197
  }
198
- #ozhmenu li a #awaiting-mod span, #ozhmenu li a .update-plugins span {
199
  color: #444;
200
  top: -0.4em;
201
  <?php echo $opdir; ?>: -0.5em;
@@ -204,13 +194,11 @@ header('Content-type:text/css');
204
  height: 1.3em;
205
  line-height: 1.4em;
206
  padding: 0 0.8em;
207
- background-color: #bbb;#2583AD;
208
- -moz-border-radius: 4px;
209
- -khtml-border-radius: 4px;
210
- -webkit-border-radius: 4px;
211
  border-radius: 4px;
 
212
  }
213
- #ozhmenu li.ozhmenu_over a #awaiting-mod span, #ozhmenu li a:hover #awaiting-mod span, #ozhmenu li.ozhmenu_over a .update-plugins span, #ozhmenu li a:hover .update-plugins span {
214
  background-color:#D54E21;
215
  }
216
  #ozhmenu .current {
@@ -307,7 +295,8 @@ header('Content-type:text/css');
307
 
308
  <?php if ($minimode) { ?>
309
  /* Hide all header */
310
- #wphead {display:none;}
 
311
  <?php } ?>
312
 
313
  <?php if ($hidebubble) { ?>
61
  }
62
  #wpcontent, #footer, .folded #wpcontent, .folded #footer, .js.folded #wpcontent, .js.folded #footer {
63
  margin-left: 0px;
64
+ padding-left:0px;
65
  margin-right:0px;
66
  }
67
  #wphead {
85
  clear:both;
86
  }
87
  #ozhmenu { /* our new ul */
88
+ font-size:13px;
89
  <?php echo $dir; ?>:0px;
90
  list-style-image:none;
91
  list-style-position:outside;
122
  #ozhmenu li:hover,
123
  #ozhmenu li.ozhmenu_over,
124
  #ozhmenu li .wp-has-current-submenu {
125
+ border-radius: 11px;
 
126
  color: #ffe;
127
  background: <?php echo $grad; ?> <?php if (!$nograd) { ?>url(<?php echo $plugin; ?>images/grad-trans.png) repeat-x <?php echo $dir; ?> -5px<?php } ?>;
128
  }
129
 
130
  #ozhmenu li:hover {
131
+ border-radius: 0px;
 
132
  }
133
  #ozhmenu .ozhmenu_sublevel { line-height: 100%; margin: 0; } /* IE8 fix. Die, IE8 */
134
  #ozhmenu .ozhmenu_sublevel a:hover,
135
  #ozhmenu .ozhmenu_sublevel a.current,
136
  #ozhmenu .ozhmenu_sublevel a.current:hover {
137
  background-color: #e4f2fd;
 
 
 
 
138
  border-top-left-radius:0;
139
  border-top-right-radius:0;
140
  color: #555;
150
  border-left:1px solid #ccc ;
151
  border-right:1px solid #ccc ;
152
  border-bottom:1px solid #c6d9e9 ;
 
 
 
 
153
  border-bottom-left-radius:5px;
154
  border-bottom-right-radius:5px;
155
  width: 1*; /* maybe needed for some Opera ? */
 
156
  <?php echo $dir; ?>: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
157
  list-style-position:auto;
158
  list-style-type:auto;
172
  <?php echo $dir; ?>: auto;
173
  z-index:999999;
174
  }
175
+ #ozhmenu li a .awaiting-mod, #ozhmenu li a .update-plugins {
176
  position: absolute;
177
  margin-<?php echo $dir; ?>: 0.1em;
178
  font-size: 0.8em;
182
  height: 1.7em;
183
  width: 1em;
184
  }
185
+ #ozhmenu li.ozhmenu_over a .awaiting-mod, #ozhmenu li a:hover .awaiting-mod, #ozhmenu li.ozhmenu_over a .update-plugins, #ozhmenu li a:hover .update-plugins {
186
  background-position: <?php echo ($dir == 'left' ? '-2' : '-307'); ?>px bottom;
187
  }
188
+ #ozhmenu li a .awaiting-mod span, #ozhmenu li a .update-plugins span {
189
  color: #444;
190
  top: -0.4em;
191
  <?php echo $opdir; ?>: -0.5em;
194
  height: 1.3em;
195
  line-height: 1.4em;
196
  padding: 0 0.8em;
197
+ background-color: #bbb;
 
 
 
198
  border-radius: 4px;
199
+ z-index:999999;
200
  }
201
+ #ozhmenu li.ozhmenu_over a .awaiting-mod span, #ozhmenu li a:hover .awaiting-mod span, #ozhmenu li.ozhmenu_over a .update-plugins span, #ozhmenu li a:hover .update-plugins span {
202
  background-color:#D54E21;
203
  }
204
  #ozhmenu .current {
295
 
296
  <?php if ($minimode) { ?>
297
  /* Hide all header */
298
+ #wpadminbar {display:none;}
299
+ html.wp-toolbar{padding-top: 0px}
300
  <?php } ?>
301
 
302
  <?php if ($hidebubble) { ?>
inc/core.php CHANGED
@@ -82,8 +82,11 @@ function wp_ozh_adminmenu () {
82
  $imgstyle = ($wp_ozh_adminmenu['wpicons']) ? '' : 'style="display:none"';
83
  $img = '';
84
  if ( isset($item[6]) && ! empty($item[6]) ) {
85
- if ( 'div' === $item[6] )
 
86
  $img = '<div '.$imgstyle.' class="wp-menu-image"><br /></div>';
 
 
87
  else
88
  $img = '<img '.$imgstyle.' class="wp-menu-image" src="' . $item[6] . '" alt="" />';
89
  }
@@ -210,6 +213,7 @@ function wp_ozh_adminmenu_blogtitle() {
210
 
211
 
212
  function wp_ozh_adminmenu_sanitize_id($url) {
 
213
  $url = preg_replace('/(&|&amp;|&#038;)?_wpnonce=([^&]+)/', '', $url);
214
  return str_replace(array('.php','.','/','?','='),array('','_','_','_','_'),$url);
215
  }
@@ -261,7 +265,6 @@ function wp_ozh_adminmenu_css() {
261
  'm' => $wp_ozh_adminmenu['minimode'],
262
  'c' => $wp_ozh_adminmenu['compact'],
263
  'h' => $wp_ozh_adminmenu['hidebubble'],
264
- 'f' => $wp_ozh_adminmenu['displayfav'],
265
  'g' => $wp_ozh_adminmenu['grad'], // menu color
266
  'n' => $wp_ozh_adminmenu['nograd'], // disable gradient bg
267
  'd' => ($text_direction == 'rtl' ? 'right' : 'left'), // right-to-left locale?
@@ -305,7 +308,7 @@ function wp_ozh_adminmenu_init() {
305
 
306
  $defaults = wp_ozh_adminmenu_defaults();
307
 
308
- if (!count($wp_ozh_adminmenu)) {
309
  $wp_ozh_adminmenu = (array)get_option('ozh_adminmenu');
310
  unset($wp_ozh_adminmenu[0]);
311
  }
@@ -430,11 +433,6 @@ function wp_ozh_adminmenu_processform() {
430
  $message .= '<p>'.sprintf(wp_ozh_adminmenu__('Admin Drop Down Menu settings <strong>%s</strong>'), $msg)."</p>\n";
431
  $message .= "</div>\n";
432
 
433
- add_action('admin_notices', create_function( '', "echo '$message';" ) );
434
  }
435
 
436
-
437
-
438
-
439
-
440
- ?>
82
  $imgstyle = ($wp_ozh_adminmenu['wpicons']) ? '' : 'style="display:none"';
83
  $img = '';
84
  if ( isset($item[6]) && ! empty($item[6]) ) {
85
+ preg_match('/^dashicons/', $item[6], $matches);
86
+ if ( 'none' === $item[6] || 'div' === $item[6] )
87
  $img = '<div '.$imgstyle.' class="wp-menu-image"><br /></div>';
88
+ elseif (!empty($matches))
89
+ $img = '<div '.$imgstyle.' class="wp-menu-image dashicons-before '.$item[6].'"><br /></div>';
90
  else
91
  $img = '<img '.$imgstyle.' class="wp-menu-image" src="' . $item[6] . '" alt="" />';
92
  }
213
 
214
 
215
  function wp_ozh_adminmenu_sanitize_id($url) {
216
+ $url = preg_replace('/^customize.php\?return=.*$/', 'customize', $url);
217
  $url = preg_replace('/(&|&amp;|&#038;)?_wpnonce=([^&]+)/', '', $url);
218
  return str_replace(array('.php','.','/','?','='),array('','_','_','_','_'),$url);
219
  }
265
  'm' => $wp_ozh_adminmenu['minimode'],
266
  'c' => $wp_ozh_adminmenu['compact'],
267
  'h' => $wp_ozh_adminmenu['hidebubble'],
 
268
  'g' => $wp_ozh_adminmenu['grad'], // menu color
269
  'n' => $wp_ozh_adminmenu['nograd'], // disable gradient bg
270
  'd' => ($text_direction == 'rtl' ? 'right' : 'left'), // right-to-left locale?
308
 
309
  $defaults = wp_ozh_adminmenu_defaults();
310
 
311
+ if (!is_array($wp_ozh_adminmenu) || !count($wp_ozh_adminmenu)) {
312
  $wp_ozh_adminmenu = (array)get_option('ozh_adminmenu');
313
  unset($wp_ozh_adminmenu[0]);
314
  }
433
  $message .= '<p>'.sprintf(wp_ozh_adminmenu__('Admin Drop Down Menu settings <strong>%s</strong>'), $msg)."</p>\n";
434
  $message .= "</div>\n";
435
 
436
+ add_action('admin_notices', function() use ($message) {echo $message;} );
437
  }
438
 
 
 
 
 
 
inc/icons.php CHANGED
@@ -39,6 +39,7 @@ $wp_ozh_adminmenu['icon_names'] = array(
39
 
40
  /* Appearance */
41
  'themes.php' => 'layout',
 
42
  'widgets.php' => 'layout_content',
43
  'theme-install.php' => 'layout_add',
44
  'nav-menus.php' => 'layout_header',
@@ -90,5 +91,3 @@ $wp_ozh_adminmenu['icon_names'] = array(
90
  'upgrade.php' => 'lightning_go',
91
 
92
  );
93
-
94
- ?>
39
 
40
  /* Appearance */
41
  'themes.php' => 'layout',
42
+ 'customize.php' => 'picture_edit',
43
  'widgets.php' => 'layout_content',
44
  'theme-install.php' => 'layout_add',
45
  'nav-menus.php' => 'layout_header',
91
  'upgrade.php' => 'lightning_go',
92
 
93
  );
 
 
inc/images/picture_edit.png ADDED
Binary file
inc/options.php CHANGED
@@ -132,7 +132,7 @@ function wp_ozh_adminmenu_options_page() {
132
  </td></tr>
133
 
134
  <tr><th scope="row"><?php echo wp_ozh_adminmenu__('Give Some &hearts;'); ?></th>
135
- <td><?php printf(wp_ozh_adminmenu__('Do you like this plugin? Then <a href="%s">rate it 5 Stars</a> on the official Plugin Directory!'),'http://wordpress.org/extend/plugins/ozh-admin-drop-down-menu/'); ?><br/>
136
  <?php printf(wp_ozh_adminmenu__('Do you DIG this plugin? Please <a href="%s">tweet about it</a>! (oh, and <a href="http://twitter.com/ozh">follow me</a> by the way&nbsp;:'),"http://twitter.com/?status=I%20love%20Ozh's%20Admin%20Drop%20Down%20Menu%20for%20WordPress%20http://ozh.in/kl"); ?>)<br/>
137
  <?php printf(wp_ozh_adminmenu__('Do you <em>love</em> this plugin? Please <a href="%s">blog about it</a>! Tell your readers you like it so they will discover, try and hopefully like it too&nbsp;:)'),'post-new.php'); ?><br/>
138
  <?php printf(wp_ozh_adminmenu__('Are you <span id="totallycrazy">crazy</span> about this plugin? <a href="%s">Paypal me a beer</a>! Every donation warms my heart and motivates me to release free stuff!'),'http://planetozh.com/exit/donate'); ?>
@@ -195,11 +195,6 @@ function wp_ozh_adminmenu_options_page() {
195
  oam_toggle_row('#oam_fav_row');
196
  });
197
 
198
- // Display favs
199
- jQuery('#oam_check_displayfav').click(function(){
200
- jQuery('#favorite-actions').toggle(200);
201
- });
202
-
203
  // Hide bubbles
204
  jQuery('#oam_check_hidebubble').click(function(){
205
  var display = (jQuery(this).attr('checked')) ? 'none' : 'inline';
@@ -276,5 +271,3 @@ function wp_ozh_adminmenu_sanitize( $string ) {
276
  return stripslashes( esc_attr( $string ) );
277
  //return stripslashes(htmlentities($string, ENT_COMPAT, get_bloginfo('charset')));
278
  }
279
-
280
- ?>
132
  </td></tr>
133
 
134
  <tr><th scope="row"><?php echo wp_ozh_adminmenu__('Give Some &hearts;'); ?></th>
135
+ <td><?php printf(wp_ozh_adminmenu__('Do you like this plugin? Then <a href="%s">rate it 5 Stars</a> on the official Plugin Directory!'),'http://wordpress.org/plugins/ozh-admin-drop-down-menu/'); ?><br/>
136
  <?php printf(wp_ozh_adminmenu__('Do you DIG this plugin? Please <a href="%s">tweet about it</a>! (oh, and <a href="http://twitter.com/ozh">follow me</a> by the way&nbsp;:'),"http://twitter.com/?status=I%20love%20Ozh's%20Admin%20Drop%20Down%20Menu%20for%20WordPress%20http://ozh.in/kl"); ?>)<br/>
137
  <?php printf(wp_ozh_adminmenu__('Do you <em>love</em> this plugin? Please <a href="%s">blog about it</a>! Tell your readers you like it so they will discover, try and hopefully like it too&nbsp;:)'),'post-new.php'); ?><br/>
138
  <?php printf(wp_ozh_adminmenu__('Are you <span id="totallycrazy">crazy</span> about this plugin? <a href="%s">Paypal me a beer</a>! Every donation warms my heart and motivates me to release free stuff!'),'http://planetozh.com/exit/donate'); ?>
195
  oam_toggle_row('#oam_fav_row');
196
  });
197
 
 
 
 
 
 
198
  // Hide bubbles
199
  jQuery('#oam_check_hidebubble').click(function(){
200
  var display = (jQuery(this).attr('checked')) ? 'none' : 'inline';
271
  return stripslashes( esc_attr( $string ) );
272
  //return stripslashes(htmlentities($string, ENT_COMPAT, get_bloginfo('charset')));
273
  }
 
 
inc/translations/ozh-admin-drop_sk_SK.mo ADDED
Binary file
inc/translations/ozh-admin-drop_sk_SK.po ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Ozh' Admin Drop Down Menu\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-02-20 15:33+0100\n"
6
+ "PO-Revision-Date: 2013-01-20 16:16+0300\n"
7
+ "Last-Translator: Serg\n"
8
+ "Language-Team: Ozh <ozh at planetozh dot 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-KeywordsList: wp_ozh_adminmenu__\n"
13
+ "X-Poedit-Basepath: E:\\home\\svn\\plugins\\ozh-admin-drop-down-menu\n"
14
+ "Language: en\n"
15
+ "X-Generator: Poedit 1.5.4\n"
16
+ "X-Poedit-SearchPath-0: E:\\home\\svn\\plugins\\ozh-admin-drop-down-menu\n"
17
+
18
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/core.php:348
19
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/core.php:403
20
+ msgid "updated"
21
+ msgstr "aktualizované"
22
+
23
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/core.php:353
24
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/core.php:408
25
+ msgid "deleted"
26
+ msgstr "odstránené"
27
+
28
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/core.php:358
29
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/core.php:413
30
+ #, php-format
31
+ msgid "Admin Drop Down Menu settings <strong>%s</strong>"
32
+ msgstr "Admin Drop Down Menu nastavenia <strong>%s</strong>"
33
+
34
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:33
35
+ msgid "Icons"
36
+ msgstr "Ikony"
37
+
38
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:34
39
+ msgid "Display menu icons"
40
+ msgstr "Zobraziť ponuku ikony"
41
+
42
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:35
43
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:63
44
+ #, php-format
45
+ msgid "They're so cute (and they're from %s)"
46
+ msgstr "Sú tak roztomilí (a oni sú z % s)"
47
+
48
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:40
49
+ msgid "Submenus"
50
+ msgstr "Submenu"
51
+
52
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:41
53
+ msgid "Display sub menus the regular way"
54
+ msgstr "Zobrazenie podmenu pravidelný spôsob"
55
+
56
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:42
57
+ msgid ""
58
+ "Some like it better when sub menus don't even need you to hover the top menu "
59
+ "link"
60
+ msgstr ""
61
+ "Niekto to rád lepšie keď podmenu ani nemusíte si pri ukázaní na hornom menu "
62
+ "odkaz"
63
+
64
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:45
65
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:123
66
+ msgid "Break Long Lists"
67
+ msgstr "Break dlhé zoznamy"
68
+
69
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:46
70
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:124
71
+ #, php-format
72
+ msgid "Break if more than %s menu entries"
73
+ msgstr "Zlomiť, ak viac ako %s položky ponuky"
74
+
75
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:47
76
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:125
77
+ msgid ""
78
+ "If a dropdown gets longer than this value, it will switch to horizontal mode "
79
+ "so that it will hopefully fit in your screen (requires javascript)"
80
+ msgstr ""
81
+ "Ak rozbaľovací dostane dlhšie než táto hodnota, to prepne na horizontálne "
82
+ "režime tak, že to bude dúfajme zapadnúť obrazovky (vyžaduje javascript)"
83
+
84
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:52
85
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:128
86
+ msgid "Top Links"
87
+ msgstr "Top Odkazy"
88
+
89
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:53
90
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:129
91
+ msgid "Make top links clickable"
92
+ msgstr "Aby klikací Odkazy hore"
93
+
94
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:54
95
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:130
96
+ msgid ""
97
+ "Uncheck this option to improve compatibility with browsers that cannot "
98
+ "handle the \"hover\" event (<em>ie</em> most handheld devices)"
99
+ msgstr ""
100
+ "Zrušte začiarknutie tejto možnosti na zlepšenie kompatibility s "
101
+ "prehliadačmi, ktoré nemôžu zvládnuť \"hover\" udalosti (<em>tj</em> najviac "
102
+ "handheld zariadení)"
103
+
104
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:57
105
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:138
106
+ msgid "Give Some &hearts;"
107
+ msgstr "Dať nejaké &amp;hearts;"
108
+
109
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:58
110
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:139
111
+ #, php-format
112
+ msgid ""
113
+ "Do you like this plugin? Then <a href=\"%s\">rate it 5 Stars</a> on the "
114
+ "official Plugin Directory!"
115
+ msgstr ""
116
+ "Páči sa vám tento plugin? Potom <a href=&quot;\"%s\"&quot;>hodnoti 5 "
117
+ "hviezdičiek</a> na oficiálny Plugin adresár!"
118
+
119
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:59
120
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:140
121
+ #, php-format
122
+ msgid ""
123
+ "Do you <em>love</em> this plugin? Please <a href=\"%s\">blog about it</a>! "
124
+ "Tell your readers you like it so they will discover, try and hopefully like "
125
+ "it too&nbsp;:)"
126
+ msgstr ""
127
+ "Máte <em>radi</em> tento plugin? Prosím <a href=&quot;\"%s\"&quot;>blog o "
128
+ "tom</a>! Informujte čitateľov vám páči tak odhaliť, skúste a dúfajme, že sa "
129
+ "mi to príliš:)"
130
+
131
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:60
132
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:141
133
+ #, php-format
134
+ msgid ""
135
+ "Are you <span id=\"totallycrazy\">crazy</span> about this plugin? <a href="
136
+ "\"%s\">Paypal me a beer</a>! Every donation warms my heart and motivates me "
137
+ "to release free stuff!"
138
+ msgstr ""
139
+ "Ste <span id=&quot;\"totallycrazy\"&quot;>blázon</span> tento plugin? <a "
140
+ "href=&quot;\"%s\"&quot;>Paypal mi pivo</a>! Každý dar zahreje moje srdce a "
141
+ "motivuje ma k uvoľneniu free stuff!"
142
+
143
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:81
144
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:248
145
+ msgid "Save Changes"
146
+ msgstr "Uložiť zmeny"
147
+
148
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:87
149
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:101
150
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:254
151
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:268
152
+ msgid "Reset Settings"
153
+ msgstr "Reset nastavenia"
154
+
155
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:96
156
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:263
157
+ msgid ""
158
+ "Clicking the following button will remove all the settings for this plugin "
159
+ "from your database. You might want to do so in the following cases:"
160
+ msgstr ""
161
+ "Kliknutím na nasledujúce tlačidlo odstráni všetky nastavenia pre tento "
162
+ "plugin z databázy. Môžete tak urobiť v nasledovných prípadoch:"
163
+
164
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:98
165
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:265
166
+ msgid ""
167
+ "you want to uninstall the plugin and leave no unnecessary entries in your "
168
+ "database."
169
+ msgstr ""
170
+ "chcete odinštalovať plugin a nechať bez zbytočných záznamov v databáze."
171
+
172
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:99
173
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:266
174
+ msgid "you want all settings to be reverted to their default values"
175
+ msgstr "chcete všetky nastavenia, aby sa vrátil na ich predvolené hodnoty"
176
+
177
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:101
178
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:268
179
+ msgid "Really do?"
180
+ msgstr "Naozaj robiť?"
181
+
182
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/tags/2.3.4.1/inc/options.php:102
183
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:269
184
+ msgid "There is no undo, so be very sure you want to click the button!"
185
+ msgstr "Neexistuje žiadna späť, takže sa veľmi istý, že chcete na tlačidlo!"
186
+
187
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:46
188
+ msgid "Icons and Colors"
189
+ msgstr "Ikony a farby"
190
+
191
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:51
192
+ msgid "Top Level Icons"
193
+ msgstr "Najvyššej úrovni ikony"
194
+
195
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:52
196
+ msgid "Display original menu icons in top level links"
197
+ msgstr "Zobrazenie pôvodnej ponuky ikony v najvyššej úrovni Odkazy"
198
+
199
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:53
200
+ msgid "Checking this enables Compact Mode &darr;"
201
+ msgstr "Túto kontrolu umožňuje kompaktný režim &amp;darr;"
202
+
203
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:56
204
+ msgid "Compact Mode"
205
+ msgstr "Kompaktný režim"
206
+
207
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:57
208
+ msgid "Shrink top level links down to their icons"
209
+ msgstr "Zmenšiť najvyššej úrovne odkazy na ich ikony"
210
+
211
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:58
212
+ msgid "That was a cool WordPress feature, so I stole it :)"
213
+ msgstr "To bolo cool WordPress funkcie, takže som ukradol:)"
214
+
215
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:61
216
+ msgid "Sublevel Icons"
217
+ msgstr "Sublevel ikony"
218
+
219
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:62
220
+ msgid "Display icons in drop down menus"
221
+ msgstr "Zobraziť ikony v rozbaľovacom menu"
222
+
223
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:66
224
+ msgid "Color Scheme"
225
+ msgstr "Farebnú schému"
226
+
227
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:67
228
+ msgid ""
229
+ "Pick a color for your menu bar, using the color wheel or one of the presets"
230
+ msgstr ""
231
+ "Vybrať farbu pre vaše menu bar, pomocou farebného kruhu alebo jeden z "
232
+ "prednastavených"
233
+
234
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:68
235
+ msgid "No subtle gradient, just plain color."
236
+ msgstr "Bez subtílnej prechodu, proste farby."
237
+
238
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:110
239
+ msgid "Advanced Settings"
240
+ msgstr "Rozšírené nastavenia"
241
+
242
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:113
243
+ msgid "Minimal Mode"
244
+ msgstr "Minimálnom režime"
245
+
246
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:114
247
+ msgid "Hide header"
248
+ msgstr "Skryť hlavičky"
249
+
250
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:115
251
+ msgid ""
252
+ "Remove the whole header bar for maximum screen real estate. Note: The quick "
253
+ "link to your blog will be added to the menu, the Logout link in the Users "
254
+ "sub-menu."
255
+ msgstr ""
256
+ "Odstrániť celý záhlaví pre maximálnu obrazovka s nehnuteľnosťami. Poznámka: "
257
+ "Rýchly odkaz na váš blog sa pridajú do ponuky, prepojenie odhlásenia v "
258
+ "podponuke užívateľov."
259
+
260
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:118
261
+ msgid "Favorite Actions"
262
+ msgstr "Obľúbené akcie"
263
+
264
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:119
265
+ msgid "Display Favorite Actions"
266
+ msgstr "Zobrazenie obľúbených akcie"
267
+
268
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:120
269
+ msgid ""
270
+ "Just in case you realize you don't need this anymore with such a fast and "
271
+ "usable menu."
272
+ msgstr ""
273
+ "Len v prípade, že si uvedomíte, nemusíte to už také rýchle a použiteľné menu."
274
+
275
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:133
276
+ msgid "Hide \"0\" Bubbles"
277
+ msgstr "Skryť \"0\" bubliny"
278
+
279
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:134
280
+ msgid "Hide speech bubbles when no awaiting comments or outdated plugins"
281
+ msgstr "Skryť reči bubliny, keď žiadne čaká komentáre alebo zastarané pluginy"
282
+
283
+ #: E:\home\svn\plugins\ozh-admin-drop-down-menu/trunk/inc/options.php:135
284
+ msgid ""
285
+ "Check if those tiny \"0\" speech bubble are too distracting for your taste"
286
+ msgstr ""
287
+ "Skontrolujte, či tieto malé \"0\" reči bubliny sú príliš rušivo na vašej "
288
+ "chuti"
readme.md ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Ozh' Admin Drop Down Menu
2
+
3
+ All admin links available in a neat horizontal drop down menu. Saves lots of screen real estate!
4
+
5
+
6
+ ## Screenshots
7
+
8
+ ![Drop down menu with WordPress top level icons and sub level icons, configurable color scheme](.wordpress-org/screenshot-1.jpg)
9
+ _Drop down menu with WordPress top level icons and sub level icons, configurable color scheme_
10
+
11
+ ![Drop down menu with WordPress top level icons and sub level icons, configurable color scheme](.wordpress-org/screenshot-2.jpg)
12
+ _Drop down menu with WordPress top level icons and sub level icons, configurable color scheme_
13
+
14
+ ![Drop down menu with WordPress top level icons and sub level icons, configurable color scheme](.wordpress-org/screenshot-3.jpg)
15
+ _Drop down menu with WordPress top level icons and sub level icons, configurable color scheme_
16
+
17
+
18
+ ## Dev and download
19
+
20
+ Development of this plugin happens here on Github. Download the plugin from within your WordPress install, or on https://wordpress.org/plugins/ozh-admin-drop-down-menu/
21
+
readme.txt CHANGED
@@ -1,33 +1,48 @@
1
  === Ozh' Admin Drop Down Menu ===
2
  Donate link: http://planetozh.com/exit/donate
3
  Tags: ozh, menu, menus, dashboard, admin, dropdown, drop down, productivity, css
4
- Requires at least: 3.3
5
- Tested up to: 9.9
 
6
  Stable tag: trunk
7
  Contributors: ozh
8
 
9
  All admin links available in a neat horizontal drop down menu. Saves lots of screen real estate!
10
 
 
11
  == Description ==
12
 
13
  The lazy and the productive will love it : all admin links available in a neat horizontal CSS driven drop down menu. No need to click on "Manage" then "Pages" to edit pages. And plenty more space on your screen.
14
 
15
- For documentation, examples, screenshot and a live demo, please refer to the official plugin page for [Admin Drop Down Menu](http://planetozh.com/blog/my-projects/wordpress-admin-menu-drop-down-css/ "Admin Drop Down Menu"). There is also an API for plugin coders (give your plugin its own special icon!).
16
 
17
  For older unsupported versions (for older unsupported WordPress installs), see the plugin's page.
18
 
 
 
 
 
 
 
 
 
 
 
19
  == Screenshots ==
20
 
21
  1. Drop down menu with WordPress top level icons and sub level icons, configurable color scheme
22
  2. Normal or compact display
23
  3. Full RTL support for those funky locales!
24
 
 
25
  == Changelog ==
26
 
27
  The changelog can be found:
28
 
29
- 1. In the plugin source itself
30
  1. Here: http://plugins.trac.wordpress.org/log/ozh-admin-drop-down-menu?verbose=on
 
 
31
 
32
  == Installation ==
33
 
1
  === Ozh' Admin Drop Down Menu ===
2
  Donate link: http://planetozh.com/exit/donate
3
  Tags: ozh, menu, menus, dashboard, admin, dropdown, drop down, productivity, css
4
+ Requires at least: 4.0
5
+ Tested up to: 5.4.1
6
+ Requires PHP: 5.6
7
  Stable tag: trunk
8
  Contributors: ozh
9
 
10
  All admin links available in a neat horizontal drop down menu. Saves lots of screen real estate!
11
 
12
+
13
  == Description ==
14
 
15
  The lazy and the productive will love it : all admin links available in a neat horizontal CSS driven drop down menu. No need to click on "Manage" then "Pages" to edit pages. And plenty more space on your screen.
16
 
17
+ For documentation, examples and screenshots, please refer to the official plugin page for [Admin Drop Down Menu](http://planetozh.com/blog/my-projects/wordpress-admin-menu-drop-down-css/ "Admin Drop Down Menu"). There is also an API for plugin coders (give your plugin its own special icon!).
18
 
19
  For older unsupported versions (for older unsupported WordPress installs), see the plugin's page.
20
 
21
+ Plugin doc: http://planetozh.com/blog/my-projects/wordpress-admin-menu-drop-down-css/
22
+ Plugin dev: https://github.com/ozh/ozh-admin-drop-down-menu
23
+ Issues, features and pull requests: https://github.com/ozh/ozh-admin-drop-down-menu
24
+
25
+
26
+ == Support ==
27
+
28
+ On [Github](https://github.com/ozh/ozh-admin-drop-down-menu). I don't read WordPress support forums.
29
+
30
+
31
  == Screenshots ==
32
 
33
  1. Drop down menu with WordPress top level icons and sub level icons, configurable color scheme
34
  2. Normal or compact display
35
  3. Full RTL support for those funky locales!
36
 
37
+
38
  == Changelog ==
39
 
40
  The changelog can be found:
41
 
42
+ 1. In the [plugin source](https://github.com/ozh/ozh-admin-drop-down-menu/blob/master/wp_ozh_adminmenu.php)
43
  1. Here: http://plugins.trac.wordpress.org/log/ozh-admin-drop-down-menu?verbose=on
44
+ 1. There: https://github.com/ozh/ozh-admin-drop-down-menu/commits/master
45
+
46
 
47
  == Installation ==
48
 
screenshot-1.jpg DELETED
Binary file
screenshot-2.jpg DELETED
Binary file
screenshot-3.jpg DELETED
Binary file
wp_ozh_adminmenu.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  Plugin Name: Ozh' Admin Drop Down Menu
4
  Plugin URI: http://planetozh.com/blog/my-projects/wordpress-admin-menu-drop-down-css/
5
- Description: All admin links available in a neat horizontal drop down menu. Saves lots of screen real estate! <strong>For WordPress 3.0+</strong>
6
- Version: 3.6.3
7
  Author: Ozh
8
  Author URI: http://ozh.org/
9
  */
@@ -114,10 +114,21 @@ Author URI: http://ozh.org/
114
  * 3.6.2: Fixed: compatibility with WP 3.3 (thanks brasofilo!)
115
  * 3.6.3: Fixed: compatibility with Chrome 17 (thanks Samuel Aguilera!)
116
  Fixed: bug if user has not admin capability and option "Minimal Mode" is checked (thanks Ed!)
 
 
 
 
 
 
 
 
 
 
 
117
  */
118
 
119
 
120
- define( 'OZH_MENU_VER', '3.6.3' );
121
 
122
  /***** Hook things in when visiting an admin page. When viewing a blog page, nothing even loads in memory. ****/
123
  if ( is_admin() ){
@@ -132,12 +143,12 @@ if ( is_admin() ){
132
  add_filter('in_admin_header', 'wp_ozh_adminmenu', -9999); // Add the new admin menu right after the header area. Make sure we're first.
133
  }
134
 
135
- // Make sure it's WP 3.2+ only
136
  function wp_ozh_adminmenu_check(){
137
  global $wp_version;
138
- if ( version_compare($wp_version, '3.2-beta1', '<') ) {
139
  deactivate_plugins( basename(__FILE__) );
140
- wp_die("Sorry, this plugin requires WordPress 3.2 at least");
141
  }
142
  }
143
  register_activation_hook(__FILE__, 'wp_ozh_adminmenu_check');
2
  /*
3
  Plugin Name: Ozh' Admin Drop Down Menu
4
  Plugin URI: http://planetozh.com/blog/my-projects/wordpress-admin-menu-drop-down-css/
5
+ Description: All admin links available in a neat horizontal drop down menu. Saves lots of screen real estate! <strong>For WordPress 4.0+</strong>
6
+ Version: 3.7
7
  Author: Ozh
8
  Author URI: http://ozh.org/
9
  */
114
  * 3.6.2: Fixed: compatibility with WP 3.3 (thanks brasofilo!)
115
  * 3.6.3: Fixed: compatibility with Chrome 17 (thanks Samuel Aguilera!)
116
  Fixed: bug if user has not admin capability and option "Minimal Mode" is checked (thanks Ed!)
117
+ * 3.6.4: Fixed: compatibility with WP 3.5 (thanks Samuel Aguilera again!)
118
+ * 3.6.5: Added: sk_SK (thanks Branco Radenovich)
119
+ * 3.6.6: Fixed: glitch possibly causing entries in server error logs for trying to load non existent images (thanks Ze!)
120
+ * 3.6.7: Fixed: notice due to deprecated variable (thanks Davit!)
121
+ * 3.6.8: Fixed: missing dashicons in top level menus (thanks Muhammad Mahmoud!)
122
+ Fixed: missing icon for the Customize menu
123
+ Updated: misc style to match WP 4.0
124
+ Changed: min ver is WP 4.0
125
+ * 3.6.9: Fixed: comment bubble was not showing properly (thanks Spherical!)
126
+ * 3.6.10: Fixed: count() notice (thanks magento-ralph!)
127
+ * 3.7: Fixed: compatibiliity with PHP 7.2+
128
  */
129
 
130
 
131
+ define( 'OZH_MENU_VER', '3.7' );
132
 
133
  /***** Hook things in when visiting an admin page. When viewing a blog page, nothing even loads in memory. ****/
134
  if ( is_admin() ){
143
  add_filter('in_admin_header', 'wp_ozh_adminmenu', -9999); // Add the new admin menu right after the header area. Make sure we're first.
144
  }
145
 
146
+ // Make sure it's WP 4.0+ only
147
  function wp_ozh_adminmenu_check(){
148
  global $wp_version;
149
+ if ( version_compare($wp_version, '4.0', '<') ) {
150
  deactivate_plugins( basename(__FILE__) );
151
+ wp_die("Sorry, this plugin requires WordPress 4.0 at least");
152
  }
153
  }
154
  register_activation_hook(__FILE__, 'wp_ozh_adminmenu_check');