Version Description
- AGCA Re-branding
- Added support for shortcodes in custom dashboard content
Download this release
Release Info
Developer | cusmin |
Plugin | Absolutely Glamorous Custom Admin |
Version | 6.0 |
Comparing to | |
See all releases |
Code changes from version 5.7.4 to 6.0
- ag-custom-admin.html +3 -3
- images/agca.png +0 -0
- plugin.php +96 -97
- readme.txt +24 -23
- script/ag_script.js +3 -3
- style/ag_style.css +191 -91
ag-custom-admin.html
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<html>
|
2 |
-
<head><title>WordPress Admin Themes -
|
3 |
<body>
|
4 |
-
<h1><a href="http://wordpress.org/plugins/ag-custom-admin/">What is
|
5 |
-
<p>
|
6 |
<h2>Admin Bar Options</h2>
|
7 |
<ul>
|
8 |
<li>Hide admin bar completely</li>
|
1 |
<html>
|
2 |
+
<head><title>WordPress Admin Themes - Absolutely Glamorous Custom Admin Plugin</title></head>
|
3 |
<body>
|
4 |
+
<h1><a href="http://wordpress.org/plugins/ag-custom-admin/">What is Absolutely Glamorous Custom Admin?</a></h1>
|
5 |
+
<p>Absolutely Glamorous Custom Admin is plugin for WordPress that can be used for WordPress admin panel customizations. There are dozens of options available for customizations:</p>
|
6 |
<h2>Admin Bar Options</h2>
|
7 |
<ul>
|
8 |
<li>Hide admin bar completely</li>
|
images/agca.png
CHANGED
Binary file
|
plugin.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
Plugin Name:
|
4 |
Plugin URI: https://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:
|
7 |
-
Version:
|
8 |
Text Domain: ag-custom-admin
|
9 |
Domain Path: /languages
|
10 |
-
Author URI: https://
|
11 |
|
12 |
Copyright 2017. WAP (email : info@wordpressadminpanel.com)
|
13 |
|
@@ -73,7 +73,7 @@ class AGCA{
|
|
73 |
/*Initialize properties*/
|
74 |
$this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
|
75 |
|
76 |
-
$this->agca_version = "
|
77 |
|
78 |
//TODO:upload images programmatically
|
79 |
}
|
@@ -91,9 +91,9 @@ class AGCA{
|
|
91 |
$links[] = '<a href="tools.php?page=ag-custom-admin/plugin.php#general-settings">' . __('Settings', 'ag-custom-admin') . '</a>';
|
92 |
//$links[] = '<a href="tools.php?page=ag-custom-admin/plugin.php#ag-templates">' . __('Admin Themes', 'ag-custom-admin') . '</a>';
|
93 |
}
|
94 |
-
$links[] = '<a href="https://
|
95 |
-
$links[] = '<a href="https://cusmin.com/upgrade-to-cusmin?ref=plugins">' . __('Upgrade', 'ag-custom-admin') . '</a>';
|
96 |
-
$links[] = '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+
|
97 |
}
|
98 |
return $links;
|
99 |
}
|
@@ -243,7 +243,7 @@ class AGCA{
|
|
243 |
$this->verifyPostRequest();
|
244 |
function my_sideload_image() {
|
245 |
$remoteurl = $_POST['_agca_upload_image'];
|
246 |
-
$file = media_sideload_image( $remoteurl, 0 ,__("
|
247 |
try{
|
248 |
$fileparts = explode("src='", $file);
|
249 |
$url=explode("'",$fileparts[1]);
|
@@ -273,7 +273,7 @@ class AGCA{
|
|
273 |
if (is_multisite()) {
|
274 |
$blog_id = get_current_blog_id();
|
275 |
$user_id = get_current_user_id();
|
276 |
-
$msError = __('Please try temporary disabling POST verification. Go to
|
277 |
if (is_user_member_of_blog($user_id, $blog_id)) {
|
278 |
if (!current_user_can('manage_options')) {
|
279 |
_e('Multi-site: Current user is not recognized as administrator.', 'ag-custom-admin');
|
@@ -434,7 +434,7 @@ class AGCA{
|
|
434 |
try{
|
435 |
eval("<?php echo str_replace(array("\r\n", "\n", "\r"), ' ', get_option('agca_custom_js')); ?>");
|
436 |
}catch(e){
|
437 |
-
alert('
|
438 |
console.log(e);
|
439 |
}
|
440 |
</script>
|
@@ -825,7 +825,7 @@ class AGCA{
|
|
825 |
|
826 |
|
827 |
function agca_create_menu() {
|
828 |
-
add_management_page('
|
829 |
}
|
830 |
|
831 |
function agca_create_admin_button($name,$arr) {
|
@@ -1054,7 +1054,7 @@ class AGCA{
|
|
1054 |
var img_url = '<?php echo addslashes(get_option('agca_header_logo_custom')); ?>';
|
1055 |
|
1056 |
advanced_url = img_url;
|
1057 |
-
image = jQuery("<img style='max-width:98%;position:relative;'/>").attr("src",advanced_url);
|
1058 |
jQuery(image).load(function() {
|
1059 |
jQuery("#wpbody-content").prepend(image);
|
1060 |
});
|
@@ -1192,9 +1192,7 @@ class AGCA{
|
|
1192 |
if($selectedValue == $k){
|
1193 |
$selected = " selected=\"selected\" ";
|
1194 |
}
|
1195 |
-
|
1196 |
-
//$capabilitySelector .="<option val=\"$k\" $selected >".str_replace(' ', ' ', ucwords(str_replace('_', ' ', $k))) ."</option>\n";
|
1197 |
-
$capabilitySelector .="<option value=\"$k\" $selected >".$k."</option>\n";
|
1198 |
}
|
1199 |
|
1200 |
$this->admin_capabilities = "<select class=\"agca-selectbox\" id=\"agca_admin_capability\" name=\"agca_admin_capability\" val=\"upload_files\">".$capabilitySelector."</select>";
|
@@ -1354,10 +1352,10 @@ class AGCA{
|
|
1354 |
var agca_error_details = "___________________________________________________<br/>";
|
1355 |
agca_error_details += '<br/>' + msg +'<br/>source:' + url + '<br/>line:' + line + '<br/>';
|
1356 |
agca_error_details += "___________________________________________________<br/>";
|
1357 |
-
window.agca_error_details_text = agca_error_details + '<br/><?php _e('This JavaScript error can stop
|
1358 |
document.getElementsByTagName('html')[0].style.visibility = "visible";
|
1359 |
var errorDivHtml = '<div style="background: #f08080;border-radius: 3px;color: #ffffff;height: auto; margin-right: 13px;padding: 6px 14px;width: 450px;z-index: 99999; position:absolute;">\
|
1360 |
-
<?php _e('
|
1361 |
|
1362 |
var ph = document.getElementById('agca_error_placeholder');
|
1363 |
ph.innerHTML = errorDivHtml;
|
@@ -1383,7 +1381,7 @@ class AGCA{
|
|
1383 |
|
1384 |
if(typeof window.console === "object"){
|
1385 |
console.log("___________________________________________________");
|
1386 |
-
console.log("<?php _e('
|
1387 |
console.log(agca_error_details);
|
1388 |
}
|
1389 |
}
|
@@ -1845,7 +1843,7 @@ class AGCA{
|
|
1845 |
?>
|
1846 |
jQuery("#wpbody-content #dashboard-widgets-wrap").before('<div id="agca_custom_dashboard_content"></div>');
|
1847 |
|
1848 |
-
jQuery("#agca_custom_dashboard_content").html('<br /><?php echo preg_replace('/(\r\n|\r|\n)/', '\n', addslashes(wpautop(get_option('agca_dashboard_text_paragraph')))); ?>');
|
1849 |
<?php } ?>
|
1850 |
|
1851 |
<?php /*Remove Dashboard widgets*/ ?>
|
@@ -1926,7 +1924,7 @@ class AGCA{
|
|
1926 |
});
|
1927 |
<?php /*Only admin see button*/
|
1928 |
if (current_user_can($this->admin_capability())){ ?>
|
1929 |
-
jQuery('#adminmenu').append('<?php echo $this->agca_create_admin_button('
|
1930 |
<?php } ?>
|
1931 |
<?php } ?>
|
1932 |
|
@@ -2173,7 +2171,7 @@ class AGCA{
|
|
2173 |
<script type="text/javascript" src="<?php echo $this->pluginUrl(); ?>script/agca_tmpl.js?ver=<?php echo $wpversion; ?>"></script>
|
2174 |
<?php //includes ?>
|
2175 |
<div class="wrap">
|
2176 |
-
<h1 id="agca-title"><img src="<?php echo plugins_url( 'images/agca.png', __FILE__ ) ?>" /><span class="title">
|
2177 |
<div id="agca-social" style="float:right; margin-top: -23px;">
|
2178 |
<div class="fb-like" data-href="https://www.facebook.com/AG-Custom-Admin-892218404232342/timeline" data-layout="button" data-action="like" data-show-faces="true" data-share="true"></div>
|
2179 |
</div>
|
@@ -2203,10 +2201,10 @@ class AGCA{
|
|
2203 |
<li class="normal" ><a href="#admin-menu-settings" title="<?php _e('Settings for main admin menu', 'ag-custom-admin')?>"><?php _e('Admin Menu', 'ag-custom-admin')?></a></li>
|
2204 |
<li class="normal"><a href="#ag-colorizer-settings" title="<?php _e('Colorizer settings', 'ag-custom-admin')?>"><?php _e('Colorizer', 'ag-custom-admin')?></a></li>
|
2205 |
<li class="normal"><a href="#ag-advanced" title="<?php _e('My custom scripts', 'ag-custom-admin')?>"><?php _e('Advanced', 'ag-custom-admin')?></a></li>
|
2206 |
-
<li class="normal" style=""><a
|
2207 |
<li class="normal upgrade"><a href="https://cusmin.com/upgrade-to-cusmin?ref=menu" target="_blank" title="<?php _e('Upgrade to Cusmin', 'ag-custom-admin')?>"><img src="<?php echo plugins_url( 'images/cusminlogo.png', __FILE__ ) ?>" /><?php _e('Upgrade', 'ag-custom-admin')?></a></li>
|
2208 |
|
2209 |
-
<li style="background:none;border:none;padding:0;"><a id="agca_donate_button" target="_blank" style="margin-left:8px" title="<?php _e('
|
2210 |
</li>
|
2211 |
<li style="background:none;border:none;padding:0;padding-left:10px;margin-top:-7px"></li>
|
2212 |
</ul>
|
@@ -2216,7 +2214,7 @@ class AGCA{
|
|
2216 |
</ul>
|
2217 |
</div>
|
2218 |
<div class="agca-clear"></div>
|
2219 |
-
<div id="section-cusmin" style="display:none;"><?php _e('All
|
2220 |
<div id="section_general" style="display:none" class="ag_section">
|
2221 |
<h2 class="section_title"><?php _e('General Settings', 'ag-custom-admin')?></h2>
|
2222 |
<?php $this->show_save_button_upper(); ?>
|
@@ -2235,14 +2233,14 @@ class AGCA{
|
|
2235 |
$this->print_checkbox(array(
|
2236 |
'hide'=>true,
|
2237 |
'name'=>'agca_screen_options_menu',
|
2238 |
-
'label'=>__('"Screen Options" menu', 'ag-custom-admin'),
|
2239 |
'title'=>__('Hides the menu from the admin pages (located on the top right corner of the page, below the admin bar)', 'ag-custom-admin')
|
2240 |
));
|
2241 |
|
2242 |
$this->print_checkbox(array(
|
2243 |
'hide'=>true,
|
2244 |
'name'=>'agca_help_menu',
|
2245 |
-
'label'=>__('"Help" menu', 'ag-custom-admin'),
|
2246 |
'title'=>__('Hides the menu from the admin pages (located on the top right corner of the page, below the admin bar)', 'ag-custom-admin')
|
2247 |
));
|
2248 |
|
@@ -2250,7 +2248,7 @@ class AGCA{
|
|
2250 |
'title'=>__('Hides colors scheme on profile page', 'ag-custom-admin'),
|
2251 |
'name'=>'agca_profile_color_scheme',
|
2252 |
'hide'=>true,
|
2253 |
-
'label'=>__('Profile Color Scheme', 'ag-custom-admin')
|
2254 |
));
|
2255 |
|
2256 |
$this->print_options_h3(__('Security', 'ag-custom-admin'));
|
@@ -2261,7 +2259,7 @@ class AGCA{
|
|
2261 |
<th scope="row">
|
2262 |
<label title="<?php _e('Choose which WordPress capability will be used to distinguish AGCA admin users from other users.</br>AGCA admin users have access to AGCA settings. AGCA administrators can be excluded from customizations if that option is checked', 'ag-custom-admin'); ?>" for="agca_admin_capability"><?php _e('AGCA admin capability', 'ag-custom-admin'); ?>:</label>
|
2263 |
</th>
|
2264 |
-
<td><?php echo $this->admin_capabilities; ?> <i>(<?php _e('
|
2265 |
<p style="margin-left:5px;"><i><?php _e('Find more information about', 'ag-custom-admin'); ?> <a href="https://codex.wordpress.org/Roles_and_Capabilities" target="_blank"><?php _e('WordPress capabilities', 'ag-custom-admin'); ?></a></i></p>
|
2266 |
</td>
|
2267 |
<td>
|
@@ -2274,23 +2272,26 @@ class AGCA{
|
|
2274 |
<tr valign="center">
|
2275 |
<td colspan="2">
|
2276 |
<div class="agca-feedback-and-support">
|
2277 |
-
|
2278 |
<li><a href="https://wordpressadminpanel.com/agca-support/contact/?type=feature" target="_blank"><span class="dashicons dashicons-lightbulb"></span> <?php _e('Idea for improvement', 'ag-custom-admin'); ?></a> - <?php _e('submit your idea for improvement', 'ag-custom-admin'); ?> </li>
|
2279 |
-
</ul
|
|
|
2280 |
<ul>
|
2281 |
-
<li><a href="https://
|
2282 |
</ul>
|
2283 |
-
|
2284 |
<li><a href="https://wordpressadminpanel.com/agca-support/contact/?type=theme" target="_blank"><span class="dashicons dashicons-art"></span> <?php _e('Idea for admin theme', 'ag-custom-admin'); ?></a> - <?php _e('submit your idea for admin theme', 'ag-custom-admin'); ?> </li>
|
2285 |
-
</ul
|
|
|
2286 |
<ul>
|
2287 |
<li><a href="https://wordpress.org/support/view/plugin-reviews/ag-custom-admin" target="_blank"><span class="dashicons dashicons-awards"></span> <?php _e('Add a review on WordPress.org', 'ag-custom-admin'); ?></a> - <?php _e('add your review and rate us on WordPress.org', 'ag-custom-admin'); ?> </li>
|
2288 |
</ul>
|
2289 |
-
|
2290 |
<li><a href="https://wordpressadminpanel.com/agca-support/" target="_blank"><span class="dashicons dashicons-shield-alt"></span> <?php _e('Visit our support site', 'ag-custom-admin'); ?></a> - <?php _e('for any other questions, feel free to contact us', 'ag-custom-admin'); ?> </li>
|
2291 |
-
</ul
|
|
|
2292 |
<ul>
|
2293 |
-
<li><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+
|
2294 |
</ul>
|
2295 |
<ul class="upgrade">
|
2296 |
<li><a href="https://cusmin.com/upgrade-to-cusmin?ref=page" target="_blank">
|
@@ -2316,7 +2317,7 @@ class AGCA{
|
|
2316 |
'hide'=>true,
|
2317 |
'title'=>__('Hides admin bar completely from the admin panel', 'ag-custom-admin'),
|
2318 |
'name'=>'agca_header',
|
2319 |
-
'label'=>__('<strong>Admin bar</strong>', 'ag-custom-admin'),
|
2320 |
'input-attributes'=>'data-dependant="#agca_header_show_logout_content"',
|
2321 |
'input-class'=>'has-dependant',
|
2322 |
));
|
@@ -2337,14 +2338,14 @@ class AGCA{
|
|
2337 |
'title'=>__('Removes admin bar customizations for authenticated users on site pages.</br>This option can be useful if you want to remove AGCA scripts (styles, JavaScript) on your website for any reason.', 'ag-custom-admin'),
|
2338 |
'name'=>'agca_admin_bar_frontend',
|
2339 |
'hide'=>true,
|
2340 |
-
'label'=>__('Site pages: Admin bar customizations', 'ag-custom-admin')
|
2341 |
));
|
2342 |
|
2343 |
$this->print_checkbox(array(
|
2344 |
'title'=>__('Hides admin bar completely for authenticated users on site pages.', 'ag-custom-admin'),
|
2345 |
'name'=>'agca_admin_bar_frontend_hide',
|
2346 |
'hide'=>true,
|
2347 |
-
'label'=>__('Site pages: Admin bar', 'ag-custom-admin')
|
2348 |
));
|
2349 |
|
2350 |
$this->print_options_h3(__('Left Side', 'ag-custom-admin'));
|
@@ -2367,7 +2368,7 @@ class AGCA{
|
|
2367 |
'title'=>__('Customize WordPress title using custom title template.</br></br>Examples', 'ag-custom-admin').':</br><strong>%BLOG% -- %PAGE%</strong> '.'('.__('will be', 'ag-custom-admin').')'.' <i>My Blog -- Add New Post</i></br><strong>%BLOG%</strong> ('.__('will be', 'ag-custom-admin').') <i>My Blog</i></br><strong>My Company > %BLOG% > %PAGE%</strong> ('.__('will be', 'ag-custom-admin').') <i>My Company > My Blog > Tools</i>',
|
2368 |
'name'=>'agca_custom_title',
|
2369 |
'label'=>__('Page title template', 'ag-custom-admin'),
|
2370 |
-
'hint' =>__('Please use', 'ag-custom-admin').' <strong>%BLOG%</strong> '.__('and', 'ag-custom-admin'). ' <strong>%PAGE%</strong> '.__('in your title template.
|
2371 |
));
|
2372 |
|
2373 |
$this->print_input(array(
|
@@ -2382,35 +2383,35 @@ class AGCA{
|
|
2382 |
'hide'=>true,
|
2383 |
'title'=>__('Hides small Wordpress logo or custom logo from the admin bar', 'ag-custom-admin'),
|
2384 |
'name'=>'agca_header_logo',
|
2385 |
-
'label'=>__('Admin bar logo', 'ag-custom-admin')
|
2386 |
));
|
2387 |
|
2388 |
$this->print_checkbox(array(
|
2389 |
'hide'=>true,
|
2390 |
'title'=>__('Hides WordPress context menu on admin bar logo from admin bar', 'ag-custom-admin'),
|
2391 |
'name'=>'agca_remove_top_bar_dropdowns',
|
2392 |
-
'label'=>__('Admin bar logo context menu', 'ag-custom-admin')
|
2393 |
));
|
2394 |
|
2395 |
$this->print_checkbox(array(
|
2396 |
'hide'=>true,
|
2397 |
'title'=>__('Hides site name link from the admin bar', 'ag-custom-admin'),
|
2398 |
'name'=>'agca_remove_site_link',
|
2399 |
-
'label'=>__('Site name', 'ag-custom-admin')
|
2400 |
));
|
2401 |
|
2402 |
$this->print_checkbox(array(
|
2403 |
'hide'=>true,
|
2404 |
'title'=>__('Hides update notifications from admin bar', 'ag-custom-admin'),
|
2405 |
'name'=>'agca_admin_bar_update_notifications',
|
2406 |
-
'label'=>__('
|
2407 |
));
|
2408 |
|
2409 |
$this->print_checkbox(array(
|
2410 |
'hide'=>true,
|
2411 |
'title'=>__('Hides comments block from admin bar', 'ag-custom-admin'),
|
2412 |
'name'=>'agca_admin_bar_comments',
|
2413 |
-
'label'=>__('"Comments" block', 'ag-custom-admin')
|
2414 |
));
|
2415 |
|
2416 |
$this->print_checkbox(array(
|
@@ -2420,7 +2421,7 @@ class AGCA{
|
|
2420 |
),
|
2421 |
'title'=>__('Hides "+ New" block and its context menu from admin bar', 'ag-custom-admin'),
|
2422 |
'name'=>'agca_admin_bar_new_content',
|
2423 |
-
'label'=>__('"+ New" block', 'ag-custom-admin'),
|
2424 |
'input-attributes'=>'data-dependant=".new_content_header_submenu"',
|
2425 |
'input-class'=>'has-dependant dependant-opposite'
|
2426 |
));
|
@@ -2432,7 +2433,7 @@ class AGCA{
|
|
2432 |
),
|
2433 |
'title'=>__('Hides "Post" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2434 |
'name'=>'agca_admin_bar_new_content_post',
|
2435 |
-
'label'=>' '.__('"+ New" -> Post sub-menu', 'ag-custom-admin')
|
2436 |
));
|
2437 |
|
2438 |
$this->print_checkbox(array(
|
@@ -2442,7 +2443,7 @@ class AGCA{
|
|
2442 |
),
|
2443 |
'title'=>__('Hides "Link" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2444 |
'name'=>'agca_admin_bar_new_content_link',
|
2445 |
-
'label'=>' '.__('"+ New" -> Link sub-menu', 'ag-custom-admin')
|
2446 |
));
|
2447 |
|
2448 |
$this->print_checkbox(array(
|
@@ -2452,7 +2453,7 @@ class AGCA{
|
|
2452 |
),
|
2453 |
'title'=>__('Hides "Page" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2454 |
'name'=>'agca_admin_bar_new_content_page',
|
2455 |
-
'label'=>' '.__('"+ New" -> Page sub-menu', 'ag-custom-admin')
|
2456 |
));
|
2457 |
|
2458 |
$this->print_checkbox(array(
|
@@ -2462,7 +2463,7 @@ class AGCA{
|
|
2462 |
),
|
2463 |
'title'=>__('Hides "User" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2464 |
'name'=>'agca_admin_bar_new_content_user',
|
2465 |
-
'label'=>' '.__('"+ New" -> User sub-menu', 'ag-custom-admin')
|
2466 |
));
|
2467 |
|
2468 |
$this->print_checkbox(array(
|
@@ -2472,7 +2473,7 @@ class AGCA{
|
|
2472 |
),
|
2473 |
'title'=>__('Hides "Media" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2474 |
'name'=>'agca_admin_bar_new_content_media',
|
2475 |
-
'label'=>' '.__('"+ New" -> Media sub-menu', 'ag-custom-admin')
|
2476 |
));
|
2477 |
|
2478 |
/* $this->print_checkbox(array(
|
@@ -2492,9 +2493,9 @@ class AGCA{
|
|
2492 |
|
2493 |
$this->print_checkbox(array(
|
2494 |
'hide'=>true,
|
2495 |
-
'title'=>__('Hides yellow bar with information about new WordPress release', 'ag-custom-admin'),
|
2496 |
'name'=>'agca_update_bar',
|
2497 |
-
'label'=>__('
|
2498 |
));
|
2499 |
|
2500 |
$this->print_options_h3(__('Right Side', 'ag-custom-admin'));
|
@@ -2513,7 +2514,7 @@ class AGCA{
|
|
2513 |
$this->print_checkbox(array(
|
2514 |
'hide'=>true,
|
2515 |
'name'=>'agca_remove_your_profile',
|
2516 |
-
'label'=>__('"Edit My Profile"
|
2517 |
));
|
2518 |
|
2519 |
$this->print_checkbox(array(
|
@@ -2539,7 +2540,7 @@ class AGCA{
|
|
2539 |
),
|
2540 |
'title'=>__('Hides footer with all elements', 'ag-custom-admin'),
|
2541 |
'name'=>'agca_footer',
|
2542 |
-
'label'=>__('<strong>
|
2543 |
));
|
2544 |
|
2545 |
$this->print_options_h3(__('Footer Options', 'ag-custom-admin'));
|
@@ -2548,12 +2549,13 @@ class AGCA{
|
|
2548 |
'hide'=>true,
|
2549 |
'title'=>__('Hides default text in footer', 'ag-custom-admin'),
|
2550 |
'name'=>'agca_footer_left_hide',
|
2551 |
-
'label'=>__('
|
2552 |
));
|
2553 |
|
2554 |
$this->print_textarea(array(
|
2555 |
'title'=>__('Replaces text \'Thank you for creating with WordPress\' with custom text', 'ag-custom-admin'),
|
2556 |
'name'=>'agca_footer_left',
|
|
|
2557 |
'label'=>__('Change footer text', 'ag-custom-admin')
|
2558 |
));
|
2559 |
|
@@ -2561,12 +2563,13 @@ class AGCA{
|
|
2561 |
'hide'=>true,
|
2562 |
'title'=>__('Hides text \'Get Version ...\' on right', 'ag-custom-admin'),
|
2563 |
'name'=>'agca_footer_right_hide',
|
2564 |
-
'label'=>__('
|
2565 |
));
|
2566 |
|
2567 |
$this->print_textarea(array(
|
2568 |
'title'=>__('Replaces text \'Get Version ...\' with custom text', 'ag-custom-admin'),
|
2569 |
'name'=>'agca_footer_right',
|
|
|
2570 |
'label'=>__('Change version text', 'ag-custom-admin')
|
2571 |
));
|
2572 |
|
@@ -2604,7 +2607,7 @@ class AGCA{
|
|
2604 |
?>
|
2605 |
<tr>
|
2606 |
<td colspan="2">
|
2607 |
-
<p tabindex="0" class="agca-tip"><i><strong><?php _e('Note', 'ag-custom-admin'); ?>:</strong> <?php _e('These settings override settings in Screen options on Dashboard page.', 'ag-custom-admin'); ?></i></p>
|
2608 |
</td>
|
2609 |
</tr>
|
2610 |
<?php
|
@@ -2612,42 +2615,42 @@ class AGCA{
|
|
2612 |
'hide'=>true,
|
2613 |
'title'=>__('Hides Welcome WordPress widget', 'ag-custom-admin'),
|
2614 |
'name'=>'agca_dashboard_widget_welcome',
|
2615 |
-
'label'=>__('"Welcome" widget', 'ag-custom-admin')
|
2616 |
));
|
2617 |
|
2618 |
$this->print_checkbox(array(
|
2619 |
'hide'=>true,
|
2620 |
'title'=>__('Hides Activity dashboard widget', 'ag-custom-admin'),
|
2621 |
'name'=>'agca_dashboard_widget_activity',
|
2622 |
-
'label'=>__('"Activity" widget', 'ag-custom-admin')
|
2623 |
));
|
2624 |
|
2625 |
$this->print_checkbox(array(
|
2626 |
'hide'=>true,
|
2627 |
'title'=>__('Hides Quick Draft dashboard widget', 'ag-custom-admin'),
|
2628 |
'name'=>'agca_dashboard_widget_qp',
|
2629 |
-
'label'=>__('"Quick Draft" widget', 'ag-custom-admin')
|
2630 |
));
|
2631 |
|
2632 |
$this->print_checkbox(array(
|
2633 |
'hide'=>true,
|
2634 |
'title'=>__('Hides At a Glance dashboard widget', 'ag-custom-admin'),
|
2635 |
'name'=>'agca_dashboard_widget_rn',
|
2636 |
-
'label'=>__('"At a Glance" widget', 'ag-custom-admin')
|
2637 |
));
|
2638 |
|
2639 |
$this->print_checkbox(array(
|
2640 |
'hide'=>true,
|
2641 |
'name'=>'agca_dashboard_widget_primary',
|
2642 |
'title'=>__('This is \'WordPress News\' or \'WordPress Development Blog\' widget in older WordPress versions', 'ag-custom-admin'),
|
2643 |
-
'label'=>__('"WordPress News" widget', 'ag-custom-admin')
|
2644 |
));
|
2645 |
|
2646 |
$this->print_checkbox(array(
|
2647 |
'hide'=>true,
|
2648 |
'name'=>'agca_dashboard_widget_secondary',
|
2649 |
'title'=>__('This is \'Other WordPress News\' widget by default', 'ag-custom-admin'),
|
2650 |
-
'label'=>__('
|
2651 |
));
|
2652 |
|
2653 |
?>
|
@@ -2665,7 +2668,7 @@ class AGCA{
|
|
2665 |
'hide'=>true,
|
2666 |
'name'=>'agca_login_banner',
|
2667 |
'title'=>__('Hide back to blog block', 'ag-custom-admin'),
|
2668 |
-
'label'=>__('Back to blog text', 'ag-custom-admin')
|
2669 |
));
|
2670 |
|
2671 |
$this->print_input(array(
|
@@ -2692,7 +2695,7 @@ class AGCA{
|
|
2692 |
'hide'=>true,
|
2693 |
'title'=>__('Hides login image completely', 'ag-custom-admin'),
|
2694 |
'name'=>'agca_login_photo_remove',
|
2695 |
-
'label'=>__('
|
2696 |
));
|
2697 |
|
2698 |
$this->print_checkbox(array(
|
@@ -2719,7 +2722,7 @@ class AGCA{
|
|
2719 |
'hide'=>true,
|
2720 |
'title'=>__('Hides register link on login page', 'ag-custom-admin'),
|
2721 |
'name'=>'agca_login_register_remove',
|
2722 |
-
'label'=>__('Register link', 'ag-custom-admin'),
|
2723 |
'input-class'=>'has-dependant dependant-opposite',
|
2724 |
'input-attributes'=>'data-dependant="#agca_login_register_href_block"'
|
2725 |
));
|
@@ -2739,7 +2742,7 @@ class AGCA{
|
|
2739 |
'hide'=>true,
|
2740 |
'title'=>__('Hides lost password link on login page', 'ag-custom-admin'),
|
2741 |
'name'=>'agca_login_lostpassword_remove',
|
2742 |
-
'label'=>__('Lost password link', 'ag-custom-admin'),
|
2743 |
));
|
2744 |
?>
|
2745 |
</table>
|
@@ -2753,20 +2756,11 @@ class AGCA{
|
|
2753 |
<table class="form-table" width="500px">
|
2754 |
<tr valign="center" class="ag_table_major_options">
|
2755 |
<td><label for="agca_admin_menu_turnonoff"><strong><?php _e('Apply admin menu customizations', 'ag-custom-admin'); ?></strong></label></td>
|
2756 |
-
<td>
|
2757 |
-
<strong>
|
2758 |
-
|
2759 |
-
<input class="agca-radio" type="radio" id="agca_admin_menu_turnonoff_on" name="agca_admin_menu_turnonoff" title="<?php _e('Apply admin menu customizations', 'ag-custom-admin'); ?>" value="on" <?php if(get_option('agca_admin_menu_turnonoff') == 'on') echo 'checked="checked" '; ?> />
|
2760 |
-
<span class="agca-radio-text on"><?php _e('YES', 'ag-custom-admin'); ?></span>
|
2761 |
-
|
2762 |
-
<input class="agca-radio" type="radio" name="agca_admin_menu_turnonoff" title="<?php _e('Do not apply admin menu customizations', 'ag-custom-admin'); ?>" value="off" <?php if(get_option('agca_admin_menu_turnonoff') != 'on') echo 'checked="checked"'; ?> />
|
2763 |
-
<span class="agca-radio-text off"><?php _e('NO', 'ag-custom-admin'); ?></span>
|
2764 |
-
</strong>
|
2765 |
-
</td>
|
2766 |
</tr>
|
2767 |
<tr valign="center" class="ag_table_major_options">
|
2768 |
<td><label for="agca_admin_menu_agca_button_only"><strong><?php _e('Admin menu', 'ag-custom-admin'); ?></strong></label></td>
|
2769 |
-
<td><input class="agca-checkbox visibility" type="checkbox" name="agca_admin_menu_agca_button_only" title="<?php _e('Hides admin menu completely (administrator can see \'
|
2770 |
</tr>
|
2771 |
<?php
|
2772 |
$this->print_options_h3(__('Edit / Remove Menu Items', 'ag-custom-admin'));
|
@@ -2776,8 +2770,8 @@ class AGCA{
|
|
2776 |
<input type="button" class="agca_button" id="ag_edit_adminmenu_reset_button" title="<?php _e('Reset menu settings to default values', 'ag-custom-admin'); ?>" name="ag_edit_adminmenu_reset_button" value="<?php _e('Reset to default settings', 'ag-custom-admin'); ?>" /><br />
|
2777 |
<p tabindex="0"><em>(<?php _e('click on the top menu item to show its sub-menus', 'ag-custom-admin'); ?>)</em></p>
|
2778 |
<table id="ag_edit_adminmenu">
|
2779 |
-
<tr style="background-color:#
|
2780 |
-
<td width="300px"><div style="float:left;color:#fff;"><h3><?php _e('Item', 'ag-custom-admin'); ?></h3></div><div style="float:right;color:#fff;"><h3><?php _e('
|
2781 |
</td>
|
2782 |
</tr>
|
2783 |
</table>
|
@@ -2811,9 +2805,9 @@ class AGCA{
|
|
2811 |
<td colspan="2">
|
2812 |
<?php _e('name', 'ag-custom-admin'); ?>:<input type="text" size="47" title="<?php _e('New button visible name', 'ag-custom-admin'); ?>" id="ag_add_adminmenu_name" name="ag_add_adminmenu_name" />
|
2813 |
<?php _e('url', 'ag-custom-admin'); ?>:<input type="text" size="47" title="<?php _e('New button link', 'ag-custom-admin'); ?>" id="ag_add_adminmenu_url" name="ag_add_adminmenu_url" />
|
2814 |
-
<?php _e('open in', 'ag-custom-admin');
|
2815 |
-
<option value="_self" selected><?php _e('same tab', 'ag-custom-admin'); ?></option>
|
2816 |
-
<option value="_blank" ><?php _e('new tab', 'ag-custom-admin'); ?></option>
|
2817 |
</select>
|
2818 |
<input type="button" id="ag_add_adminmenu_button" class="agca_button" title="<?php _e('Add new item button" name="ag_add_adminmenu_button', 'ag-custom-admin'); ?>" value="<?php _e('Add new item', 'ag-custom-admin'); ?>" />
|
2819 |
</td><td></td>
|
@@ -2845,28 +2839,28 @@ class AGCA{
|
|
2845 |
'hide'=>true,
|
2846 |
'title'=>__('Removes empty space between some top menu items', 'ag-custom-admin'),
|
2847 |
'name'=>'agca_admin_menu_separators',
|
2848 |
-
'label'=>__('
|
2849 |
));
|
2850 |
|
2851 |
$this->print_checkbox(array(
|
2852 |
'hide'=>true,
|
2853 |
'title'=>__('Removes icons from dmin menu buttons', 'ag-custom-admin'),
|
2854 |
'name'=>'agca_admin_menu_icons',
|
2855 |
-
'label'=>__('
|
2856 |
));
|
2857 |
|
2858 |
$this->print_checkbox(array(
|
2859 |
'hide'=>true,
|
2860 |
'title'=>__('Removes small arrow that appears on the top button hover', 'ag-custom-admin'),
|
2861 |
'name'=>'agca_admin_menu_arrow',
|
2862 |
-
'label'=>__('
|
2863 |
));
|
2864 |
|
2865 |
$this->print_checkbox(array(
|
2866 |
'hide'=>true,
|
2867 |
'title'=>__('Removes collapse button at the end of admin menu', 'ag-custom-admin'),
|
2868 |
'name'=>'agca_admin_menu_collapse_button',
|
2869 |
-
'label'=>__('"Collapse menu" button', 'ag-custom-admin'),
|
2870 |
));
|
2871 |
|
2872 |
$this->print_checkbox(array(
|
@@ -2892,7 +2886,7 @@ class AGCA{
|
|
2892 |
$this->print_input(array(
|
2893 |
'title'=>__('Adds custom logo above the admin menu', 'ag-custom-admin'),
|
2894 |
'name'=>'agca_admin_menu_brand',
|
2895 |
-
'label'=>__('Admin menu branding
|
2896 |
'hint'=>__('Image URL', 'ag-custom-admin')
|
2897 |
));
|
2898 |
|
@@ -2910,8 +2904,8 @@ class AGCA{
|
|
2910 |
<?php $this->show_save_button_upper(); ?>
|
2911 |
<table class="form-table" width="500px">
|
2912 |
<tr valign="center" class="ag_table_major_options">
|
2913 |
-
<td><label for="agca_colorizer_turnonoff"><strong><?php _e('Apply Colorizer
|
2914 |
-
<td><
|
2915 |
</tr>
|
2916 |
<?php
|
2917 |
$this->print_options_h3(__('Global Color Options', 'ag-custom-admin'));
|
@@ -2952,6 +2946,7 @@ class AGCA{
|
|
2952 |
<table class="form-table" width="500px">
|
2953 |
<tr valign="center">
|
2954 |
<td>
|
|
|
2955 |
<div id="agca_templates"></div>
|
2956 |
</td>
|
2957 |
</tr>
|
@@ -2960,7 +2955,7 @@ class AGCA{
|
|
2960 |
<div id="advanced_template_options" style="display:none">
|
2961 |
<div class="agca-feedback-and-support">
|
2962 |
<ul>
|
2963 |
-
|
2964 |
<li><a style="background: #f08080;color:#fff;" href="javascript:agca_removeAllTemplates();" title="<?php _e('WARNING: All installed themes will be removed. To activate them again, you would need to install theme and activate using valid license keys. Free themes can be installed again.', 'ag-custom-admin'); ?>"><span style="color:#fff" class="dashicons dashicons-trash"></span> <?php _e('Uninstall all installed themes', 'ag-custom-admin'); ?></a></li>
|
2965 |
</ul>
|
2966 |
</div>
|
@@ -3038,7 +3033,7 @@ class AGCA{
|
|
3038 |
function show_save_button(){
|
3039 |
?>
|
3040 |
<p class="submit agca-clear">
|
3041 |
-
<input type="button" id="save_plugin_settings" style="padding:0px" title="<?php _e('Save
|
3042 |
</p>
|
3043 |
<?php
|
3044 |
}
|
@@ -3121,19 +3116,23 @@ class AGCA{
|
|
3121 |
}
|
3122 |
function print_textarea($data){
|
3123 |
$strHint = '';
|
|
|
3124 |
if(isset($data['hint'])){
|
3125 |
$strHint = ' <p><i>'.$data['hint'].'</i>.</p>';
|
3126 |
}
|
3127 |
if(!isset($data['title'])){
|
3128 |
$data['title'] = $data['label'];
|
3129 |
}
|
|
|
|
|
|
|
3130 |
?>
|
3131 |
<tr valign="center">
|
3132 |
<th scope="row">
|
3133 |
<label title="<?php echo $data['title'] ?>" for="<?php echo $data['name'] ?>"><?php echo $data['label'] ?></label>
|
3134 |
</th>
|
3135 |
<td>
|
3136 |
-
<textarea title="<?php echo $data['title'] ?>" rows="5" name="<?php echo $data['name'] ?>" cols="40"><?php echo htmlspecialchars(get_option($data['name'])); ?></textarea>
|
3137 |
<?php echo $strHint ?>
|
3138 |
</td>
|
3139 |
</tr>
|
@@ -3143,7 +3142,7 @@ class AGCA{
|
|
3143 |
?>
|
3144 |
<tr valign="center" class="color">
|
3145 |
<th><label title="<?php echo $title ?>" for="<?php echo $name ?>"><?php echo $label ?></label></th>
|
3146 |
-
<td><input type="text" id="<?php echo $name ?>" name="<?php echo $name ?>" class="color_picker" value="<?php echo $this->getAGCAColor($name); ?>" />
|
3147 |
<a title="<?php _e('Pick Color', 'ag-custom-admin'); ?>" alt="<?php echo $name ?>" class="pick_color_button agca_button"><span class="dashicons dashicons-art"></span></a>
|
3148 |
<a title="<?php _e('Clear', 'ag-custom-admin'); ?>" alt="<?php echo $name ?>" class="pick_color_button_clear agca_button" ><span class="dashicons clear dashicons-no-alt"></span></a>
|
3149 |
</td>
|
@@ -3175,4 +3174,4 @@ class AGCA{
|
|
3175 |
#endregion
|
3176 |
|
3177 |
}
|
3178 |
-
|
1 |
<?php
|
2 |
/*
|
3 |
+
Plugin Name: Absolutely Glamorous Custom Admin
|
4 |
Plugin URI: https://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: Cusmin
|
7 |
+
Version: 6.0
|
8 |
Text Domain: ag-custom-admin
|
9 |
Domain Path: /languages
|
10 |
+
Author URI: https://cusmin.com
|
11 |
|
12 |
Copyright 2017. WAP (email : info@wordpressadminpanel.com)
|
13 |
|
73 |
/*Initialize properties*/
|
74 |
$this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
|
75 |
|
76 |
+
$this->agca_version = "6.0";
|
77 |
|
78 |
//TODO:upload images programmatically
|
79 |
}
|
91 |
$links[] = '<a href="tools.php?page=ag-custom-admin/plugin.php#general-settings">' . __('Settings', 'ag-custom-admin') . '</a>';
|
92 |
//$links[] = '<a href="tools.php?page=ag-custom-admin/plugin.php#ag-templates">' . __('Admin Themes', 'ag-custom-admin') . '</a>';
|
93 |
}
|
94 |
+
$links[] = '<a target="_blank" href="https://wordpress.org/support/plugin/ag-custom-admin">' . __('Support', 'ag-custom-admin') . '</a>';
|
95 |
+
$links[] = '<a target="_blank" href="https://cusmin.com/upgrade-to-cusmin?ref=plugins">' . __('Upgrade', 'ag-custom-admin') . '</a>';
|
96 |
+
$links[] = '<a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+AGCA+Development">' . __('Donate', 'ag-custom-admin') . '</a>';
|
97 |
}
|
98 |
return $links;
|
99 |
}
|
243 |
$this->verifyPostRequest();
|
244 |
function my_sideload_image() {
|
245 |
$remoteurl = $_POST['_agca_upload_image'];
|
246 |
+
$file = media_sideload_image( $remoteurl, 0 ,__("Absolutely Glamorous Custom Admin theme image (do not delete)", 'ag-custom-admin'));
|
247 |
try{
|
248 |
$fileparts = explode("src='", $file);
|
249 |
$url=explode("'",$fileparts[1]);
|
273 |
if (is_multisite()) {
|
274 |
$blog_id = get_current_blog_id();
|
275 |
$user_id = get_current_user_id();
|
276 |
+
$msError = __('Please try temporary disabling POST verification. Go to Absolutely Glamorous Custom Admin -> Advanced -> Temporary disable POST verification. Do not forget to un-check this option once you are done with customizations.', 'ag-custom-admin');
|
277 |
if (is_user_member_of_blog($user_id, $blog_id)) {
|
278 |
if (!current_user_can('manage_options')) {
|
279 |
_e('Multi-site: Current user is not recognized as administrator.', 'ag-custom-admin');
|
434 |
try{
|
435 |
eval("<?php echo str_replace(array("\r\n", "\n", "\r"), ' ', get_option('agca_custom_js')); ?>");
|
436 |
}catch(e){
|
437 |
+
alert('AGCA: <?php _e('There is an error in your custom JS script. Please fix it:', 'ag-custom-admin'); ?> \n\n' + e + '\n\n (<?php _e('AGCA -> Advanced -> Custom JavaScript', 'ag-custom-admin'); ?>)');
|
438 |
console.log(e);
|
439 |
}
|
440 |
</script>
|
825 |
|
826 |
|
827 |
function agca_create_menu() {
|
828 |
+
add_management_page('AGCA', 'AGCA', 'administrator', __FILE__, array(&$this,'agca_admin_page') );
|
829 |
}
|
830 |
|
831 |
function agca_create_admin_button($name,$arr) {
|
1054 |
var img_url = '<?php echo addslashes(get_option('agca_header_logo_custom')); ?>';
|
1055 |
|
1056 |
advanced_url = img_url;
|
1057 |
+
image = jQuery("<img id=\"admin-top-branding-logo\" style='max-width:98%;position:relative;'/>").attr("src",advanced_url);
|
1058 |
jQuery(image).load(function() {
|
1059 |
jQuery("#wpbody-content").prepend(image);
|
1060 |
});
|
1192 |
if($selectedValue == $k){
|
1193 |
$selected = " selected=\"selected\" ";
|
1194 |
}
|
1195 |
+
$capabilitySelector .="<option value=\"$k\" $selected >".ucwords(str_replace('_', ' ', $k))."</option>\n";
|
|
|
|
|
1196 |
}
|
1197 |
|
1198 |
$this->admin_capabilities = "<select class=\"agca-selectbox\" id=\"agca_admin_capability\" name=\"agca_admin_capability\" val=\"upload_files\">".$capabilitySelector."</select>";
|
1352 |
var agca_error_details = "___________________________________________________<br/>";
|
1353 |
agca_error_details += '<br/>' + msg +'<br/>source:' + url + '<br/>line:' + line + '<br/>';
|
1354 |
agca_error_details += "___________________________________________________<br/>";
|
1355 |
+
window.agca_error_details_text = agca_error_details + '<br/><?php _e('This JavaScript error can stop AGCA plugin to work properly. If everything still works, you can ignore this notification.', 'ag-custom-admin'); ?> <br/><br/><?php _e('Possible solutions', 'ag-custom-admin'); ?>:<br/><br/>1) <?php _e('Make sure to have everything up to date: WordPress site, plugins and themes.', 'ag-custom-admin'); ?><br/><br/>2) <?php _e('Try disabling plugins one by one to see if problem can be resolved this way. If so, one of disabled plugins caused this error.', 'ag-custom-admin'); ?><br/><br/>3) <?php _e('Check "source" path of this error. This could be indicator of the plugin/theme that caused the error.', 'ag-custom-admin'); ?><br/><br/>4) <?php _e('If it\\\'s obvious that error is thrown from a particular plugin/theme, please report this error to their support.', 'ag-custom-admin'); ?> <br/><br/>5) <?php _e('Try activating default WordPress theme instead of your current theme.', 'ag-custom-admin'); ?><br/><br/>6) <?php _e('Advanced: Try fixing this issue manually: Navigate to the link above in your browser and open the source of the page (right click -> view page source) and find the line in code where it fails. You should access this file via FTP and try to fix this error on that line.', 'ag-custom-admin') ?><br/><br/>7) <?php _e('Contact us if nothing above helps. Please do not post errors that are caused by other plugins/themes to our support page. Contact their support instead. If you think that error is somehow related to AGCA plugin, or something unexpected happens, please report that on our', 'ag-custom-admin'); ?> <a href="https://wordpressadminpanel.com/agca-support/ag_custom_admin/error-ocurred-javascript-error-caught/" target="_blank"><?php _e('SUPPORT PAGE', 'ag-custom-admin'); ?></a>';
|
1356 |
document.getElementsByTagName('html')[0].style.visibility = "visible";
|
1357 |
var errorDivHtml = '<div style="background: #f08080;border-radius: 3px;color: #ffffff;height: auto; margin-right: 13px;padding: 6px 14px;width: 450px;z-index: 99999; position:absolute;">\
|
1358 |
+
<?php _e('AGCA plugin caught an error on your site!', 'ag-custom-admin'); ?> <a target="_blank" href="#" onclick="var aedt = document.getElementById(\'agca_error_details_text\'); if(aedt.style.display !== \'block\') {aedt.style.display = \'block\';} else{aedt.style.display = \'none\';} return false;" style="color: #ffffff !important;float:right;font-weight: bold;text-decoration: none;">(<?php _e('show/hide more...', 'ag-custom-admin'); ?>)</a><div id="agca_error_details_text" style="display:none;margin: 10px 0;background:#ffffff;border-radius: 5px;padding:8px;color: #777;">'+agca_error_details_text+'</div></div>';
|
1359 |
|
1360 |
var ph = document.getElementById('agca_error_placeholder');
|
1361 |
ph.innerHTML = errorDivHtml;
|
1381 |
|
1382 |
if(typeof window.console === "object"){
|
1383 |
console.log("___________________________________________________");
|
1384 |
+
console.log("<?php _e('AGCA plugin caught a JavaScript on your site', 'ag-custom-admin'); ?>:");
|
1385 |
console.log(agca_error_details);
|
1386 |
}
|
1387 |
}
|
1843 |
?>
|
1844 |
jQuery("#wpbody-content #dashboard-widgets-wrap").before('<div id="agca_custom_dashboard_content"></div>');
|
1845 |
|
1846 |
+
jQuery("#agca_custom_dashboard_content").html('<br /><?php echo preg_replace('/(\r\n|\r|\n)/', '\n', addslashes(wpautop(do_shortcode(get_option('agca_dashboard_text_paragraph'))))); ?>');
|
1847 |
<?php } ?>
|
1848 |
|
1849 |
<?php /*Remove Dashboard widgets*/ ?>
|
1924 |
});
|
1925 |
<?php /*Only admin see button*/
|
1926 |
if (current_user_can($this->admin_capability())){ ?>
|
1927 |
+
jQuery('#adminmenu').append('<?php echo $this->agca_create_admin_button('AGCA',array('value'=>'tools.php?page=ag-custom-admin/plugin.php#general-settings','target'=>'_self')); ?>');
|
1928 |
<?php } ?>
|
1929 |
<?php } ?>
|
1930 |
|
2171 |
<script type="text/javascript" src="<?php echo $this->pluginUrl(); ?>script/agca_tmpl.js?ver=<?php echo $wpversion; ?>"></script>
|
2172 |
<?php //includes ?>
|
2173 |
<div class="wrap">
|
2174 |
+
<h1 id="agca-title"><img src="<?php echo plugins_url( 'images/agca.png', __FILE__ ) ?>" /><span class="title">Absolutely Glamorous Custom Admin</span> <span class="version">(v<?php echo $this->agca_version; ?>)</span></h1>
|
2175 |
<div id="agca-social" style="float:right; margin-top: -23px;">
|
2176 |
<div class="fb-like" data-href="https://www.facebook.com/AG-Custom-Admin-892218404232342/timeline" data-layout="button" data-action="like" data-show-faces="true" data-share="true"></div>
|
2177 |
</div>
|
2201 |
<li class="normal" ><a href="#admin-menu-settings" title="<?php _e('Settings for main admin menu', 'ag-custom-admin')?>"><?php _e('Admin Menu', 'ag-custom-admin')?></a></li>
|
2202 |
<li class="normal"><a href="#ag-colorizer-settings" title="<?php _e('Colorizer settings', 'ag-custom-admin')?>"><?php _e('Colorizer', 'ag-custom-admin')?></a></li>
|
2203 |
<li class="normal"><a href="#ag-advanced" title="<?php _e('My custom scripts', 'ag-custom-admin')?>"><?php _e('Advanced', 'ag-custom-admin')?></a></li>
|
2204 |
+
<li class="normal" style=""><a href="#ag-templates" title="<?php _e('AGCA Themes', 'ag-custom-admin')?>"><?php _e('Themes', 'ag-custom-admin')?></a></li>
|
2205 |
<li class="normal upgrade"><a href="https://cusmin.com/upgrade-to-cusmin?ref=menu" target="_blank" title="<?php _e('Upgrade to Cusmin', 'ag-custom-admin')?>"><img src="<?php echo plugins_url( 'images/cusminlogo.png', __FILE__ ) ?>" /><?php _e('Upgrade', 'ag-custom-admin')?></a></li>
|
2206 |
|
2207 |
+
<li style="background:none;border:none;padding:0;"><a id="agca_donate_button" target="_blank" style="margin-left:8px" title="<?php _e('Enjoying AGCA? Help us further develop it and support it!', 'ag-custom-admin')?> " href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+AGCA+Development"><img alt="<?php _e('Donate', 'ag-custom-admin')?>" src="<?php echo $this->pluginUrl(); ?>images/donate-btn.png" /></a>
|
2208 |
</li>
|
2209 |
<li style="background:none;border:none;padding:0;padding-left:10px;margin-top:-7px"></li>
|
2210 |
</ul>
|
2214 |
</ul>
|
2215 |
</div>
|
2216 |
<div class="agca-clear"></div>
|
2217 |
+
<div id="section-cusmin" style="display:none;"><?php _e('All AGCA plugin\'s settings, except admin themes, are disabled. Please use', 'ag-custom-admin')?> <a href="options-general.php?page=cusmin">Cusmin</a> <?php _e('plugin to manage these settings.', 'ag-custom-admin')?></div>
|
2218 |
<div id="section_general" style="display:none" class="ag_section">
|
2219 |
<h2 class="section_title"><?php _e('General Settings', 'ag-custom-admin')?></h2>
|
2220 |
<?php $this->show_save_button_upper(); ?>
|
2233 |
$this->print_checkbox(array(
|
2234 |
'hide'=>true,
|
2235 |
'name'=>'agca_screen_options_menu',
|
2236 |
+
'label'=>__('Hide "Screen Options" menu', 'ag-custom-admin'),
|
2237 |
'title'=>__('Hides the menu from the admin pages (located on the top right corner of the page, below the admin bar)', 'ag-custom-admin')
|
2238 |
));
|
2239 |
|
2240 |
$this->print_checkbox(array(
|
2241 |
'hide'=>true,
|
2242 |
'name'=>'agca_help_menu',
|
2243 |
+
'label'=>__('Hide "Help" menu', 'ag-custom-admin'),
|
2244 |
'title'=>__('Hides the menu from the admin pages (located on the top right corner of the page, below the admin bar)', 'ag-custom-admin')
|
2245 |
));
|
2246 |
|
2248 |
'title'=>__('Hides colors scheme on profile page', 'ag-custom-admin'),
|
2249 |
'name'=>'agca_profile_color_scheme',
|
2250 |
'hide'=>true,
|
2251 |
+
'label'=>__('Hide User\'s Profile Color Scheme', 'ag-custom-admin')
|
2252 |
));
|
2253 |
|
2254 |
$this->print_options_h3(__('Security', 'ag-custom-admin'));
|
2259 |
<th scope="row">
|
2260 |
<label title="<?php _e('Choose which WordPress capability will be used to distinguish AGCA admin users from other users.</br>AGCA admin users have access to AGCA settings. AGCA administrators can be excluded from customizations if that option is checked', 'ag-custom-admin'); ?>" for="agca_admin_capability"><?php _e('AGCA admin capability', 'ag-custom-admin'); ?>:</label>
|
2261 |
</th>
|
2262 |
+
<td><?php echo $this->admin_capabilities; ?> <i>(<?php _e('default: <strong>edit_dashboard</strong>', 'ag-custom-admin'); ?>)</i>
|
2263 |
<p style="margin-left:5px;"><i><?php _e('Find more information about', 'ag-custom-admin'); ?> <a href="https://codex.wordpress.org/Roles_and_Capabilities" target="_blank"><?php _e('WordPress capabilities', 'ag-custom-admin'); ?></a></i></p>
|
2264 |
</td>
|
2265 |
<td>
|
2272 |
<tr valign="center">
|
2273 |
<td colspan="2">
|
2274 |
<div class="agca-feedback-and-support">
|
2275 |
+
<?php /*<ul>
|
2276 |
<li><a href="https://wordpressadminpanel.com/agca-support/contact/?type=feature" target="_blank"><span class="dashicons dashicons-lightbulb"></span> <?php _e('Idea for improvement', 'ag-custom-admin'); ?></a> - <?php _e('submit your idea for improvement', 'ag-custom-admin'); ?> </li>
|
2277 |
+
</ul>*/
|
2278 |
+
?>
|
2279 |
<ul>
|
2280 |
+
<li><a href="https://wordpress.org/support/plugin/ag-custom-admin" target="_blank"><span class="dashicons dashicons-megaphone"></span> <?php _e('Report an issue', 'ag-custom-admin'); ?></a> - <?php _e('If plugin does not work as expected', 'ag-custom-admin'); ?> </li>
|
2281 |
</ul>
|
2282 |
+
<?php /*<ul>
|
2283 |
<li><a href="https://wordpressadminpanel.com/agca-support/contact/?type=theme" target="_blank"><span class="dashicons dashicons-art"></span> <?php _e('Idea for admin theme', 'ag-custom-admin'); ?></a> - <?php _e('submit your idea for admin theme', 'ag-custom-admin'); ?> </li>
|
2284 |
+
</ul>*/
|
2285 |
+
?>
|
2286 |
<ul>
|
2287 |
<li><a href="https://wordpress.org/support/view/plugin-reviews/ag-custom-admin" target="_blank"><span class="dashicons dashicons-awards"></span> <?php _e('Add a review on WordPress.org', 'ag-custom-admin'); ?></a> - <?php _e('add your review and rate us on WordPress.org', 'ag-custom-admin'); ?> </li>
|
2288 |
</ul>
|
2289 |
+
<?php /*<ul>
|
2290 |
<li><a href="https://wordpressadminpanel.com/agca-support/" target="_blank"><span class="dashicons dashicons-shield-alt"></span> <?php _e('Visit our support site', 'ag-custom-admin'); ?></a> - <?php _e('for any other questions, feel free to contact us', 'ag-custom-admin'); ?> </li>
|
2291 |
+
</ul>*/
|
2292 |
+
?>
|
2293 |
<ul>
|
2294 |
+
<li><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+AGCA+Development" target="_blank"><span class="dashicons dashicons-palmtree"></span> <?php _e('Donate', 'ag-custom-admin'); ?></a> - <?php _e('if you find this plugin helpful for your needs', 'ag-custom-admin'); ?> </li>
|
2295 |
</ul>
|
2296 |
<ul class="upgrade">
|
2297 |
<li><a href="https://cusmin.com/upgrade-to-cusmin?ref=page" target="_blank">
|
2317 |
'hide'=>true,
|
2318 |
'title'=>__('Hides admin bar completely from the admin panel', 'ag-custom-admin'),
|
2319 |
'name'=>'agca_header',
|
2320 |
+
'label'=>__('<strong>Hide Admin bar</strong>', 'ag-custom-admin'),
|
2321 |
'input-attributes'=>'data-dependant="#agca_header_show_logout_content"',
|
2322 |
'input-class'=>'has-dependant',
|
2323 |
));
|
2338 |
'title'=>__('Removes admin bar customizations for authenticated users on site pages.</br>This option can be useful if you want to remove AGCA scripts (styles, JavaScript) on your website for any reason.', 'ag-custom-admin'),
|
2339 |
'name'=>'agca_admin_bar_frontend',
|
2340 |
'hide'=>true,
|
2341 |
+
'label'=>__('Site pages: Do not apply Admin bar customizations', 'ag-custom-admin')
|
2342 |
));
|
2343 |
|
2344 |
$this->print_checkbox(array(
|
2345 |
'title'=>__('Hides admin bar completely for authenticated users on site pages.', 'ag-custom-admin'),
|
2346 |
'name'=>'agca_admin_bar_frontend_hide',
|
2347 |
'hide'=>true,
|
2348 |
+
'label'=>__('Site pages: Hide Admin bar', 'ag-custom-admin')
|
2349 |
));
|
2350 |
|
2351 |
$this->print_options_h3(__('Left Side', 'ag-custom-admin'));
|
2368 |
'title'=>__('Customize WordPress title using custom title template.</br></br>Examples', 'ag-custom-admin').':</br><strong>%BLOG% -- %PAGE%</strong> '.'('.__('will be', 'ag-custom-admin').')'.' <i>My Blog -- Add New Post</i></br><strong>%BLOG%</strong> ('.__('will be', 'ag-custom-admin').') <i>My Blog</i></br><strong>My Company > %BLOG% > %PAGE%</strong> ('.__('will be', 'ag-custom-admin').') <i>My Company > My Blog > Tools</i>',
|
2369 |
'name'=>'agca_custom_title',
|
2370 |
'label'=>__('Page title template', 'ag-custom-admin'),
|
2371 |
+
'hint' =>__('Please use', 'ag-custom-admin').' <strong>%BLOG%</strong> '.__('and', 'ag-custom-admin'). ' <strong>%PAGE%</strong> '.__('in your title template.', 'ag-custom-admin')
|
2372 |
));
|
2373 |
|
2374 |
$this->print_input(array(
|
2383 |
'hide'=>true,
|
2384 |
'title'=>__('Hides small Wordpress logo or custom logo from the admin bar', 'ag-custom-admin'),
|
2385 |
'name'=>'agca_header_logo',
|
2386 |
+
'label'=>__('Hide Admin bar logo', 'ag-custom-admin')
|
2387 |
));
|
2388 |
|
2389 |
$this->print_checkbox(array(
|
2390 |
'hide'=>true,
|
2391 |
'title'=>__('Hides WordPress context menu on admin bar logo from admin bar', 'ag-custom-admin'),
|
2392 |
'name'=>'agca_remove_top_bar_dropdowns',
|
2393 |
+
'label'=>__('Hide Admin bar logo context menu', 'ag-custom-admin')
|
2394 |
));
|
2395 |
|
2396 |
$this->print_checkbox(array(
|
2397 |
'hide'=>true,
|
2398 |
'title'=>__('Hides site name link from the admin bar', 'ag-custom-admin'),
|
2399 |
'name'=>'agca_remove_site_link',
|
2400 |
+
'label'=>__('Hide Site name', 'ag-custom-admin')
|
2401 |
));
|
2402 |
|
2403 |
$this->print_checkbox(array(
|
2404 |
'hide'=>true,
|
2405 |
'title'=>__('Hides update notifications from admin bar', 'ag-custom-admin'),
|
2406 |
'name'=>'agca_admin_bar_update_notifications',
|
2407 |
+
'label'=>__('Remove update notifications', 'ag-custom-admin')
|
2408 |
));
|
2409 |
|
2410 |
$this->print_checkbox(array(
|
2411 |
'hide'=>true,
|
2412 |
'title'=>__('Hides comments block from admin bar', 'ag-custom-admin'),
|
2413 |
'name'=>'agca_admin_bar_comments',
|
2414 |
+
'label'=>__('Hide "Comments" block', 'ag-custom-admin')
|
2415 |
));
|
2416 |
|
2417 |
$this->print_checkbox(array(
|
2421 |
),
|
2422 |
'title'=>__('Hides "+ New" block and its context menu from admin bar', 'ag-custom-admin'),
|
2423 |
'name'=>'agca_admin_bar_new_content',
|
2424 |
+
'label'=>__('Hide "+ New" block', 'ag-custom-admin'),
|
2425 |
'input-attributes'=>'data-dependant=".new_content_header_submenu"',
|
2426 |
'input-class'=>'has-dependant dependant-opposite'
|
2427 |
));
|
2433 |
),
|
2434 |
'title'=>__('Hides "Post" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2435 |
'name'=>'agca_admin_bar_new_content_post',
|
2436 |
+
'label'=>' '.__('Hide "+ New" -> Post sub-menu', 'ag-custom-admin')
|
2437 |
));
|
2438 |
|
2439 |
$this->print_checkbox(array(
|
2443 |
),
|
2444 |
'title'=>__('Hides "Link" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2445 |
'name'=>'agca_admin_bar_new_content_link',
|
2446 |
+
'label'=>' '.__('Hide "+ New" -> Link sub-menu', 'ag-custom-admin')
|
2447 |
));
|
2448 |
|
2449 |
$this->print_checkbox(array(
|
2453 |
),
|
2454 |
'title'=>__('Hides "Page" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2455 |
'name'=>'agca_admin_bar_new_content_page',
|
2456 |
+
'label'=>' '.__('Hide "+ New" -> Page sub-menu', 'ag-custom-admin')
|
2457 |
));
|
2458 |
|
2459 |
$this->print_checkbox(array(
|
2463 |
),
|
2464 |
'title'=>__('Hides "User" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2465 |
'name'=>'agca_admin_bar_new_content_user',
|
2466 |
+
'label'=>' '.__('Hide "+ New" -> User sub-menu', 'ag-custom-admin')
|
2467 |
));
|
2468 |
|
2469 |
$this->print_checkbox(array(
|
2473 |
),
|
2474 |
'title'=>__('Hides "Media" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2475 |
'name'=>'agca_admin_bar_new_content_media',
|
2476 |
+
'label'=>' '.__('Hide "+ New" -> Media sub-menu', 'ag-custom-admin')
|
2477 |
));
|
2478 |
|
2479 |
/* $this->print_checkbox(array(
|
2493 |
|
2494 |
$this->print_checkbox(array(
|
2495 |
'hide'=>true,
|
2496 |
+
'title'=>__('Hides the yellow bar with the information about the new WordPress release', 'ag-custom-admin'),
|
2497 |
'name'=>'agca_update_bar',
|
2498 |
+
'label'=>__('Hide WordPress update notification', 'ag-custom-admin')
|
2499 |
));
|
2500 |
|
2501 |
$this->print_options_h3(__('Right Side', 'ag-custom-admin'));
|
2514 |
$this->print_checkbox(array(
|
2515 |
'hide'=>true,
|
2516 |
'name'=>'agca_remove_your_profile',
|
2517 |
+
'label'=>__('Hide "Edit My Profile" link', 'ag-custom-admin'),
|
2518 |
));
|
2519 |
|
2520 |
$this->print_checkbox(array(
|
2540 |
),
|
2541 |
'title'=>__('Hides footer with all elements', 'ag-custom-admin'),
|
2542 |
'name'=>'agca_footer',
|
2543 |
+
'label'=>__('<strong>Hide footer</strong>', 'ag-custom-admin')
|
2544 |
));
|
2545 |
|
2546 |
$this->print_options_h3(__('Footer Options', 'ag-custom-admin'));
|
2549 |
'hide'=>true,
|
2550 |
'title'=>__('Hides default text in footer', 'ag-custom-admin'),
|
2551 |
'name'=>'agca_footer_left_hide',
|
2552 |
+
'label'=>__('Hide footer text', 'ag-custom-admin')
|
2553 |
));
|
2554 |
|
2555 |
$this->print_textarea(array(
|
2556 |
'title'=>__('Replaces text \'Thank you for creating with WordPress\' with custom text', 'ag-custom-admin'),
|
2557 |
'name'=>'agca_footer_left',
|
2558 |
+
'class' => 'one-line',
|
2559 |
'label'=>__('Change footer text', 'ag-custom-admin')
|
2560 |
));
|
2561 |
|
2563 |
'hide'=>true,
|
2564 |
'title'=>__('Hides text \'Get Version ...\' on right', 'ag-custom-admin'),
|
2565 |
'name'=>'agca_footer_right_hide',
|
2566 |
+
'label'=>__('Hide version text', 'ag-custom-admin')
|
2567 |
));
|
2568 |
|
2569 |
$this->print_textarea(array(
|
2570 |
'title'=>__('Replaces text \'Get Version ...\' with custom text', 'ag-custom-admin'),
|
2571 |
'name'=>'agca_footer_right',
|
2572 |
+
'class' => 'one-line',
|
2573 |
'label'=>__('Change version text', 'ag-custom-admin')
|
2574 |
));
|
2575 |
|
2607 |
?>
|
2608 |
<tr>
|
2609 |
<td colspan="2">
|
2610 |
+
<p tabindex="0" class="agca-tip"><i><strong><?php _e('Note', 'ag-custom-admin'); ?>:</strong> <?php _e('These settings will override settings configured in the Screen options on Dashboard page.', 'ag-custom-admin'); ?></i></p>
|
2611 |
</td>
|
2612 |
</tr>
|
2613 |
<?php
|
2615 |
'hide'=>true,
|
2616 |
'title'=>__('Hides Welcome WordPress widget', 'ag-custom-admin'),
|
2617 |
'name'=>'agca_dashboard_widget_welcome',
|
2618 |
+
'label'=>__('Hide "Welcome" widget', 'ag-custom-admin')
|
2619 |
));
|
2620 |
|
2621 |
$this->print_checkbox(array(
|
2622 |
'hide'=>true,
|
2623 |
'title'=>__('Hides Activity dashboard widget', 'ag-custom-admin'),
|
2624 |
'name'=>'agca_dashboard_widget_activity',
|
2625 |
+
'label'=>__('Hide "Activity" widget', 'ag-custom-admin')
|
2626 |
));
|
2627 |
|
2628 |
$this->print_checkbox(array(
|
2629 |
'hide'=>true,
|
2630 |
'title'=>__('Hides Quick Draft dashboard widget', 'ag-custom-admin'),
|
2631 |
'name'=>'agca_dashboard_widget_qp',
|
2632 |
+
'label'=>__('Hide "Quick Draft" widget', 'ag-custom-admin')
|
2633 |
));
|
2634 |
|
2635 |
$this->print_checkbox(array(
|
2636 |
'hide'=>true,
|
2637 |
'title'=>__('Hides At a Glance dashboard widget', 'ag-custom-admin'),
|
2638 |
'name'=>'agca_dashboard_widget_rn',
|
2639 |
+
'label'=>__('Hide "At a Glance" widget', 'ag-custom-admin')
|
2640 |
));
|
2641 |
|
2642 |
$this->print_checkbox(array(
|
2643 |
'hide'=>true,
|
2644 |
'name'=>'agca_dashboard_widget_primary',
|
2645 |
'title'=>__('This is \'WordPress News\' or \'WordPress Development Blog\' widget in older WordPress versions', 'ag-custom-admin'),
|
2646 |
+
'label'=>__('Hide "WordPress News" widget', 'ag-custom-admin')
|
2647 |
));
|
2648 |
|
2649 |
$this->print_checkbox(array(
|
2650 |
'hide'=>true,
|
2651 |
'name'=>'agca_dashboard_widget_secondary',
|
2652 |
'title'=>__('This is \'Other WordPress News\' widget by default', 'ag-custom-admin'),
|
2653 |
+
'label'=>__('Hide secondary widget area', 'ag-custom-admin')
|
2654 |
));
|
2655 |
|
2656 |
?>
|
2668 |
'hide'=>true,
|
2669 |
'name'=>'agca_login_banner',
|
2670 |
'title'=>__('Hide back to blog block', 'ag-custom-admin'),
|
2671 |
+
'label'=>__('Hide "Back to blog" text', 'ag-custom-admin')
|
2672 |
));
|
2673 |
|
2674 |
$this->print_input(array(
|
2695 |
'hide'=>true,
|
2696 |
'title'=>__('Hides login image completely', 'ag-custom-admin'),
|
2697 |
'name'=>'agca_login_photo_remove',
|
2698 |
+
'label'=>__('Hide login header image', 'ag-custom-admin'),
|
2699 |
));
|
2700 |
|
2701 |
$this->print_checkbox(array(
|
2722 |
'hide'=>true,
|
2723 |
'title'=>__('Hides register link on login page', 'ag-custom-admin'),
|
2724 |
'name'=>'agca_login_register_remove',
|
2725 |
+
'label'=>__('Hide "Register" link', 'ag-custom-admin'),
|
2726 |
'input-class'=>'has-dependant dependant-opposite',
|
2727 |
'input-attributes'=>'data-dependant="#agca_login_register_href_block"'
|
2728 |
));
|
2742 |
'hide'=>true,
|
2743 |
'title'=>__('Hides lost password link on login page', 'ag-custom-admin'),
|
2744 |
'name'=>'agca_login_lostpassword_remove',
|
2745 |
+
'label'=>__('Hide "Lost password" link', 'ag-custom-admin'),
|
2746 |
));
|
2747 |
?>
|
2748 |
</table>
|
2756 |
<table class="form-table" width="500px">
|
2757 |
<tr valign="center" class="ag_table_major_options">
|
2758 |
<td><label for="agca_admin_menu_turnonoff"><strong><?php _e('Apply admin menu customizations', 'ag-custom-admin'); ?></strong></label></td>
|
2759 |
+
<td><input class="agca-checkbox visibility" type="checkbox" name="agca_admin_menu_turnonoff" title="<?php _e('Hides admin menu completely (administrator can see \'AGCA\' button)', 'ag-custom-admin'); ?>" value="on" <?php if (get_option('agca_admin_menu_turnonoff')==true) echo 'checked="checked" '; ?> /></td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2760 |
</tr>
|
2761 |
<tr valign="center" class="ag_table_major_options">
|
2762 |
<td><label for="agca_admin_menu_agca_button_only"><strong><?php _e('Admin menu', 'ag-custom-admin'); ?></strong></label></td>
|
2763 |
+
<td><input class="agca-checkbox visibility" type="checkbox" name="agca_admin_menu_agca_button_only" title="<?php _e('Hides admin menu completely (administrator can see \'AGCA\' button)', 'ag-custom-admin'); ?>" value="true" <?php if (get_option('agca_admin_menu_agca_button_only')==true) echo 'checked="checked" '; ?> /></td>
|
2764 |
</tr>
|
2765 |
<?php
|
2766 |
$this->print_options_h3(__('Edit / Remove Menu Items', 'ag-custom-admin'));
|
2770 |
<input type="button" class="agca_button" id="ag_edit_adminmenu_reset_button" title="<?php _e('Reset menu settings to default values', 'ag-custom-admin'); ?>" name="ag_edit_adminmenu_reset_button" value="<?php _e('Reset to default settings', 'ag-custom-admin'); ?>" /><br />
|
2771 |
<p tabindex="0"><em>(<?php _e('click on the top menu item to show its sub-menus', 'ag-custom-admin'); ?>)</em></p>
|
2772 |
<table id="ag_edit_adminmenu">
|
2773 |
+
<tr style="background-color:#816c64;">
|
2774 |
+
<td width="300px"><div style="float:left;color:#fff;"><h3><?php _e('Item', 'ag-custom-admin'); ?></h3></div><div style="float:right;color:#fff;"><h3><?php _e('Hide?', 'ag-custom-admin'); ?></h3></div></td><td width="300px" style="color:#fff;" ><h3><?php _e('Change Text', 'ag-custom-admin'); ?></h3>
|
2775 |
</td>
|
2776 |
</tr>
|
2777 |
</table>
|
2805 |
<td colspan="2">
|
2806 |
<?php _e('name', 'ag-custom-admin'); ?>:<input type="text" size="47" title="<?php _e('New button visible name', 'ag-custom-admin'); ?>" id="ag_add_adminmenu_name" name="ag_add_adminmenu_name" />
|
2807 |
<?php _e('url', 'ag-custom-admin'); ?>:<input type="text" size="47" title="<?php _e('New button link', 'ag-custom-admin'); ?>" id="ag_add_adminmenu_url" name="ag_add_adminmenu_url" />
|
2808 |
+
<?php _e('open in', 'ag-custom-admin'); ?>: <select id="ag_add_adminmenu_target" class="agca-selectbox" style="width:auto;">
|
2809 |
+
<option value="_self" selected><?php _e('the same tab', 'ag-custom-admin'); ?></option>
|
2810 |
+
<option value="_blank" ><?php _e('a new tab', 'ag-custom-admin'); ?></option>
|
2811 |
</select>
|
2812 |
<input type="button" id="ag_add_adminmenu_button" class="agca_button" title="<?php _e('Add new item button" name="ag_add_adminmenu_button', 'ag-custom-admin'); ?>" value="<?php _e('Add new item', 'ag-custom-admin'); ?>" />
|
2813 |
</td><td></td>
|
2839 |
'hide'=>true,
|
2840 |
'title'=>__('Removes empty space between some top menu items', 'ag-custom-admin'),
|
2841 |
'name'=>'agca_admin_menu_separators',
|
2842 |
+
'label'=>__('Hide menu items separators', 'ag-custom-admin'),
|
2843 |
));
|
2844 |
|
2845 |
$this->print_checkbox(array(
|
2846 |
'hide'=>true,
|
2847 |
'title'=>__('Removes icons from dmin menu buttons', 'ag-custom-admin'),
|
2848 |
'name'=>'agca_admin_menu_icons',
|
2849 |
+
'label'=>__('Hide menu icons', 'ag-custom-admin'),
|
2850 |
));
|
2851 |
|
2852 |
$this->print_checkbox(array(
|
2853 |
'hide'=>true,
|
2854 |
'title'=>__('Removes small arrow that appears on the top button hover', 'ag-custom-admin'),
|
2855 |
'name'=>'agca_admin_menu_arrow',
|
2856 |
+
'label'=>__('Hide sub-menu arrow', 'ag-custom-admin'),
|
2857 |
));
|
2858 |
|
2859 |
$this->print_checkbox(array(
|
2860 |
'hide'=>true,
|
2861 |
'title'=>__('Removes collapse button at the end of admin menu', 'ag-custom-admin'),
|
2862 |
'name'=>'agca_admin_menu_collapse_button',
|
2863 |
+
'label'=>__('Hide "Collapse menu" button', 'ag-custom-admin'),
|
2864 |
));
|
2865 |
|
2866 |
$this->print_checkbox(array(
|
2886 |
$this->print_input(array(
|
2887 |
'title'=>__('Adds custom logo above the admin menu', 'ag-custom-admin'),
|
2888 |
'name'=>'agca_admin_menu_brand',
|
2889 |
+
'label'=>__('Admin menu branding logo', 'ag-custom-admin'),
|
2890 |
'hint'=>__('Image URL', 'ag-custom-admin')
|
2891 |
));
|
2892 |
|
2904 |
<?php $this->show_save_button_upper(); ?>
|
2905 |
<table class="form-table" width="500px">
|
2906 |
<tr valign="center" class="ag_table_major_options">
|
2907 |
+
<td><label for="agca_colorizer_turnonoff"><strong><?php _e('Apply Colorizer customizations', 'ag-custom-admin'); ?></strong></label></td>
|
2908 |
+
<td><input class="agca-checkbox visibility" type="checkbox" name="agca_colorizer_turnonoff" value="on" <?php if (get_option('agca_colorizer_turnonoff')==true) echo 'checked="checked" '; ?> /></td>
|
2909 |
</tr>
|
2910 |
<?php
|
2911 |
$this->print_options_h3(__('Global Color Options', 'ag-custom-admin'));
|
2946 |
<table class="form-table" width="500px">
|
2947 |
<tr valign="center">
|
2948 |
<td>
|
2949 |
+
<p style="color: red; font-size:15px;font-weight:bold;margin-bottom:20px;">Note: AGCA Themes will be discontinued soon!</p>
|
2950 |
<div id="agca_templates"></div>
|
2951 |
</td>
|
2952 |
</tr>
|
2955 |
<div id="advanced_template_options" style="display:none">
|
2956 |
<div class="agca-feedback-and-support">
|
2957 |
<ul>
|
2958 |
+
<?php /* <li><a href="https://wordpressadminpanel.com/agca-support/contact/?type=theme" title="<?php _e('If you have any ideas for theme improvements, or you have new themes requests, please feel free to send us a message', 'ag-custom-admin'); ?>" target="_blank"><span class="dashicons dashicons-art"></span> <?php _e('Submit your admin themes ideas', 'ag-custom-admin'); ?></a></li>*/ ?>
|
2959 |
<li><a style="background: #f08080;color:#fff;" href="javascript:agca_removeAllTemplates();" title="<?php _e('WARNING: All installed themes will be removed. To activate them again, you would need to install theme and activate using valid license keys. Free themes can be installed again.', 'ag-custom-admin'); ?>"><span style="color:#fff" class="dashicons dashicons-trash"></span> <?php _e('Uninstall all installed themes', 'ag-custom-admin'); ?></a></li>
|
2960 |
</ul>
|
2961 |
</div>
|
3033 |
function show_save_button(){
|
3034 |
?>
|
3035 |
<p class="submit agca-clear">
|
3036 |
+
<input type="button" id="save_plugin_settings" style="padding:0px" title="<?php _e('Save AGCA configuration', 'ag-custom-admin'); ?>" class="button-primary" value="<?php _e('Save Changes') ?>" onClick="savePluginSettings()" />
|
3037 |
</p>
|
3038 |
<?php
|
3039 |
}
|
3116 |
}
|
3117 |
function print_textarea($data){
|
3118 |
$strHint = '';
|
3119 |
+
$strClass = '';
|
3120 |
if(isset($data['hint'])){
|
3121 |
$strHint = ' <p><i>'.$data['hint'].'</i>.</p>';
|
3122 |
}
|
3123 |
if(!isset($data['title'])){
|
3124 |
$data['title'] = $data['label'];
|
3125 |
}
|
3126 |
+
if(isset($data['class'])){
|
3127 |
+
$strClass = $data['class'];
|
3128 |
+
}
|
3129 |
?>
|
3130 |
<tr valign="center">
|
3131 |
<th scope="row">
|
3132 |
<label title="<?php echo $data['title'] ?>" for="<?php echo $data['name'] ?>"><?php echo $data['label'] ?></label>
|
3133 |
</th>
|
3134 |
<td>
|
3135 |
+
<textarea <?php echo !empty($strClass)?'class="'.$strClass.'"':''; ?> title="<?php echo $data['title'] ?>" rows="5" name="<?php echo $data['name'] ?>" cols="40"><?php echo htmlspecialchars(get_option($data['name'])); ?></textarea>
|
3136 |
<?php echo $strHint ?>
|
3137 |
</td>
|
3138 |
</tr>
|
3142 |
?>
|
3143 |
<tr valign="center" class="color">
|
3144 |
<th><label title="<?php echo $title ?>" for="<?php echo $name ?>"><?php echo $label ?></label></th>
|
3145 |
+
<td><input type="text" placeholder="#" id="<?php echo $name ?>" name="<?php echo $name ?>" class="color_picker" value="<?php echo $this->getAGCAColor($name); ?>" />
|
3146 |
<a title="<?php _e('Pick Color', 'ag-custom-admin'); ?>" alt="<?php echo $name ?>" class="pick_color_button agca_button"><span class="dashicons dashicons-art"></span></a>
|
3147 |
<a title="<?php _e('Clear', 'ag-custom-admin'); ?>" alt="<?php echo $name ?>" class="pick_color_button_clear agca_button" ><span class="dashicons clear dashicons-no-alt"></span></a>
|
3148 |
</td>
|
3174 |
#endregion
|
3175 |
|
3176 |
}
|
3177 |
+
//TODO: Add log out button to the admin menu
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
===
|
2 |
-
Contributors:
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+AG+Custom+Admin+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.
|
7 |
-
Stable tag:
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl.txt
|
10 |
|
@@ -14,20 +14,15 @@ All-in-one tool for admin panel customization. Change almost everything: admin m
|
|
14 |
With this plugin you can easily customize WordPress **admin panel**, **login page**, **admin menu**, **admin bar** etc. in tiny details and apply free responsive and commercial **admin themes**.
|
15 |
|
16 |
* **ADMIN BAR**: Hide or change admin bar items. Remove WordPress traces from admin bar. Brand it with custom colors.
|
17 |
-
* **ADMIN MENU**: Change and remove existing and add custom admin menu items. Brand it with custom colors.
|
18 |
-
* **
|
19 |
-
* **COLORIZER**: This tool is integrated with AG Custom Admin panel and can be used to change default WordPress admin panel colors, admin bar, admin menu, login page, backgrounds and text.
|
20 |
* **BRANDING**: Brand your admin panel pages with custom content, colors, images and text.
|
21 |
* **ADMIN PANEL OPTIONS**: There are dozens of other admin panel options used to improve WordPress UX on admin and login pages items like Dashboard widgets, Help and Screen options, WordPress logos, links, menus etc. See the full list down below.
|
22 |
|
23 |
= Premium Features =
|
24 |
> <strong>CUSMIN</strong><br>
|
25 |
-
> Cusmin is premium version of
|
26 |
> For more info about Cusmin, please go to [Cusmin](https://cusmin.com?ref=agca) site.<br><br>
|
27 |
-
> <strong>ADMIN THEMES</strong><br>
|
28 |
-
> AG Custom Admin plugin contains specially created professional and responsive themes for admin panel and login page, that can be applied easily within AG Custom Admin plugin in a couple of clicks!
|
29 |
-
> We will add more themes with better styles and theme options in future.<br><br>
|
30 |
-
> For more info about AG Custom Admin themes, please go to [WordPress Admin Panel Themes](http://wordpressadminpanel.com/themes/home?ref=agca) site.
|
31 |
|
32 |
= General Settings =
|
33 |
* Hide "Screen Options" menu
|
@@ -112,7 +107,7 @@ For more information about the plugin please check [OFFICIAL PLUGIN'S SITE](http
|
|
112 |
|
113 |
1. Upload `ag-custom-admin` directory to the `/wp-content/plugins/` directory
|
114 |
2. Activate the plugin through the 'Plugins' menu in WordPress
|
115 |
-
3. Navigate to plugin's settings page: 'Tools =>
|
116 |
|
117 |
== Frequently Asked Questions ==
|
118 |
|
@@ -138,21 +133,24 @@ If you have the latest WordPress and plugin versions and you still experience so
|
|
138 |
|
139 |
== Screenshots ==
|
140 |
|
141 |
-
1.
|
142 |
2. Login page can be customized and styled with custom branding logo or image, rounded borders, background colors.
|
143 |
-
3.
|
144 |
-
4.
|
145 |
5. Admin menu editor.
|
146 |
-
6.
|
147 |
-
7.
|
148 |
-
8.
|
149 |
-
9.
|
150 |
-
10.
|
151 |
-
11.
|
152 |
-
12. Army - commercial theme.
|
153 |
|
154 |
== Change Log ==
|
155 |
|
|
|
|
|
|
|
|
|
156 |
= 5.7.4 =
|
157 |
* Updated plugin links to secure links
|
158 |
|
@@ -531,6 +529,9 @@ If you have the latest WordPress and plugin versions and you still experience so
|
|
531 |
|
532 |
== Upgrade Notice ==
|
533 |
|
|
|
|
|
|
|
534 |
= 5.7.4 =
|
535 |
* Updated plugin links to secure links
|
536 |
|
1 |
+
=== Absolutely Glamorous Custom Admin ===
|
2 |
+
Contributors: cusmin, wap
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+AG+Custom+Admin+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.9.1
|
7 |
+
Stable tag: 6.0
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl.txt
|
10 |
|
14 |
With this plugin you can easily customize WordPress **admin panel**, **login page**, **admin menu**, **admin bar** etc. in tiny details and apply free responsive and commercial **admin themes**.
|
15 |
|
16 |
* **ADMIN BAR**: Hide or change admin bar items. Remove WordPress traces from admin bar. Brand it with custom colors.
|
17 |
+
* **ADMIN MENU**: Change and remove existing and add custom admin menu items. Brand it with custom colors.
|
18 |
+
* **COLORIZER**: This tool is integrated with Absolutely Glamorous Custom Admin panel and can be used to change default WordPress admin panel colors, admin bar, admin menu, login page, backgrounds and text.
|
|
|
19 |
* **BRANDING**: Brand your admin panel pages with custom content, colors, images and text.
|
20 |
* **ADMIN PANEL OPTIONS**: There are dozens of other admin panel options used to improve WordPress UX on admin and login pages items like Dashboard widgets, Help and Screen options, WordPress logos, links, menus etc. See the full list down below.
|
21 |
|
22 |
= Premium Features =
|
23 |
> <strong>CUSMIN</strong><br>
|
24 |
+
> Cusmin is the premium version of the Absolutely Glamorous Custom Admin that gives you advanced features for customization and branding. It's perfect for professionals, but can be used on personal sites as well.<br><br>
|
25 |
> For more info about Cusmin, please go to [Cusmin](https://cusmin.com?ref=agca) site.<br><br>
|
|
|
|
|
|
|
|
|
26 |
|
27 |
= General Settings =
|
28 |
* Hide "Screen Options" menu
|
107 |
|
108 |
1. Upload `ag-custom-admin` directory to the `/wp-content/plugins/` directory
|
109 |
2. Activate the plugin through the 'Plugins' menu in WordPress
|
110 |
+
3. Navigate to plugin's settings page: 'Tools => AGCA'
|
111 |
|
112 |
== Frequently Asked Questions ==
|
113 |
|
133 |
|
134 |
== Screenshots ==
|
135 |
|
136 |
+
1. Absolutely Glamorous Custom Admin provides many options for admin panel customization, and it's quite easy to use it.
|
137 |
2. Login page can be customized and styled with custom branding logo or image, rounded borders, background colors.
|
138 |
+
3. Colorizer options for branding with custom colors.
|
139 |
+
4. Custom Admin menu items.
|
140 |
5. Admin menu editor.
|
141 |
+
6. Add your own styles and JavaScript code.
|
142 |
+
7. Style Example #1
|
143 |
+
8. Style Example #2
|
144 |
+
9. Style Example #3
|
145 |
+
10. Style Example #4
|
146 |
+
11. Login style example
|
|
|
147 |
|
148 |
== Change Log ==
|
149 |
|
150 |
+
= 6.0 =
|
151 |
+
* AGCA Re-branding
|
152 |
+
* Added support for shortcodes in custom dashboard content
|
153 |
+
|
154 |
= 5.7.4 =
|
155 |
* Updated plugin links to secure links
|
156 |
|
529 |
|
530 |
== Upgrade Notice ==
|
531 |
|
532 |
+
= 6.0 =
|
533 |
+
* AGCA Re-branding and improvements
|
534 |
+
|
535 |
= 5.7.4 =
|
536 |
* Updated plugin links to secure links
|
537 |
|
script/ag_script.js
CHANGED
@@ -117,7 +117,7 @@ function prettyEditMenuPage(){
|
|
117 |
});
|
118 |
};
|
119 |
function editMenuRow(url, originalName, newName, removed){
|
120 |
-
return '<tr class="top" data-url="'+url+'"
|
121 |
}
|
122 |
function editMenuSubrow(index, parentName, parentIndex, url, originalName, newName, removed){
|
123 |
return '<tr class="sub" data-index="'+index+'" data-parent="'+parentIndex+'" data-name="'+originalName+'" data-url="'+url+'"><td class="ag_admin_menu_child"><div style="float:left"><a tabindex="-1" href="javascript:void(0)" style="font-weight:bold;" title="Dashboard submenu: '+originalName+'"><span style="font-weight:normal"> </span>'+originalName+'</a></div><div style="float:right"><input type="checkbox" title="'+agca_string.remove+' '+parentName+' submenu: '+originalName+' from menu" class="Home agca-checkbox visibility" '+(removed?' checked=\"checked\" ':'')+' name="ag_edit_adminmenu_item_sub_1" style="display: none;"><div onclick="agcaCheckBoxOnClick(jQuery(this));" class="agca-checkbox-box" title="'+agca_string.remove+' '+parentName+' sub-menu: '+originalName+' from menu"><div></div></div></div></td><td class="ag_admin_menu_child2"><input type="text" title="'+agca_string.rename+' '+agca_string.submenuitem+' '+originalName+' '+agca_string.withthisvalue+'" class="'+originalName+'" size="47" value="'+newName+'" name="ag_edit_adminmenu_item_sub_1"></td></tr>';
|
@@ -384,8 +384,8 @@ function agcaApplyTooltip(){
|
|
384 |
jQuery("#AGToolTipDiv").css({
|
385 |
'top': tipY,
|
386 |
'left': tipX,
|
387 |
-
'background': '#
|
388 |
-
'border': '1px solid #
|
389 |
});
|
390 |
});
|
391 |
}
|
117 |
});
|
118 |
};
|
119 |
function editMenuRow(url, originalName, newName, removed){
|
120 |
+
return '<tr class="top" data-url="'+url+'" ><td class="ag_admin_menu_parent"><br><span class=\"agcaMenuEditorPlusMinus\"><span class="dashicons plus dashicons-arrow-down-alt2"></span><span class="dashicons minus dashicons-arrow-up-alt2"></span></span><a tabindex="0" href="javascript:void(0)">'+originalName+'</a><div style="float:right"><input title="Remove Home from menu" class=" agca-checkbox visibility" type="checkbox" '+(removed?' checked=\"checked\" ':'')+' name="ag_edit_adminmenu_item_top_2" style="display: none;"><div onclick="agcaCheckBoxOnClick(jQuery(this));" class="agca-checkbox-box" title="'+agca_string.remove+' '+originalName+' '+agca_string.frommenu+'"><div></div></div></div></td><td class="ag_admin_menu_parent2"><input title="'+agca_string.rename+' '+originalName+' '+agca_string.withthisvalue+'" type="text" class="undefined" size="47" value="'+newName+'" name="ag_edit_adminmenu_item_top_2"></td></tr>';
|
121 |
}
|
122 |
function editMenuSubrow(index, parentName, parentIndex, url, originalName, newName, removed){
|
123 |
return '<tr class="sub" data-index="'+index+'" data-parent="'+parentIndex+'" data-name="'+originalName+'" data-url="'+url+'"><td class="ag_admin_menu_child"><div style="float:left"><a tabindex="-1" href="javascript:void(0)" style="font-weight:bold;" title="Dashboard submenu: '+originalName+'"><span style="font-weight:normal"> </span>'+originalName+'</a></div><div style="float:right"><input type="checkbox" title="'+agca_string.remove+' '+parentName+' submenu: '+originalName+' from menu" class="Home agca-checkbox visibility" '+(removed?' checked=\"checked\" ':'')+' name="ag_edit_adminmenu_item_sub_1" style="display: none;"><div onclick="agcaCheckBoxOnClick(jQuery(this));" class="agca-checkbox-box" title="'+agca_string.remove+' '+parentName+' sub-menu: '+originalName+' from menu"><div></div></div></div></td><td class="ag_admin_menu_child2"><input type="text" title="'+agca_string.rename+' '+agca_string.submenuitem+' '+originalName+' '+agca_string.withthisvalue+'" class="'+originalName+'" size="47" value="'+newName+'" name="ag_edit_adminmenu_item_sub_1"></td></tr>';
|
384 |
jQuery("#AGToolTipDiv").css({
|
385 |
'top': tipY,
|
386 |
'left': tipX,
|
387 |
+
'background': '#efefef',
|
388 |
+
'border': '1px solid #826c63'
|
389 |
});
|
390 |
});
|
391 |
}
|
style/ag_style.css
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
/*color scheme*/
|
2 |
/*
|
3 |
-main
|
@@ -19,17 +20,20 @@
|
|
19 |
}
|
20 |
|
21 |
h1#agca-title {
|
22 |
-
color: #
|
23 |
font-weight: bold;
|
24 |
font-size: 30px;
|
25 |
}
|
26 |
h1#agca-title .title{
|
27 |
float:left;
|
28 |
padding: 10px;
|
|
|
|
|
29 |
}
|
30 |
h1#agca-title img{
|
31 |
-
width:
|
32 |
float: left;
|
|
|
33 |
}
|
34 |
h1#agca-title .version{
|
35 |
font-size: 15px;
|
@@ -44,13 +48,16 @@ table .agca-tip {
|
|
44 |
#ag_main_menu {
|
45 |
display: block;
|
46 |
height: 34px;
|
47 |
-
border-bottom: 3px solid #
|
48 |
-
margin-top:
|
|
|
|
|
|
|
49 |
}
|
50 |
#ag_main_menu li.upgrade{
|
51 |
background-color:#fff;
|
52 |
border-top-right-radius: 10px;
|
53 |
-
border-bottom: 2px solid #
|
54 |
}
|
55 |
#ag_main_menu li.upgrade:hover{
|
56 |
background: #fff !important;
|
@@ -71,11 +78,7 @@ table .agca-tip {
|
|
71 |
}
|
72 |
|
73 |
.ag_section {
|
74 |
-
background:
|
75 |
-
}
|
76 |
-
|
77 |
-
.ag_section h2 {
|
78 |
-
color: #005B69;
|
79 |
}
|
80 |
|
81 |
#agca_form #section-cusmin {
|
@@ -89,29 +92,30 @@ table .agca-tip {
|
|
89 |
color: #999;
|
90 |
}
|
91 |
|
92 |
-
#agca_form .save-button-upper{
|
93 |
-
padding-left: 20px;
|
94 |
-
}
|
95 |
|
96 |
#ag_main_menu li {
|
97 |
display: block;
|
98 |
-
background-color: #
|
99 |
float: left;
|
100 |
-
color: #
|
101 |
padding: 15px;
|
102 |
padding-top: 8px;
|
103 |
padding-bottom: 8px;
|
104 |
font-weight: bold;
|
105 |
-
border-bottom: 3px solid #
|
106 |
}
|
107 |
|
108 |
#ag_main_menu li.selected {
|
109 |
-
background-color: #
|
|
|
110 |
cursor: default;
|
111 |
}
|
|
|
|
|
|
|
112 |
|
113 |
#ag_main_menu li.normal:hover {
|
114 |
-
background-color: #
|
115 |
cursor: pointer;
|
116 |
}
|
117 |
|
@@ -122,7 +126,7 @@ table .agca-tip {
|
|
122 |
|
123 |
#ag_main_menu li a {
|
124 |
text-decoration: none;
|
125 |
-
color: #
|
126 |
outline: none;
|
127 |
border: 0;
|
128 |
}
|
@@ -134,22 +138,25 @@ table .agca-tip {
|
|
134 |
padding: 5px;
|
135 |
padding-top: 0px;
|
136 |
padding-bottom: 1px;
|
137 |
-
margin-top:
|
|
|
138 |
margin-left: -10px;
|
139 |
margin-right: -10px;
|
140 |
}
|
141 |
|
142 |
.ag_table_heading h3 {
|
143 |
-
color: #
|
144 |
-
background:
|
145 |
margin-left: -15px;
|
146 |
-
padding:
|
147 |
border: none;
|
|
|
148 |
border-radius: 6px;
|
|
|
149 |
}
|
150 |
|
151 |
.ag_table_major_options {
|
152 |
-
background-color: #
|
153 |
width: 500px;
|
154 |
margin-bottom: 2px;
|
155 |
}
|
@@ -164,11 +171,11 @@ div#AGToolTipDiv {
|
|
164 |
left: 200px;
|
165 |
height: auto;
|
166 |
border: 1px solid #FFFF00;
|
167 |
-
background-color: #
|
|
|
168 |
display: none;
|
169 |
-
padding:
|
170 |
-
|
171 |
-
padding-bottom: 5px;
|
172 |
}
|
173 |
|
174 |
td.ag_admin_menu_parent {
|
@@ -206,10 +213,6 @@ td.ag_admin_menu_parent:hover {
|
|
206 |
color: #444;
|
207 |
}
|
208 |
|
209 |
-
#ag_edit_adminmenu input[name=ag_edit_adminmenu_item_top_2]:hover {
|
210 |
-
background-color: grey !important;
|
211 |
-
}
|
212 |
-
|
213 |
.noclass {
|
214 |
display: none;
|
215 |
}
|
@@ -235,6 +238,7 @@ td.ag_admin_menu_parent:hover {
|
|
235 |
position: absolute;
|
236 |
margin-top: -22px;
|
237 |
color: #005B69;
|
|
|
238 |
}
|
239 |
|
240 |
#agca_news a {
|
@@ -268,9 +272,9 @@ td.ag_admin_menu_parent:hover {
|
|
268 |
|
269 |
#agca_form .section_title {
|
270 |
font-weight: bold;
|
271 |
-
background:
|
272 |
border-bottom-right-radius: 15px;
|
273 |
-
color: #
|
274 |
float: left;
|
275 |
font-size: 40px;
|
276 |
padding: 20px 11px;
|
@@ -282,21 +286,33 @@ td.ag_admin_menu_parent:hover {
|
|
282 |
margin-top: 0;
|
283 |
}
|
284 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
285 |
#agca_form h2.section_title {
|
286 |
|
287 |
}
|
288 |
|
289 |
#agca_form h2.section_title {
|
290 |
-
font-family: Helvetica, Arial, sans-serif;
|
291 |
font-weight: bold;
|
292 |
font-size: 45px;
|
293 |
line-height: 1em;
|
294 |
}
|
295 |
|
296 |
#agca_form h2.section_title {
|
297 |
-
|
298 |
-
color: rgba(189, 193, 172, 0.71);
|
299 |
-
text-shadow: 1px 4px 6px #def7c3, 0 0 0 #000, 1px 4px 6px #def7c3;
|
300 |
}
|
301 |
|
302 |
/* Don't show shadows when selecting text */
|
@@ -313,14 +329,14 @@ td.ag_admin_menu_parent:hover {
|
|
313 |
}
|
314 |
|
315 |
#agca_form #templates_head_buttons input[type=button] {
|
316 |
-
background: #
|
317 |
color: white;
|
318 |
font-weight: bold;
|
319 |
}
|
320 |
|
321 |
#agca_form #templates_head_buttons input[type=button]:hover {
|
322 |
background: white;
|
323 |
-
color: #
|
324 |
}
|
325 |
|
326 |
.ag-custom-button {
|
@@ -355,14 +371,20 @@ td.ag_admin_menu_parent:hover {
|
|
355 |
margin-right: 18px;
|
356 |
cursor: default;
|
357 |
width: 10px;
|
|
|
|
|
|
|
358 |
}
|
359 |
|
360 |
/*#agca_form input.agca_button,#agca_form #ag_add_adminmenu button{
|
361 |
padding: 3px 10px;
|
362 |
background-color:#ffffff;
|
363 |
} */
|
|
|
|
|
|
|
364 |
#agca_form .agca_button.clear span:before {
|
365 |
-
color: #
|
366 |
cursor: pointer;
|
367 |
font-size: 30px;
|
368 |
}
|
@@ -372,48 +394,68 @@ td.ag_admin_menu_parent:hover {
|
|
372 |
}
|
373 |
|
374 |
#agca_form input[type=button], button {
|
375 |
-
background
|
376 |
-
border: 1px solid #
|
377 |
border-radius: 3px;
|
378 |
color: #FFFFFF;
|
379 |
padding: 5px 10px;
|
380 |
}
|
381 |
|
382 |
#agca_form input[type=button]:hover {
|
383 |
-
background-color: #
|
384 |
-
border: 1px solid #
|
385 |
-
color: #
|
386 |
cursor: pointer;
|
387 |
}
|
388 |
|
389 |
#agca_form input[type=text] {
|
390 |
height: 28px;
|
391 |
width: 400px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
392 |
}
|
393 |
|
394 |
#agca_form input.color_picker {
|
395 |
-
width:
|
396 |
}
|
397 |
|
398 |
-
#agca_form input
|
399 |
-
|
|
|
|
|
|
|
|
|
|
|
400 |
}
|
401 |
|
402 |
#agca_form textarea {
|
403 |
width: 400px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
404 |
}
|
405 |
|
406 |
#agca_form textarea.wp-editor-area {
|
407 |
width: 100%;
|
408 |
}
|
409 |
|
410 |
-
#agca_form textarea:
|
411 |
-
background-color:
|
|
|
412 |
}
|
413 |
|
414 |
-
#agca_form #ag_edit_adminmenu
|
415 |
-
|
416 |
-
color: #ffffff;
|
417 |
}
|
418 |
|
419 |
#agca_form #ag_add_adminmenu input[type=text] {
|
@@ -423,7 +465,7 @@ td.ag_admin_menu_parent:hover {
|
|
423 |
#agca_form #ag_add_adminmenu .button_edit span,
|
424 |
#agca_form #ag_add_adminmenu .button_remove span {
|
425 |
font-size: 25px;
|
426 |
-
color: #
|
427 |
}
|
428 |
|
429 |
#agca_form #ag_add_adminmenu .button_remove span {
|
@@ -431,20 +473,20 @@ td.ag_admin_menu_parent:hover {
|
|
431 |
}
|
432 |
|
433 |
#agca_form input#save_plugin_settings {
|
434 |
-
background:
|
435 |
font-weight: bold;
|
436 |
height: 39px;
|
437 |
padding: 4px;
|
438 |
-
width:
|
439 |
-
border: 1px solid #
|
440 |
text-shadow: none !important;
|
441 |
box-shadow: none !important;
|
442 |
font-size: 16px;
|
|
|
443 |
}
|
444 |
|
445 |
#agca_form input#save_plugin_settings:hover {
|
446 |
-
background-color: #
|
447 |
-
color: #005B69 !important;
|
448 |
}
|
449 |
|
450 |
#agca_form input#save_plugin_settings[type="button"]:hover {
|
@@ -533,7 +575,7 @@ td.ag_admin_menu_parent:hover {
|
|
533 |
}
|
534 |
|
535 |
.agca-selectbox:hover {
|
536 |
-
background-color: #
|
537 |
}
|
538 |
|
539 |
#agca_form .agca-checkbox-box {
|
@@ -546,15 +588,10 @@ td.ag_admin_menu_parent:hover {
|
|
546 |
}
|
547 |
|
548 |
#agca_form .agca-checkbox-box:before {
|
549 |
-
content: "
|
550 |
-
font-size:
|
551 |
-
line-height:
|
552 |
-
color: #
|
553 |
-
font-family: Dashicons;
|
554 |
-
}
|
555 |
-
|
556 |
-
#agca_form .agca-checkbox-box.visibility:before {
|
557 |
-
content: "\f177";
|
558 |
}
|
559 |
|
560 |
#agca_form .agca-checkbox-box-checked {
|
@@ -567,16 +604,13 @@ td.ag_admin_menu_parent:hover {
|
|
567 |
}
|
568 |
|
569 |
#agca_form .agca-checkbox-box-checked:before {
|
570 |
-
content: "
|
571 |
-
font-size:
|
572 |
-
line-height:
|
573 |
-
color: #
|
574 |
-
font-family: Dashicons;
|
575 |
}
|
576 |
|
577 |
#agca_form .agca-checkbox-box-checked.visibility:before {
|
578 |
-
content: "\f530";
|
579 |
-
color: #f08080;
|
580 |
}
|
581 |
|
582 |
#agca_form .agca-checkbox-box-checked:hover:before,
|
@@ -591,9 +625,17 @@ td.ag_admin_menu_parent:hover {
|
|
591 |
|
592 |
#agca_form .form-table th {
|
593 |
width: 350px;
|
594 |
-
padding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
595 |
}
|
596 |
-
|
597 |
.ag_admin_menu_parent .agca-checkbox-box-checked, .ag_admin_menu_parent .agca-checkbox-box {
|
598 |
margin-top: -15px;
|
599 |
}
|
@@ -622,11 +664,11 @@ td.ag_admin_menu_parent:hover {
|
|
622 |
}
|
623 |
|
624 |
#agca_form .agca-radio-text.on {
|
625 |
-
color: #
|
626 |
}
|
627 |
|
628 |
#agca_form .agca-radio-text.off {
|
629 |
-
color: #
|
630 |
}
|
631 |
|
632 |
#agca_form .agca-radiobox:before {
|
@@ -649,11 +691,11 @@ td.ag_admin_menu_parent:hover {
|
|
649 |
}
|
650 |
|
651 |
#agca_form .agca-radiobox[value=off]:before {
|
652 |
-
color: #
|
653 |
}
|
654 |
|
655 |
#agca_form #section_templates {
|
656 |
-
background:
|
657 |
}
|
658 |
|
659 |
#wp-admin-bar-agca-admin-themes a {
|
@@ -671,18 +713,20 @@ td.ag_admin_menu_parent:hover {
|
|
671 |
.agca-feedback-and-support a {
|
672 |
border: medium none;
|
673 |
border-radius: 4px;
|
674 |
-
color: #FFFFFF;
|
675 |
padding: 6px 20px;
|
676 |
min-width: 240px;
|
677 |
-
background:
|
678 |
display: inline-block;
|
|
|
679 |
text-decoration: none;
|
680 |
-
color: gray;
|
681 |
}
|
682 |
|
683 |
.agca-feedback-and-support .upgrade a{
|
684 |
background: #f9f9f9;
|
|
|
685 |
float: left;
|
|
|
686 |
padding: 5px 30px 5px 9px;
|
687 |
}
|
688 |
.agca-feedback-and-support .upgrade span{
|
@@ -699,8 +743,7 @@ td.ag_admin_menu_parent:hover {
|
|
699 |
}
|
700 |
|
701 |
.agca-feedback-and-support a:hover {
|
702 |
-
background-color: #
|
703 |
-
color: #fff;
|
704 |
}
|
705 |
.agca-feedback-and-support .upgrade a:hover{
|
706 |
background-color: #fff;
|
@@ -711,6 +754,7 @@ td.ag_admin_menu_parent:hover {
|
|
711 |
float: right;
|
712 |
width: 160px;
|
713 |
margin-top: -10px;
|
|
|
714 |
}
|
715 |
|
716 |
#agca-your-feedback .dashicons {
|
@@ -748,6 +792,10 @@ td.ag_admin_menu_parent:hover {
|
|
748 |
margin-top: 3px;
|
749 |
display: inline-block;
|
750 |
}
|
|
|
|
|
|
|
|
|
751 |
|
752 |
#section_ag_colorizer_settings .color input {
|
753 |
border-radius: 5px;
|
@@ -760,15 +808,15 @@ td.ag_admin_menu_parent:hover {
|
|
760 |
#section_ag_colorizer_settings .color .agca_button span {
|
761 |
font-size: 35px;
|
762 |
padding: 0 6px;
|
763 |
-
color: #
|
764 |
}
|
765 |
|
766 |
#section_ag_colorizer_settings .color .agca_button span:hover {
|
767 |
-
color: #
|
768 |
}
|
769 |
|
770 |
#section_ag_colorizer_settings .color .agca_button span.clear {
|
771 |
-
color: #
|
772 |
}
|
773 |
|
774 |
#section_ag_colorizer_settings .color .agca_button span.clear:hover {
|
@@ -777,4 +825,56 @@ td.ag_admin_menu_parent:hover {
|
|
777 |
/*Hide dashboard empty box containers*/
|
778 |
#dashboard-widgets div.empty-container{
|
779 |
display: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
780 |
}
|
1 |
+
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700');
|
2 |
/*color scheme*/
|
3 |
/*
|
4 |
-main
|
20 |
}
|
21 |
|
22 |
h1#agca-title {
|
23 |
+
color: #826c63;
|
24 |
font-weight: bold;
|
25 |
font-size: 30px;
|
26 |
}
|
27 |
h1#agca-title .title{
|
28 |
float:left;
|
29 |
padding: 10px;
|
30 |
+
font-family: 'Open Sans', sans-serif;
|
31 |
+
font-weight: 300;
|
32 |
}
|
33 |
h1#agca-title img{
|
34 |
+
width: 128px;
|
35 |
float: left;
|
36 |
+
margin-top: -40px;
|
37 |
}
|
38 |
h1#agca-title .version{
|
39 |
font-size: 15px;
|
48 |
#ag_main_menu {
|
49 |
display: block;
|
50 |
height: 34px;
|
51 |
+
border-bottom: 3px solid #826c63;
|
52 |
+
margin-top: 10px;
|
53 |
+
}
|
54 |
+
#ag_main_menu li a:hover{
|
55 |
+
color: #fff;
|
56 |
}
|
57 |
#ag_main_menu li.upgrade{
|
58 |
background-color:#fff;
|
59 |
border-top-right-radius: 10px;
|
60 |
+
border-bottom: 2px solid #826c63;
|
61 |
}
|
62 |
#ag_main_menu li.upgrade:hover{
|
63 |
background: #fff !important;
|
78 |
}
|
79 |
|
80 |
.ag_section {
|
81 |
+
background: transparent;
|
|
|
|
|
|
|
|
|
82 |
}
|
83 |
|
84 |
#agca_form #section-cusmin {
|
92 |
color: #999;
|
93 |
}
|
94 |
|
|
|
|
|
|
|
95 |
|
96 |
#ag_main_menu li {
|
97 |
display: block;
|
98 |
+
background-color: #826c63;
|
99 |
float: left;
|
100 |
+
color: #fff;
|
101 |
padding: 15px;
|
102 |
padding-top: 8px;
|
103 |
padding-bottom: 8px;
|
104 |
font-weight: bold;
|
105 |
+
border-bottom: 3px solid #826c63;
|
106 |
}
|
107 |
|
108 |
#ag_main_menu li.selected {
|
109 |
+
background-color: #efefef;
|
110 |
+
color: #826c63;
|
111 |
cursor: default;
|
112 |
}
|
113 |
+
#ag_main_menu li.selected a{
|
114 |
+
color: #6d6764;
|
115 |
+
}
|
116 |
|
117 |
#ag_main_menu li.normal:hover {
|
118 |
+
background-color: #6d6764;
|
119 |
cursor: pointer;
|
120 |
}
|
121 |
|
126 |
|
127 |
#ag_main_menu li a {
|
128 |
text-decoration: none;
|
129 |
+
color: #fff;
|
130 |
outline: none;
|
131 |
border: 0;
|
132 |
}
|
138 |
padding: 5px;
|
139 |
padding-top: 0px;
|
140 |
padding-bottom: 1px;
|
141 |
+
margin-top: 20px;
|
142 |
+
margin-bottom: 24px;
|
143 |
margin-left: -10px;
|
144 |
margin-right: -10px;
|
145 |
}
|
146 |
|
147 |
.ag_table_heading h3 {
|
148 |
+
color: #826c63;
|
149 |
+
background: #efefef;
|
150 |
margin-left: -15px;
|
151 |
+
padding: 5px 15px;
|
152 |
border: none;
|
153 |
+
border: 3px #826c63 solid;
|
154 |
border-radius: 6px;
|
155 |
+
font-size: 15px;
|
156 |
}
|
157 |
|
158 |
.ag_table_major_options {
|
159 |
+
background-color: #f9f8f8;
|
160 |
width: 500px;
|
161 |
margin-bottom: 2px;
|
162 |
}
|
171 |
left: 200px;
|
172 |
height: auto;
|
173 |
border: 1px solid #FFFF00;
|
174 |
+
background-color: #efefef;
|
175 |
+
color: #826c63;
|
176 |
display: none;
|
177 |
+
padding: 5px 10px;
|
178 |
+
border-radius: 3px;
|
|
|
179 |
}
|
180 |
|
181 |
td.ag_admin_menu_parent {
|
213 |
color: #444;
|
214 |
}
|
215 |
|
|
|
|
|
|
|
|
|
216 |
.noclass {
|
217 |
display: none;
|
218 |
}
|
238 |
position: absolute;
|
239 |
margin-top: -22px;
|
240 |
color: #005B69;
|
241 |
+
display: none;
|
242 |
}
|
243 |
|
244 |
#agca_news a {
|
272 |
|
273 |
#agca_form .section_title {
|
274 |
font-weight: bold;
|
275 |
+
background: transparent;
|
276 |
border-bottom-right-radius: 15px;
|
277 |
+
color: #e85e3a;
|
278 |
float: left;
|
279 |
font-size: 40px;
|
280 |
padding: 20px 11px;
|
286 |
margin-top: 0;
|
287 |
}
|
288 |
|
289 |
+
#agca_form select{
|
290 |
+
border:3px #826c63 solid;
|
291 |
+
color: #826c63;
|
292 |
+
display: inline-block;
|
293 |
+
font-weight: bold;
|
294 |
+
height: 35px !important;
|
295 |
+
width: auto;
|
296 |
+
}
|
297 |
+
#agca_form a{
|
298 |
+
font-weight: bold;
|
299 |
+
color: #826c63;
|
300 |
+
}
|
301 |
+
#agca_form a:hover{
|
302 |
+
color: #6d6764;
|
303 |
+
}
|
304 |
#agca_form h2.section_title {
|
305 |
|
306 |
}
|
307 |
|
308 |
#agca_form h2.section_title {
|
|
|
309 |
font-weight: bold;
|
310 |
font-size: 45px;
|
311 |
line-height: 1em;
|
312 |
}
|
313 |
|
314 |
#agca_form h2.section_title {
|
315 |
+
color: #e85e3a;
|
|
|
|
|
316 |
}
|
317 |
|
318 |
/* Don't show shadows when selecting text */
|
329 |
}
|
330 |
|
331 |
#agca_form #templates_head_buttons input[type=button] {
|
332 |
+
background: #826c63;
|
333 |
color: white;
|
334 |
font-weight: bold;
|
335 |
}
|
336 |
|
337 |
#agca_form #templates_head_buttons input[type=button]:hover {
|
338 |
background: white;
|
339 |
+
color: #6d6764;
|
340 |
}
|
341 |
|
342 |
.ag-custom-button {
|
371 |
margin-right: 18px;
|
372 |
cursor: default;
|
373 |
width: 10px;
|
374 |
+
color: #816c64;
|
375 |
+
margin-top: -19px;
|
376 |
+
padding-top: 9px;
|
377 |
}
|
378 |
|
379 |
/*#agca_form input.agca_button,#agca_form #ag_add_adminmenu button{
|
380 |
padding: 3px 10px;
|
381 |
background-color:#ffffff;
|
382 |
} */
|
383 |
+
#agca_form .agca_button.clear span{
|
384 |
+
margin-top: 5px;
|
385 |
+
}
|
386 |
#agca_form .agca_button.clear span:before {
|
387 |
+
color: #826c63;
|
388 |
cursor: pointer;
|
389 |
font-size: 30px;
|
390 |
}
|
394 |
}
|
395 |
|
396 |
#agca_form input[type=button], button {
|
397 |
+
background: #826c63;
|
398 |
+
border: 1px solid #826c63;
|
399 |
border-radius: 3px;
|
400 |
color: #FFFFFF;
|
401 |
padding: 5px 10px;
|
402 |
}
|
403 |
|
404 |
#agca_form input[type=button]:hover {
|
405 |
+
background-color: #6d6764;
|
406 |
+
border: 1px solid #6d6764;
|
407 |
+
color: #fff;
|
408 |
cursor: pointer;
|
409 |
}
|
410 |
|
411 |
#agca_form input[type=text] {
|
412 |
height: 28px;
|
413 |
width: 400px;
|
414 |
+
border: 3px solid #eee;
|
415 |
+
box-shadow: none;
|
416 |
+
padding: 15px 10px;
|
417 |
+
background: #f5f2f2;
|
418 |
+
color: #816c64;
|
419 |
+
font-weight: bold;
|
420 |
+
border-radius: 5px;
|
421 |
}
|
422 |
|
423 |
#agca_form input.color_picker {
|
424 |
+
width: 88px;
|
425 |
}
|
426 |
|
427 |
+
#agca_form input.color_picker:placeholder-shown + .pick_color_button + .pick_color_button_clear{
|
428 |
+
display: none !important;
|
429 |
+
}
|
430 |
+
|
431 |
+
#agca_form input[type=text]:focus{
|
432 |
+
background-color: transparent;
|
433 |
+
border: 3px solid #826c63;
|
434 |
}
|
435 |
|
436 |
#agca_form textarea {
|
437 |
width: 400px;
|
438 |
+
background: #f5f2f2;
|
439 |
+
border: 3px solid #eee;
|
440 |
+
color: #816c64;
|
441 |
+
font-weight: bold;
|
442 |
+
padding: 5px;
|
443 |
+
}
|
444 |
+
#agca_form textarea.one-line{
|
445 |
+
height: 35px;
|
446 |
}
|
447 |
|
448 |
#agca_form textarea.wp-editor-area {
|
449 |
width: 100%;
|
450 |
}
|
451 |
|
452 |
+
#agca_form textarea:focus {
|
453 |
+
background-color: transparent;
|
454 |
+
border: 3px solid #826c63;
|
455 |
}
|
456 |
|
457 |
+
#agca_form #ag_edit_adminmenu tr td{
|
458 |
+
line-height: 0;
|
|
|
459 |
}
|
460 |
|
461 |
#agca_form #ag_add_adminmenu input[type=text] {
|
465 |
#agca_form #ag_add_adminmenu .button_edit span,
|
466 |
#agca_form #ag_add_adminmenu .button_remove span {
|
467 |
font-size: 25px;
|
468 |
+
color: #826c63;
|
469 |
}
|
470 |
|
471 |
#agca_form #ag_add_adminmenu .button_remove span {
|
473 |
}
|
474 |
|
475 |
#agca_form input#save_plugin_settings {
|
476 |
+
background: #826c63;
|
477 |
font-weight: bold;
|
478 |
height: 39px;
|
479 |
padding: 4px;
|
480 |
+
width: 100%;
|
481 |
+
border: 1px solid #826c63 !important;
|
482 |
text-shadow: none !important;
|
483 |
box-shadow: none !important;
|
484 |
font-size: 16px;
|
485 |
+
color: #fff !important;
|
486 |
}
|
487 |
|
488 |
#agca_form input#save_plugin_settings:hover {
|
489 |
+
background-color: #6d6764 !important;
|
|
|
490 |
}
|
491 |
|
492 |
#agca_form input#save_plugin_settings[type="button"]:hover {
|
575 |
}
|
576 |
|
577 |
.agca-selectbox:hover {
|
578 |
+
background-color: #eee;
|
579 |
}
|
580 |
|
581 |
#agca_form .agca-checkbox-box {
|
588 |
}
|
589 |
|
590 |
#agca_form .agca-checkbox-box:before {
|
591 |
+
content: "●";
|
592 |
+
font-size: 45px;
|
593 |
+
line-height: 25px;
|
594 |
+
color: #ccc;
|
|
|
|
|
|
|
|
|
|
|
595 |
}
|
596 |
|
597 |
#agca_form .agca-checkbox-box-checked {
|
604 |
}
|
605 |
|
606 |
#agca_form .agca-checkbox-box-checked:before {
|
607 |
+
content: "●";
|
608 |
+
font-size: 45px;
|
609 |
+
line-height: 25px;
|
610 |
+
color: #826c63;
|
|
|
611 |
}
|
612 |
|
613 |
#agca_form .agca-checkbox-box-checked.visibility:before {
|
|
|
|
|
614 |
}
|
615 |
|
616 |
#agca_form .agca-checkbox-box-checked:hover:before,
|
625 |
|
626 |
#agca_form .form-table th {
|
627 |
width: 350px;
|
628 |
+
padding: 10px;
|
629 |
+
}
|
630 |
+
#agca_form .form-table th label{
|
631 |
+
font-weight: normal;
|
632 |
+
}
|
633 |
+
#agca_form .form-table td {
|
634 |
+
padding: 10px;
|
635 |
+
}
|
636 |
+
#agca_form .form-table td p{
|
637 |
+
color: #9c8a8a;
|
638 |
}
|
|
|
639 |
.ag_admin_menu_parent .agca-checkbox-box-checked, .ag_admin_menu_parent .agca-checkbox-box {
|
640 |
margin-top: -15px;
|
641 |
}
|
664 |
}
|
665 |
|
666 |
#agca_form .agca-radio-text.on {
|
667 |
+
color: #ccc;
|
668 |
}
|
669 |
|
670 |
#agca_form .agca-radio-text.off {
|
671 |
+
color: #ccc;
|
672 |
}
|
673 |
|
674 |
#agca_form .agca-radiobox:before {
|
691 |
}
|
692 |
|
693 |
#agca_form .agca-radiobox[value=off]:before {
|
694 |
+
color: #ccc;
|
695 |
}
|
696 |
|
697 |
#agca_form #section_templates {
|
698 |
+
background: transparent;
|
699 |
}
|
700 |
|
701 |
#wp-admin-bar-agca-admin-themes a {
|
713 |
.agca-feedback-and-support a {
|
714 |
border: medium none;
|
715 |
border-radius: 4px;
|
716 |
+
color: #FFFFFF !important;
|
717 |
padding: 6px 20px;
|
718 |
min-width: 240px;
|
719 |
+
background: #826c63;
|
720 |
display: inline-block;
|
721 |
+
font-weight: normal !important;
|
722 |
text-decoration: none;
|
|
|
723 |
}
|
724 |
|
725 |
.agca-feedback-and-support .upgrade a{
|
726 |
background: #f9f9f9;
|
727 |
+
color: #826c63 !important;
|
728 |
float: left;
|
729 |
+
border: 1px solid #826c63;
|
730 |
padding: 5px 30px 5px 9px;
|
731 |
}
|
732 |
.agca-feedback-and-support .upgrade span{
|
743 |
}
|
744 |
|
745 |
.agca-feedback-and-support a:hover {
|
746 |
+
background-color: #6d6764;
|
|
|
747 |
}
|
748 |
.agca-feedback-and-support .upgrade a:hover{
|
749 |
background-color: #fff;
|
754 |
float: right;
|
755 |
width: 160px;
|
756 |
margin-top: -10px;
|
757 |
+
display: none;
|
758 |
}
|
759 |
|
760 |
#agca-your-feedback .dashicons {
|
792 |
margin-top: 3px;
|
793 |
display: inline-block;
|
794 |
}
|
795 |
+
#agca_donate_button img{
|
796 |
+
width: 125px;
|
797 |
+
margin-top: -8px;
|
798 |
+
}
|
799 |
|
800 |
#section_ag_colorizer_settings .color input {
|
801 |
border-radius: 5px;
|
808 |
#section_ag_colorizer_settings .color .agca_button span {
|
809 |
font-size: 35px;
|
810 |
padding: 0 6px;
|
811 |
+
color: #826c63;
|
812 |
}
|
813 |
|
814 |
#section_ag_colorizer_settings .color .agca_button span:hover {
|
815 |
+
color: #6d6764;
|
816 |
}
|
817 |
|
818 |
#section_ag_colorizer_settings .color .agca_button span.clear {
|
819 |
+
color: #826c63;
|
820 |
}
|
821 |
|
822 |
#section_ag_colorizer_settings .color .agca_button span.clear:hover {
|
825 |
/*Hide dashboard empty box containers*/
|
826 |
#dashboard-widgets div.empty-container{
|
827 |
display: none;
|
828 |
+
}
|
829 |
+
|
830 |
+
.tools_page_ag-custom-admin-plugin #wpwrap{
|
831 |
+
background: #fff;
|
832 |
+
|
833 |
+
}
|
834 |
+
.tools_page_ag-custom-admin-plugin #agca_form{
|
835 |
+
font-family: 'Open Sans', sans-serif;
|
836 |
+
font-weight: 300;
|
837 |
+
}
|
838 |
+
|
839 |
+
.tools_page_ag-custom-admin-plugin #agca_form *:focus {
|
840 |
+
outline: none !important;
|
841 |
+
box-shadow: none !important;
|
842 |
+
}
|
843 |
+
|
844 |
+
.agca_template_block h3,
|
845 |
+
.agca_template_block span.price,
|
846 |
+
.agca_template_block a{
|
847 |
+
color: inherit !important;
|
848 |
+
}
|
849 |
+
#agca_template_popup .agca_content{
|
850 |
+
background: #bbb !important;
|
851 |
+
}
|
852 |
+
|
853 |
+
.agca_template_block .template img{
|
854 |
+
box-shadow: none !important;
|
855 |
+
}
|
856 |
+
|
857 |
+
#agca_form #ag_edit_adminmenu tr.top td{
|
858 |
+
background: #f9f8f8;
|
859 |
+
padding-top: 10px;
|
860 |
+
padding-bottom: 0;
|
861 |
+
}
|
862 |
+
#agca_form #ag_edit_adminmenu tr.top td.ag_admin_menu_parent2{
|
863 |
+
padding-top: 2px;
|
864 |
+
}
|
865 |
+
#agca_form #ag_edit_adminmenu tr.top:nth-child(odd) td{
|
866 |
+
background: #f3f3f3;
|
867 |
+
}
|
868 |
+
#agca_form #ag_edit_adminmenu tr.sub td{
|
869 |
+
background: #fff;
|
870 |
+
padding: 0;
|
871 |
+
padding-left: 10px;
|
872 |
+
}
|
873 |
+
#agca_form #ag_edit_adminmenu tr.sub td div a{
|
874 |
+
padding: 17px;
|
875 |
+
display: inline-block;
|
876 |
+
}
|
877 |
+
|
878 |
+
#agca_form #ag_edit_adminmenu tr:first-child td{
|
879 |
+
background: #826c63;
|
880 |
}
|