Absolutely Glamorous Custom Admin - Version 1.0.1

Version Description

  • Changed text in Settings page to be more clearer.
  • Updated list of options on plugin page
  • Removed blank characters in textareas
Download this release

Release Info

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

Code changes from version 1.0 to 1.0.1

Files changed (2) hide show
  1. plugin.php +32 -34
  2. readme.txt +41 -20
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.
6
  Author: Argonius
7
- Version: 1.0
8
  Author URI: http://wordpress.argonius.com/ag-custom-admin
9
 
10
  Copyright 2011. Argonius (email : info@argonius.com)
@@ -215,6 +215,9 @@ class AGCA{
215
  .underline_text{
216
  text-decoration:underline;
217
  }
 
 
 
218
  </style>
219
  <?php
220
  }
@@ -255,43 +258,43 @@ class AGCA{
255
  function agca_admin_page() {
256
  ?>
257
  <div class="wrap">
258
- <h1>AG Custom Admin Options</h1>
259
  <br />
260
  <form method="post" action="options.php">
261
  <?php settings_fields( 'agca-options-group' ); ?>
262
- <table class="form-table">
263
  <tr valign="center">
264
- <th scope="row">
265
- <h2>Header Options</h2>
266
  </th>
267
  </tr>
268
  <br />
269
  <tr valign="center">
270
- <td scope="row">
271
- <label for="agca_header"><p><strong>Hide header completely</strong></p></label>
272
  </td>
273
- <td scope="row">
274
  <input type="checkbox" name="agca_header" value="true" <?php if (get_option('agca_header')==true) echo 'checked="checked" '; ?> />
275
  </td>
276
  </tr>
277
  <tr valign="center">
278
- <th scope="row">
279
  <br /><p class="underline_text">On left:</p>
280
  </th>
281
  <td>
282
  </td>
283
  </tr>
284
  <tr valign="center">
285
- <th scope="row">
286
- <label for="agca_privacy_options">Hide Privacy link</label>
287
  </th>
288
  <td>
289
  <input type="checkbox" name="agca_privacy_options" value="true" <?php if (get_option('agca_privacy_options')==true) echo 'checked="checked" '; ?> />
290
  </td>
291
  </tr>
292
  <tr valign="center">
293
- <th scope="row">
294
- <label for="agca_header_logo">Hide header logo</label>
295
  </th>
296
  <td>
297
  <input type="checkbox" name="agca_header_logo" value="true" <?php if (get_option('agca_header_logo')==true) echo 'checked="checked" '; ?> />
@@ -299,16 +302,15 @@ class AGCA{
299
  </tr>
300
  <tr valign="center">
301
  <th scope="row">
302
- <label for="agca_custom_site_heading">Custom site heading</label>
303
  </th>
304
  <td>
305
- <textarea rows="5" name="agca_custom_site_heading" cols="40"><?php echo htmlspecialchars(get_option('agca_custom_site_heading')); ?>
306
- </textarea><p><em><strong>Info: </strong>Use 'h1' and/or 'a' tag</em></p>
307
  </td>
308
  </tr>
309
  <tr valign="center">
310
  <th scope="row">
311
- <label for="agca_update_bar">Hide WP update to latest version notification</label>
312
  </th>
313
  <td>
314
  <input type="checkbox" name="agca_update_bar" value="true" <?php if (get_option('agca_update_bar')==true) echo 'checked="checked" '; ?> />
@@ -316,7 +318,7 @@ class AGCA{
316
  </tr>
317
  <tr valign="center">
318
  <th scope="row">
319
- <label for="agca_site_heading">Hide original site heading</label>
320
  </th>
321
  <td>
322
  <input type="checkbox" name="agca_site_heading" value="true" <?php if (get_option('agca_site_heading')==true) echo 'checked="checked" '; ?> />
@@ -324,7 +326,7 @@ class AGCA{
324
  </tr>
325
  <tr valign="center">
326
  <th scope="row">
327
- <br /><p class="underline_text">On right</p>
328
  </th>
329
  <td>
330
  </td>
@@ -375,8 +377,8 @@ class AGCA{
375
  </tr>
376
 
377
  <tr valign="center">
378
- <th scope="row">
379
- <br /><br /><br /><h2>Footer Options</h2>
380
  </th>
381
  <td>
382
  </td>
@@ -394,8 +396,7 @@ class AGCA{
394
  <label for="agca_footer_left">Change footer text</label>
395
  </th>
396
  <td>
397
- <textarea rows="5" name="agca_footer_left" cols="40"><?php echo htmlspecialchars(get_option('agca_footer_left')); ?>
398
- </textarea>
399
  </td>
400
  </tr>
401
  <tr valign="center">
@@ -410,20 +411,19 @@ class AGCA{
410
  <label for="agca_footer_right">Change version text</label>
411
  </th>
412
  <td>
413
- <textarea rows="5" name="agca_footer_right" cols="40"><?php echo htmlspecialchars(get_option('agca_footer_right')); ?>
414
- </textarea>
415
  </td>
416
  </tr>
417
  <tr valign="center">
418
  <th scope="row" colspan="2">
419
- <br /><br /><br /><h2>Dashboard Options</h2>
420
  </th>
421
  <td>
422
  </td>
423
  </tr>
424
  <tr valign="center">
425
  <th scope="row">
426
- <label for="agca_dashboard_icon">Hide Dashboard icon</label>
427
  </th>
428
  <td>
429
  <input type="checkbox" name="agca_dashboard_icon" value="true" <?php if (get_option('agca_dashboard_icon')==true) echo 'checked="checked" '; ?> />
@@ -431,22 +431,21 @@ class AGCA{
431
  </tr>
432
  <tr valign="center">
433
  <th scope="row">
434
- <label for="agca_dashboard_text">Change Dashboard text</label>
435
  </th>
436
  <td><input type="text" size="47" name="agca_dashboard_text" value="<?php echo get_option('agca_dashboard_text'); ?>" /></td>
437
  </tr>
438
  <tr valign="center">
439
  <th scope="row">
440
- <label for="agca_dashboard_text_paragraph">Add Dashboard paragraph text</label>
441
  </th>
442
  <td>
443
- <textarea rows="5" name="agca_dashboard_text_paragraph" cols="40"><?php echo htmlspecialchars(get_option('agca_dashboard_text_paragraph')); ?>
444
- </textarea>
445
  </td>
446
  </tr>
447
  <tr valign="center">
448
  <th scope="row">
449
- <label for="agca_menu_dashboard">Hide Dashboard from menu</label>
450
  </th>
451
  <td>
452
  <input type="checkbox" name="agca_menu_dashboard" value="true" <?php if (get_option('agca_menu_dashboard')==true) echo 'checked="checked" '; ?> />
@@ -476,8 +475,7 @@ class AGCA{
476
  <label for="agca_login_banner_text">Change Login top bar text</label>
477
  </th>
478
  <td>
479
- <textarea rows="5" name="agca_login_banner_text" cols="40"><?php echo htmlspecialchars(get_option('agca_login_banner_text')); ?>
480
- </textarea>&nbsp;<p><i>You should surround it with anchor tag &lt;a&gt;&lt;/a&gt;.</i></p>
481
  </td>
482
  </tr>
483
  <tr valign="center">
4
  Plugin URI: http://wordpress.org/extend/plugins/ag-custom-admin
5
  Description: Hide or change items in admin panel.
6
  Author: Argonius
7
+ Version: 1.0.1
8
  Author URI: http://wordpress.argonius.com/ag-custom-admin
9
 
10
  Copyright 2011. Argonius (email : info@argonius.com)
215
  .underline_text{
216
  text-decoration:underline;
217
  }
218
+ .form-table th{
219
+ width:300px;
220
+ }
221
  </style>
222
  <?php
223
  }
258
  function agca_admin_page() {
259
  ?>
260
  <div class="wrap">
261
+ <h1>AG Custom Admin Settings</h1>
262
  <br />
263
  <form method="post" action="options.php">
264
  <?php settings_fields( 'agca-options-group' ); ?>
265
+ <table class="form-table" width="500px">
266
  <tr valign="center">
267
+ <th scope="row" colspan="2">
268
+ <h2>Admin Bar Options</h2>
269
  </th>
270
  </tr>
271
  <br />
272
  <tr valign="center">
273
+ <td >
274
+ <label for="agca_header"><p><strong>Hide admin bar completely</strong></p></label>
275
  </td>
276
+ <td>
277
  <input type="checkbox" name="agca_header" value="true" <?php if (get_option('agca_header')==true) echo 'checked="checked" '; ?> />
278
  </td>
279
  </tr>
280
  <tr valign="center">
281
+ <th >
282
  <br /><p class="underline_text">On left:</p>
283
  </th>
284
  <td>
285
  </td>
286
  </tr>
287
  <tr valign="center">
288
+ <th >
289
+ <label for="agca_privacy_options">Hide Privacy link <br /> <em>(link next to heading in admin bar)</em></label>
290
  </th>
291
  <td>
292
  <input type="checkbox" name="agca_privacy_options" value="true" <?php if (get_option('agca_privacy_options')==true) echo 'checked="checked" '; ?> />
293
  </td>
294
  </tr>
295
  <tr valign="center">
296
+ <th >
297
+ <label for="agca_header_logo">Hide WordPress logo in admin bar</label>
298
  </th>
299
  <td>
300
  <input type="checkbox" name="agca_header_logo" value="true" <?php if (get_option('agca_header_logo')==true) echo 'checked="checked" '; ?> />
302
  </tr>
303
  <tr valign="center">
304
  <th scope="row">
305
+ <label for="agca_custom_site_heading">Custom blog heading in admin bar</label>
306
  </th>
307
  <td>
308
+ <textarea rows="5" name="agca_custom_site_heading" cols="40"><?php echo htmlspecialchars(get_option('agca_custom_site_heading')); ?></textarea><p><em><strong>Info: </strong>You can use HTML tags like 'h1' and/or 'a' tag</em></p>
 
309
  </td>
310
  </tr>
311
  <tr valign="center">
312
  <th scope="row">
313
+ <label for="agca_update_bar">Hide WordPress update notification bar</label>
314
  </th>
315
  <td>
316
  <input type="checkbox" name="agca_update_bar" value="true" <?php if (get_option('agca_update_bar')==true) echo 'checked="checked" '; ?> />
318
  </tr>
319
  <tr valign="center">
320
  <th scope="row">
321
+ <label for="agca_site_heading">Hide default blog heading in admin bar</label>
322
  </th>
323
  <td>
324
  <input type="checkbox" name="agca_site_heading" value="true" <?php if (get_option('agca_site_heading')==true) echo 'checked="checked" '; ?> />
326
  </tr>
327
  <tr valign="center">
328
  <th scope="row">
329
+ <br /><p class="underline_text">On right:</p>
330
  </th>
331
  <td>
332
  </td>
377
  </tr>
378
 
379
  <tr valign="center">
380
+ <th scope="row" colspan="2">
381
+ <br /><br /><br /><h2>Admin Footer Options</h2>
382
  </th>
383
  <td>
384
  </td>
396
  <label for="agca_footer_left">Change footer text</label>
397
  </th>
398
  <td>
399
+ <textarea rows="5" name="agca_footer_left" cols="40"><?php echo htmlspecialchars(get_option('agca_footer_left')); ?></textarea>
 
400
  </td>
401
  </tr>
402
  <tr valign="center">
411
  <label for="agca_footer_right">Change version text</label>
412
  </th>
413
  <td>
414
+ <textarea rows="5" name="agca_footer_right" cols="40"><?php echo htmlspecialchars(get_option('agca_footer_right')); ?></textarea>
 
415
  </td>
416
  </tr>
417
  <tr valign="center">
418
  <th scope="row" colspan="2">
419
+ <br /><br /><br /><h2>Dashboard Page Options</h2>
420
  </th>
421
  <td>
422
  </td>
423
  </tr>
424
  <tr valign="center">
425
  <th scope="row">
426
+ <label for="agca_dashboard_icon">Hide Dashboard heading icon</label>
427
  </th>
428
  <td>
429
  <input type="checkbox" name="agca_dashboard_icon" value="true" <?php if (get_option('agca_dashboard_icon')==true) echo 'checked="checked" '; ?> />
431
  </tr>
432
  <tr valign="center">
433
  <th scope="row">
434
+ <label for="agca_dashboard_text">Change Dashboard heading text</label>
435
  </th>
436
  <td><input type="text" size="47" name="agca_dashboard_text" value="<?php echo get_option('agca_dashboard_text'); ?>" /></td>
437
  </tr>
438
  <tr valign="center">
439
  <th scope="row">
440
+ <label for="agca_dashboard_text_paragraph">Add custom Dashboard content<br> <em>(text or HTML content)</em></label>
441
  </th>
442
  <td>
443
+ <textarea rows="5" name="agca_dashboard_text_paragraph" cols="40"><?php echo htmlspecialchars(get_option('agca_dashboard_text_paragraph')); ?></textarea>
 
444
  </td>
445
  </tr>
446
  <tr valign="center">
447
  <th scope="row">
448
+ <label for="agca_menu_dashboard">Hide Dashboard button from main menu</label>
449
  </th>
450
  <td>
451
  <input type="checkbox" name="agca_menu_dashboard" value="true" <?php if (get_option('agca_menu_dashboard')==true) echo 'checked="checked" '; ?> />
475
  <label for="agca_login_banner_text">Change Login top bar text</label>
476
  </th>
477
  <td>
478
+ <textarea rows="5" name="agca_login_banner_text" cols="40"><?php echo htmlspecialchars(get_option('agca_login_banner_text')); ?></textarea>&nbsp;<p><i>You should surround it with anchor tag &lt;a&gt;&lt;/a&gt;.</i></p>
 
479
  </td>
480
  </tr>
481
  <tr valign="center">
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.1.1
7
- Stable tag: 1.0
8
 
9
  Hide or change items in admin panel.
10
 
@@ -15,25 +15,38 @@ or Favorites dropdown menu.
15
 
16
  Here is the list of options:
17
 
18
- - Change text in admin header
19
- - Change text in admin footer
20
- - Hide admin header completely
21
- - Hide admin footer completely
22
- - Hide login image
23
- - Hide top login bar
24
- - Change Howdy text
25
- - Remove Howdy text
26
- - Change LogOut text
27
- - Change login photo. Add custom photo
28
- - Change text in login top bar
29
- - Change Dashboard text
30
- - Add Custom text on Dashboard page, or add custom HTML content.
31
- - Custom text supports HTML tags. You can add custom links to your website
32
- - Remove default header icon
33
- - Remove Favorites menu from header
34
- - Remove Help menu from header
35
- - Remove Screen options from header
36
- - Remove Dashboard button from admin menu
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
  For more information about the plugin please see: http://wordpress.argonius.com/ag-custom-admin
39
 
@@ -55,10 +68,18 @@ It is possible that WordPress usualy wraps that text with some HTML tags. In tha
55
 
56
  == Changelog ==
57
 
 
 
 
 
 
58
  = 1.0 =
59
  * Initial version
60
 
61
  == Upgrade Notice ==
62
 
 
 
 
63
  = 1.0 =
64
  Initial version.
4
  Tags: admin, customize, hide, change admin
5
  Requires at least: 3.0
6
  Tested up to: 3.1.1
7
+ Stable tag: 1.0.1
8
 
9
  Hide or change items in admin panel.
10
 
15
 
16
  Here is the list of options:
17
 
18
+ Admin Bar Options
19
+ - Hide admin bar completely
20
+ - Hide Privacy link (link next to heading in admin bar)
21
+ - Hide WordPress logo 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
28
+ - Change/remove Howdy text
29
+ - Change Log out text
30
+ - Log out link only
31
+
32
+ Admin Footer Options
33
+ - Hide footer completely
34
+ - Change footer text
35
+ - Change/remove footer version text
36
+
37
+ Dasboard Page Options
38
+ - Hide Dashboard heading icon
39
+ - Change Dashboard heading text
40
+ - Add custom Dashboard content
41
+ - Hide Dashboard button from main menu
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
 
51
  For more information about the plugin please see: http://wordpress.argonius.com/ag-custom-admin
52
 
68
 
69
  == Changelog ==
70
 
71
+ = 1.0.1 =
72
+ * Changed text in Settings page to be more clearer.
73
+ * Updated list of options on plugin page
74
+ * Removed blank characters in textareas
75
+
76
  = 1.0 =
77
  * Initial version
78
 
79
  == Upgrade Notice ==
80
 
81
+ = 1.0.1 =
82
+ Better explainations in Settings page. No changes in functionality.
83
+
84
  = 1.0 =
85
  Initial version.