Absolutely Glamorous Custom Admin - Version 1.2.6.2

Version Description

  • Added custom brand logo url
  • Added %BLOG% variables for custom urls
  • Option for removing custom admin menu settings in export
Download this release

Release Info

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

Code changes from version 1.2.6.1 to 1.2.6.2

Files changed (4) hide show
  1. plugin.php +70 -13
  2. readme.txt +36 -12
  3. script/ag_script.js +14 -4
  4. style/ag_style.css +7 -1
plugin.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: AG Custom Admin
4
  Plugin URI: http://wordpress.org/extend/plugins/ag-custom-admin
5
  Description: Hide or change items in admin panel. Customize buttons from admin menu. Colorize admin and login page with custom colors.
6
  Author: Argonius
7
- Version: 1.2.6.1
8
  Author URI: http://wordpress.argonius.com/ag-custom-admin
9
 
10
  Copyright 2011. Argonius (email : info@argonius.com)
@@ -48,7 +48,7 @@ class AGCA{
48
  /*Initialize properties*/
49
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
50
  //fb($this->colorizer);
51
- $this->agca_version = "1.2.6.1";
52
  }
53
  // Add donate and support information
54
  function jk_filter_plugin_links($links, $file)
@@ -126,7 +126,9 @@ class AGCA{
126
  register_setting( 'agca-options-group', 'agca_privacy_options' );
127
  register_setting( 'agca-options-group', 'agca_header_logo' );
128
  register_setting( 'agca-options-group', 'agca_header_logo_custom' );
129
- register_setting( 'agca-options-group', 'agca_wp_logo_custom' );
 
 
130
  register_setting( 'agca-options-group', 'agca_site_heading' );
131
  register_setting( 'agca-options-group', 'agca_custom_site_heading' );
132
  register_setting( 'agca-options-group', 'agca_update_bar' );
@@ -179,6 +181,7 @@ class AGCA{
179
  register_setting( 'agca-options-group', 'agca_admin_menu_submenu_round' );
180
  register_setting( 'agca-options-group', 'agca_admin_menu_submenu_round_size' );
181
  register_setting( 'agca-options-group', 'agca_admin_menu_brand' );
 
182
  register_setting( 'agca-options-group', 'ag_edit_adminmenu_json' );
183
  register_setting( 'agca-options-group', 'ag_add_adminmenu_json' );
184
  register_setting( 'agca-options-group', 'ag_colorizer_json' );
@@ -232,6 +235,7 @@ class AGCA{
232
  delete_option( 'agca_header_logo' );
233
  delete_option( 'agca_header_logo_custom' );
234
  delete_option( 'agca_wp_logo_custom' );
 
235
  delete_option( 'agca_site_heading' );
236
  delete_option( 'agca_custom_site_heading' );
237
  delete_option( 'agca_update_bar' );
@@ -283,6 +287,7 @@ class AGCA{
283
  delete_option( 'agca_admin_menu_submenu_round' );
284
  delete_option( 'agca_admin_menu_submenu_round_size' );
285
  delete_option( 'agca_admin_menu_brand' );
 
286
  delete_option( 'ag_edit_adminmenu_json' );
287
  delete_option( 'ag_add_adminmenu_json' );
288
  delete_option( 'ag_colorizer_json' );
@@ -309,6 +314,7 @@ class AGCA{
309
  'agca_header_logo',
310
  'agca_header_logo_custom',
311
  'agca_wp_logo_custom',
 
312
  'agca_site_heading',
313
  'agca_custom_site_heading',
314
  'agca_update_bar',
@@ -353,6 +359,7 @@ class AGCA{
353
  'agca_admin_menu_submenu_round',
354
  'agca_admin_menu_submenu_round_size',
355
  'agca_admin_menu_brand',
 
356
  'ag_edit_adminmenu_json',
357
  'ag_add_adminmenu_json',
358
  'ag_colorizer_json',
@@ -422,11 +429,22 @@ class AGCA{
422
 
423
  function exportSettings(){
424
  $str = "";
 
 
 
 
 
 
 
425
 
426
  foreach ($_POST as $key => $value) {
427
  if ($this->startsWith($key,'ag')||$this->startsWith($key,'color')) {
428
- $str .=$key. ":".$value."|^|^|";
429
- }
 
 
 
 
430
  }
431
 
432
  $filename = 'AGCA_Settings_'.date("Y-M-d_H-i-s").'.agca';
@@ -555,7 +573,7 @@ class AGCA{
555
  }
556
  setTimeout("initJQuery()", 50);
557
  } else {
558
- $(function() {
559
  try
560
  {
561
  <?php $this->print_admin_bar_scripts(); ?>
@@ -673,7 +691,14 @@ class AGCA{
673
 
674
  jQuery("#wpadminbar #wp-admin-bar-root-default > #wp-admin-bar-wp-logo .ab-item").attr('title','');
675
  }
676
- <?php }?>
 
 
 
 
 
 
 
677
  <?php if(get_option('agca_site_heading')==true){ ?>
678
  jQuery("#wphead #site-heading").css("display","none");
679
  <?php } ?>
@@ -867,7 +892,21 @@ try
867
  }
868
  jQuery("#adminmenu").before('<div '+additionalStyles+' id="sidebar_adminmenu_logo"><img width="145" src="<?php echo get_option('agca_admin_menu_brand'); ?>" /></div>');
869
 
870
- <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
871
  <?php if(get_option('agca_admin_menu_submenu_round')==true){ ?>
872
  jQuery("#adminmenu div.wp-submenu").css("border-radius","<?php echo get_option('agca_admin_menu_submenu_round_size'); ?>px");
873
  <?php } ?>
@@ -1200,10 +1239,9 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
1200
  });
1201
  <?php } ?>
1202
  <?php if(get_option('agca_login_photo_href')==true){ ?>
1203
- var $href = "<?php echo get_option('agca_login_photo_href'); ?>";
1204
- if($href == "%BLOG%"){
1205
- $href = "<?php echo get_bloginfo('wpurl'); ?>";
1206
- }
1207
  jQuery("#login h1 a").attr("href",$href);
1208
  <?php } ?>
1209
  <?php if(get_option('agca_login_photo_remove')==true){ ?>
@@ -1353,13 +1391,22 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
1353
  <?php } ?>
1354
  <tr valign="center">
1355
  <th >
1356
- <label title="Change default WordPress logo with custom image." for="agca_wp_logo_custom">Change WordPress logo</label>
1357
  </th>
1358
  <td>
1359
  <input id="agca_wp_logo_custom" title="If this field is not empty, image from provided url will be visible in top bar" type="text" size="47" name="agca_wp_logo_custom" value="<?php echo get_option('agca_wp_logo_custom'); ?>" /><input type="button" onClick="jQuery('#agca_wp_logo_custom').val('');" value="Clear" />
1360
  &nbsp;<p><i>Put here an URL of the new top bar image ( maximum height = 28px)</i>.</p>
1361
  </td>
1362
  </tr>
 
 
 
 
 
 
 
 
 
1363
  <tr valign="center">
1364
  <th >
1365
  <label title="Add custom image on the top of admin content." for="agca_header_logo_custom">Custom header image</label>
@@ -1902,6 +1949,15 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
1902
  &nbsp;<p><i>Put here URL of custom branding logo image. Image can be of any size and type</i>.</p>
1903
  </td>
1904
  </tr>
 
 
 
 
 
 
 
 
 
1905
  <tr valign="center">
1906
  <td colspan="2">
1907
  <div class="ag_table_heading"><h3 tabindex="0">Add New Menu Items</h3></div>
@@ -2143,6 +2199,7 @@ jQuery('#ag_add_adminmenu').append(buttonsJq);
2143
  <label title="Export/import settings" for="agca_export_import">Export / import settings</label>
2144
  </th>
2145
  <td id="import_file_area">
 
2146
  <input type="button" name="agca_export_settings" value="Export Settings" onclick="exportSettings();"/></br>
2147
  <input type="file" id="settings_import_file" name="settings_import_file" style="display: none"/>
2148
  <input type="hidden" id="_agca_import_settings" name="_agca_import_settings" value="false" />
4
  Plugin URI: http://wordpress.org/extend/plugins/ag-custom-admin
5
  Description: Hide or change items in admin panel. Customize buttons from admin menu. Colorize admin and login page with custom colors.
6
  Author: Argonius
7
+ Version: 1.2.6.2
8
  Author URI: http://wordpress.argonius.com/ag-custom-admin
9
 
10
  Copyright 2011. Argonius (email : info@argonius.com)
48
  /*Initialize properties*/
49
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
50
  //fb($this->colorizer);
51
+ $this->agca_version = "1.2.6.2";
52
  }
53
  // Add donate and support information
54
  function jk_filter_plugin_links($links, $file)
126
  register_setting( 'agca-options-group', 'agca_privacy_options' );
127
  register_setting( 'agca-options-group', 'agca_header_logo' );
128
  register_setting( 'agca-options-group', 'agca_header_logo_custom' );
129
+ register_setting( 'agca-options-group', 'agca_wp_logo_custom' );
130
+ register_setting( 'agca-options-group', 'agca_wp_logo_custom_link' );
131
+
132
  register_setting( 'agca-options-group', 'agca_site_heading' );
133
  register_setting( 'agca-options-group', 'agca_custom_site_heading' );
134
  register_setting( 'agca-options-group', 'agca_update_bar' );
181
  register_setting( 'agca-options-group', 'agca_admin_menu_submenu_round' );
182
  register_setting( 'agca-options-group', 'agca_admin_menu_submenu_round_size' );
183
  register_setting( 'agca-options-group', 'agca_admin_menu_brand' );
184
+ register_setting( 'agca-options-group', 'agca_admin_menu_brand_link' );
185
  register_setting( 'agca-options-group', 'ag_edit_adminmenu_json' );
186
  register_setting( 'agca-options-group', 'ag_add_adminmenu_json' );
187
  register_setting( 'agca-options-group', 'ag_colorizer_json' );
235
  delete_option( 'agca_header_logo' );
236
  delete_option( 'agca_header_logo_custom' );
237
  delete_option( 'agca_wp_logo_custom' );
238
+ delete_option( 'agca_wp_logo_custom_link' );
239
  delete_option( 'agca_site_heading' );
240
  delete_option( 'agca_custom_site_heading' );
241
  delete_option( 'agca_update_bar' );
287
  delete_option( 'agca_admin_menu_submenu_round' );
288
  delete_option( 'agca_admin_menu_submenu_round_size' );
289
  delete_option( 'agca_admin_menu_brand' );
290
+ delete_option( 'agca_admin_menu_brand_link' );
291
  delete_option( 'ag_edit_adminmenu_json' );
292
  delete_option( 'ag_add_adminmenu_json' );
293
  delete_option( 'ag_colorizer_json' );
314
  'agca_header_logo',
315
  'agca_header_logo_custom',
316
  'agca_wp_logo_custom',
317
+ 'agca_wp_logo_custom_link',
318
  'agca_site_heading',
319
  'agca_custom_site_heading',
320
  'agca_update_bar',
359
  'agca_admin_menu_submenu_round',
360
  'agca_admin_menu_submenu_round_size',
361
  'agca_admin_menu_brand',
362
+ 'agca_admin_menu_brand_link',
363
  'ag_edit_adminmenu_json',
364
  'ag_add_adminmenu_json',
365
  'ag_colorizer_json',
429
 
430
  function exportSettings(){
431
  $str = "";
432
+
433
+ $include_menu_settings = false;
434
+ if(isset($_POST['export_settings_include_admin_menu'])){
435
+ if($_POST['export_settings_include_admin_menu'] == 'on'){
436
+ $include_menu_settings = true;
437
+ }
438
+ }
439
 
440
  foreach ($_POST as $key => $value) {
441
  if ($this->startsWith($key,'ag')||$this->startsWith($key,'color')) {
442
+ if($this->startsWith($key,'ag_edit_adminmenu')){
443
+ if($include_menu_settings) $str .=$key. ":".$value."|^|^|";
444
+ }else{
445
+ $str .=$key. ":".$value."|^|^|";
446
+ }
447
+ }
448
  }
449
 
450
  $filename = 'AGCA_Settings_'.date("Y-M-d_H-i-s").'.agca';
573
  }
574
  setTimeout("initJQuery()", 50);
575
  } else {
576
+ jQuery(function() {
577
  try
578
  {
579
  <?php $this->print_admin_bar_scripts(); ?>
691
 
692
  jQuery("#wpadminbar #wp-admin-bar-root-default > #wp-admin-bar-wp-logo .ab-item").attr('title','');
693
  }
694
+ <?php }?>
695
+ <?php if(get_option('agca_wp_logo_custom_link')!=""){ ?>
696
+ if(isWPHigherOrEqualThan("3.3")){
697
+ var href = "<?php echo get_option('agca_wp_logo_custom_link'); ?>";
698
+ href = href.replace("%BLOG%", "<?php echo get_bloginfo('wpurl'); ?>");
699
+ jQuery("li#wp-admin-bar-wp-logo a.ab-item").attr('href',href);
700
+ }
701
+ <?php }?>
702
  <?php if(get_option('agca_site_heading')==true){ ?>
703
  jQuery("#wphead #site-heading").css("display","none");
704
  <?php } ?>
892
  }
893
  jQuery("#adminmenu").before('<div '+additionalStyles+' id="sidebar_adminmenu_logo"><img width="145" src="<?php echo get_option('agca_admin_menu_brand'); ?>" /></div>');
894
 
895
+ <?php } ?>
896
+ <?php if(get_option('agca_admin_menu_brand_link')!=""){ ?>
897
+
898
+ var href = "<?php echo get_option('agca_admin_menu_brand_link'); ?>";
899
+ href = href.replace("%BLOG%", "<?php echo get_bloginfo('wpurl'); ?>");
900
+
901
+ jQuery("#sidebar_adminmenu_logo").attr('onclick','window.open(\"'+ href+ '\");');
902
+ jQuery("#sidebar_adminmenu_logo").attr('title',href);
903
+
904
+ <?php }else{ ?>
905
+ href = "<?php echo get_bloginfo('wpurl'); ?>";
906
+ jQuery("#sidebar_adminmenu_logo").attr('onclick','window.open(\"'+ href+ '\");');
907
+ jQuery("#sidebar_adminmenu_logo").attr('title',href);
908
+ <?php } ?>
909
+
910
  <?php if(get_option('agca_admin_menu_submenu_round')==true){ ?>
911
  jQuery("#adminmenu div.wp-submenu").css("border-radius","<?php echo get_option('agca_admin_menu_submenu_round_size'); ?>px");
912
  <?php } ?>
1239
  });
1240
  <?php } ?>
1241
  <?php if(get_option('agca_login_photo_href')==true){ ?>
1242
+ var $href = "<?php echo get_option('agca_login_photo_href'); ?>";
1243
+ $href = $href.replace("%BLOG%", "<?php echo get_bloginfo('wpurl'); ?>");
1244
+
 
1245
  jQuery("#login h1 a").attr("href",$href);
1246
  <?php } ?>
1247
  <?php if(get_option('agca_login_photo_remove')==true){ ?>
1391
  <?php } ?>
1392
  <tr valign="center">
1393
  <th >
1394
+ <label title="Change default WordPress logo with custom image." for="agca_wp_logo_custom">Change admin bar logo</label>
1395
  </th>
1396
  <td>
1397
  <input id="agca_wp_logo_custom" title="If this field is not empty, image from provided url will be visible in top bar" type="text" size="47" name="agca_wp_logo_custom" value="<?php echo get_option('agca_wp_logo_custom'); ?>" /><input type="button" onClick="jQuery('#agca_wp_logo_custom').val('');" value="Clear" />
1398
  &nbsp;<p><i>Put here an URL of the new top bar image ( maximum height = 28px)</i>.</p>
1399
  </td>
1400
  </tr>
1401
+ <tr valign="center">
1402
+ <th>
1403
+ <label title="Change admin bar logo link." for="agca_wp_logo_custom">Change admin bar logo link</label>
1404
+ </th>
1405
+ <td>
1406
+ <input id="agca_wp_logo_custom_link" type="text" size="47" name="agca_wp_logo_custom_link" value="<?php echo get_option('agca_wp_logo_custom_link'); ?>" /><input type="button" onClick="jQuery('#agca_wp_logo_custom_link').val('');" value="Clear" />
1407
+ &nbsp;<p><i>Put here a link for admin bar logo (Use %BLOG% for blog URL)</i>.</p>
1408
+ </td>
1409
+ </tr>
1410
  <tr valign="center">
1411
  <th >
1412
  <label title="Add custom image on the top of admin content." for="agca_header_logo_custom">Custom header image</label>
1949
  &nbsp;<p><i>Put here URL of custom branding logo image. Image can be of any size and type</i>.</p>
1950
  </td>
1951
  </tr>
1952
+ <tr valign="center">
1953
+ <th>
1954
+ <label title="Change branding logo link." for="agca_admin_menu_brand_link">Change branding logo link.</label>
1955
+ </th>
1956
+ <td>
1957
+ <input id="agca_admin_menu_brand_link" type="text" size="47" name="agca_admin_menu_brand_link" value="<?php echo get_option('agca_admin_menu_brand_link'); ?>" /><input type="button" onClick="jQuery('#agca_admin_menu_brand_link').val('');" value="Clear" />
1958
+ &nbsp;<p><i>Put here a link for branding logo (Use %BLOG% for blog URL)</i>.</p>
1959
+ </td>
1960
+ </tr>
1961
  <tr valign="center">
1962
  <td colspan="2">
1963
  <div class="ag_table_heading"><h3 tabindex="0">Add New Menu Items</h3></div>
2199
  <label title="Export/import settings" for="agca_export_import">Export / import settings</label>
2200
  </th>
2201
  <td id="import_file_area">
2202
+ <div id="export_settings_additional" style="display: none" ><input type="checkbox" id="export_settings_include_admin_menu" name="export_settings_include_admin_menu" />&nbsp;<label title="Includes 'Admin Menu' configuration in exported settings.</br>Include admin menu settings only if your admin menu looks the same on multiple sites.</br>If configurations are different, imported menu settings could be wrong. In that case, use 'Reset Settings' button from 'Admin Menu' section.</br>(Custom buttons and menu configuration will be included anyway)">Include Admin Menu(?)</label></div>
2203
  <input type="button" name="agca_export_settings" value="Export Settings" onclick="exportSettings();"/></br>
2204
  <input type="file" id="settings_import_file" name="settings_import_file" style="display: none"/>
2205
  <input type="hidden" id="_agca_import_settings" name="_agca_import_settings" value="false" />
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: argonius
3
  Donate link: http://wordpress.argonius.com/donate
4
  Tags: admin, customize, hide, change admin
5
  Requires at least: 3.0
6
- Tested up to: 3.3.2
7
- Stable tag: 1.2.5.4
8
 
9
  Hide or change items in admin panel. Customize buttons from admin menu. Colorize admin and login page with custom colors.
10
 
@@ -16,12 +16,16 @@ Here is the list of options:
16
 
17
  Admin Bar Options
18
  - Hide admin bar completely
19
- - Hide Privacy link (link next to heading in admin bar)
20
- - Hide WordPress logo in admin bar
21
- - Add custom logo image in admin bar
22
- - Custom blog heading in admin bar
 
 
 
23
  - Hide WordPress update notification bar
24
  - Hide default blog heading in admin bar
 
25
  - Hide Screen Options menu
26
  - Hide Help menu
27
  - Hide Favorite Actions
@@ -41,20 +45,32 @@ Here is the list of options:
41
  - Hide dashboard widgets
42
 
43
  Login Page Options
44
- - Hide Login top bar completely
45
- - Change Login top bar text
46
- - Change/remove Login header image
47
- - Change hyperlink on Login image
48
- - Hide Login header image
49
 
50
  Admin Menu Options
51
  - Rename menu and submenu items
52
  - Remove menu and submenu items
53
  - Add new buttons with custom links
54
  - Remove icons from admin menu buttons
 
 
 
 
 
55
 
56
  Colorizer
57
- - Change background and text colors in admin and login page
 
 
 
 
 
 
 
58
 
59
 
60
  For more information about the plugin please see: http://wordpress.argonius.com/ag-custom-admin
@@ -92,6 +108,11 @@ Try clearing browser's cache. If that does not work, go to browser's console and
92
 
93
  == Changelog ==
94
 
 
 
 
 
 
95
  = 1.2.6.1 =
96
  * Bug fixes
97
  * Added +/- indicators to admin menu editor
@@ -204,6 +225,9 @@ Try clearing browser's cache. If that does not work, go to browser's console and
204
 
205
  == Upgrade Notice ==
206
 
 
 
 
207
  = 1.2.6.1 =
208
  Fixing bugs from 1.2.6 version
209
 
3
  Donate link: http://wordpress.argonius.com/donate
4
  Tags: admin, customize, hide, change admin
5
  Requires at least: 3.0
6
+ Tested up to: 3.4
7
+ Stable tag: 1.2.6.2
8
 
9
  Hide or change items in admin panel. Customize buttons from admin menu. Colorize admin and login page with custom colors.
10
 
16
 
17
  Admin Bar Options
18
  - Hide admin bar completely
19
+ - Change admin bar logo and link
20
+ - Hide admin bar WordPress logo
21
+ - Add custom admin bar logo
22
+ - Hide admin bar dropdown menus
23
+ - Hide "New" dropdown items
24
+ - Hide comments from admin bar
25
+ - Hide updates from admin bar
26
  - Hide WordPress update notification bar
27
  - Hide default blog heading in admin bar
28
+ - Change admin bar heading text
29
  - Hide Screen Options menu
30
  - Hide Help menu
31
  - Hide Favorite Actions
45
  - Hide dashboard widgets
46
 
47
  Login Page Options
48
+ - Hide back to blog completely
49
+ - Change login image
50
+ - Change hyperlink on login image
51
+ - Hide login image
52
+ - Round corners on login boxes
53
 
54
  Admin Menu Options
55
  - Rename menu and submenu items
56
  - Remove menu and submenu items
57
  - Add new buttons with custom links
58
  - Remove icons from admin menu buttons
59
+ - Remove spaces between admin menu buttons
60
+ - Remove admin menu arrow on rollower
61
+ - Round admin submenu popups
62
+ - Add custom branding image above the admin menu
63
+ - Add custom link to branding image
64
 
65
  Colorizer
66
+ - Change background and text colors on admin and login page
67
+ - Change admin menu colors
68
+ - Change widget colors
69
+
70
+ Advanced
71
+ - Add custom CSS
72
+ - Add custom JavaScript
73
+ - Export/import customization settings
74
 
75
 
76
  For more information about the plugin please see: http://wordpress.argonius.com/ag-custom-admin
108
 
109
  == Changelog ==
110
 
111
+ = 1.2.6.2 =
112
+ * Added custom brand logo url
113
+ * Added %BLOG% variables for custom urls
114
+ * Option for removing custom admin menu settings in export
115
+
116
  = 1.2.6.1 =
117
  * Bug fixes
118
  * Added +/- indicators to admin menu editor
225
 
226
  == Upgrade Notice ==
227
 
228
+ = 1.2.6.2 =
229
+ Ready for WordPress 3.4. A lot of improvements in 1.2.6 series, fixed issues with top bar, caching on updates, better styles... and new features: export/import new colorizer options, better admin menu styles, custom css, custom js, admin bar on site pages.. Fixed bugs since 1.2.6 version. Wrapped up 1.2.6 series release.
230
+
231
  = 1.2.6.1 =
232
  Fixing bugs from 1.2.6 version
233
 
script/ag_script.js CHANGED
@@ -263,10 +263,20 @@ function createTargetCombo(target,clas){
263
  }
264
 
265
  function exportSettings(){
266
- jQuery('#agca_form').attr('action','tools.php?page=ag-custom-admin/plugin.php');
267
- jQuery('#agca_form #_agca_import_settings').val("false");
268
- jQuery('#agca_form #_agca_export_settings').val("true");
269
- jQuery('#agca_form').submit();
 
 
 
 
 
 
 
 
 
 
270
  }
271
 
272
  function importSettings(){
263
  }
264
 
265
  function exportSettings(){
266
+ if(jQuery('#export_settings_additional').css("display") == "none"){
267
+ jQuery('#export_settings_additional').show("slide");
268
+ }else{
269
+ jQuery('#agca_form').attr('action','tools.php?page=ag-custom-admin/plugin.php');
270
+ jQuery('#agca_form #_agca_import_settings').val("false");
271
+ jQuery('#agca_form #_agca_export_settings').val("true");
272
+
273
+
274
+ jQuery('#ag_add_adminmenu_json').val('');
275
+ jQuery('#ag_edit_adminmenu_json').val('');
276
+
277
+
278
+ jQuery('#agca_form').submit();
279
+ }
280
  }
281
 
282
  function importSettings(){
style/ag_style.css CHANGED
@@ -55,7 +55,7 @@ div#AGToolTipDiv {
55
  position: absolute;
56
  top: 100px;
57
  left: 200px;
58
- height: 20px;
59
  border: 1px solid #FFFF00;
60
  background-color: #FFFFD4;
61
  display: none;
@@ -134,6 +134,7 @@ td.ag_admin_menu_parent:hover{
134
  #sidebar_adminmenu_logo{
135
  margin-bottom: -33px;
136
  min-height: 28px;
 
137
  }
138
 
139
  .agcaMenuEditorPlusMinus .plus{
@@ -149,3 +150,8 @@ td.ag_admin_menu_parent:hover{
149
  width:10px;
150
  }
151
 
 
 
 
 
 
55
  position: absolute;
56
  top: 100px;
57
  left: 200px;
58
+ height: auto;
59
  border: 1px solid #FFFF00;
60
  background-color: #FFFFD4;
61
  display: none;
134
  #sidebar_adminmenu_logo{
135
  margin-bottom: -33px;
136
  min-height: 28px;
137
+ cursor: pointer;
138
  }
139
 
140
  .agcaMenuEditorPlusMinus .plus{
150
  width:10px;
151
  }
152
 
153
+ #export_settings_additional{
154
+ float: left;
155
+ margin-top:3px;
156
+ width: 148px;
157
+ }