Absolutely Glamorous Custom Admin - Version 1.4

Version Description

  • Fixed issue with Colorizer. Updated plugin colors.
Download this release

Release Info

Developer argonius
Plugin Icon 128x128 Absolutely Glamorous Custom Admin
Version 1.4
Comparing to
See all releases

Code changes from version 1.3.9 to 1.4

images/checkbox_checked.png CHANGED
Binary file
images/checkbox_over.png CHANGED
Binary file
images/checkbox_unchecked.png CHANGED
Binary file
plugin.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: AG Custom Admin
4
  Plugin URI: http://agca.argonius.com/ag-custom-admin/category/ag_custom_admin
5
  Description: All-in-one tool for admin panel customization. Change almost everything: admin menu, dashboard, login page, admin bar etc. Apply admin panel themes.
6
  Author: Argonius
7
- Version: 1.3.9
8
  Author URI: http://www.argonius.com/
9
 
10
  Copyright 2014. Argonius (email : info@argonius.com)
@@ -55,8 +55,8 @@ class AGCA{
55
 
56
  /*Initialize properties*/
57
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
58
- //fb($this->colorizer);
59
- $this->agca_version = "1.3.9";
60
 
61
  /*upload images programmaticaly*/
62
  //TODO upload with AJAX one by one, use post data to send urls one by one
@@ -1238,6 +1238,12 @@ class AGCA{
1238
 
1239
  }
1240
 
 
 
 
 
 
 
1241
  function prepareAGCALoginTemplates(){
1242
  if(get_option( 'agca_templates' ) != ""){
1243
  //print_r(get_option( 'agca_templates' ));
@@ -1887,7 +1893,7 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
1887
  <script type="text/javascript" src="<?php echo trailingslashit(plugins_url(basename(dirname(__FILE__)))); ?>script/agca_tmpl.js?ver=<?php echo $wpversion; ?>"></script>
1888
  <?php //includes ?>
1889
  <div class="wrap">
1890
- <h1 style="color:green">AG Custom Admin Settings <span style="font-size:15px;">(v<?php echo $this->agca_version; ?>)</span></h1>
1891
  <div id="agca_news">&nbsp;</div><br />
1892
  <form method="post" id="agca_form" action="options.php">
1893
  <?php settings_fields( 'agca-options-group' ); ?>
@@ -2658,21 +2664,21 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
2658
  </tr>
2659
  <tr valign="center">
2660
  <th><label title="Change admin page background color" for="color_background">Background color:</label></th>
2661
- <td><input type="text" id="color_background" name="color_background" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_background']); ?>" />
2662
  <input type="button" alt="color_background" class="pick_color_button agca_button" value="Pick color" />
2663
  <input type="button" alt="color_background" class="pick_color_button_clear agca_button" value="Clear" />
2664
  </td>
2665
  </tr>
2666
  <tr valign="center">
2667
  <th><label title="Change login page background color" for="login_color_background">Login page background color:</label></th>
2668
- <td><input type="text" id="login_color_background" name="login_color_background" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['login_color_background']); ?>" />
2669
  <input type="button" alt="login_color_background" class="pick_color_button agca_button" value="Pick color" />
2670
  <input type="button" alt="login_color_background" class="pick_color_button_clear agca_button" value="Clear" />
2671
  </td>
2672
  </tr>
2673
  <tr valign="center">
2674
  <th><label title="Change admin bar (on top) color in admin panel" for="color_header">Admin bar color:</label></th>
2675
- <td><input type="text" id="color_header" name="color_header" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_header']); ?>" />
2676
  <input type="button" alt="color_header" class="pick_color_button agca_button" value="Pick color" />
2677
  <input type="button" alt="color_header" class="pick_color_button_clear agca_button" value="Clear" />
2678
  </td>
@@ -2686,63 +2692,63 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
2686
  </tr>
2687
  <tr valign="center">
2688
  <th><label title="Change button background color" for="color_admin_menu_top_button_background">Button background color:</label></th>
2689
- <td><input type="text" id="color_admin_menu_top_button_background" name="color_admin_menu_top_button_background" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_admin_menu_top_button_background']); ?>" />
2690
  <input type="button" alt="color_admin_menu_top_button_background" class="pick_color_button agca_button" value="Pick color" />
2691
  <input type="button" alt="color_admin_menu_top_button_background" class="pick_color_button_clear agca_button" value="Clear" />
2692
  </td>
2693
  </tr>
2694
  <tr valign="center">
2695
  <th><label title="Change button text color" for="color_admin_menu_font">Button text color:</label></th>
2696
- <td><input type="text" id="color_admin_menu_font" name="color_admin_menu_font" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_admin_menu_font']); ?>" />
2697
  <input type="button" alt="color_admin_menu_font" class="pick_color_button agca_button" value="Pick color" />
2698
  <input type="button" alt="color_admin_menu_font" class="pick_color_button_clear agca_button" value="Clear" />
2699
  </td>
2700
  </tr>
2701
  <tr valign="center">
2702
  <th><label title="Change button background color for current button" for="color_admin_menu_top_button_current_background">Button current background color:</label></th>
2703
- <td><input type="text" id="color_admin_menu_top_button_current_background" name="color_admin_menu_top_button_current_background" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_admin_menu_top_button_current_background']); ?>" />
2704
  <input type="button" alt="color_admin_menu_top_button_current_background" class="pick_color_button agca_button" value="Pick color" />
2705
  <input type="button" alt="color_admin_menu_top_button_current_background" class="pick_color_button_clear agca_button" value="Clear" />
2706
  </td>
2707
  </tr>
2708
  <tr valign="center">
2709
  <th><label title="Change button background color on mouseover" for="color_admin_menu_top_button_hover_background">Button hover background color:</label></th>
2710
- <td><input type="text" id="color_admin_menu_top_button_hover_background" name="color_admin_menu_top_button_hover_background" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_admin_menu_top_button_hover_background']); ?>" />
2711
  <input type="button" alt="color_admin_menu_top_button_hover_background" class="pick_color_button agca_button" value="Pick color" />
2712
  <input type="button" alt="color_admin_menu_top_button_hover_background" class="pick_color_button_clear agca_button" value="Clear" />
2713
  </td>
2714
  </tr>
2715
  <tr valign="center">
2716
  <th><label title="Change button top border color" for="color_admin_menu_submenu_border_top">Button border top color:</label></th>
2717
- <td><input type="text" id="color_admin_menu_submenu_border_top" name="color_admin_menu_submenu_border_top" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_admin_menu_submenu_border_top']); ?>" />
2718
  <input type="button" alt="color_admin_menu_submenu_border_top" class="pick_color_button agca_button" value="Pick color" />
2719
  <input type="button" alt="color_admin_menu_submenu_border_top" class="pick_color_button_clear agca_button" value="Clear" />
2720
  </td>
2721
  </tr>
2722
  <tr valign="center">
2723
  <th><label title="Change button bottom border color" for="color_admin_menu_submenu_border_bottom">Button border bottom color:</label></th>
2724
- <td><input type="text" id="color_admin_menu_submenu_border_bottom" name="color_admin_menu_submenu_border_bottom" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_admin_menu_submenu_border_bottom']); ?>" />
2725
  <input type="button" alt="color_admin_menu_submenu_border_bottom" class="pick_color_button agca_button" value="Pick color" />
2726
  <input type="button" alt="color_admin_menu_submenu_border_bottom" class="pick_color_button_clear agca_button" value="Clear" />
2727
  </td>
2728
  </tr>
2729
  <tr valign="center">
2730
  <th><label title="Change submenu item background color" for="color_admin_menu_submenu_background">Submenu button background color:</label></th>
2731
- <td><input type="text" id="color_admin_menu_submenu_background" name="color_admin_menu_submenu_background" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_admin_menu_submenu_background']); ?>" />
2732
  <input type="button" alt="color_admin_menu_submenu_background" class="pick_color_button agca_button" value="Pick color" />
2733
  <input type="button" alt="color_admin_menu_submenu_background" class="pick_color_button_clear agca_button" value="Clear" />
2734
  </td>
2735
  </tr>
2736
  <tr valign="center">
2737
  <th><label title="Change submenu item background color on mouseover" for="color_admin_menu_submenu_background_hover">Submenu button hover background color:</label></th>
2738
- <td><input type="text" id="color_admin_menu_submenu_background_hover" name="color_admin_menu_submenu_background_hover" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_admin_menu_submenu_background_hover']); ?>" />
2739
  <input type="button" alt="color_admin_menu_submenu_background_hover" class="pick_color_button agca_button" value="Pick color" />
2740
  <input type="button" alt="color_admin_menu_submenu_background_hover" class="pick_color_button_clear agca_button" value="Clear" />
2741
  </td>
2742
  </tr>
2743
  <tr valign="center">
2744
  <th><label title="Change submenu item text color" for="color_admin_submenu_font">Submenu text color:</label></th>
2745
- <td><input type="text" id="color_admin_submenu_font" name="color_admin_submenu_font" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_admin_submenu_font']); ?>" />
2746
  <input type="button" alt="color_admin_submenu_font" class="pick_color_button agca_button" value="Pick color" />
2747
  <input type="button" alt="color_admin_submenu_font" class="pick_color_button_clear agca_button" value="Clear" />
2748
  </td>
@@ -2750,14 +2756,14 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
2750
  <?php if($wpversion >= 3.2) { ?>
2751
  <tr valign="center">
2752
  <th><label title="Change background color of element behind admin menu" for="color_admin_menu_behind_background">Wrapper background color:</label></th>
2753
- <td><input type="text" id="color_admin_menu_behind_background" name="color_admin_menu_behind_background" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_admin_menu_behind_background']); ?>" />
2754
  <input type="button" alt="color_admin_menu_behind_background" class="pick_color_button agca_button" value="Pick color" />
2755
  <input type="button" alt="color_admin_menu_behind_background" class="pick_color_button_clear agca_button" value="Clear" />
2756
  </td>
2757
  </tr>
2758
  <tr valign="center">
2759
  <th><label title="Change border color of element behind admin menu" for="color_admin_menu_behind_border">Wrapper border color:</label></th>
2760
- <td><input type="text" id="color_admin_menu_behind_border" name="color_admin_menu_behind_border" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_admin_menu_behind_border']); ?>" />
2761
  <input type="button" alt="color_admin_menu_behind_border" class="pick_color_button agca_button" value="Pick color" />
2762
  <input type="button" alt="color_admin_menu_behind_border" class="pick_color_button_clear agca_button" value="Clear" />
2763
  </td>
@@ -2778,21 +2784,21 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
2778
  </tr>
2779
  <tr valign="center">
2780
  <th><label title="Change color in content text" for="color_font_content">Content text color:</label></th>
2781
- <td><input type="text" id="color_font_content" name="color_font_content" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_font_content']); ?>" />
2782
  <input type="button" alt="color_font_content" class="pick_color_button agca_button" value="Pick color" />
2783
  <input type="button" alt="color_font_content" class="pick_color_button_clear agca_button" value="Clear" />
2784
  </td>
2785
  </tr>
2786
  <tr valign="center">
2787
  <th><label title="Change color of admin bar text" for="color_font_header">Admin bar text color:</label></th>
2788
- <td><input type="text" id="color_font_header" name="color_font_header" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_font_header']); ?>" />
2789
  <input type="button" alt="color_font_header" class="pick_color_button agca_button" value="Pick color" />
2790
  <input type="button" alt="color_font_header" class="pick_color_button_clear agca_button" value="Clear" />
2791
  </td>
2792
  </tr>
2793
  <tr valign="center">
2794
  <th><label title="Change color in fotter text" for="color_font_footer">Footer text color:</label></th>
2795
- <td><input type="text" id="color_font_footer" name="color_font_footer" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_font_footer']); ?>" />
2796
  <input type="button" alt="color_font_footer" class="pick_color_button agca_button" value="Pick color" />
2797
  <input type="button" alt="color_font_footer" class="pick_color_button_clear agca_button" value="Clear" />
2798
  </td>
@@ -2806,14 +2812,14 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
2806
  </tr>
2807
  <tr valign="center">
2808
  <th><label title="Change color in header text" for="color_widget_bar">Title bar background color:</label></th>
2809
- <td><input type="text" id="color_widget_bar" name="color_widget_bar" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_widget_bar']); ?>" />
2810
  <input type="button" alt="color_widget_bar" class="pick_color_button agca_button" value="Pick color" />
2811
  <input type="button" alt="color_widget_bar" class="pick_color_button_clear agca_button" value="Clear" />
2812
  </td>
2813
  </tr>
2814
  <tr valign="center">
2815
  <th><label title="Change widget background color" for="color_widget_background">Background color:</label></th>
2816
- <td><input type="text" id="color_widget_background" name="color_widget_background" class="color_picker" value="<?php echo htmlspecialchars($this->colorizer['color_widget_background']); ?>" />
2817
  <input type="button" alt="color_widget_background" class="pick_color_button agca_button" value="Pick color" />
2818
  <input type="button" alt="color_widget_background" class="pick_color_button_clear agca_button" value="Clear" />
2819
  </td>
@@ -2917,7 +2923,7 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
2917
  </div>
2918
 
2919
  <br />
2920
- <br /><br /><br /><p id="agca_footer_support_info">WordPress 'AG Custom Admin' plugin by Argonius. If you have any questions, ideas for future development or if you found a bug or having any issues regarding this plugin, please visit plugin's <a target="_blank" href="http://agca.argonius.com/ag-custom-admin/">SUPPORT</a> page. <br /><br />You can also support development of this plugin if you <a target="_blank" href="http://agca.argonius.com/ag-custom-admin/support-for-future-development">Make a donation</a>. Thanks!<br /><br />Have a nice blogging!</p><br />
2921
  <?php
2922
  }
2923
  }
4
  Plugin URI: http://agca.argonius.com/ag-custom-admin/category/ag_custom_admin
5
  Description: All-in-one tool for admin panel customization. Change almost everything: admin menu, dashboard, login page, admin bar etc. Apply admin panel themes.
6
  Author: Argonius
7
+ Version: 1.4
8
  Author URI: http://www.argonius.com/
9
 
10
  Copyright 2014. Argonius (email : info@argonius.com)
55
 
56
  /*Initialize properties*/
57
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
58
+
59
+ $this->agca_version = "1.4";
60
 
61
  /*upload images programmaticaly*/
62
  //TODO upload with AJAX one by one, use post data to send urls one by one
1238
 
1239
  }
1240
 
1241
+ function getAGCAColor($name){
1242
+ if(isset($this->colorizer[$name])){
1243
+ echo htmlspecialchars($this->colorizer[$name]);
1244
+ }
1245
+ }
1246
+
1247
  function prepareAGCALoginTemplates(){
1248
  if(get_option( 'agca_templates' ) != ""){
1249
  //print_r(get_option( 'agca_templates' ));
1893
  <script type="text/javascript" src="<?php echo trailingslashit(plugins_url(basename(dirname(__FILE__)))); ?>script/agca_tmpl.js?ver=<?php echo $wpversion; ?>"></script>
1894
  <?php //includes ?>
1895
  <div class="wrap">
1896
+ <h1 style="color:#005B69">AG Custom Admin Settings <span style="font-size:15px;">(v<?php echo $this->agca_version; ?>)</span></h1>
1897
  <div id="agca_news">&nbsp;</div><br />
1898
  <form method="post" id="agca_form" action="options.php">
1899
  <?php settings_fields( 'agca-options-group' ); ?>
2664
  </tr>
2665
  <tr valign="center">
2666
  <th><label title="Change admin page background color" for="color_background">Background color:</label></th>
2667
+ <td><input type="text" id="color_background" name="color_background" class="color_picker" value="<?php echo $this->getAGCAColor('color_background'); ?>" />
2668
  <input type="button" alt="color_background" class="pick_color_button agca_button" value="Pick color" />
2669
  <input type="button" alt="color_background" class="pick_color_button_clear agca_button" value="Clear" />
2670
  </td>
2671
  </tr>
2672
  <tr valign="center">
2673
  <th><label title="Change login page background color" for="login_color_background">Login page background color:</label></th>
2674
+ <td><input type="text" id="login_color_background" name="login_color_background" class="color_picker" value="<?php echo $this->getAGCAColor('login_color_background'); ?>" />
2675
  <input type="button" alt="login_color_background" class="pick_color_button agca_button" value="Pick color" />
2676
  <input type="button" alt="login_color_background" class="pick_color_button_clear agca_button" value="Clear" />
2677
  </td>
2678
  </tr>
2679
  <tr valign="center">
2680
  <th><label title="Change admin bar (on top) color in admin panel" for="color_header">Admin bar color:</label></th>
2681
+ <td><input type="text" id="color_header" name="color_header" class="color_picker" value="<?php echo $this->getAGCAColor('color_header'); ?>" />
2682
  <input type="button" alt="color_header" class="pick_color_button agca_button" value="Pick color" />
2683
  <input type="button" alt="color_header" class="pick_color_button_clear agca_button" value="Clear" />
2684
  </td>
2692
  </tr>
2693
  <tr valign="center">
2694
  <th><label title="Change button background color" for="color_admin_menu_top_button_background">Button background color:</label></th>
2695
+ <td><input type="text" id="color_admin_menu_top_button_background" name="color_admin_menu_top_button_background" class="color_picker" value="<?php echo $this->getAGCAColor('color_admin_menu_top_button_background'); ?>" />
2696
  <input type="button" alt="color_admin_menu_top_button_background" class="pick_color_button agca_button" value="Pick color" />
2697
  <input type="button" alt="color_admin_menu_top_button_background" class="pick_color_button_clear agca_button" value="Clear" />
2698
  </td>
2699
  </tr>
2700
  <tr valign="center">
2701
  <th><label title="Change button text color" for="color_admin_menu_font">Button text color:</label></th>
2702
+ <td><input type="text" id="color_admin_menu_font" name="color_admin_menu_font" class="color_picker" value="<?php echo $this->getAGCAColor('color_admin_menu_font'); ?>" />
2703
  <input type="button" alt="color_admin_menu_font" class="pick_color_button agca_button" value="Pick color" />
2704
  <input type="button" alt="color_admin_menu_font" class="pick_color_button_clear agca_button" value="Clear" />
2705
  </td>
2706
  </tr>
2707
  <tr valign="center">
2708
  <th><label title="Change button background color for current button" for="color_admin_menu_top_button_current_background">Button current background color:</label></th>
2709
+ <td><input type="text" id="color_admin_menu_top_button_current_background" name="color_admin_menu_top_button_current_background" class="color_picker" value="<?php echo $this->getAGCAColor('color_admin_menu_top_button_current_background'); ?>" />
2710
  <input type="button" alt="color_admin_menu_top_button_current_background" class="pick_color_button agca_button" value="Pick color" />
2711
  <input type="button" alt="color_admin_menu_top_button_current_background" class="pick_color_button_clear agca_button" value="Clear" />
2712
  </td>
2713
  </tr>
2714
  <tr valign="center">
2715
  <th><label title="Change button background color on mouseover" for="color_admin_menu_top_button_hover_background">Button hover background color:</label></th>
2716
+ <td><input type="text" id="color_admin_menu_top_button_hover_background" name="color_admin_menu_top_button_hover_background" class="color_picker" value="<?php echo $this->getAGCAColor('color_admin_menu_top_button_hover_background'); ?>" />
2717
  <input type="button" alt="color_admin_menu_top_button_hover_background" class="pick_color_button agca_button" value="Pick color" />
2718
  <input type="button" alt="color_admin_menu_top_button_hover_background" class="pick_color_button_clear agca_button" value="Clear" />
2719
  </td>
2720
  </tr>
2721
  <tr valign="center">
2722
  <th><label title="Change button top border color" for="color_admin_menu_submenu_border_top">Button border top color:</label></th>
2723
+ <td><input type="text" id="color_admin_menu_submenu_border_top" name="color_admin_menu_submenu_border_top" class="color_picker" value="<?php echo $this->getAGCAColor('color_admin_menu_submenu_border_top'); ?>" />
2724
  <input type="button" alt="color_admin_menu_submenu_border_top" class="pick_color_button agca_button" value="Pick color" />
2725
  <input type="button" alt="color_admin_menu_submenu_border_top" class="pick_color_button_clear agca_button" value="Clear" />
2726
  </td>
2727
  </tr>
2728
  <tr valign="center">
2729
  <th><label title="Change button bottom border color" for="color_admin_menu_submenu_border_bottom">Button border bottom color:</label></th>
2730
+ <td><input type="text" id="color_admin_menu_submenu_border_bottom" name="color_admin_menu_submenu_border_bottom" class="color_picker" value="<?php echo $this->getAGCAColor('color_admin_menu_submenu_border_bottom'); ?>" />
2731
  <input type="button" alt="color_admin_menu_submenu_border_bottom" class="pick_color_button agca_button" value="Pick color" />
2732
  <input type="button" alt="color_admin_menu_submenu_border_bottom" class="pick_color_button_clear agca_button" value="Clear" />
2733
  </td>
2734
  </tr>
2735
  <tr valign="center">
2736
  <th><label title="Change submenu item background color" for="color_admin_menu_submenu_background">Submenu button background color:</label></th>
2737
+ <td><input type="text" id="color_admin_menu_submenu_background" name="color_admin_menu_submenu_background" class="color_picker" value="<?php echo $this->getAGCAColor('color_admin_menu_submenu_background'); ?>" />
2738
  <input type="button" alt="color_admin_menu_submenu_background" class="pick_color_button agca_button" value="Pick color" />
2739
  <input type="button" alt="color_admin_menu_submenu_background" class="pick_color_button_clear agca_button" value="Clear" />
2740
  </td>
2741
  </tr>
2742
  <tr valign="center">
2743
  <th><label title="Change submenu item background color on mouseover" for="color_admin_menu_submenu_background_hover">Submenu button hover background color:</label></th>
2744
+ <td><input type="text" id="color_admin_menu_submenu_background_hover" name="color_admin_menu_submenu_background_hover" class="color_picker" value="<?php echo $this->getAGCAColor('color_admin_menu_submenu_background_hover'); ?>" />
2745
  <input type="button" alt="color_admin_menu_submenu_background_hover" class="pick_color_button agca_button" value="Pick color" />
2746
  <input type="button" alt="color_admin_menu_submenu_background_hover" class="pick_color_button_clear agca_button" value="Clear" />
2747
  </td>
2748
  </tr>
2749
  <tr valign="center">
2750
  <th><label title="Change submenu item text color" for="color_admin_submenu_font">Submenu text color:</label></th>
2751
+ <td><input type="text" id="color_admin_submenu_font" name="color_admin_submenu_font" class="color_picker" value="<?php echo $this->getAGCAColor('color_admin_submenu_font'); ?>" />
2752
  <input type="button" alt="color_admin_submenu_font" class="pick_color_button agca_button" value="Pick color" />
2753
  <input type="button" alt="color_admin_submenu_font" class="pick_color_button_clear agca_button" value="Clear" />
2754
  </td>
2756
  <?php if($wpversion >= 3.2) { ?>
2757
  <tr valign="center">
2758
  <th><label title="Change background color of element behind admin menu" for="color_admin_menu_behind_background">Wrapper background color:</label></th>
2759
+ <td><input type="text" id="color_admin_menu_behind_background" name="color_admin_menu_behind_background" class="color_picker" value="<?php echo $this->getAGCAColor('color_admin_menu_behind_background'); ?>" />
2760
  <input type="button" alt="color_admin_menu_behind_background" class="pick_color_button agca_button" value="Pick color" />
2761
  <input type="button" alt="color_admin_menu_behind_background" class="pick_color_button_clear agca_button" value="Clear" />
2762
  </td>
2763
  </tr>
2764
  <tr valign="center">
2765
  <th><label title="Change border color of element behind admin menu" for="color_admin_menu_behind_border">Wrapper border color:</label></th>
2766
+ <td><input type="text" id="color_admin_menu_behind_border" name="color_admin_menu_behind_border" class="color_picker" value="<?php echo $this->getAGCAColor('color_admin_menu_behind_border'); ?>" />
2767
  <input type="button" alt="color_admin_menu_behind_border" class="pick_color_button agca_button" value="Pick color" />
2768
  <input type="button" alt="color_admin_menu_behind_border" class="pick_color_button_clear agca_button" value="Clear" />
2769
  </td>
2784
  </tr>
2785
  <tr valign="center">
2786
  <th><label title="Change color in content text" for="color_font_content">Content text color:</label></th>
2787
+ <td><input type="text" id="color_font_content" name="color_font_content" class="color_picker" value="<?php echo $this->getAGCAColor('color_font_content'); ?>" />
2788
  <input type="button" alt="color_font_content" class="pick_color_button agca_button" value="Pick color" />
2789
  <input type="button" alt="color_font_content" class="pick_color_button_clear agca_button" value="Clear" />
2790
  </td>
2791
  </tr>
2792
  <tr valign="center">
2793
  <th><label title="Change color of admin bar text" for="color_font_header">Admin bar text color:</label></th>
2794
+ <td><input type="text" id="color_font_header" name="color_font_header" class="color_picker" value="<?php echo $this->getAGCAColor('color_font_header'); ?>" />
2795
  <input type="button" alt="color_font_header" class="pick_color_button agca_button" value="Pick color" />
2796
  <input type="button" alt="color_font_header" class="pick_color_button_clear agca_button" value="Clear" />
2797
  </td>
2798
  </tr>
2799
  <tr valign="center">
2800
  <th><label title="Change color in fotter text" for="color_font_footer">Footer text color:</label></th>
2801
+ <td><input type="text" id="color_font_footer" name="color_font_footer" class="color_picker" value="<?php echo $this->getAGCAColor('color_font_footer'); ?>" />
2802
  <input type="button" alt="color_font_footer" class="pick_color_button agca_button" value="Pick color" />
2803
  <input type="button" alt="color_font_footer" class="pick_color_button_clear agca_button" value="Clear" />
2804
  </td>
2812
  </tr>
2813
  <tr valign="center">
2814
  <th><label title="Change color in header text" for="color_widget_bar">Title bar background color:</label></th>
2815
+ <td><input type="text" id="color_widget_bar" name="color_widget_bar" class="color_picker" value="<?php echo $this->getAGCAColor('color_widget_bar'); ?>" />
2816
  <input type="button" alt="color_widget_bar" class="pick_color_button agca_button" value="Pick color" />
2817
  <input type="button" alt="color_widget_bar" class="pick_color_button_clear agca_button" value="Clear" />
2818
  </td>
2819
  </tr>
2820
  <tr valign="center">
2821
  <th><label title="Change widget background color" for="color_widget_background">Background color:</label></th>
2822
+ <td><input type="text" id="color_widget_background" name="color_widget_background" class="color_picker" value="<?php echo $this->getAGCAColor('color_widget_background'); ?>" />
2823
  <input type="button" alt="color_widget_background" class="pick_color_button agca_button" value="Pick color" />
2824
  <input type="button" alt="color_widget_background" class="pick_color_button_clear agca_button" value="Clear" />
2825
  </td>
2923
  </div>
2924
 
2925
  <br />
2926
+ <br /><br /><br /><p id="agca_footer_support_info">If you have any questions, ideas for future development or you want to report an issue, please visit our support site:</br><a target="_blank" href="http://agca.argonius.com/ag-custom-admin/">Visit support site</a></br><br />You can also support future development of this plugin by giving a donation: </br><a target="_blank" href="http://agca.argonius.com/ag-custom-admin/support-for-future-development">Give a donation</a><br /><br />Thank you! Have a nice blogging!</p><br />
2927
  <?php
2928
  }
2929
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: argonius
3
  Donate link: http://agca.argonius.com/ag-custom-admin/support-for-future-development
4
  Tags: admin, customize, hide, change admin, themes, admin themes, admin bar, login page
5
  Requires at least: 3.0
6
- Tested up to: 3.9.1
7
- Stable tag: 1.3.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -101,6 +101,10 @@ We will add more themes with better styles and theme options in future.
101
 
102
  For more info about AG Custom Admin themes, please go to [WordPress Admin Panel Themes](http://wordpressadminpanel.com/themes/home) site.
103
 
 
 
 
 
104
  = Contact =
105
  If you are unable to login or you have any other problems, please check our [FAQ](http://wordpress.org/extend/plugins/ag-custom-admin/faq/) and [SUPPORT](http://wordpress.org/support/plugin/ag-custom-admin) page.
106
 
@@ -145,6 +149,9 @@ Plugin should be always up-to-date with latest WordPress release. If you have fo
145
 
146
  == Changelog ==
147
 
 
 
 
148
  = 1.3.9 =
149
  * Fixed issue on Dashboard widgets page: Disabled third-party widget cannot be re-enabled
150
 
@@ -385,6 +392,9 @@ Plugin should be always up-to-date with latest WordPress release. If you have fo
385
 
386
  == Upgrade Notice ==
387
 
 
 
 
388
  = 1.3.9 =
389
  * Fixed issue on Dashboard widgets page
390
 
3
  Donate link: http://agca.argonius.com/ag-custom-admin/support-for-future-development
4
  Tags: admin, customize, hide, change admin, themes, admin themes, admin bar, login page
5
  Requires at least: 3.0
6
+ Tested up to: 4.0
7
+ Stable tag: 1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
101
 
102
  For more info about AG Custom Admin themes, please go to [WordPress Admin Panel Themes](http://wordpressadminpanel.com/themes/home) site.
103
 
104
+ = Additional Features =
105
+ * [Admin Panel Themes](http://wordpressadminpanel.com/themes/home)
106
+ * [Admin Menu Icons Management](http://wordpressadminpanel.com/aglcami/home)
107
+
108
  = Contact =
109
  If you are unable to login or you have any other problems, please check our [FAQ](http://wordpress.org/extend/plugins/ag-custom-admin/faq/) and [SUPPORT](http://wordpress.org/support/plugin/ag-custom-admin) page.
110
 
149
 
150
  == Changelog ==
151
 
152
+ = 1.4 =
153
+ * Fixed issue with Colorizer. Updated plugin colors.
154
+
155
  = 1.3.9 =
156
  * Fixed issue on Dashboard widgets page: Disabled third-party widget cannot be re-enabled
157
 
392
 
393
  == Upgrade Notice ==
394
 
395
+ = 1.4 =
396
+ * Fixed issue with Colorizer. Updated plugin colors.
397
+
398
  = 1.3.9 =
399
  * Fixed issue on Dashboard widgets page
400
 
style/ag_style.css CHANGED
@@ -1,43 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
  #ag_main_menu {
2
  display:block;
3
  height:35px;
4
- border-bottom:3px solid green;
5
  margin-top:2px;
6
  }
 
 
 
7
  #ag_main_menu li{
8
  display:block;
9
- background-color:#A9F5A9;
10
  float:left;
11
  color:#0B6138;
12
  padding:15px;
13
  padding-top:8px;
14
  padding-bottom:8px;
15
  font-weight:bold;
16
- border-bottom:3px solid green;
17
  }
18
  #ag_main_menu li.selected{
19
- border:3px solid green;
20
  border-bottom:none ;
21
  background-color:#F9F9F9;
22
  cursor:default;
23
  }
24
  #ag_main_menu li.normal:hover{
25
- background-color:#A9F500;
26
  cursor:pointer;
27
  }
28
  #ag_main_menu li a{
29
  text-decoration:none;
30
- color: green;
31
  }
32
  .ag_table_heading{
33
- background-color:#A9F5A9;
34
  display:block;
35
- height:20px;
36
  padding:5px;
37
  padding-top:0px;
38
  padding-bottom:1px;
39
- margin-top:50px;
40
- border-bottom:1px solid green;
41
  margin-left:-10px;
42
  margin-right:-10px;
43
  }
@@ -89,17 +103,23 @@ td.ag_admin_menu_parent:hover{
89
  #agca_footer_support_info{
90
  font-size:12px;
91
  font-weight:bold;
92
- color:#555;
93
- border:1px solid green;
 
94
  padding:20px;
95
  }
 
 
 
 
 
96
  #agca_news{
97
  height:50px;
98
  margin-top:-35px;
99
- color:green;
100
  }
101
  #agca_news a{
102
- color:green;
103
  }
104
  #agca_advertising{
105
  display:block;
@@ -174,15 +194,15 @@ td.ag_admin_menu_parent:hover{
174
  background-color:#ffffff;
175
  } */
176
  #agca_form input[type=button],button{
177
- background-color: #275928;
178
- border: 1px solid #444;
179
  color: #FFFFFF;
180
  padding: 5px 10px;
181
  }
182
  #agca_form input[type=button]:hover{
183
- background-color:#e8fae5;
184
- border: 1px solid #E8FAE5;
185
- color:green;
186
  cursor:pointer;
187
  }
188
  #agca_form input[type=text]{
@@ -190,7 +210,7 @@ td.ag_admin_menu_parent:hover{
190
  width:400px;
191
  }
192
  #agca_form input.color_picker{
193
- width:65px;
194
  }
195
  #agca_form input[type=text]:hover{
196
  background-color: #efffef;
@@ -212,19 +232,19 @@ td.ag_admin_menu_parent:hover{
212
  width:300px;
213
  }
214
  #agca_form input#save_plugin_settings{
215
- background: none repeat scroll 0 0 #275928;
216
  font-weight: bold;
217
  height: 39px;
218
  padding: 4px;
219
  width: 130px;
220
- border:1px solid #aaaaaa !important;
221
  text-shadow: none !important;
222
  box-shadow: none !important;
223
  font-size:16px;
224
  }
225
  #agca_form input#save_plugin_settings:hover{
226
- background-color:#E8FAE5 !important;
227
- color:#275928 !important;
228
  }
229
  #agca_form input#save_plugin_settings[type="button"]:hover{
230
  background-color:#ffffff;
1
+ /*color scheme*/
2
+ /*
3
+ -main
4
+ #ACC491
5
+ #DEF7C3
6
+
7
+ -lighter
8
+ #eef9d5
9
+
10
+ -blue
11
+ #005B69
12
+ */
13
  #ag_main_menu {
14
  display:block;
15
  height:35px;
16
+ border-bottom:3px solid #ACC491;
17
  margin-top:2px;
18
  }
19
+ .ag_section h2, .ag_section h3{
20
+ color:#005B69;
21
+ }
22
  #ag_main_menu li{
23
  display:block;
24
+ background-color:#DEF7C3;
25
  float:left;
26
  color:#0B6138;
27
  padding:15px;
28
  padding-top:8px;
29
  padding-bottom:8px;
30
  font-weight:bold;
31
+ border-bottom:3px solid #ACC491;
32
  }
33
  #ag_main_menu li.selected{
34
+ border:3px solid #ACC491;
35
  border-bottom:none ;
36
  background-color:#F9F9F9;
37
  cursor:default;
38
  }
39
  #ag_main_menu li.normal:hover{
40
+ background-color:#eef9d5;
41
  cursor:pointer;
42
  }
43
  #ag_main_menu li a{
44
  text-decoration:none;
45
+ color: #888888;
46
  }
47
  .ag_table_heading{
48
+ background-color:#DEF7C3;
49
  display:block;
50
+ height:25px;
51
  padding:5px;
52
  padding-top:0px;
53
  padding-bottom:1px;
54
+ margin-top:50px;
 
55
  margin-left:-10px;
56
  margin-right:-10px;
57
  }
103
  #agca_footer_support_info{
104
  font-size:12px;
105
  font-weight:bold;
106
+ background:#acc491;
107
+ color:#ffffff;
108
+ border:none;
109
  padding:20px;
110
  }
111
+ #agca_footer_support_info a{
112
+ color:#005b69;
113
+ text-decoration:none;
114
+ font-size:18px;
115
+ }
116
  #agca_news{
117
  height:50px;
118
  margin-top:-35px;
119
+ color:#ACC491;
120
  }
121
  #agca_news a{
122
+ color:#ACC491;
123
  }
124
  #agca_advertising{
125
  display:block;
194
  background-color:#ffffff;
195
  } */
196
  #agca_form input[type=button],button{
197
+ background-color: #ACC491;
198
+ border: 1px solid #ACC491;
199
  color: #FFFFFF;
200
  padding: 5px 10px;
201
  }
202
  #agca_form input[type=button]:hover{
203
+ background-color:#DEF7C3;
204
+ border: 1px solid #DEF7C3;
205
+ color:#005B69;
206
  cursor:pointer;
207
  }
208
  #agca_form input[type=text]{
210
  width:400px;
211
  }
212
  #agca_form input.color_picker{
213
+ width:77px;
214
  }
215
  #agca_form input[type=text]:hover{
216
  background-color: #efffef;
232
  width:300px;
233
  }
234
  #agca_form input#save_plugin_settings{
235
+ background: none repeat scroll 0 0 #acc491;
236
  font-weight: bold;
237
  height: 39px;
238
  padding: 4px;
239
  width: 130px;
240
+ border:1px solid #acc491 !important;
241
  text-shadow: none !important;
242
  box-shadow: none !important;
243
  font-size:16px;
244
  }
245
  #agca_form input#save_plugin_settings:hover{
246
+ background-color:#DEF7C3 !important;
247
+ color:#005B69 !important;
248
  }
249
  #agca_form input#save_plugin_settings[type="button"]:hover{
250
  background-color:#ffffff;