Changeset 1720533
- Timestamp:
- 08/28/2017 11:50:41 AM (8 years ago)
- Location:
- w2o-admin-drop-down-menu/trunk
- Files:
-
- 5 edited
-
core/core.php (modified) (6 diffs)
-
core/w2oadm.css.php (modified) (8 diffs)
-
core/w2oadm.responsive.css.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
w2o-admin-drop-down-menu.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
w2o-admin-drop-down-menu/trunk/core/core.php
r1357122 r1720533 78 78 $img = '<div class="wp-menu-image w2oadm_menu_text_toplevel dashicons-before '.$item[6].'">'.$w2oadm_customtag_toplevel.'</div>'; 79 79 else { 80 81 80 preg_match_all('/^data:image\/svg\+xml;base64,(.*)/', $item[6], $matches_svg); 82 81 if ( !empty($matches_svg) && ( isset($matches_svg[1][0]) && !empty($matches_svg[1][0]) ) ) { … … 93 92 $height ='20px'; 94 93 if (function_exists('getimagesize')) { 95 list($width, $height) = getimagesize($item[6]);94 list($width, $height) = @getimagesize($item[6]); 96 95 $width = ($width>0 && $width<=20) ? $width : '20'; 97 96 $width = $width.'px'; 98 97 99 98 $height = ($height>0 && $height<=20) ? $height : '20'; 100 99 $height = $height.'px'; … … 304 303 $query = http_build_query($query); 305 304 306 echo "<link rel='stylesheet' href='{$plugin}w2oadm.css.php?$query' type='text/css' media='all' w2oadm=' www.w2orange.com' />\n307 <link rel='stylesheet' href='{$plugin}w2oadm.responsive.css.php?$query' type='text/css' media='all' w2oadm=' www.w2orange.com' />\n305 echo "<link rel='stylesheet' href='{$plugin}w2oadm.css.php?$query' type='text/css' media='all' w2oadm='shishir.adhikari' />\n 306 <link rel='stylesheet' href='{$plugin}w2oadm.responsive.css.php?$query' type='text/css' media='all' w2oadm='shishir.adhikari' />\n 308 307 "; 309 308 } … … 370 369 $arrSearch = array( '[~color_scheme_key~]','[~icon_colors_base~]','[~icon_colors_foucs~]' ); 371 370 372 echo '<style type="text/css" w2oadm=" www.w2orange.com">371 echo '<style type="text/css" w2oadm="shishir.adhikari"> 373 372 /* w2oadm menus icon colors */ 374 373 '; … … 399 398 } 400 399 401 // To add Admin Color Scheme called "W2 orange"400 // To add Admin Color Scheme called "W2O" 402 401 function wp_w2o_admin_color_scheme () { 403 402 global $wp_w2oadm; … … 405 404 $suffix = is_rtl() ? '-rtl' : ''; 406 405 wp_admin_css_color( 407 'w2orange', __( 'W2 orange', 'admin_schemes' ),406 'w2orange', __( 'W2O', 'admin_schemes' ), 408 407 plugins_url( "admincolorscheme/w2orange/colors".$suffix.".css", __FILE__ ), 409 408 array( '#ff9724', '#6fb61d', '#de5e60', '#ceee65' ), -
w2o-admin-drop-down-menu/trunk/core/w2oadm.css.php
r1444832 r1720533 21 21 /* W2OADM Style */ 22 22 /* Restyle or hide original items */ 23 #adminmenu {display:none ;}23 #adminmenu {display:none !important;} 24 24 #wpbody, div.folded #wpbody {margin-<?php echo $dir; ?>:0px} 25 25 … … 30 30 } 31 31 #screen-meta { 32 display:none ; /* hidden in case we have no JS to move it */32 display:none !important; /* hidden in case we have no JS to move it */ 33 33 } 34 34 … … 40 40 .folded #adminmenuback, .folded #adminmenuwrap, .folded #adminmenu, .folded #adminmenu li.menu-top, 41 41 .js.folded #adminmenuback, .js.folded #adminmenuwrap, .js.folded #adminmenu, .js.folded #adminmenu li.menu-top { 42 visibility:hidden ;42 visibility:hidden !important; 43 43 } 44 44 … … 79 79 width: 14px; 80 80 height: 14px; 81 background: # afcd42;81 background: #0a9600; /* #afcd42; */ 82 82 -moz-border-radius: 50px; 83 83 -webkit-border-radius: 50px; … … 122 122 123 123 /* for IE (<= IE7 only) */ 124 .no-font-face #wpadminbar ul.ab-top-menu > li > a.ab-item { width: auto !important; overflow:visible ; }124 .no-font-face #wpadminbar ul.ab-top-menu > li > a.ab-item { width: auto !important; overflow:visible !important; } 125 125 126 126 /* for IE7 only */ … … 128 128 #border-top-width: 31px; 129 129 } 130 #media-upload-header #sidemenu { display: block ; }130 #media-upload-header #sidemenu { display: block !important; } 131 131 132 132 … … 147 147 /* Some CSS codes for W2OADM classes, IDs (initialize) */ 148 148 .w2oadm_topmenu { 149 display:block ;149 display:block !important; 150 150 } 151 151 .w2oadm_topmenu > a.ab-item { … … 167 167 .w2oadm_customtag_toplevel { 168 168 padding-left:6px !important; 169 display:inline-block ;169 display:inline-block !important; 170 170 } 171 171 -
w2o-admin-drop-down-menu/trunk/core/w2oadm.responsive.css.php
r1357122 r1720533 34 34 .folded #adminmenuback, .folded #adminmenuwrap, .folded #adminmenu, .folded #adminmenu li.menu-top, 35 35 .js.folded #adminmenuback, .js.folded #adminmenuwrap, .js.folded #adminmenu, .js.folded #adminmenu li.menu-top { 36 visibility:visible ;36 visibility:visible !important; 37 37 } 38 38 -
w2o-admin-drop-down-menu/trunk/readme.txt
r1698040 r1720533 1 1 === W2O Admin Dropdown Menu === 2 2 Contributors: shishiradhikari 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=raju.rachana%40gmail.com 3 4 Tags: w2o, admin, menu, menus, top menu, admin menu, menu bar, admin bar, dropdown, drop down, responsive, responsive menu 4 5 Requires at least: 4.0 5 Tested up to: 4.8 6 Stable tag: 1. 66 Tested up to: 4.8.1 7 Stable tag: 1.7 7 8 License: GPLv2 or later 8 9 … … 23 24 A new feature to display "ICONS ONLY" as parent menus has been added in the plugin recently. This feature has been added from version 1.4 upon request/suggestion received from some people who are using this plugin. To use this feature you simply need to set the value of 'wpiconsonly' to 1 (i.e. from 'wpiconsonly' => 0 to 'wpiconsonly' => 1) in "core.php" at line number: 254 (fyi, "core.php" resides inside your "/wp-content/plugins/w2o-admin-drop-down-menu/core/" directory). 24 25 25 If you like this plugin and would like to DONATE, please contact us via email at [email protected] 26 If you like this plugin then why don't you buy me a beer at-least. Click on the "Donate to this plugin" button on the right side. 27 28 You can also contact us via **[itrsnepal.com](http://itrsnepal.com/?utm_source=w2oadm&utm_medium=WP Plugin Page&utm_campaign=W2O Admin Dropdown Menu)** 26 29 27 30 == Installation == … … 36 39 37 40 == Changelog == 41 42 = 1.7 = 43 * Made the info circle more contrast to make the number more readable per feedback received. 44 * Fixed an issue related to menu icon. Handled the error caused by incorrect icon path of some third party plugins. 45 * Fixed vertical menu still displaying issue on a rare case per feedback received. 46 * Added a DONATE link. I now wanna some beer guys!!! :) 47 * Successfully tested the plugin up to WordPress 4.8.1 38 48 39 49 = 1.6 = -
w2o-admin-drop-down-menu/trunk/w2o-admin-drop-down-menu.php
r1567728 r1720533 3 3 Plugin Name: W2O Admin Dropdown Menu 4 4 Plugin URI: https://wordpress.org/plugins/w2o-admin-drop-down-menu/ 5 Description: Neat, clean, responsive and Wordpress environment friendly horizontal dropdown menu for Admin that eliminates the left menu and saves screen space <em><strong>(For WordPress 4.0+)</strong></em>. <strong>If you like this plugin and would like to DONATE, please use this link <a href='mailto:[email protected]&subject=Love to donate for W2O Admin Dropdown Menu'>Contact Us</a></strong>6 Version: 1. 65 Description: Neat, clean, responsive and Wordpress environment friendly horizontal dropdown menu for Admin that eliminates the left menu and saves screen space <em><strong>(For WordPress 4.0+)</strong></em>.<strong> If you like this plugin then why don't you buy me a beer at-least. <strong><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=raju.rachana%40gmail.com" target="_blank">DONATE SOMETHING, YOU WILL SURELY FEEL GREAT.</a></strong> 6 Version: 1.7 7 7 Author: Shishir Raj Adhikari 8 8 Author URI: https://profiles.wordpress.org/shishiradhikari/ … … 27 27 28 28 29 define( 'W2OADM_VER', '1. 6' );29 define( 'W2OADM_VER', '1.7' ); 30 30 31 31 /***** Hooks of the plugins when visiting an admin page for W2O Admin Dropdown Menu (W2OADM). ****/
Note: See TracChangeset
for help on using the changeset viewer.