Absolutely Glamorous Custom Admin - Version 1.4.3

Version Description

  • Fixes admin bar compatibility issue with BuddyPress on public pages
  • Dashboard -> Updates submenu item can be hidden now
  • Added address bar option for debugging
Download this release

Release Info

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

Code changes from version 1.4.2 to 1.4.3

plugin.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: AG Custom Admin
4
  Plugin URI: http://wordpressadminpanel.com/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.2
8
  Author URI: http://www.argonius.com/
9
 
10
  Copyright 2014. Argonius (email : info@argonius.com)
@@ -56,7 +56,7 @@ class AGCA{
56
  /*Initialize properties*/
57
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
58
 
59
- $this->agca_version = "1.4.2";
60
 
61
  /*upload images programmaticaly*/
62
  //TODO upload with AJAX one by one, use post data to send urls one by one
@@ -98,6 +98,13 @@ class AGCA{
98
  update_option('agca_selected_template', "");
99
  }
100
  }
 
 
 
 
 
 
 
101
  }
102
 
103
  function checkPOST(){
@@ -283,6 +290,7 @@ class AGCA{
283
  ?>
284
  </script>
285
  <link rel="stylesheet" type="text/css" href="<?php echo trailingslashit(plugins_url(basename(dirname(__FILE__)))); ?>style/ag_style.css?ver=<?php echo $this->agca_version; ?>" />
 
286
  <script type="text/javascript" src="<?php echo trailingslashit(plugins_url(basename(dirname(__FILE__)))); ?>script/ag_script.js?ver=<?php echo $this->agca_version; ?>"></script>
287
  <?php
288
  echo $this->templateCustomizations;
@@ -746,7 +754,7 @@ class AGCA{
746
 
747
  function print_page()
748
  {
749
- if($this->isGuest()){
750
  return false;
751
  }
752
 
@@ -1183,15 +1191,15 @@ class AGCA{
1183
  foreach($templates as $templname=>$templdata){
1184
  if($templname == get_option('agca_selected_template')){
1185
 
1186
- echo ($templdata['common']);
1187
  echo "<!--AGCAIMAGES: ".$templdata['images']."-->";
1188
  if(!((get_option('agca_role_allbutadmin')==true) and (current_user_can($this->admin_capability())))){
1189
  if($templdata['settings'] == "") $templdata['settings'] = "{}";
1190
  //print_r($templdata);
1191
 
1192
- $this->JSPrintAGCATemplateSettingsVar($templdata['settings']);
1193
 
1194
- $admindata = $this->appendSettingsToAGCATemplateCustomizations($templdata['admin'], $templdata['settings']);
1195
  $admindata = $this->enableSpecificWPVersionCustomizations($admindata);
1196
  $admindata = $this->removeCSSComments($admindata);
1197
 
@@ -1250,12 +1258,12 @@ class AGCA{
1250
  $templates = get_option( 'agca_templates' );
1251
  foreach($templates as $templname=>$templdata){
1252
  if($templname == get_option('agca_selected_template')){
1253
- echo ($templdata['common']);
1254
 
1255
  if($templdata['settings'] == "") $templdata['settings'] = "{}";
1256
  $this->JSPrintAGCATemplateSettingsVar($templdata['settings']);
1257
 
1258
- $logindata = $this->appendSettingsToAGCATemplateCustomizations($templdata['login'], $templdata['settings']);
1259
  $logindata = $this->enableSpecificWPVersionCustomizations($logindata);
1260
  $logindata = $this->removeCSSComments($logindata);
1261
 
@@ -1650,9 +1658,8 @@ try
1650
  <?php }else{ ?>
1651
  currentItemText = jQuery(this).text();
1652
  <?php } ?>
1653
-
1654
- //console.log("*"+checkboxes[i][0]+":"+withoutNumber+"*");
1655
- if(checkboxes[i][0] == currentItemText){
1656
 
1657
  if((checkboxes[i][1] == "true") || (checkboxes[i][1] == "checked")){
1658
  jQuery(this).addClass('noclass');
@@ -2828,7 +2835,7 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
2828
  <div id="picker"></div>
2829
  </div>
2830
  <div id="section_templates" style="display:none" class="ag_section">
2831
- <h2 class="section_title" tabindex="-1"><span style="float:left">Admin Themes</span><span style="width:100px;color:red;font-size:15px;float:left;margin-top:-8px;margin-left:6px;display:block">(beta)</span></h2>
2832
  <br /><br />
2833
  <table class="form-table" width="500px">
2834
  <tr valign="center">
@@ -2926,6 +2933,4 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
2926
  <?php
2927
  }
2928
  }
2929
- //<link rel="stylesheet" type="text/css" href="<?php echo trailingslashit(plugins_url(basename(dirname(__FILE__)))); ? >style/agca.css" />
2930
- //<link rel="stylesheet" type="text/css" href="http://localhost/wp/351/wp-content/plugins/ag-custom-admin/style/agca.css" />
2931
  ?>
4
  Plugin URI: http://wordpressadminpanel.com/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.3
8
  Author URI: http://www.argonius.com/
9
 
10
  Copyright 2014. Argonius (email : info@argonius.com)
56
  /*Initialize properties*/
57
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
58
 
59
+ $this->agca_version = "1.4.3";
60
 
61
  /*upload images programmaticaly*/
62
  //TODO upload with AJAX one by one, use post data to send urls one by one
98
  update_option('agca_selected_template', "");
99
  }
100
  }
101
+ if(isset($_GET['agca_debug'])){
102
+ if($_GET['agca_debug'] =="true"){
103
+ $this->agca_debug = true;
104
+ }else{
105
+ $this->agca_debug = false;
106
+ }
107
+ }
108
  }
109
 
110
  function checkPOST(){
290
  ?>
291
  </script>
292
  <link rel="stylesheet" type="text/css" href="<?php echo trailingslashit(plugins_url(basename(dirname(__FILE__)))); ?>style/ag_style.css?ver=<?php echo $this->agca_version; ?>" />
293
+ <link rel="stylesheet" type="text/css" href="<?php echo trailingslashit(plugins_url(basename(dirname(__FILE__)))); ?>style/agca.css" />
294
  <script type="text/javascript" src="<?php echo trailingslashit(plugins_url(basename(dirname(__FILE__)))); ?>script/ag_script.js?ver=<?php echo $this->agca_version; ?>"></script>
295
  <?php
296
  echo $this->templateCustomizations;
754
 
755
  function print_page()
756
  {
757
+ if($this->isGuest() && get_option('agca_admin_bar_frontend_hide')){
758
  return false;
759
  }
760
 
1191
  foreach($templates as $templname=>$templdata){
1192
  if($templname == get_option('agca_selected_template')){
1193
 
1194
+ echo (stripslashes($templdata['common']));
1195
  echo "<!--AGCAIMAGES: ".$templdata['images']."-->";
1196
  if(!((get_option('agca_role_allbutadmin')==true) and (current_user_can($this->admin_capability())))){
1197
  if($templdata['settings'] == "") $templdata['settings'] = "{}";
1198
  //print_r($templdata);
1199
 
1200
+ $this->JSPrintAGCATemplateSettingsVar($templdata['settings']);
1201
 
1202
+ $admindata = $this->appendSettingsToAGCATemplateCustomizations(stripslashes($templdata['admin']), $templdata['settings']);
1203
  $admindata = $this->enableSpecificWPVersionCustomizations($admindata);
1204
  $admindata = $this->removeCSSComments($admindata);
1205
 
1258
  $templates = get_option( 'agca_templates' );
1259
  foreach($templates as $templname=>$templdata){
1260
  if($templname == get_option('agca_selected_template')){
1261
+ echo (stripslashes($templdata['common']));
1262
 
1263
  if($templdata['settings'] == "") $templdata['settings'] = "{}";
1264
  $this->JSPrintAGCATemplateSettingsVar($templdata['settings']);
1265
 
1266
+ $logindata = $this->appendSettingsToAGCATemplateCustomizations(stripslashes($templdata['login']), $templdata['settings']);
1267
  $logindata = $this->enableSpecificWPVersionCustomizations($logindata);
1268
  $logindata = $this->removeCSSComments($logindata);
1269
 
1658
  <?php }else{ ?>
1659
  currentItemText = jQuery(this).text();
1660
  <?php } ?>
1661
+
1662
+ if(checkboxes[i][0] == ((typeof currentItemText !== "undefined")?currentItemText.trim():currentItemText)){
 
1663
 
1664
  if((checkboxes[i][1] == "true") || (checkboxes[i][1] == "checked")){
1665
  jQuery(this).addClass('noclass');
2835
  <div id="picker"></div>
2836
  </div>
2837
  <div id="section_templates" style="display:none" class="ag_section">
2838
+ <h2 class="section_title" tabindex="-1"><span style="float:left">Admin Themes</span></h2>
2839
  <br /><br />
2840
  <table class="form-table" width="500px">
2841
  <tr valign="center">
2933
  <?php
2934
  }
2935
  }
 
 
2936
  ?>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wordpressadminpanel.com/ag-custom-admin/
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.1
7
- Stable tag: 1.4.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -142,13 +142,23 @@ Plugin should be always up-to-date with latest WordPress release. If you have fo
142
 
143
  == Screenshots ==
144
 
145
- 1. AG Custom Admin provides most of options for Admin Panel customization, and it's easy to use.
146
  2. Login page can be customized and styled with custom branding logo or image, rounded borders, background colors.
147
- 3. Admin menu is completely customizable. You can rename or remove items from menu and submenu, or add brand new buttons with custom links.
148
- 4. Default WP grey colors can be refreshed with any colors that you like! There are a lot of Colorizer option which can be use to style text, background, login, widgets, admin menu, top bar, footer and many more!
 
 
 
 
 
149
 
150
  == Changelog ==
151
 
 
 
 
 
 
152
  = 1.4.2 =
153
  * Internal links changes, support for the new support site domain
154
 
@@ -400,6 +410,9 @@ Plugin should be always up-to-date with latest WordPress release. If you have fo
400
 
401
  == Upgrade Notice ==
402
 
 
 
 
403
  = 1.4.2 =
404
  * Internal links changes
405
 
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.1
7
+ Stable tag: 1.4.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
142
 
143
  == Screenshots ==
144
 
145
+ 1. AG Custom Admin provides most of the options for admin panel customization, and it's pretty easy to use it.
146
  2. Login page can be customized and styled with custom branding logo or image, rounded borders, background colors.
147
+ 3. Admin menu is completely customizable. You can rename or remove the items from them menu and submenu, or add brand new buttons with custom links.
148
+ 4. Default WP grey colors can be refreshed with any colors! There are a lot of Colorizer's options that can be used to style the text, background, login, widgets, admin menu, top bar, footer, almost everything!
149
+ 5. Free and commercial predefined WP admin panel themes.
150
+ 6. Orange - free theme - login page.
151
+ 7. Dunes - commercial theme.
152
+ 8. Wasteland - commerical theme.
153
+ 9. Army - commercial theme.
154
 
155
  == Changelog ==
156
 
157
+ = 1.4.3 =
158
+ * Fixes admin bar compatibility issue with BuddyPress on public pages
159
+ * Dashboard -> Updates submenu item can be hidden now
160
+ * Added address bar option for debugging
161
+
162
  = 1.4.2 =
163
  * Internal links changes, support for the new support site domain
164
 
410
 
411
  == Upgrade Notice ==
412
 
413
+ = 1.4.3 =
414
+ * Fixed some issues
415
+
416
  = 1.4.2 =
417
  * Internal links changes
418
 
screenshot-1.jpg CHANGED
Binary file
screenshot-5.jpg ADDED
Binary file
screenshot-6.jpg ADDED
Binary file
screenshot-7.jpg ADDED
Binary file
screenshot-8.jpg ADDED
Binary file
screenshot-9.jpg ADDED
Binary file
style/agca.css ADDED
File without changes