Version Description
- Internationalization, ready for translation
- Added option for removing Profile menu item from user's menu
- Added patch for network admin dashboard notices
- Code refactoring
- Resolved save issues in multi-site environment (POST validation failing)
- Added patch for WPS Hide Login compatibility in multi-site environment
- Added max width for custom admin header image
- Removed "sub-menu" text from sub menu items in admin menu editor
Download this release
Release Info
Developer | argonius |
Plugin | Absolutely Glamorous Custom Admin |
Version | 5.6 |
Comparing to | |
See all releases |
Code changes from version 5.5 to 5.6
- ag-custom-admin.html +4 -2
- languages/ag-custom-admin-hr.mo +0 -0
- languages/ag-custom-admin-hr.po +1296 -0
- plugin.php +413 -295
- readme.txt +21 -4
- script/ag_script.js +15 -15
- style/admin.css +0 -0
- style/login.css +0 -0
- uninstall.php +3 -2
ag-custom-admin.html
CHANGED
@@ -84,10 +84,12 @@
|
|
84 |
<p>From AGCA version 1.3 we introduce AG Custom Admin themes. With AGCA themes you can easily change your WordPress admin panel theme in matter of seconds!</p>
|
85 |
<p>Please check our <a href="http://wordpressadminpanel.com/themes/home">AG Custom Admin WordPress Themes</a> page for more info.</p>
|
86 |
</br>
|
|
|
|
|
|
|
87 |
<h1><a href="http://wordpressadminpanel.com/agca-support/">Support</a></h1>
|
88 |
-
<p>
|
89 |
<p>Happy blogging!</p>
|
90 |
</br>
|
91 |
-
</br>
|
92 |
</body>
|
93 |
</html>
|
84 |
<p>From AGCA version 1.3 we introduce AG Custom Admin themes. With AGCA themes you can easily change your WordPress admin panel theme in matter of seconds!</p>
|
85 |
<p>Please check our <a href="http://wordpressadminpanel.com/themes/home">AG Custom Admin WordPress Themes</a> page for more info.</p>
|
86 |
</br>
|
87 |
+
<h1><a href="https://cusmin.com">Upgrade</a></h1>
|
88 |
+
<p>If you need even more features and premium support, you can upgrade to <a href="https://cusmin.com">Cusmin</a> - premium tool for advanced WordPress admin panel customization.</p>
|
89 |
+
</br>
|
90 |
<h1><a href="http://wordpressadminpanel.com/agca-support/">Support</a></h1>
|
91 |
+
<p>Feel free to check our <a href="http://wordpressadminpanel.com/agca-support/">support page</a> in case you have found any issues with your AGCA or AGCA themes features.</p>
|
92 |
<p>Happy blogging!</p>
|
93 |
</br>
|
|
|
94 |
</body>
|
95 |
</html>
|
languages/ag-custom-admin-hr.mo
ADDED
Binary file
|
languages/ag-custom-admin-hr.po
ADDED
@@ -0,0 +1,1296 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of Development (trunk) in Croatian
|
2 |
+
# This file is distributed under the same license as the Development (trunk) package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"PO-Revision-Date: 2016-05-07 20:12:12+0000\n"
|
6 |
+
"MIME-Version: 1.0\n"
|
7 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
+
"Content-Transfer-Encoding: 8bit\n"
|
9 |
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
10 |
+
"X-Generator: GlotPress/2.1.0-alpha\n"
|
11 |
+
"Project-Id-Version: Development (trunk)\n"
|
12 |
+
|
13 |
+
#: plugin.php:88
|
14 |
+
msgid "Settings"
|
15 |
+
msgstr "Postavke"
|
16 |
+
|
17 |
+
#: plugin.php:89 plugin.php:295 plugin.php:1605 plugin.php:2149 plugin.php:2866
|
18 |
+
msgid "Admin Themes"
|
19 |
+
msgstr "Admin teme"
|
20 |
+
|
21 |
+
#: plugin.php:91
|
22 |
+
msgid "Support"
|
23 |
+
msgstr "Podrška"
|
24 |
+
|
25 |
+
#: plugin.php:92
|
26 |
+
msgid "Upgrade"
|
27 |
+
msgstr "Nadogradnja"
|
28 |
+
|
29 |
+
#: plugin.php:93 plugin.php:2151 plugin.php:2227
|
30 |
+
msgid "Donate"
|
31 |
+
msgstr "Doniranje"
|
32 |
+
|
33 |
+
#: plugin.php:220
|
34 |
+
msgid "AG Custom Admin theme image (do not delete)"
|
35 |
+
msgstr "AG Custom Admin slika teme (ne brisati)"
|
36 |
+
|
37 |
+
#: plugin.php:240
|
38 |
+
msgid "User is not administrator."
|
39 |
+
msgstr "Korisnik nije administrator."
|
40 |
+
|
41 |
+
#: plugin.php:252
|
42 |
+
msgid "Please try temporary disabling POST verification. Go to AG Custom Admin -> Advanced -> Temporary disable POST verification. Do not forget to un-check this option once you are done with customizations."
|
43 |
+
msgstr "Molimo pokušajte privremeno onemogućiti POST potvrdu. Idite na AG Custom Admin -> Napredno -> Privremeno onemogući POST potvrdu. Nemojte zaboraviti isključiti ovu opciju nakon što završite s prilagodbama."
|
44 |
+
|
45 |
+
#: plugin.php:255
|
46 |
+
msgid "Multi-site: Current user is not recognized as administrator."
|
47 |
+
msgstr "Multi-site: Trenutni korisnik nije prepoznat kao administrator."
|
48 |
+
|
49 |
+
#. translators: 1: User Id 2: Blog Id
|
50 |
+
#: plugin.php:262
|
51 |
+
msgid "Multi-site: User (%1$s) does not have access to this blog (%2$s)."
|
52 |
+
msgstr "Multi-site: Korisnik (%1$s) nema prava pristupa na blog (%2$s)."
|
53 |
+
|
54 |
+
#: plugin.php:270
|
55 |
+
msgid "User is not logged in."
|
56 |
+
msgstr "Korisnik nije prijavljen."
|
57 |
+
|
58 |
+
#: plugin.php:271
|
59 |
+
msgid "User can not manage options."
|
60 |
+
msgstr "Korisnik ne može upravljati opcijama."
|
61 |
+
|
62 |
+
#: plugin.php:276
|
63 |
+
msgid "Nonce verification failed."
|
64 |
+
msgstr "Nonce provjera nije uspjela."
|
65 |
+
|
66 |
+
#: plugin.php:411
|
67 |
+
msgid "There is an error in your custom JS script. Please fix it:"
|
68 |
+
msgstr "Došlo je do greške u prilagođenoj JS skripti. Molimo ispravite to:"
|
69 |
+
|
70 |
+
#: plugin.php:411
|
71 |
+
msgid "AG CUSTOM ADMIN -> Advanced -> Custom JavaScript"
|
72 |
+
msgstr "AG CUSTOM ADMIN -> Napredno -> Prilagođena JavaScript"
|
73 |
+
|
74 |
+
#: plugin.php:766
|
75 |
+
msgid "AGCA_Settings"
|
76 |
+
msgstr "AGCA_Postavke"
|
77 |
+
|
78 |
+
#: plugin.php:1061
|
79 |
+
msgid "Log Out"
|
80 |
+
msgstr "Odjava"
|
81 |
+
|
82 |
+
#: plugin.php:1308
|
83 |
+
msgid "This JavaScript error can stop AG Custom Admin plugin to work properly. If everything still works, you can ignore this notification."
|
84 |
+
msgstr "Ova JavaScript greška može obustaviti ispravan rad AG Custom Admin dodatka. Ako sve i dalje radi kako treba, možete zanemariti ovu obavijest."
|
85 |
+
|
86 |
+
#: plugin.php:1308
|
87 |
+
msgid "Possible solutions"
|
88 |
+
msgstr "Moguća rješenja"
|
89 |
+
|
90 |
+
#: plugin.php:1308
|
91 |
+
msgid "Make sure to have everything up to date: WordPress site, plugins and themes."
|
92 |
+
msgstr "Budite sigurni da je sve ažurirano: WordPress stranica, dodaci i teme."
|
93 |
+
|
94 |
+
#: plugin.php:1308
|
95 |
+
msgid "Try disabling plugins one by one to see if problem can be resolved this way. If so, one of disabled plugins caused this error."
|
96 |
+
msgstr "Pokušajte isključiti dodatke, jedan po jedan kako biste vidjeli da li se problem može riješiti na ovaj način. Ako može, jedan od isključenih dodataka je uzročnik problema."
|
97 |
+
|
98 |
+
#: plugin.php:1308
|
99 |
+
msgid "Check \"source\" path of this error. This could be indicator of the plugin/theme that caused the error."
|
100 |
+
msgstr "Provjerite putanju do ove greške. To bi mogao biti pokazivač na temu ili dodatak koji je uzročnik ove greške."
|
101 |
+
|
102 |
+
#: plugin.php:1308
|
103 |
+
msgid "If it\\'s obvious that error is thrown from a particular plugin/theme, please report this error to their support."
|
104 |
+
msgstr "U slučaju da je očigledno da je grešku prouzrokovao neki dodatak ili tema, molimo prijavite ovaj problem na stranici za podršku tog dodatka ili teme."
|
105 |
+
|
106 |
+
#: plugin.php:1308
|
107 |
+
msgid "Try activating default WordPress theme instead of your current theme."
|
108 |
+
msgstr "Pokušajte aktivirati zadanu WordPress temu umjesto trenutno aktivne teme."
|
109 |
+
|
110 |
+
#: plugin.php:1308
|
111 |
+
msgid "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."
|
112 |
+
msgstr "Napredno: Pokušajte riješiti ovaj problem ručno: Otvorite poveznicu iznad u vašem pregledniku i otvorite izvorni kod stranice (desni klik -> pogledaj izvorni kod) i pronađite liniju koda gdje program ima problem. Ovoj datoteci možete pristupiti preko FTP protokola i pokušati riješiti problem na ovoj liniji koda."
|
113 |
+
|
114 |
+
#: plugin.php:1308
|
115 |
+
msgid "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 AG Custom Admin plugin, or something unexpected happens, please report that on our"
|
116 |
+
msgstr "Kontaktirajte nas u slučaju da ništa od ovoga ne pomaže. Molimo ne šaljite nam greške koje su prouzrokovali drugi dodaci ili teme već probajte kontaktirati njihovu podršku. Ako mislite da je greška povezana sa AG Custom Admin dodatkom na neki način, ili ako vam se desio neki nepredviđeni problem, molimo prijavite to na našoj"
|
117 |
+
|
118 |
+
#: plugin.php:1308
|
119 |
+
msgid "SUPPORT PAGE"
|
120 |
+
msgstr "Stranici za podršku"
|
121 |
+
|
122 |
+
#: plugin.php:1311
|
123 |
+
msgid "AG Custom Admin caught an error on your site!"
|
124 |
+
msgstr "AG Custom Admin je pronašao grešku na stranici!"
|
125 |
+
|
126 |
+
#: plugin.php:1311
|
127 |
+
msgid "show/hide more..."
|
128 |
+
msgstr "prikaži/sakrij više..."
|
129 |
+
|
130 |
+
#: plugin.php:1337
|
131 |
+
msgid "AG Custom Admin caught a JavaScript on your site"
|
132 |
+
msgstr "AG Custom Admin je pronašao JavaScript grešku na stranici!"
|
133 |
+
|
134 |
+
#: plugin.php:1597
|
135 |
+
msgid "File for import is not selected!"
|
136 |
+
msgstr "Datoteka za uvoz nije odabrana!"
|
137 |
+
|
138 |
+
#: plugin.php:1598 plugin.php:2141 plugin.php:2751
|
139 |
+
msgid "General"
|
140 |
+
msgstr "Općenito"
|
141 |
+
|
142 |
+
#: plugin.php:1599 plugin.php:2142
|
143 |
+
msgid "Admin Bar"
|
144 |
+
msgstr "Admin traka"
|
145 |
+
|
146 |
+
#: plugin.php:1600 plugin.php:2143
|
147 |
+
msgid "Admin Footer"
|
148 |
+
msgstr "Admin podnožje"
|
149 |
+
|
150 |
+
#: plugin.php:1601 plugin.php:2144
|
151 |
+
msgid "Dashboard Page"
|
152 |
+
msgstr "Kontrolna ploča"
|
153 |
+
|
154 |
+
#: plugin.php:1602 plugin.php:2145
|
155 |
+
msgid "Login Page"
|
156 |
+
msgstr "Stranica za prijavu"
|
157 |
+
|
158 |
+
#: plugin.php:1603 plugin.php:2146
|
159 |
+
msgid "Admin Menu"
|
160 |
+
msgstr "Admin izbornik"
|
161 |
+
|
162 |
+
#: plugin.php:1604 plugin.php:2147
|
163 |
+
msgid "Colorizer"
|
164 |
+
msgstr "Bojanica"
|
165 |
+
|
166 |
+
#: plugin.php:1606 plugin.php:2148 plugin.php:2888
|
167 |
+
msgid "Advanced"
|
168 |
+
msgstr "Napredno"
|
169 |
+
|
170 |
+
#: plugin.php:1607
|
171 |
+
msgid "Remove"
|
172 |
+
msgstr "Ukloni"
|
173 |
+
|
174 |
+
#: plugin.php:1608
|
175 |
+
msgid "from menu"
|
176 |
+
msgstr "s izbornika"
|
177 |
+
|
178 |
+
#: plugin.php:1609
|
179 |
+
msgid "Rename"
|
180 |
+
msgstr "Promijeni ime"
|
181 |
+
|
182 |
+
#: plugin.php:1610
|
183 |
+
msgid "with this value"
|
184 |
+
msgstr "s ovom vrijednošću"
|
185 |
+
|
186 |
+
#: plugin.php:1611
|
187 |
+
msgid "sub-menu item"
|
188 |
+
msgstr "pod-izbornik stavka"
|
189 |
+
|
190 |
+
#: plugin.php:1612
|
191 |
+
msgid "open"
|
192 |
+
msgstr "otvoreno"
|
193 |
+
|
194 |
+
#: plugin.php:1613
|
195 |
+
msgid "Delete"
|
196 |
+
msgstr "Obriši"
|
197 |
+
|
198 |
+
#: plugin.php:1614
|
199 |
+
msgid "in"
|
200 |
+
msgstr "u"
|
201 |
+
|
202 |
+
#: plugin.php:1615
|
203 |
+
msgid "Save changes"
|
204 |
+
msgstr "Spremi promjene"
|
205 |
+
|
206 |
+
#: plugin.php:2132
|
207 |
+
msgid "POSITIVE FEEDBACK: I like this plugin!"
|
208 |
+
msgstr "POZITIVNA OCJENA: Volim ovaj dodatak!"
|
209 |
+
|
210 |
+
#: plugin.php:2135
|
211 |
+
msgid "NEGATIVE FEEDBACK: I don't like this plugin."
|
212 |
+
msgstr "NEGATIVNA OCJENA: Ne sviđa mi se ovaj dodatak."
|
213 |
+
|
214 |
+
#: plugin.php:2141 plugin.php:2163
|
215 |
+
msgid "General Settings"
|
216 |
+
msgstr "Opće postavke"
|
217 |
+
|
218 |
+
#: plugin.php:2142
|
219 |
+
msgid "Settings for admin bar"
|
220 |
+
msgstr "Postavke admin trake"
|
221 |
+
|
222 |
+
#: plugin.php:2143
|
223 |
+
msgid "Settings for admin footer"
|
224 |
+
msgstr "Postavke admin podnožja"
|
225 |
+
|
226 |
+
#: plugin.php:2144
|
227 |
+
msgid "Settings for Dashboard page"
|
228 |
+
msgstr "Postavke kontrolne ploče"
|
229 |
+
|
230 |
+
#: plugin.php:2145
|
231 |
+
msgid "Settings for Login page"
|
232 |
+
msgstr "Postavke stranice za prijavu"
|
233 |
+
|
234 |
+
#: plugin.php:2146
|
235 |
+
msgid "Settings for main admin menu"
|
236 |
+
msgstr "Postavke glavnog admin izbornika"
|
237 |
+
|
238 |
+
#: plugin.php:2147
|
239 |
+
msgid "Colorizer settings"
|
240 |
+
msgstr "Postavke Bojanice"
|
241 |
+
|
242 |
+
#: plugin.php:2148
|
243 |
+
msgid "My custom scripts"
|
244 |
+
msgstr "Moje skripte"
|
245 |
+
|
246 |
+
#: plugin.php:2149
|
247 |
+
msgid "AG Custom Admin Themes"
|
248 |
+
msgstr "AG Custom Admin teme"
|
249 |
+
|
250 |
+
#: plugin.php:2151
|
251 |
+
msgid "Do you like this plugin? You can support its future development by giving a donation by your choice"
|
252 |
+
msgstr "Da li vam se sviđa ovaj dodatak? Možete podržati njegov budući razvoj doniranjem po vašem izboru"
|
253 |
+
|
254 |
+
#: plugin.php:2161
|
255 |
+
msgid "All AG Custom Admin plugin's settings, except admin themes, are disabled. Please use"
|
256 |
+
msgstr "Sve postavke AG Custom Admin dodatka, osim admin tema su isključene. Molimo koristite"
|
257 |
+
|
258 |
+
#: plugin.php:2161
|
259 |
+
msgid "plugin to manage these settings."
|
260 |
+
msgstr "dodatak za upravljanje ovim postavkama."
|
261 |
+
|
262 |
+
#: plugin.php:2164
|
263 |
+
msgid "<strong>Tip: </strong>Move mouse cursor over the option label to see more information about an option"
|
264 |
+
msgstr "<strong>Savjet: </strong>Postavite pokazivač preko imena postavke kako biste saznali više informacija o postavci"
|
265 |
+
|
266 |
+
#: plugin.php:2170
|
267 |
+
msgid "Exclude AGCA admin from customizations"
|
268 |
+
msgstr "Iskljućite AGCA administratora iz prilagodbi"
|
269 |
+
|
270 |
+
#: plugin.php:2171
|
271 |
+
msgid "<h3>Applying customizations</h3><br><strong>Checked</strong> - apply to all users, except admin<br><strong>Not checked</strong> - apply to everyone</br></br><strong>Q</strong>: Who is AGCA administrator?</br><strong>A</strong>: Go to <i>General -> Security -> AGCA admin capability</i> and change capability option to define administrators. Only the users with selected capability will be AGCA administrators.</br>"
|
272 |
+
msgstr "<h3>Primjena prilagodbi</h3><br><strong>Odabrano</strong> - primijeni na sve korisnike osim administratora<br><strong>Ugašeno</strong> - primijeni na sve korisnike</br></br><strong>Pitanje</strong>: Tko je AGCA administrator?</br><strong>Odgovor</strong>: Odi na <i>Općenito -> Sigurnost -> AGCA administrator ima osobnost</i> i promijeni postavku osobnosti koja će razlikovati AGCA administratora od ostalih korisnika. Samo korisnici sa odabranom osobnošću mogu biti AGCA administratori.</br>"
|
273 |
+
|
274 |
+
#: plugin.php:2174
|
275 |
+
msgid "Pages"
|
276 |
+
msgstr "Stranice"
|
277 |
+
|
278 |
+
#: plugin.php:2179
|
279 |
+
msgid "\"Screen Options\" menu"
|
280 |
+
msgstr "Izbornik \"Postavke ekrana\""
|
281 |
+
|
282 |
+
#: plugin.php:2180 plugin.php:2187
|
283 |
+
msgid "Hides the menu from the admin pages (located on the top right corner of the page, below the admin bar)"
|
284 |
+
msgstr "Sakriva izbornik sa admin stranica (lociran na gornjem desnom uglu stranice, ispod admin trake)"
|
285 |
+
|
286 |
+
#: plugin.php:2186
|
287 |
+
msgid "\"Help\" menu"
|
288 |
+
msgstr "Izbornik \"Pomoć\""
|
289 |
+
|
290 |
+
#: plugin.php:2190
|
291 |
+
msgid "Security"
|
292 |
+
msgstr "Sigurnost"
|
293 |
+
|
294 |
+
#: plugin.php:2196
|
295 |
+
msgid "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"
|
296 |
+
msgstr "Odaberi koja WordPress osobnost će izdvajati AGCA administratore od ostalih korisnika.</br>Samo AGCA administratori imaju pristup AGCA postavkama. AGCA administratori mogu biti isključeni iz prilagodbi ako je ta postavka uključena"
|
297 |
+
|
298 |
+
#: plugin.php:2196
|
299 |
+
msgid "AGCA admin capability"
|
300 |
+
msgstr "AGCA administrator ima sposobnost"
|
301 |
+
|
302 |
+
#: plugin.php:2198
|
303 |
+
msgid "<strong>Edit Dashboard</strong> - selected by default"
|
304 |
+
msgstr "<strong>Izmijena nadzorne ploče</strong> - zadana postavka"
|
305 |
+
|
306 |
+
#: plugin.php:2199
|
307 |
+
msgid "Find more information about"
|
308 |
+
msgstr "Pronađite više informacija o"
|
309 |
+
|
310 |
+
#: plugin.php:2199
|
311 |
+
msgid "WordPress capabilities"
|
312 |
+
msgstr "WordPress osobnosti"
|
313 |
+
|
314 |
+
#: plugin.php:2205
|
315 |
+
msgid "Feedback and Support"
|
316 |
+
msgstr "Vaš dojam i podrška"
|
317 |
+
|
318 |
+
#: plugin.php:2212
|
319 |
+
msgid "Idea for improvement"
|
320 |
+
msgstr "Ideja za unaprijeđenje"
|
321 |
+
|
322 |
+
#: plugin.php:2212
|
323 |
+
msgid "submit your idea for improvement"
|
324 |
+
msgstr "pošaljite svoju ideju za unaprijeđenje"
|
325 |
+
|
326 |
+
#: plugin.php:2215
|
327 |
+
msgid "Report an issue"
|
328 |
+
msgstr "Prijavite problem"
|
329 |
+
|
330 |
+
#: plugin.php:2215
|
331 |
+
msgid "If plugin does not work as expected"
|
332 |
+
msgstr "Ako dodatan ne radi kako se očekuje"
|
333 |
+
|
334 |
+
#: plugin.php:2218
|
335 |
+
msgid "Idea for admin theme"
|
336 |
+
msgstr "Ideja za admin temu"
|
337 |
+
|
338 |
+
#: plugin.php:2218
|
339 |
+
msgid "submit your idea for admin theme"
|
340 |
+
msgstr "pošaljite svoju ideju za admin temu"
|
341 |
+
|
342 |
+
#: plugin.php:2221
|
343 |
+
msgid "Add a review on WordPress.org"
|
344 |
+
msgstr "Dodaj recenziju na WordPress.org"
|
345 |
+
|
346 |
+
#: plugin.php:2221
|
347 |
+
msgid "add your review and rate us on WordPress.org"
|
348 |
+
msgstr "dodajte svoju recenziju i ocjenite nas na WordPress.org"
|
349 |
+
|
350 |
+
#: plugin.php:2224
|
351 |
+
msgid "Visit our support site"
|
352 |
+
msgstr "Posjetite našu stranicu za podršku"
|
353 |
+
|
354 |
+
#: plugin.php:2224
|
355 |
+
msgid "for any other questions, feel free to contact us"
|
356 |
+
msgstr "za sva ostala pitanja, slobodno nas kontaktirajte"
|
357 |
+
|
358 |
+
#: plugin.php:2227
|
359 |
+
msgid "only if you find this plugin helpful for your needs"
|
360 |
+
msgstr "samo u slučaju da ovaj dodatak odgovara vašim potrebama"
|
361 |
+
|
362 |
+
#: plugin.php:2236
|
363 |
+
msgid "Admin Bar Settings"
|
364 |
+
msgstr "Postavke admin trake"
|
365 |
+
|
366 |
+
#: plugin.php:2245
|
367 |
+
msgid "Hides admin bar completely from the admin panel"
|
368 |
+
msgstr "Uklanja admin traku sa administracijske ploče"
|
369 |
+
|
370 |
+
#: plugin.php:2247
|
371 |
+
msgid "<strong>Admin bar</strong>"
|
372 |
+
msgstr "<strong>Admin traka</strong>"
|
373 |
+
|
374 |
+
#: plugin.php:2258
|
375 |
+
msgid "Check this if you want to show Log Out button in top right corner of the admin page"
|
376 |
+
msgstr "Odaberite ako želite da prikažete dugme Odjavi u gornjem desnom uglu administracijske ploče"
|
377 |
+
|
378 |
+
#: plugin.php:2261
|
379 |
+
msgid "<strong>(but show Log Out button)</strong>"
|
380 |
+
msgstr "<strong>(ali prikaži dugme za odjavu)</strong>"
|
381 |
+
|
382 |
+
#: plugin.php:2265
|
383 |
+
msgid "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."
|
384 |
+
msgstr "Uklanja prilagodbe sa admin trake za prijavljene korisnike na web stranicama.</br>Ova postavka može biti korisna ako želite ukloniti AGCA skripte (stilovi i JavaScript) na vašoj web stranici iz bilo kojeg razloga."
|
385 |
+
|
386 |
+
#: plugin.php:2268
|
387 |
+
msgid "Site pages: Admin bar customizations"
|
388 |
+
msgstr "Web stranica: postavke admin trake"
|
389 |
+
|
390 |
+
#: plugin.php:2272
|
391 |
+
msgid "Hides admin bar completely for authenticated users on site pages."
|
392 |
+
msgstr "Sakriva admin traku za prijavljene korisnike na web stranici."
|
393 |
+
|
394 |
+
#: plugin.php:2275
|
395 |
+
msgid "Site pages: Admin bar"
|
396 |
+
msgstr "Web stranica: admin traka"
|
397 |
+
|
398 |
+
#: plugin.php:2278
|
399 |
+
msgid "Left Side"
|
400 |
+
msgstr "Lijeva strana"
|
401 |
+
|
402 |
+
#: plugin.php:2281
|
403 |
+
msgid "Change default WordPress logo with custom image."
|
404 |
+
msgstr "Promijeni zadani WordPress logo sa novom slikom."
|
405 |
+
|
406 |
+
#: plugin.php:2283
|
407 |
+
msgid "Admin bar logo"
|
408 |
+
msgstr "Logo na admin traci"
|
409 |
+
|
410 |
+
#: plugin.php:2284
|
411 |
+
msgid "Image URL (maximum height is 28px)"
|
412 |
+
msgstr "Lokacija slike (maksimalna visina je 28px)"
|
413 |
+
|
414 |
+
#: plugin.php:2288
|
415 |
+
msgid "Custom link on admin bar logo."
|
416 |
+
msgstr "Prilagođena poveznica na logu admin trake."
|
417 |
+
|
418 |
+
#: plugin.php:2288
|
419 |
+
msgid "for blog URL."
|
420 |
+
msgstr "za blog URL."
|
421 |
+
|
422 |
+
#: plugin.php:2288
|
423 |
+
msgid "to switch betweent admin and site area"
|
424 |
+
msgstr "za promjenu između admin i web dijela"
|
425 |
+
|
426 |
+
#: plugin.php:2290
|
427 |
+
msgid "Admin bar logo link"
|
428 |
+
msgstr "Poveznica na logu admin trake"
|
429 |
+
|
430 |
+
#: plugin.php:2291
|
431 |
+
msgid "Link"
|
432 |
+
msgstr "Poveznica"
|
433 |
+
|
434 |
+
#: plugin.php:2295
|
435 |
+
msgid "Customize WordPress title using custom title template.</br></br>Examples"
|
436 |
+
msgstr "Prilagodi WordPress naslov korištenjem predloška prilagođenog naslova.</br></br>Primjeri"
|
437 |
+
|
438 |
+
#: plugin.php:2295
|
439 |
+
msgid "will be"
|
440 |
+
msgstr "će biti"
|
441 |
+
|
442 |
+
#: plugin.php:2297
|
443 |
+
msgid "Page title template"
|
444 |
+
msgstr "Predložak naslova stranice"
|
445 |
+
|
446 |
+
#: plugin.php:2298
|
447 |
+
msgid "Please use"
|
448 |
+
msgstr "Molimo koristite"
|
449 |
+
|
450 |
+
#: plugin.php:2298
|
451 |
+
msgid "and"
|
452 |
+
msgstr "i"
|
453 |
+
|
454 |
+
#: plugin.php:2298
|
455 |
+
msgid "in your title template.nd"
|
456 |
+
msgstr "u vašem predlošku naslova"
|
457 |
+
|
458 |
+
#: plugin.php:2302
|
459 |
+
msgid "Add custom image on the top of the admin content."
|
460 |
+
msgstr "Dodaj prilagođenu sliku na vrhu admin sadržaja."
|
461 |
+
|
462 |
+
#: plugin.php:2304
|
463 |
+
msgid "Header image"
|
464 |
+
msgstr "Slika zaglavlja"
|
465 |
+
|
466 |
+
#: plugin.php:2305 plugin.php:2606 plugin.php:2812
|
467 |
+
msgid "Image URL"
|
468 |
+
msgstr "URL slike"
|
469 |
+
|
470 |
+
#: plugin.php:2311
|
471 |
+
msgid "Hides small Wordpress logo from the admin bar"
|
472 |
+
msgstr "Sakriva mali WordPress logo sa admin trake"
|
473 |
+
|
474 |
+
#: plugin.php:2313
|
475 |
+
msgid "WordPress logo"
|
476 |
+
msgstr "WordPress logo"
|
477 |
+
|
478 |
+
#: plugin.php:2318
|
479 |
+
msgid "Hides WordPress context menu on WordPress logo icon from admin bar"
|
480 |
+
msgstr "Sakriva WordPress kontekstni izbornik na ikonici WordPress loga u admin traci"
|
481 |
+
|
482 |
+
#: plugin.php:2320
|
483 |
+
msgid "WordPress logo context menu"
|
484 |
+
msgstr "Kontekstni izbornik na WordPress logu"
|
485 |
+
|
486 |
+
#: plugin.php:2325
|
487 |
+
msgid "Hides site name link from the admin bar"
|
488 |
+
msgstr "Sakriva poveznicu na imenu stranice u admin traci"
|
489 |
+
|
490 |
+
#: plugin.php:2327
|
491 |
+
msgid "Site name"
|
492 |
+
msgstr "Ime stranice"
|
493 |
+
|
494 |
+
#: plugin.php:2332
|
495 |
+
msgid "Hides update notifications from admin bar"
|
496 |
+
msgstr "Sakriva obavijesti ažuriranja na admin traci"
|
497 |
+
|
498 |
+
#: plugin.php:2334
|
499 |
+
msgid "Update notifications"
|
500 |
+
msgstr "Obavijesti ažuriranja"
|
501 |
+
|
502 |
+
#: plugin.php:2339
|
503 |
+
msgid "Hides comments block from admin bar"
|
504 |
+
msgstr "Sakriva blok komentara u admin traci"
|
505 |
+
|
506 |
+
#: plugin.php:2341
|
507 |
+
msgid "\"Comments\" block"
|
508 |
+
msgstr "Blok \"Komentari\""
|
509 |
+
|
510 |
+
#: plugin.php:2349
|
511 |
+
msgid "Hides \"+ New\" block and its context menu from admin bar"
|
512 |
+
msgstr "Sakriva \"+ Novi\" blok i njegov padajući izbornik sa admin trake"
|
513 |
+
|
514 |
+
#: plugin.php:2351
|
515 |
+
msgid "\"+ New\" block"
|
516 |
+
msgstr "\"+ Novi\" blok"
|
517 |
+
|
518 |
+
#: plugin.php:2361
|
519 |
+
msgid "Hides \"Post\" sub-menu from \"+ New\" block on admin bar"
|
520 |
+
msgstr "Sakriva \"Objava\" pod-izbornik sa \"+ Novi\" bloka na admin traci"
|
521 |
+
|
522 |
+
#: plugin.php:2363
|
523 |
+
msgid "\"+ New\" -> Post sub-menu"
|
524 |
+
msgstr "\"+ Novi\" -> Objava pod-izbornik"
|
525 |
+
|
526 |
+
#: plugin.php:2371
|
527 |
+
msgid "Hides \"Link\" sub-menu from \"+ New\" block on admin bar"
|
528 |
+
msgstr "Sakriva \"Veza\" pod-izbornik sa \"+ Novi\" bloka na admin traci"
|
529 |
+
|
530 |
+
#: plugin.php:2373
|
531 |
+
msgid "\"+ New\" -> Link sub-menu"
|
532 |
+
msgstr "\"+ Novi\" -> Veza pod-izbornik"
|
533 |
+
|
534 |
+
#: plugin.php:2381
|
535 |
+
msgid "Hides \"Page\" sub-menu from \"+ New\" block on admin bar"
|
536 |
+
msgstr "Sakriva \"Stranica\" pod-izbornik sa \"+ Novi\" bloka na admin traci"
|
537 |
+
|
538 |
+
#: plugin.php:2383
|
539 |
+
msgid "\"+ New\" -> Page sub-menu"
|
540 |
+
msgstr "\"+ Novi\" -> Stranica pod-izbornik"
|
541 |
+
|
542 |
+
#: plugin.php:2391
|
543 |
+
msgid "Hides \"User\" sub-menu from \"+ New\" block on admin bar"
|
544 |
+
msgstr "Sakriva \"Korisnik\" pod-izbornik sa \"+ Novi\" bloka na admin traci"
|
545 |
+
|
546 |
+
#: plugin.php:2393
|
547 |
+
msgid "\"+ New\" -> User sub-menu"
|
548 |
+
msgstr "\"+ Novi\" -> Korisnik pod-izbornik"
|
549 |
+
|
550 |
+
#: plugin.php:2401
|
551 |
+
msgid "Hides \"Media\" sub-menu from \"+ New\" block on admin bar"
|
552 |
+
msgstr "Sakriva \"Medijski zapisi\" pod-izbornik sa \"+ Novi\" bloka na admin traci"
|
553 |
+
|
554 |
+
#: plugin.php:2403
|
555 |
+
msgid "\"+ New\" -> Media sub-menu"
|
556 |
+
msgstr "\"+ Novi\" -> Medij pod-izbornik"
|
557 |
+
|
558 |
+
#: plugin.php:2408
|
559 |
+
msgid "Hides \"Admin themes\" from admin bar"
|
560 |
+
msgstr "Sakriva \"Admin teme\" sa admin trake"
|
561 |
+
|
562 |
+
#: plugin.php:2410
|
563 |
+
msgid "\"Admin themes\""
|
564 |
+
msgstr "\"Admin teme\""
|
565 |
+
|
566 |
+
#: plugin.php:2414
|
567 |
+
msgid "Adds custom text in admin top bar."
|
568 |
+
msgstr "Dodaje prilagođeni tekst u admin traci."
|
569 |
+
|
570 |
+
#: plugin.php:2416
|
571 |
+
msgid "Custom blog heading"
|
572 |
+
msgstr "Prilagođeni naslov bloga"
|
573 |
+
|
574 |
+
#: plugin.php:2417
|
575 |
+
msgid "<strong>Tip: </strong>You can use HTML tags like"
|
576 |
+
msgstr "<strong>Savjet: </strong>Možete koristiti HTML elemente kao"
|
577 |
+
|
578 |
+
#: plugin.php:2417
|
579 |
+
msgid "or"
|
580 |
+
msgstr "ili"
|
581 |
+
|
582 |
+
#: plugin.php:2423
|
583 |
+
msgid "Hides yellow bar with information about new WordPress release"
|
584 |
+
msgstr "Sakriva žutu traku sa informacijama o novoj WordPress inačici"
|
585 |
+
|
586 |
+
#: plugin.php:2425
|
587 |
+
msgid "Update WordPress notification"
|
588 |
+
msgstr "Obavijesti nove inačice WordPressa"
|
589 |
+
|
590 |
+
#: plugin.php:2428
|
591 |
+
msgid "Right Side"
|
592 |
+
msgstr "Desna strana"
|
593 |
+
|
594 |
+
#: plugin.php:2432
|
595 |
+
msgid "Change Howdy text"
|
596 |
+
msgstr "Promjenite \"Kako ste\" text"
|
597 |
+
|
598 |
+
#: plugin.php:2436
|
599 |
+
msgid "Put 'Exit', for example"
|
600 |
+
msgstr "Utipkajte npr. \"Izlaz\""
|
601 |
+
|
602 |
+
#: plugin.php:2438
|
603 |
+
msgid "Change Log out text"
|
604 |
+
msgstr "Promjeniti izlazni text"
|
605 |
+
|
606 |
+
#: plugin.php:2444
|
607 |
+
msgid "\"Edit My Profile\" option from dropdown menu"
|
608 |
+
msgstr "\"Promjeni moj profil\" opcija na padajućem izborniku"
|
609 |
+
|
610 |
+
#: plugin.php:2448
|
611 |
+
msgid "If selected, hides all elements in top right corner, except Log Out button"
|
612 |
+
msgstr "Ako je odabrano, sakriva sve elemente u gornjem desnom uglu, osim dugmeta za odjavu"
|
613 |
+
|
614 |
+
#: plugin.php:2450
|
615 |
+
msgid "Log out only"
|
616 |
+
msgstr "Samo \"Odjava\" dugme"
|
617 |
+
|
618 |
+
#: plugin.php:2459
|
619 |
+
msgid "Admin Footer Settings"
|
620 |
+
msgstr "Opcije admin podnožja"
|
621 |
+
|
622 |
+
#: plugin.php:2467
|
623 |
+
msgid "Hides footer with all elements"
|
624 |
+
msgstr "Sakriva podnožje sa svim elementima"
|
625 |
+
|
626 |
+
#: plugin.php:2469
|
627 |
+
msgid "<strong>Footer</strong>"
|
628 |
+
msgstr "<strong>Podnožje</strong>"
|
629 |
+
|
630 |
+
#: plugin.php:2472
|
631 |
+
msgid "Footer Options"
|
632 |
+
msgstr "Opcije podnožja"
|
633 |
+
|
634 |
+
#: plugin.php:2476
|
635 |
+
msgid "Hides default text in footer"
|
636 |
+
msgstr "Sakriva zadani tekst u podnožju"
|
637 |
+
|
638 |
+
#: plugin.php:2478
|
639 |
+
msgid "Footer text"
|
640 |
+
msgstr "Tekst podnožja"
|
641 |
+
|
642 |
+
#: plugin.php:2482
|
643 |
+
msgid "Replaces text 'Thank you for creating with WordPress' with custom text"
|
644 |
+
msgstr "Mijenja tekst 'Hvala što kreirate sa WordPress-om' sa korisnikovim tekstom"
|
645 |
+
|
646 |
+
#: plugin.php:2484
|
647 |
+
msgid "Change footer text"
|
648 |
+
msgstr "Promjena teksta podnožja"
|
649 |
+
|
650 |
+
#: plugin.php:2489
|
651 |
+
msgid "Hides text 'Get Version ...' on right"
|
652 |
+
msgstr "Sakriva tekst 'Inačica..' u desnom uglu"
|
653 |
+
|
654 |
+
#: plugin.php:2491
|
655 |
+
msgid "Version text"
|
656 |
+
msgstr "Tekst inačice"
|
657 |
+
|
658 |
+
#: plugin.php:2495
|
659 |
+
msgid "Replaces text 'Get Version ...' with custom text"
|
660 |
+
msgstr "Mijenja tekst 'Inačica..' sa korisnikovim tekstom"
|
661 |
+
|
662 |
+
#: plugin.php:2497
|
663 |
+
msgid "Change version text"
|
664 |
+
msgstr "Promijenite tekst inačice"
|
665 |
+
|
666 |
+
#: plugin.php:2505
|
667 |
+
msgid "Dashboard Page Settings"
|
668 |
+
msgstr "Postavke stranice kontrolne ploče"
|
669 |
+
|
670 |
+
#: plugin.php:2509
|
671 |
+
msgid "Dashboard Page Options"
|
672 |
+
msgstr "Postavke stranice kontrolne ploče"
|
673 |
+
|
674 |
+
#: plugin.php:2512
|
675 |
+
msgid "Main heading ('Dashboard') on Dashboard page"
|
676 |
+
msgstr "Glavni naslov ('Kontrolna ploča') na stranici kontrolne ploče "
|
677 |
+
|
678 |
+
#: plugin.php:2514
|
679 |
+
msgid "Change Dashboard heading text"
|
680 |
+
msgstr "Promjena naslova stranice kontrolne ploče"
|
681 |
+
|
682 |
+
#: plugin.php:2520
|
683 |
+
msgid "Adds custom text (or HTML) between heading and widgets area on Dashboard page"
|
684 |
+
msgstr "Dodaje korisnikov tekst (ili HTML) između naslova i dodataka na stranici kontrolne ploče"
|
685 |
+
|
686 |
+
#: plugin.php:2520
|
687 |
+
msgid "Add custom Dashboard content<br> <em>(text or HTML content)"
|
688 |
+
msgstr "Dodaj svoj sadržaj<br> <em>(tekst ili HTML)"
|
689 |
+
|
690 |
+
#: plugin.php:2528
|
691 |
+
msgid "Dashboard Widgets Options"
|
692 |
+
msgstr "Opcije dodataka kontrolne ploče"
|
693 |
+
|
694 |
+
#: plugin.php:2533
|
695 |
+
msgid "Note"
|
696 |
+
msgstr "Bilješka"
|
697 |
+
|
698 |
+
#: plugin.php:2533
|
699 |
+
msgid "These settings override settings in Screen options on Dashboard page."
|
700 |
+
msgstr "Ove opcije će zaobići postavne unutar Opcija zaslona na stranici kontrolne ploče."
|
701 |
+
|
702 |
+
#: plugin.php:2539
|
703 |
+
msgid "Hides Welcome WordPress widget"
|
704 |
+
msgstr "Sakriva Dobro došli u WordPress widget na početnoj stranici"
|
705 |
+
|
706 |
+
#: plugin.php:2541
|
707 |
+
msgid "\"Welcome\" widget"
|
708 |
+
msgstr "\"Dobro došli\" widget"
|
709 |
+
|
710 |
+
#: plugin.php:2546
|
711 |
+
msgid "Hides Activity dashboard widget"
|
712 |
+
msgstr "Sakriva Aktivnosti dodatak na kontrolnoj ploči"
|
713 |
+
|
714 |
+
#: plugin.php:2548
|
715 |
+
msgid "\"Activity\" widget"
|
716 |
+
msgstr "\"Aktivnosti\" dodatak"
|
717 |
+
|
718 |
+
#: plugin.php:2553
|
719 |
+
msgid "Hides Quick Draft dashboard widget"
|
720 |
+
msgstr "Sakriva \"Brzi članak\" dodatak na kontrolnoj ploči"
|
721 |
+
|
722 |
+
#: plugin.php:2555
|
723 |
+
msgid "\"Quick Draft\" widget"
|
724 |
+
msgstr "\"Brzi članak\" dodatak"
|
725 |
+
|
726 |
+
#: plugin.php:2560
|
727 |
+
msgid "Hides At a Glance dashboard widget"
|
728 |
+
msgstr "Sakriva \"Na prvi pogled\" dodatak na kontrolnoj ploči"
|
729 |
+
|
730 |
+
#: plugin.php:2562
|
731 |
+
msgid "\"At a Glance\" widget"
|
732 |
+
msgstr "\"Na prvi pogled\" widget"
|
733 |
+
|
734 |
+
#: plugin.php:2568
|
735 |
+
msgid "This is 'WordPress News' or 'WordPress Development Blog' widget in older WordPress versions"
|
736 |
+
msgstr "Ovo je \"WordPress novosti\" ili \"WordPress razvojni blog\" dodatak u starijim inačicama WordPess-a"
|
737 |
+
|
738 |
+
#: plugin.php:2569
|
739 |
+
msgid "\"WordPress News\" widget"
|
740 |
+
msgstr "\"WordPress Novosti\" dodatak"
|
741 |
+
|
742 |
+
#: plugin.php:2575
|
743 |
+
msgid "This is 'Other WordPress News' widget by default"
|
744 |
+
msgstr "Ovo je 'Ostale novosti WordPress-a' zadani dodatak"
|
745 |
+
|
746 |
+
#: plugin.php:2576
|
747 |
+
msgid "Secondary widget area"
|
748 |
+
msgstr "Sekundarno polje dodataka"
|
749 |
+
|
750 |
+
#: plugin.php:2583
|
751 |
+
msgid "Login Page Settings"
|
752 |
+
msgstr "Opcije stranice za prijavu"
|
753 |
+
|
754 |
+
#: plugin.php:2587
|
755 |
+
msgid "Login Page Options"
|
756 |
+
msgstr "Opcije stranice za prijavu"
|
757 |
+
|
758 |
+
#: plugin.php:2592
|
759 |
+
msgid "Hide back to blog block"
|
760 |
+
msgstr "Sakrij \"Natrag na blog\""
|
761 |
+
|
762 |
+
#: plugin.php:2593
|
763 |
+
msgid "Back to blog text"
|
764 |
+
msgstr "Natrag na blog tekst"
|
765 |
+
|
766 |
+
#: plugin.php:2598
|
767 |
+
msgid "Changes '<- Back to ...' text in top bar on Login page"
|
768 |
+
msgstr "Mijenja '<- Natrag na ...' tekst na stranici za prijavu"
|
769 |
+
|
770 |
+
#: plugin.php:2599
|
771 |
+
msgid "Change back to blog text"
|
772 |
+
msgstr "Promijenite tekst Natrag na blog"
|
773 |
+
|
774 |
+
#: plugin.php:2603
|
775 |
+
msgid "If this field is not empty, image from provided url will be visible on Login page"
|
776 |
+
msgstr "Ako ovo polje nije prazno, slika sa URL lokacije će biti stavljena na stranicu za prijavu"
|
777 |
+
|
778 |
+
#: plugin.php:2605
|
779 |
+
msgid "Change Login header image"
|
780 |
+
msgstr "Promjena slike na stranici za prijavu"
|
781 |
+
|
782 |
+
#: plugin.php:2610
|
783 |
+
msgid "Put here custom link to a web location, that will be triggered on image click"
|
784 |
+
msgstr "Promjena poveznice na slici na stranici za prijavu"
|
785 |
+
|
786 |
+
#: plugin.php:2612
|
787 |
+
msgid "Change link on login image"
|
788 |
+
msgstr "Promjena poveznice na slici na stranici za prijavu"
|
789 |
+
|
790 |
+
#: plugin.php:2613
|
791 |
+
msgid "For blog URL use"
|
792 |
+
msgstr "Za blog URL koristite"
|
793 |
+
|
794 |
+
#: plugin.php:2618
|
795 |
+
msgid "Hides login image completely"
|
796 |
+
msgstr "Sakriva sliku sa stranice za prijavu"
|
797 |
+
|
798 |
+
#: plugin.php:2620
|
799 |
+
msgid "Login header image"
|
800 |
+
msgstr "Slika zaglavlja na stranici za prijavu"
|
801 |
+
|
802 |
+
#: plugin.php:2624
|
803 |
+
msgid "Rounds box on login page"
|
804 |
+
msgstr "Zaokružuje ivice na prozoru za prijavu"
|
805 |
+
|
806 |
+
#: plugin.php:2636 plugin.php:2801
|
807 |
+
msgid "Size of rounded box curve"
|
808 |
+
msgstr "Veličina zakrivljenosti uglova"
|
809 |
+
|
810 |
+
#: plugin.php:2638
|
811 |
+
msgid "Round box corners - size"
|
812 |
+
msgstr "Zakrivljenost uglova - veličina"
|
813 |
+
|
814 |
+
#: plugin.php:2640 plugin.php:2805
|
815 |
+
msgid "(Size in px)"
|
816 |
+
msgstr "(Veličina u pikselima)"
|
817 |
+
|
818 |
+
#: plugin.php:2645
|
819 |
+
msgid "Hides register link on login page"
|
820 |
+
msgstr "Sakriva poveznicu za registraciju na stranici za prijavu"
|
821 |
+
|
822 |
+
#: plugin.php:2647
|
823 |
+
msgid "Register link"
|
824 |
+
msgstr "Veza za registraciju"
|
825 |
+
|
826 |
+
#: plugin.php:2657
|
827 |
+
msgid "Change register link on login page to point to your custom registration page."
|
828 |
+
msgstr "Promjena poveznice za registriranje na stranici za prijavu prema prilagođenoj stranici za registriranje."
|
829 |
+
|
830 |
+
#: plugin.php:2659
|
831 |
+
msgid "Change register link"
|
832 |
+
msgstr "Promjenite vezu za registraciju"
|
833 |
+
|
834 |
+
#: plugin.php:2660
|
835 |
+
msgid "Link to new registration page"
|
836 |
+
msgstr "Veza na novu stranicu za registraciju"
|
837 |
+
|
838 |
+
#: plugin.php:2665
|
839 |
+
msgid "Hides lost password link on login page"
|
840 |
+
msgstr "Sakriva poveznicu za izgubljenu lozinku na stranici za prijavu"
|
841 |
+
|
842 |
+
#: plugin.php:2667
|
843 |
+
msgid "Lost password link"
|
844 |
+
msgstr "Veza za izgubljenu zaporku"
|
845 |
+
|
846 |
+
#: plugin.php:2676 plugin.php:2744
|
847 |
+
msgid "Admin Menu Settings"
|
848 |
+
msgstr "Opcije admin izbornika"
|
849 |
+
|
850 |
+
#: plugin.php:2679 plugin.php:2683
|
851 |
+
msgid "Apply admin menu customizations"
|
852 |
+
msgstr "Primjeni prilagodbe admin izbornika"
|
853 |
+
|
854 |
+
#: plugin.php:2684 plugin.php:2829
|
855 |
+
msgid "YES"
|
856 |
+
msgstr "DA"
|
857 |
+
|
858 |
+
#: plugin.php:2686
|
859 |
+
msgid "Do not apply admin menu customizations"
|
860 |
+
msgstr "Ne primjenjuj prilagodbe admin izbornika"
|
861 |
+
|
862 |
+
#: plugin.php:2687 plugin.php:2829
|
863 |
+
msgid "NO"
|
864 |
+
msgstr "NE"
|
865 |
+
|
866 |
+
#: plugin.php:2692
|
867 |
+
msgid "Admin menu"
|
868 |
+
msgstr "Admin izbornik"
|
869 |
+
|
870 |
+
#: plugin.php:2693
|
871 |
+
msgid "Hides admin menu completely (administrator can see 'AG custom admin' button)"
|
872 |
+
msgstr "Sakriva admin izbornik kompletno (administrator vidi 'AG Custom Admin dugme')"
|
873 |
+
|
874 |
+
#: plugin.php:2696
|
875 |
+
msgid "Edit / Remove Menu Items"
|
876 |
+
msgstr "Promjena / Uklanjanje stavki admin izbornika"
|
877 |
+
|
878 |
+
#: plugin.php:2700
|
879 |
+
msgid "Reset menu settings to default values"
|
880 |
+
msgstr "Postavite postavke izbornika na zadane"
|
881 |
+
|
882 |
+
#: plugin.php:2700
|
883 |
+
msgid "Reset to default settings"
|
884 |
+
msgstr "Postavljanje postavki na zadane"
|
885 |
+
|
886 |
+
#: plugin.php:2701
|
887 |
+
msgid "click on the top menu item to show its sub-menus"
|
888 |
+
msgstr "kliknite na glavno dugme izbornika kako biste vidjeli dugmad pod-izbornika"
|
889 |
+
|
890 |
+
#: plugin.php:2704
|
891 |
+
msgid "Item"
|
892 |
+
msgstr "Stavka"
|
893 |
+
|
894 |
+
#: plugin.php:2704
|
895 |
+
msgid "Visibility"
|
896 |
+
msgstr "Vidljivost"
|
897 |
+
|
898 |
+
#: plugin.php:2704
|
899 |
+
msgid "Change Text"
|
900 |
+
msgstr "Promjena teksta"
|
901 |
+
|
902 |
+
#: plugin.php:2715
|
903 |
+
msgid "Removes Profile menu item for non-admin users."
|
904 |
+
msgstr "Uklanja Profil izborničku stavku za sve korisnike koji nisu administratori."
|
905 |
+
|
906 |
+
#: plugin.php:2717
|
907 |
+
msgid "Remove Profile button from user menu"
|
908 |
+
msgstr "Sakriva Profil dugme sa korisničkog izbornika"
|
909 |
+
|
910 |
+
#: plugin.php:2721
|
911 |
+
msgid "Add New Menu Items"
|
912 |
+
msgstr "Dodaj nove stavke unutar admin izbornika"
|
913 |
+
|
914 |
+
#: plugin.php:2728
|
915 |
+
msgid "name"
|
916 |
+
msgstr "ime"
|
917 |
+
|
918 |
+
#: plugin.php:2728
|
919 |
+
msgid "New button visible name"
|
920 |
+
msgstr "Vidljivo ime novog dugmeta"
|
921 |
+
|
922 |
+
#: plugin.php:2729
|
923 |
+
msgid "url"
|
924 |
+
msgstr "url"
|
925 |
+
|
926 |
+
#: plugin.php:2729
|
927 |
+
msgid "New button link"
|
928 |
+
msgstr "Nova veza za dugme"
|
929 |
+
|
930 |
+
#: plugin.php:2730
|
931 |
+
msgid "open in"
|
932 |
+
msgstr "otvori u"
|
933 |
+
|
934 |
+
#: plugin.php:2731
|
935 |
+
msgid "same tab"
|
936 |
+
msgstr "ista kartica"
|
937 |
+
|
938 |
+
#: plugin.php:2732
|
939 |
+
msgid "new tab"
|
940 |
+
msgstr "nova kartica"
|
941 |
+
|
942 |
+
#: plugin.php:2734
|
943 |
+
msgid "Add new item button\" name=\"ag_add_adminmenu_button"
|
944 |
+
msgstr "Dodaj novu stavku gumba\" name=\"ag_add_adminmenu_button"
|
945 |
+
|
946 |
+
#: plugin.php:2734
|
947 |
+
msgid "Add new item"
|
948 |
+
msgstr "Dodaj novi"
|
949 |
+
|
950 |
+
#: plugin.php:2748
|
951 |
+
msgid "Choose how admin menu should behave on mobile devices / small screens"
|
952 |
+
msgstr "Odaberite kako će se admin izbornik ponašati na mobilnim uređajima / malim zaslonima"
|
953 |
+
|
954 |
+
#: plugin.php:2748
|
955 |
+
msgid "Admin menu auto folding"
|
956 |
+
msgstr "Auto-preklop admin izbornika"
|
957 |
+
|
958 |
+
#: plugin.php:2752
|
959 |
+
msgid "Default"
|
960 |
+
msgstr "Zadano"
|
961 |
+
|
962 |
+
#: plugin.php:2753
|
963 |
+
msgid "Force admin menu auto-folding"
|
964 |
+
msgstr "Auto-preklop uvijek"
|
965 |
+
|
966 |
+
#: plugin.php:2754
|
967 |
+
msgid "Disable admin menu auto-folding"
|
968 |
+
msgstr "Isključen auto-preklop"
|
969 |
+
|
970 |
+
#: plugin.php:2762
|
971 |
+
msgid "Removes empty space between some top menu items"
|
972 |
+
msgstr "Uklanja prazan prostor između ponekih glavnih dugmadi izbornika"
|
973 |
+
|
974 |
+
#: plugin.php:2764
|
975 |
+
msgid "Menu items separators"
|
976 |
+
msgstr "Razdvajači dugmadi admin izbornika "
|
977 |
+
|
978 |
+
#: plugin.php:2769
|
979 |
+
msgid "Removes icons from dmin menu buttons"
|
980 |
+
msgstr "Sakriva ikonice sa dugmadi na admin izborniku"
|
981 |
+
|
982 |
+
#: plugin.php:2771
|
983 |
+
msgid "Menu icons"
|
984 |
+
msgstr "Ikone izbornika"
|
985 |
+
|
986 |
+
#: plugin.php:2776
|
987 |
+
msgid "Removes small arrow that appears on the top button hover"
|
988 |
+
msgstr "Sakriva malu strelicu koja se prikazuje kod pod-izbornika na prelaz mišem "
|
989 |
+
|
990 |
+
#: plugin.php:2778
|
991 |
+
msgid "Sub-menu arrow"
|
992 |
+
msgstr "Strelica pod-izbornika"
|
993 |
+
|
994 |
+
#: plugin.php:2783
|
995 |
+
msgid "Removes collapse button at the end of admin menu"
|
996 |
+
msgstr "Uklanja dugme za sužavanje admin izbornika na samom kraju izbornika"
|
997 |
+
|
998 |
+
#: plugin.php:2785
|
999 |
+
msgid "\"Collapse menu\" button"
|
1000 |
+
msgstr "Dugme za sužavanje admin izbornika"
|
1001 |
+
|
1002 |
+
#: plugin.php:2789
|
1003 |
+
msgid "Rounds submenu pop-up box"
|
1004 |
+
msgstr "Zaokružuje ivice pojavljujućeg pod-izbornika"
|
1005 |
+
|
1006 |
+
#: plugin.php:2791
|
1007 |
+
msgid "Round sub-menu pop-up box"
|
1008 |
+
msgstr "Zaokružite ivice pojavljujućeg pod-izbornika"
|
1009 |
+
|
1010 |
+
#: plugin.php:2803
|
1011 |
+
msgid "Round sub-menu pop-up box - size"
|
1012 |
+
msgstr "Veličina zaokruživanja ivica pod-izbornika"
|
1013 |
+
|
1014 |
+
#: plugin.php:2809
|
1015 |
+
msgid "Adds custom logo above the admin menu"
|
1016 |
+
msgstr "Dodaje logo iznad admin izbornika"
|
1017 |
+
|
1018 |
+
#: plugin.php:2811
|
1019 |
+
msgid "Admin menu branding with logo"
|
1020 |
+
msgstr "Brendiranje admin izbornika sa logo slikom"
|
1021 |
+
|
1022 |
+
#: plugin.php:2816
|
1023 |
+
msgid "Change branding logo link</br></br>Use:"
|
1024 |
+
msgstr "Promjena poveznice slike loga</br></br>Koristite:"
|
1025 |
+
|
1026 |
+
#: plugin.php:2816
|
1027 |
+
msgid "for blog URL"
|
1028 |
+
msgstr "za blog URL"
|
1029 |
+
|
1030 |
+
#: plugin.php:2818
|
1031 |
+
msgid "Branding logo link"
|
1032 |
+
msgstr "Brending logo poveznica"
|
1033 |
+
|
1034 |
+
#: plugin.php:2819
|
1035 |
+
msgid "Branding image URL"
|
1036 |
+
msgstr "Veza na brending slici"
|
1037 |
+
|
1038 |
+
#: plugin.php:2825
|
1039 |
+
msgid "Colorizer Page"
|
1040 |
+
msgstr "Bojanica"
|
1041 |
+
|
1042 |
+
#: plugin.php:2828
|
1043 |
+
msgid "Apply Colorizer settings"
|
1044 |
+
msgstr "Primjena postavki Bojanice"
|
1045 |
+
|
1046 |
+
#: plugin.php:2829
|
1047 |
+
msgid "Apply Colorizer customizations"
|
1048 |
+
msgstr "Primjenite opcije Bojanice"
|
1049 |
+
|
1050 |
+
#: plugin.php:2829
|
1051 |
+
msgid "Do not apply Colorizer customizations"
|
1052 |
+
msgstr "Ne primjenjuj postavke Bojanice"
|
1053 |
+
|
1054 |
+
#: plugin.php:2832
|
1055 |
+
msgid "Global Color Options"
|
1056 |
+
msgstr "Generalne opcije boja"
|
1057 |
+
|
1058 |
+
#: plugin.php:2834 plugin.php:2858
|
1059 |
+
msgid "Background:"
|
1060 |
+
msgstr "Pozadina:"
|
1061 |
+
|
1062 |
+
#: plugin.php:2834
|
1063 |
+
msgid "Change admin page background color"
|
1064 |
+
msgstr "Promjena pozadinske boje admin stranica"
|
1065 |
+
|
1066 |
+
#: plugin.php:2835
|
1067 |
+
msgid "Login page background:"
|
1068 |
+
msgstr "Pozadinska boja stranice za prijavu"
|
1069 |
+
|
1070 |
+
#: plugin.php:2835
|
1071 |
+
msgid "Change login page background color"
|
1072 |
+
msgstr "Promjena pozadinske boje stranice za prijavu"
|
1073 |
+
|
1074 |
+
#: plugin.php:2836
|
1075 |
+
msgid "Admin bar:"
|
1076 |
+
msgstr "Admin traka:"
|
1077 |
+
|
1078 |
+
#: plugin.php:2836
|
1079 |
+
msgid "Change admin bar (on top) color in admin panel"
|
1080 |
+
msgstr "Promijenite boju admin trake"
|
1081 |
+
|
1082 |
+
#: plugin.php:2838
|
1083 |
+
msgid "Admin Menu Color Options"
|
1084 |
+
msgstr "Opcije boja admin izbornika"
|
1085 |
+
|
1086 |
+
#: plugin.php:2840
|
1087 |
+
msgid "Button background:"
|
1088 |
+
msgstr "Pozadinska boja dugmeta:"
|
1089 |
+
|
1090 |
+
#: plugin.php:2840
|
1091 |
+
msgid "Change button background color"
|
1092 |
+
msgstr "Promjena pozadinske boje dugmeta"
|
1093 |
+
|
1094 |
+
#: plugin.php:2841
|
1095 |
+
msgid "Button text:"
|
1096 |
+
msgstr "Tekst dugmeta:"
|
1097 |
+
|
1098 |
+
#: plugin.php:2841
|
1099 |
+
msgid "Change button text color"
|
1100 |
+
msgstr "Promijeni boju teksta dugmeta"
|
1101 |
+
|
1102 |
+
#: plugin.php:2842
|
1103 |
+
msgid "Selected button background:"
|
1104 |
+
msgstr "Promjena pozadinske boje odabranog dugmeta:"
|
1105 |
+
|
1106 |
+
#: plugin.php:2842
|
1107 |
+
msgid "Change button background color for current button"
|
1108 |
+
msgstr "Promjena pozadinske boje trenutnog dugmeta"
|
1109 |
+
|
1110 |
+
#: plugin.php:2843
|
1111 |
+
msgid "Hover button background:"
|
1112 |
+
msgstr "Promjena pozadinske boje dugmeta na prelaz mišem"
|
1113 |
+
|
1114 |
+
#: plugin.php:2843
|
1115 |
+
msgid "Change button background color on mouseover"
|
1116 |
+
msgstr "Promjena pozadinske boje dugmeta na prelaz mišem"
|
1117 |
+
|
1118 |
+
#: plugin.php:2844
|
1119 |
+
msgid "Sub-menu button background:"
|
1120 |
+
msgstr "Promjena pozadinske boje pod-izbornika dugmeta"
|
1121 |
+
|
1122 |
+
#: plugin.php:2844 plugin.php:3069
|
1123 |
+
msgid "Change submenu item background color"
|
1124 |
+
msgstr "Promijeni pozadinsku boju pod-izbornika"
|
1125 |
+
|
1126 |
+
#: plugin.php:2845
|
1127 |
+
msgid "Sub-menu hover button background:"
|
1128 |
+
msgstr "Promjena pozadinske boje pod-izbornika dugmeta na prelaz mišem"
|
1129 |
+
|
1130 |
+
#: plugin.php:2845
|
1131 |
+
msgid "Change submenu item background color on mouseover"
|
1132 |
+
msgstr "Promjena pozadinske boje pod-izbornika dugmeta na prelaz mišem"
|
1133 |
+
|
1134 |
+
#: plugin.php:2846
|
1135 |
+
msgid "Sub-menu text:"
|
1136 |
+
msgstr "Tekst pod-izbornika:"
|
1137 |
+
|
1138 |
+
#: plugin.php:2846
|
1139 |
+
msgid "Sub-menu text color"
|
1140 |
+
msgstr "Boja teksta pod-izbornika"
|
1141 |
+
|
1142 |
+
#: plugin.php:2847
|
1143 |
+
msgid "Wrapper background:"
|
1144 |
+
msgstr "Pozadinska boja omotača"
|
1145 |
+
|
1146 |
+
#: plugin.php:2847
|
1147 |
+
msgid "Change background color of element behind admin menu"
|
1148 |
+
msgstr "Promjena pozadinske boje elementa iza admin izbornika"
|
1149 |
+
|
1150 |
+
#: plugin.php:2849
|
1151 |
+
msgid "Font Color Options"
|
1152 |
+
msgstr "Opcije boje teksta"
|
1153 |
+
|
1154 |
+
#: plugin.php:2851
|
1155 |
+
msgid "Content text:"
|
1156 |
+
msgstr "Tekst sadržaja"
|
1157 |
+
|
1158 |
+
#: plugin.php:2851
|
1159 |
+
msgid "Change color in content text"
|
1160 |
+
msgstr "Promjena boje teksta na stranici"
|
1161 |
+
|
1162 |
+
#: plugin.php:2852
|
1163 |
+
msgid "Admin bar text:"
|
1164 |
+
msgstr "Tekst admin trake:"
|
1165 |
+
|
1166 |
+
#: plugin.php:2852
|
1167 |
+
msgid "Change color of admin bar text"
|
1168 |
+
msgstr "Promjena boje teksta admin trake"
|
1169 |
+
|
1170 |
+
#: plugin.php:2853
|
1171 |
+
msgid "Footer text:"
|
1172 |
+
msgstr "Tekst podnožja:"
|
1173 |
+
|
1174 |
+
#: plugin.php:2853
|
1175 |
+
msgid "Change color in footer text"
|
1176 |
+
msgstr "Promijenite boju teksta u podnožju"
|
1177 |
+
|
1178 |
+
#: plugin.php:2855
|
1179 |
+
msgid "Widgets Color Options"
|
1180 |
+
msgstr "Opcije boja dodataka"
|
1181 |
+
|
1182 |
+
#: plugin.php:2857
|
1183 |
+
msgid "Title bar background:"
|
1184 |
+
msgstr "Pozadinska boja admin trak"
|
1185 |
+
|
1186 |
+
#: plugin.php:2857
|
1187 |
+
msgid "Change color in header text"
|
1188 |
+
msgstr "Promjena boje teksta u zaglavlju"
|
1189 |
+
|
1190 |
+
#: plugin.php:2858
|
1191 |
+
msgid "Change widget background color"
|
1192 |
+
msgstr "Promjena pozadinske boje dodatka"
|
1193 |
+
|
1194 |
+
#: plugin.php:2878
|
1195 |
+
msgid "If you have any ideas for theme improvements, or you have new themes requests, please feel free to send us a message"
|
1196 |
+
msgstr "Ako imate bilo kakvu ideju za poboljšanje tema ili imate ideju za novu temu, molimo kontaktirajte nas"
|
1197 |
+
|
1198 |
+
#: plugin.php:2878
|
1199 |
+
msgid "Submit your admin themes ideas"
|
1200 |
+
msgstr "Pošaljite svoju ideju za admin temu"
|
1201 |
+
|
1202 |
+
#: plugin.php:2879
|
1203 |
+
msgid "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."
|
1204 |
+
msgstr "UPOZORENJE: Sve instalirane teme će biti uklonjene. Kako biste ih ponovno aktivirali, trebaćete imati validan ključ. Besplatne teme mogu biti ponovno instalirane bez ključa."
|
1205 |
+
|
1206 |
+
#: plugin.php:2879
|
1207 |
+
msgid "Uninstall all installed themes"
|
1208 |
+
msgstr "Brisanje svih instaliranih tema"
|
1209 |
+
|
1210 |
+
#: plugin.php:2892
|
1211 |
+
msgid "<strong>Note: </strong>These options will override existing customizations"
|
1212 |
+
msgstr "<strong>-Upozorenje: </strong>Ove opcije će promijeniti već postojeće postavke"
|
1213 |
+
|
1214 |
+
#: plugin.php:2897 plugin.php:2900
|
1215 |
+
msgid "Add custom CSS script to override existing styles"
|
1216 |
+
msgstr "Dodajte svoju CSS skriptu koja će upotpuniti već postojeće stilove"
|
1217 |
+
|
1218 |
+
#: plugin.php:2897
|
1219 |
+
msgid "Custom CSS script"
|
1220 |
+
msgstr "Moja CSS skripta"
|
1221 |
+
|
1222 |
+
#: plugin.php:2905 plugin.php:2908
|
1223 |
+
msgid "Add additional custom JavaScript"
|
1224 |
+
msgstr "Dodajte svoju JavaScript"
|
1225 |
+
|
1226 |
+
#: plugin.php:2905
|
1227 |
+
msgid "Custom JavaScript"
|
1228 |
+
msgstr "Moja JavaScript"
|
1229 |
+
|
1230 |
+
#: plugin.php:2913
|
1231 |
+
msgid "Temporary enable this option if you are experiencing any problems with saving AGCA options. Please turn it off after you are done with your customizations."
|
1232 |
+
msgstr "Trenutačno uključite ovu opciju ako imate problema sa spašavanje AGCA opcija. Molimo isključite je ponovno nakon što završite podešavanja."
|
1233 |
+
|
1234 |
+
#: plugin.php:2915
|
1235 |
+
msgid "Temporary disable POST verification"
|
1236 |
+
msgstr "Trenutačno isključite POST provjeru"
|
1237 |
+
|
1238 |
+
#: plugin.php:2920
|
1239 |
+
msgid "Export / import settings"
|
1240 |
+
msgstr "Izvoz / Uvoz postavki"
|
1241 |
+
|
1242 |
+
#: plugin.php:2923
|
1243 |
+
msgid "Export Settings"
|
1244 |
+
msgstr "Izvoz postavki"
|
1245 |
+
|
1246 |
+
#: plugin.php:2927
|
1247 |
+
msgid "Import Settings"
|
1248 |
+
msgstr "Uvoz postavki"
|
1249 |
+
|
1250 |
+
#: plugin.php:2933
|
1251 |
+
msgid "Save AG Custom Admin configuration"
|
1252 |
+
msgstr "Spasite AG Custom Admin postavke"
|
1253 |
+
|
1254 |
+
#: plugin.php:2933
|
1255 |
+
msgid "Save Changes"
|
1256 |
+
msgstr "Spremi promjene"
|
1257 |
+
|
1258 |
+
#: plugin.php:2987
|
1259 |
+
msgid "Toggle on/off"
|
1260 |
+
msgstr "Uključi/isključi"
|
1261 |
+
|
1262 |
+
#: plugin.php:3018 plugin.php:3050 plugin.php:3072
|
1263 |
+
msgid "Clear"
|
1264 |
+
msgstr "Očisti"
|
1265 |
+
|
1266 |
+
#: plugin.php:3049
|
1267 |
+
msgid "Pick Color"
|
1268 |
+
msgstr "Odaberite boju"
|
1269 |
+
|
1270 |
+
#: plugin.php:3069
|
1271 |
+
msgid "Submenu button background color:"
|
1272 |
+
msgstr "Promjena pozadinske boje pod-izbornika dugmeta"
|
1273 |
+
|
1274 |
+
#: plugin.php:3071
|
1275 |
+
msgid "Pick color"
|
1276 |
+
msgstr "Odaberite boju"
|
1277 |
+
|
1278 |
+
#. Plugin Name of the plugin/theme
|
1279 |
+
msgid "AG Custom Admin"
|
1280 |
+
msgstr "AG Custom Admin"
|
1281 |
+
|
1282 |
+
#. Plugin URI of the plugin/theme
|
1283 |
+
msgid "http://wordpressadminpanel.com/ag-custom-admin/"
|
1284 |
+
msgstr "http://wordpressadminpanel.com/ag-custom-admin/"
|
1285 |
+
|
1286 |
+
#. Description of the plugin/theme
|
1287 |
+
msgid "All-in-one tool for admin panel customization. Change almost everything: admin menu, dashboard, login page, admin bar etc. Apply admin panel themes."
|
1288 |
+
msgstr "\"Sve u jednom\" dodatak za prilagodbu stranice za administraciju. Promjeniti možete gotovo sve: admin izbornik, kontrolnu ploču, stranicu za prijavu, admin traku itd. Primijenite gotove teme panela za administraciju."
|
1289 |
+
|
1290 |
+
#. Author of the plugin/theme
|
1291 |
+
msgid "WAP"
|
1292 |
+
msgstr "WAP"
|
1293 |
+
|
1294 |
+
#. Author URI of the plugin/theme
|
1295 |
+
msgid "http://www.wordpressadminpanel.com/"
|
1296 |
+
msgstr "http://www.wordpressadminpanel.com/"
|
plugin.php
CHANGED
@@ -4,7 +4,9 @@ Plugin Name: AG Custom Admin
|
|
4 |
Plugin URI: http://wordpressadminpanel.com/ag-custom-admin/
|
5 |
Description: All-in-one tool for admin panel customization. Change almost everything: admin menu, dashboard, login page, admin bar etc. Apply admin panel themes.
|
6 |
Author: WAP
|
7 |
-
Version: 5.
|
|
|
|
|
8 |
Author URI: http://www.wordpressadminpanel.com/
|
9 |
|
10 |
Copyright 2016. WAP (email : info@wordpressadminpanel.com)
|
@@ -27,7 +29,6 @@ $agca = new AGCA();
|
|
27 |
|
28 |
class AGCA{
|
29 |
private $colorizer="";
|
30 |
-
private $active_plugins = null;
|
31 |
private $agca_version;
|
32 |
private $agca_debug = false;
|
33 |
private $admin_capabilities;
|
@@ -35,13 +36,18 @@ class AGCA{
|
|
35 |
private $saveAfterImport = false;
|
36 |
private $templateCustomizations = "";
|
37 |
private $templates_ep = "http://wordpressadminpanel.com/configuration.php";
|
|
|
38 |
public function __construct()
|
39 |
-
{
|
40 |
-
|
|
|
|
|
|
|
|
|
41 |
$this->checkPOST();
|
42 |
$this->checkGET();
|
43 |
-
|
44 |
-
|
45 |
add_filter('admin_title', array(&$this,'change_title'), 10, 2);
|
46 |
add_filter('plugin_row_meta', array(&$this,'jk_filter_plugin_links'), 10, 2);
|
47 |
}
|
@@ -53,30 +59,41 @@ class AGCA{
|
|
53 |
add_action('admin_menu', array(&$this,'agca_create_menu'));
|
54 |
add_action('wp_head', array(&$this,'print_page'));
|
55 |
add_action( 'wp_before_admin_bar_render', array(&$this,'admin_bar_changes') );
|
|
|
56 |
register_deactivation_hook(__FILE__, array(&$this,'agca_deactivate'));
|
57 |
|
58 |
add_action( 'customize_controls_enqueue_scripts', array(&$this,'agca_customizer_php') );
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
/*Initialize properties*/
|
61 |
$this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
|
62 |
|
63 |
-
$this->agca_version = "5.
|
64 |
|
65 |
-
//TODO:upload images
|
|
|
66 |
|
|
|
|
|
67 |
}
|
|
|
68 |
// Add donate and support information
|
69 |
function jk_filter_plugin_links($links, $file)
|
70 |
{
|
71 |
if ( $file == plugin_basename(__FILE__) )
|
72 |
{
|
73 |
if(!is_network_admin()){
|
74 |
-
$links[] = '<a href="tools.php?page=ag-custom-admin/plugin.php">' . __('Settings') . '</a>';
|
75 |
-
$links[] = '<a href="tools.php?page=ag-custom-admin/plugin.php#ag-templates">' . __('Admin Themes') . '</a>';
|
76 |
}
|
77 |
-
$links[] = '<a href="http://wordpressadminpanel.com/agca-support/">' . __('Support') . '</a>';
|
78 |
-
$links[] = '<a href="https://cusmin.com">' . __('Upgrade') . '</a>';
|
79 |
-
$links[] = '<a href="http://wordpressadminpanel.com/agca-support/support-for-future-development">' . __('Donate') . '</a>';
|
80 |
}
|
81 |
return $links;
|
82 |
}
|
@@ -203,7 +220,7 @@ class AGCA{
|
|
203 |
$this->verifyPostRequest();
|
204 |
function my_sideload_image() {
|
205 |
$remoteurl = $_POST['_agca_upload_image'];
|
206 |
-
$file = media_sideload_image( $remoteurl, 0 ,"AG Custom Admin
|
207 |
try{
|
208 |
$fileparts = explode("src='", $file);
|
209 |
$url=explode("'",$fileparts[1]);
|
@@ -219,31 +236,66 @@ class AGCA{
|
|
219 |
exit;
|
220 |
}
|
221 |
}
|
222 |
-
|
223 |
function verifyPostRequest(){
|
224 |
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
225 |
-
if(!is_admin()){
|
|
|
226 |
exit;
|
227 |
}
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
exit;
|
232 |
}
|
233 |
-
|
234 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
exit;
|
236 |
}
|
237 |
}
|
238 |
}
|
239 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
function admin_bar_changes(){
|
241 |
if( current_user_can( 'manage_options' )){
|
242 |
global $wp_admin_bar;
|
243 |
if(!is_network_admin()){
|
244 |
$wp_admin_bar->add_menu( array(
|
245 |
'id' => 'agca-admin-themes',
|
246 |
-
'title' => '<span class="ab-icon"></span>'.__( 'Admin Themes', 'agca-admin
|
247 |
'href' => 'tools.php?page=ag-custom-admin/plugin.php#ag-templates'
|
248 |
));
|
249 |
}
|
@@ -326,22 +378,22 @@ class AGCA{
|
|
326 |
<script type="text/javascript">
|
327 |
<?php
|
328 |
//AGCA GLOBALS
|
329 |
-
echo "var agca_global_plugin_url = '"
|
330 |
?>
|
331 |
</script>
|
332 |
-
<link rel="stylesheet" type="text/css" href="<?php echo
|
333 |
-
<link rel="stylesheet" type="text/css" href="<?php echo
|
334 |
-
<script type="text/javascript" src="<?php echo
|
335 |
-
<script type="text/javascript" src="<?php echo
|
336 |
|
337 |
<?php
|
338 |
if($this->context == "login"){
|
339 |
?>
|
340 |
-
<link rel="stylesheet" type="text/css" href="<?php echo
|
341 |
<?php
|
342 |
}else{
|
343 |
?>
|
344 |
-
<link rel="stylesheet" type="text/css" href="<?php echo
|
345 |
<?php
|
346 |
}
|
347 |
?>
|
@@ -359,7 +411,7 @@ class AGCA{
|
|
359 |
try{
|
360 |
eval("<?php echo str_replace(array("\r\n", "\n", "\r"), ' ', get_option('agca_custom_js')); ?>");
|
361 |
}catch(e){
|
362 |
-
alert('AG CUSTOM ADMIN
|
363 |
console.log(e);
|
364 |
}
|
365 |
</script>
|
@@ -369,15 +421,29 @@ class AGCA{
|
|
369 |
|
370 |
function agca_enqueue_scripts() {
|
371 |
wp_enqueue_script('jquery');
|
|
|
|
|
372 |
}
|
373 |
|
374 |
function WPSPluginIsLoginPage(){
|
375 |
-
|
376 |
-
|
377 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
378 |
if ( $slug = get_option( 'whl_page' ) ) {
|
379 |
return $slug;
|
380 |
-
} else if ( ( is_multisite() &&
|
381 |
return $slug;
|
382 |
} else if ( $slug = 'login' ) {
|
383 |
return $slug;
|
@@ -392,7 +458,7 @@ class AGCA{
|
|
392 |
$isAdmin = true;
|
393 |
}
|
394 |
if(in_array((isset($GLOBALS['pagenow'])?$GLOBALS['pagenow']:""), array('wp-login.php', 'wp-register.php')) || $isAdmin || $this->WPSPluginIsLoginPage()){
|
395 |
-
|
396 |
}
|
397 |
}
|
398 |
|
@@ -488,6 +554,8 @@ class AGCA{
|
|
488 |
|
489 |
register_setting( 'agca-options-group', 'agca_custom_js' );
|
490 |
register_setting( 'agca-options-group', 'agca_custom_css' );
|
|
|
|
|
491 |
|
492 |
|
493 |
if(!empty($_POST)){
|
@@ -608,6 +676,8 @@ class AGCA{
|
|
608 |
'agca_custom_css',
|
609 |
'agca_colorizer_turnonoff',
|
610 |
'agca_disablewarning',
|
|
|
|
|
611 |
'agca_selected_template',
|
612 |
'agca_templates',
|
613 |
);
|
@@ -630,6 +700,7 @@ class AGCA{
|
|
630 |
function importSettings($settings){
|
631 |
$exploaded = explode("|^|^|", $settings);
|
632 |
// $str = "EEE: ";
|
|
|
633 |
|
634 |
$savedOptions = array();
|
635 |
|
@@ -708,7 +779,7 @@ class AGCA{
|
|
708 |
}
|
709 |
}
|
710 |
|
711 |
-
$filename = '
|
712 |
header("Cache-Control: public");
|
713 |
header("Content-Description: File Transfer");
|
714 |
header("Content-Disposition: attachment; filename=$filename");
|
@@ -727,7 +798,7 @@ class AGCA{
|
|
727 |
|
728 |
|
729 |
function agca_create_menu() {
|
730 |
-
add_management_page(
|
731 |
}
|
732 |
|
733 |
function agca_create_admin_button($name,$arr) {
|
@@ -871,9 +942,9 @@ class AGCA{
|
|
871 |
initJQuery();
|
872 |
</script>
|
873 |
<script type="text/javascript">
|
874 |
-
<?php echo "var agca_global_plugin_url = '"
|
875 |
</script>
|
876 |
-
<script type="text/javascript" src="<?php echo
|
877 |
<script type="text/javascript">
|
878 |
jQuery(document).ready(function(){
|
879 |
<?php if(get_option('agca_colorizer_turnonoff') == 'on' && (get_option('agca_admin_bar_frontend_hide')!=true)){
|
@@ -953,7 +1024,7 @@ class AGCA{
|
|
953 |
var img_url = '<?php echo addslashes(get_option('agca_header_logo_custom')); ?>';
|
954 |
|
955 |
advanced_url = img_url;
|
956 |
-
image = jQuery("<img />").attr("src",advanced_url);
|
957 |
jQuery(image).load(function() {
|
958 |
jQuery("#wpbody-content").prepend(image);
|
959 |
});
|
@@ -1003,7 +1074,7 @@ class AGCA{
|
|
1003 |
<?php } ?>
|
1004 |
<?php if((get_option('agca_header')==true)&&(get_option('agca_header_show_logout')==true)){ ?>
|
1005 |
<?php
|
1006 |
-
$agca_logout_text = ((get_option('agca_logout')=="")?"Log Out":get_option('agca_logout'));
|
1007 |
?>
|
1008 |
jQuery("#wpbody-content").prepend('<a href="../wp-login.php?action=logout" tabindex="10" style="float:right;margin-right:20px" class="ab-item agca_logout_button"><?php echo $agca_logout_text; ?></a>');
|
1009 |
|
@@ -1250,10 +1321,10 @@ class AGCA{
|
|
1250 |
var agca_error_details = "___________________________________________________<br/>";
|
1251 |
agca_error_details += '<br/>' + msg +'<br/>source:' + url + '<br/>line:' + line + '<br/>';
|
1252 |
agca_error_details += "___________________________________________________<br/>";
|
1253 |
-
window.agca_error_details_text = agca_error_details + '<br
|
1254 |
document.getElementsByTagName('html')[0].style.visibility = "visible";
|
1255 |
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;">\
|
1256 |
-
AG Custom Admin caught an error on your site
|
1257 |
|
1258 |
var ph = document.getElementById('agca_error_placeholder');
|
1259 |
ph.innerHTML = errorDivHtml;
|
@@ -1279,7 +1350,7 @@ class AGCA{
|
|
1279 |
|
1280 |
if(typeof window.console === "object"){
|
1281 |
console.log("___________________________________________________");
|
1282 |
-
console.log("AG Custom Admin caught a JavaScript on your site
|
1283 |
console.log(agca_error_details);
|
1284 |
}
|
1285 |
}
|
@@ -1332,7 +1403,7 @@ class AGCA{
|
|
1332 |
$name = $this->menu_item_cleartext($name);
|
1333 |
|
1334 |
//apply previous submenu customizations
|
1335 |
-
if($customizationsSet){
|
1336 |
$pc = $previousCustomizations[$url];
|
1337 |
}
|
1338 |
|
@@ -1352,7 +1423,7 @@ class AGCA{
|
|
1352 |
'url'=>$urlSub
|
1353 |
);
|
1354 |
|
1355 |
-
if(isset($pc
|
1356 |
$s[$key]['new'] = $pc['submenus'][$key]['new'];
|
1357 |
$s[$key]['remove'] = $pc['submenus'][$key]['remove'];
|
1358 |
|
@@ -1376,7 +1447,7 @@ class AGCA{
|
|
1376 |
);
|
1377 |
|
1378 |
//apply previous top menu customizations
|
1379 |
-
if($customizationsSet){
|
1380 |
$pc = $previousCustomizations[$url];
|
1381 |
if(isset($pc)){
|
1382 |
$m[$url]['remove'] = $pc['remove'];
|
@@ -1513,10 +1584,13 @@ class AGCA{
|
|
1513 |
return $this->isPluginActive('cusmin/cusmin.php');
|
1514 |
}
|
1515 |
function isPluginActive($plugin){
|
1516 |
-
if(
|
1517 |
-
|
1518 |
}
|
1519 |
-
return
|
|
|
|
|
|
|
1520 |
}
|
1521 |
function print_admin_css()
|
1522 |
{
|
@@ -1538,12 +1612,33 @@ class AGCA{
|
|
1538 |
var roundedSidberSize = 0;
|
1539 |
var agca_installed_templates = <?php echo $this->get_installed_agca_templates(); ?>;
|
1540 |
var agca_admin_menu = <?php echo json_encode($this->get_menu_customizations()) ?>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1541 |
</script>
|
1542 |
<?php
|
1543 |
$this->prepareAGCAAdminTemplates();
|
1544 |
$this->agca_get_includes();
|
1545 |
$this->admin_capabilities();
|
1546 |
-
|
1547 |
?>
|
1548 |
<?php
|
1549 |
//in case that javaScript is disabled only admin can access admin menu
|
@@ -1582,6 +1677,10 @@ class AGCA{
|
|
1582 |
}(document, 'script', 'facebook-jssdk'));</script>
|
1583 |
<?php
|
1584 |
}
|
|
|
|
|
|
|
|
|
1585 |
?>
|
1586 |
<script type="text/javascript">
|
1587 |
/* <![CDATA[ */
|
@@ -2017,26 +2116,30 @@ class AGCA{
|
|
2017 |
<?php
|
2018 |
}
|
2019 |
|
|
|
|
|
|
|
|
|
2020 |
function agca_admin_page() {
|
2021 |
|
2022 |
$wpversion = $this->get_wp_version();
|
2023 |
$this->agca_error_check();
|
2024 |
?>
|
2025 |
<?php //includes ?>
|
2026 |
-
<link rel="stylesheet" type="text/css" href="<?php echo
|
2027 |
-
<script type="text/javascript" src="<?php echo
|
2028 |
|
2029 |
-
<link rel="stylesheet" type="text/css" href="<?php echo
|
2030 |
-
<script type="text/javascript" src="<?php echo
|
2031 |
-
<script type="text/javascript" src="<?php echo
|
2032 |
<script type="text/javascript">
|
2033 |
var templates_ep = "<?php echo $this->templates_ep; ?>";
|
2034 |
var template_selected = '<?php echo get_option('agca_selected_template'); ?>';
|
2035 |
</script>
|
2036 |
-
<script type="text/javascript" src="<?php echo
|
2037 |
<?php //includes ?>
|
2038 |
<div class="wrap">
|
2039 |
-
<h1 id="agca-title">AG Custom Admin Settings <span style="font-size:15px;">(v<?php echo $this->agca_version; ?>)</span></h1>
|
2040 |
<div id="agca-social" style="float:right; margin-top: -23px;">
|
2041 |
<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>
|
2042 |
</div>
|
@@ -2049,26 +2152,27 @@ class AGCA{
|
|
2049 |
<strong>
|
2050 |
<span style="color:#005B69">Your feedback:</span>
|
2051 |
</strong>
|
2052 |
-
<a class="feedback positive" target="_blank" title="POSITIVE FEEDBACK: I like this plugin!" href="http://wordpressadminpanel.com/agca-support/feedback/ag-custom-admin-positive-feedback/">
|
2053 |
<span class="dashicons dashicons-thumbs-up"></span>
|
2054 |
</a>
|
2055 |
-
<a class="feedback negative" target="_blank" title="NEGATIVE FEEDBACK: I don't like this plugin." href="http://wordpressadminpanel.com/agca-support/feedback/ag-custom-admin-negative-feedback/">
|
2056 |
<span class="dashicons dashicons-thumbs-down"></span>
|
2057 |
</a>
|
2058 |
</div>
|
2059 |
<br />
|
2060 |
<ul id="ag_main_menu" style="<?php echo $this->isCusminActive()?'display:none':''; ?>">
|
2061 |
-
<li class="selected"><a href="#general-settings" title="General Settings"
|
2062 |
-
<li class="normal"><a href="#admin-bar-settings" title="Settings for admin bar"
|
2063 |
-
<li class="normal"><a href="#admin-footer-settings" title="Settings for admin footer"
|
2064 |
-
<li class="normal"><a href="#dashboad-page-settings" title="Settings for Dashboard page"
|
2065 |
-
<li class="normal"><a href="#login-page-settings" title="Settings for Login page"
|
2066 |
-
<li class="normal" ><a href="#admin-menu-settings" title="Settings for main admin menu"
|
2067 |
-
<li class="normal"><a href="#ag-colorizer-setttings" title="
|
2068 |
-
<li class="normal"><a href="#ag-advanced" title="My custom scripts"
|
2069 |
-
<li class="normal" style=""><a style="color:#DB6014;font-weight:bolder;" href="#ag-templates" title="AG Custom Admin Themes"
|
2070 |
-
|
2071 |
-
|
|
|
2072 |
</li>
|
2073 |
<li style="background:none;border:none;padding:0;padding-left:10px;margin-top:-7px"></li>
|
2074 |
</ul>
|
@@ -2078,73 +2182,73 @@ class AGCA{
|
|
2078 |
</ul>
|
2079 |
</div>
|
2080 |
<div class="agca-clear"></div>
|
2081 |
-
<div id="section-cusmin" style="display:none;"
|
2082 |
<div id="section_general" style="display:none" class="ag_section">
|
2083 |
-
<h2 class="section_title"
|
2084 |
-
<p tabindex="0" class="agca-clear agca-tip"><i
|
2085 |
<table class="agca-clear form-table" width="500px">
|
2086 |
<?php
|
2087 |
|
2088 |
$this->print_checkbox(array(
|
2089 |
'name'=>'agca_role_allbutadmin',
|
2090 |
-
'label'=>'Exclude AGCA admin from customizations',
|
2091 |
-
'title'=>'<h3>Applying customizations</h3><br><strong>Checked</strong> - apply to all users, except admin<br><strong>Not checked</strong> - apply to everyone</br></br><strong>Q</strong>: Who is AGCA administrator?</br><strong>A</strong>: Go to <i>General -> Security -> AGCA admin capability</i> and change capability option to define administrators. Only the users with selected capability will be AGCA administrators.</br>'
|
2092 |
));
|
2093 |
|
2094 |
-
$this->print_options_h3('Pages');
|
2095 |
|
2096 |
$this->print_checkbox(array(
|
2097 |
'hide'=>true,
|
2098 |
'name'=>'agca_screen_options_menu',
|
2099 |
-
'label'=>'"Screen Options" menu',
|
2100 |
-
'title'=>'Hides the menu from the admin pages (located on the top right corner of the page, below the admin bar)'
|
2101 |
));
|
2102 |
|
2103 |
$this->print_checkbox(array(
|
2104 |
'hide'=>true,
|
2105 |
'name'=>'agca_help_menu',
|
2106 |
-
'label'=>'"Help" menu',
|
2107 |
-
'title'=>'Hides the menu from the admin pages (located on the top right corner of the page, below the admin bar)'
|
2108 |
));
|
2109 |
|
2110 |
-
$this->print_options_h3('Security');
|
2111 |
|
2112 |
?>
|
2113 |
|
2114 |
<tr valign="center">
|
2115 |
<th scope="row">
|
2116 |
-
<label title="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" for="agca_admin_capability"
|
2117 |
</th>
|
2118 |
-
<td><?php echo $this->admin_capabilities; ?> <i>(<strong>Edit Dashboard</strong> - selected by default)</i>
|
2119 |
-
<p style="margin-left:5px;"><i
|
2120 |
</td>
|
2121 |
<td>
|
2122 |
</td>
|
2123 |
</tr>
|
2124 |
<?php
|
2125 |
-
$this->print_options_h3('Feedback and Support');
|
2126 |
|
2127 |
?>
|
2128 |
<tr valign="center">
|
2129 |
<td colspan="2">
|
2130 |
<div class="agca-feedback-and-support">
|
2131 |
<ul>
|
2132 |
-
<li><a href="http://wordpressadminpanel.com/agca-support/contact/?type=feature" target="_blank"><span class="dashicons dashicons-lightbulb"></span>  
|
2133 |
</ul>
|
2134 |
<ul>
|
2135 |
-
<li><a href="http://wordpressadminpanel.com/agca-support/contact/?type=bug" target="_blank"><span class="dashicons dashicons-megaphone"></span>  
|
2136 |
</ul>
|
2137 |
<ul>
|
2138 |
-
<li><a href="http://wordpressadminpanel.com/agca-support/contact/?type=theme" target="_blank"><span class="dashicons dashicons-art"></span>  
|
2139 |
</ul>
|
2140 |
<ul>
|
2141 |
-
<li><a href="https://wordpress.org/support/view/plugin-reviews/ag-custom-admin" target="_blank"><span class="dashicons dashicons-awards"></span>  
|
2142 |
</ul>
|
2143 |
<ul>
|
2144 |
-
<li><a href="http://wordpressadminpanel.com/agca-support/" target="_blank"><span class="dashicons dashicons-shield-alt"></span>  
|
2145 |
</ul>
|
2146 |
<ul>
|
2147 |
-
<li><a href="http://wordpressadminpanel.com/agca-support/support-for-future-development/" target="_blank"><span class="dashicons dashicons-palmtree"></span>
|
2148 |
</ul>
|
2149 |
</div>
|
2150 |
</td>
|
@@ -2153,7 +2257,7 @@ class AGCA{
|
|
2153 |
</table>
|
2154 |
</div>
|
2155 |
<div id="section_admin_bar" style="display:none" class="ag_section">
|
2156 |
-
<h2 class="section_title"
|
2157 |
<table class="form-table" width="500px">
|
2158 |
|
2159 |
<?php
|
@@ -2162,9 +2266,9 @@ class AGCA{
|
|
2162 |
'class'=>'ag_table_major_options',
|
2163 |
),
|
2164 |
'hide'=>true,
|
2165 |
-
'title'=>'Hides admin bar completely from the admin panel',
|
2166 |
'name'=>'agca_header',
|
2167 |
-
'label'=>'<strong>Admin bar</strong>',
|
2168 |
'input-attributes'=>'data-dependant="#agca_header_show_logout_content"',
|
2169 |
'input-class'=>'has-dependant',
|
2170 |
));
|
@@ -2175,90 +2279,90 @@ class AGCA{
|
|
2175 |
'style'=> ((get_option('agca_header')!='true')?'display:none':''),
|
2176 |
'id'=>'agca_header_show_logout_content',
|
2177 |
),
|
2178 |
-
'title'=>'Check this if you want to show Log Out button in top right corner of the admin page',
|
2179 |
'name'=>'agca_header_show_logout',
|
2180 |
'checked'=> ((get_option('agca_header')==true) && (get_option('agca_header_show_logout')==true)),
|
2181 |
-
'label'=>'<strong>(but show Log Out button)</strong>'
|
2182 |
));
|
2183 |
|
2184 |
$this->print_checkbox(array(
|
2185 |
-
'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.',
|
2186 |
'name'=>'agca_admin_bar_frontend',
|
2187 |
'hide'=>true,
|
2188 |
-
'label'=>'Site pages: Admin bar customizations'
|
2189 |
));
|
2190 |
|
2191 |
$this->print_checkbox(array(
|
2192 |
-
'title'=>'Hides admin bar completely for authenticated users on site pages.',
|
2193 |
'name'=>'agca_admin_bar_frontend_hide',
|
2194 |
'hide'=>true,
|
2195 |
-
'label'=>'Site pages: Admin bar'
|
2196 |
));
|
2197 |
|
2198 |
-
$this->print_options_h3('Left Side');
|
2199 |
|
2200 |
$this->print_input(array(
|
2201 |
-
'title'=>'Change default WordPress logo with custom image.',
|
2202 |
'name'=>'agca_wp_logo_custom',
|
2203 |
-
'label'=>'Admin bar logo',
|
2204 |
-
'hint' =>'Image URL (maximum height is 28px)'
|
2205 |
));
|
2206 |
|
2207 |
$this->print_input(array(
|
2208 |
-
'title'=>'Custom link on admin bar logo
|
2209 |
'name'=>'agca_wp_logo_custom_link',
|
2210 |
-
'label'=>'Admin bar logo link',
|
2211 |
-
'hint' =>'Link'
|
2212 |
));
|
2213 |
|
2214 |
$this->print_input(array(
|
2215 |
-
'title'=>'Customize WordPress title using custom title template.</br></br>Examples:</br><strong>%BLOG% -- %PAGE%</strong> (will be) <i>My Blog -- Add New Post</i></br><strong>%BLOG%</strong> (will be) <i>My Blog</i></br><strong>My Company > %BLOG% > %PAGE%</strong> (will be) <i>My Company > My Blog > Tools</i>',
|
2216 |
'name'=>'agca_custom_title',
|
2217 |
-
'label'=>'Page title template',
|
2218 |
-
'hint' =>'Please use <strong>%BLOG%</strong> and <strong>%PAGE%</strong> in your title template.'
|
2219 |
));
|
2220 |
|
2221 |
$this->print_input(array(
|
2222 |
-
'title'=>'Add custom image on the top of the admin content.',
|
2223 |
'name'=>'agca_header_logo_custom',
|
2224 |
-
'label'=>'Header image',
|
2225 |
-
'hint' =>'Image URL'
|
2226 |
));
|
2227 |
|
2228 |
|
2229 |
$this->print_checkbox(array(
|
2230 |
'hide'=>true,
|
2231 |
-
'title'=>'Hides small Wordpress logo from the admin bar',
|
2232 |
'name'=>'agca_header_logo',
|
2233 |
-
'label'=>'WordPress logo'
|
2234 |
));
|
2235 |
|
2236 |
$this->print_checkbox(array(
|
2237 |
'hide'=>true,
|
2238 |
-
'title'=>'Hides WordPress context menu on WordPress logo icon from admin bar',
|
2239 |
'name'=>'agca_remove_top_bar_dropdowns',
|
2240 |
-
'label'=>'WordPress logo context menu'
|
2241 |
));
|
2242 |
|
2243 |
$this->print_checkbox(array(
|
2244 |
'hide'=>true,
|
2245 |
-
'title'=>'Hides site name link from the admin bar',
|
2246 |
'name'=>'agca_remove_site_link',
|
2247 |
-
'label'=>'Site name'
|
2248 |
));
|
2249 |
|
2250 |
$this->print_checkbox(array(
|
2251 |
'hide'=>true,
|
2252 |
-
'title'=>'Hides update notifications from admin bar',
|
2253 |
'name'=>'agca_admin_bar_update_notifications',
|
2254 |
-
'label'=>'Update notifications'
|
2255 |
));
|
2256 |
|
2257 |
$this->print_checkbox(array(
|
2258 |
'hide'=>true,
|
2259 |
-
'title'=>'Hides comments block from admin bar',
|
2260 |
'name'=>'agca_admin_bar_comments',
|
2261 |
-
'label'=>'"Comments" block'
|
2262 |
));
|
2263 |
|
2264 |
$this->print_checkbox(array(
|
@@ -2266,9 +2370,9 @@ class AGCA{
|
|
2266 |
'attributes'=>array(
|
2267 |
'style'=>'margin-top:20px;'
|
2268 |
),
|
2269 |
-
'title'=>'Hides "+ New" block and its context menu from admin bar',
|
2270 |
'name'=>'agca_admin_bar_new_content',
|
2271 |
-
'label'=>'"+ New" block',
|
2272 |
'input-attributes'=>'data-dependant=".new_content_header_submenu"',
|
2273 |
'input-class'=>'has-dependant dependant-opposite'
|
2274 |
));
|
@@ -2278,9 +2382,9 @@ class AGCA{
|
|
2278 |
'attributes'=>array(
|
2279 |
'class'=>'new_content_header_submenu'
|
2280 |
),
|
2281 |
-
'title'=>'Hides "Post" sub-menu from "+ New" block on admin bar',
|
2282 |
'name'=>'agca_admin_bar_new_content_post',
|
2283 |
-
'label'=>' "+ New" -> Post sub-menu'
|
2284 |
));
|
2285 |
|
2286 |
$this->print_checkbox(array(
|
@@ -2288,9 +2392,9 @@ class AGCA{
|
|
2288 |
'attributes'=>array(
|
2289 |
'class'=>'new_content_header_submenu'
|
2290 |
),
|
2291 |
-
'title'=>'Hides "Link" sub-menu from "+ New" block on admin bar',
|
2292 |
'name'=>'agca_admin_bar_new_content_link',
|
2293 |
-
'label'=>' "+ New" -> Link sub-menu'
|
2294 |
));
|
2295 |
|
2296 |
$this->print_checkbox(array(
|
@@ -2298,9 +2402,9 @@ class AGCA{
|
|
2298 |
'attributes'=>array(
|
2299 |
'class'=>'new_content_header_submenu'
|
2300 |
),
|
2301 |
-
'title'=>'Hides "Page" sub-menu from "+ New" block on admin bar',
|
2302 |
'name'=>'agca_admin_bar_new_content_page',
|
2303 |
-
'label'=>' "+ New" -> Page sub-menu'
|
2304 |
));
|
2305 |
|
2306 |
$this->print_checkbox(array(
|
@@ -2308,9 +2412,9 @@ class AGCA{
|
|
2308 |
'attributes'=>array(
|
2309 |
'class'=>'new_content_header_submenu'
|
2310 |
),
|
2311 |
-
'title'=>'Hides "User" sub-menu from "+ New" block on admin bar',
|
2312 |
'name'=>'agca_admin_bar_new_content_user',
|
2313 |
-
'label'=>' "+ New" -> User sub-menu'
|
2314 |
));
|
2315 |
|
2316 |
$this->print_checkbox(array(
|
@@ -2318,56 +2422,56 @@ class AGCA{
|
|
2318 |
'attributes'=>array(
|
2319 |
'class'=>'new_content_header_submenu'
|
2320 |
),
|
2321 |
-
'title'=>'Hides "Media" sub-menu from "+ New" block on admin bar',
|
2322 |
'name'=>'agca_admin_bar_new_content_media',
|
2323 |
-
'label'=>' "+ New" -> Media sub-menu'
|
2324 |
));
|
2325 |
|
2326 |
$this->print_checkbox(array(
|
2327 |
'hide'=>true,
|
2328 |
-
'title'=>'Hides "Admin themes" from admin bar',
|
2329 |
'name'=>'agca_admin_bar_admin_themes',
|
2330 |
-
'label'=>'"Admin themes"'
|
2331 |
));
|
2332 |
|
2333 |
$this->print_textarea(array(
|
2334 |
-
'title'=>'Adds custom text in admin top bar.',
|
2335 |
'name'=>'agca_custom_site_heading',
|
2336 |
-
'label'=>'Custom blog heading',
|
2337 |
-
'hint'=>
|
2338 |
));
|
2339 |
|
2340 |
|
2341 |
$this->print_checkbox(array(
|
2342 |
'hide'=>true,
|
2343 |
-
'title'=>'Hides yellow bar with information about new WordPress release',
|
2344 |
'name'=>'agca_update_bar',
|
2345 |
-
'label'=>'Update WordPress notification'
|
2346 |
));
|
2347 |
|
2348 |
-
$this->print_options_h3('Right Side');
|
2349 |
|
2350 |
$this->print_input(array(
|
2351 |
'name'=>'agca_howdy',
|
2352 |
-
'label'=>'Change Howdy text',
|
2353 |
));
|
2354 |
|
2355 |
$this->print_input(array(
|
2356 |
-
'title'=>'Put \'Exit\', for example',
|
2357 |
'name'=>'agca_logout',
|
2358 |
-
'label'=>'Change Log out text',
|
2359 |
));
|
2360 |
|
2361 |
$this->print_checkbox(array(
|
2362 |
'hide'=>true,
|
2363 |
'name'=>'agca_remove_your_profile',
|
2364 |
-
'label'=>'"Edit My Profile" option from dropdown menu'
|
2365 |
));
|
2366 |
|
2367 |
$this->print_checkbox(array(
|
2368 |
-
'title'=>'If selected, hides all elements in top right corner, except Log Out button',
|
2369 |
'name'=>'agca_logout_only',
|
2370 |
-
'label'=>'Log out only'
|
2371 |
));
|
2372 |
|
2373 |
?>
|
@@ -2376,7 +2480,7 @@ class AGCA{
|
|
2376 |
</div>
|
2377 |
|
2378 |
<div id="section_admin_footer" style="display:none" class="ag_section">
|
2379 |
-
<h2 class="section_title"
|
2380 |
<table class="form-table" width="500px">
|
2381 |
<?php
|
2382 |
$this->print_checkbox(array(
|
@@ -2384,37 +2488,37 @@ class AGCA{
|
|
2384 |
'attributes'=>array(
|
2385 |
'class'=>'ag_table_major_options'
|
2386 |
),
|
2387 |
-
'title'=>'Hides footer with all elements',
|
2388 |
'name'=>'agca_footer',
|
2389 |
-
'label'=>'<strong>Footer</strong>'
|
2390 |
));
|
2391 |
|
2392 |
-
$this->print_options_h3('Footer Options');
|
2393 |
|
2394 |
$this->print_checkbox(array(
|
2395 |
'hide'=>true,
|
2396 |
-
'title'=>'Hides default text in footer',
|
2397 |
'name'=>'agca_footer_left_hide',
|
2398 |
-
'label'=>'Footer text'
|
2399 |
));
|
2400 |
|
2401 |
$this->print_textarea(array(
|
2402 |
-
'title'=>'Replaces text \'Thank you for creating with WordPress\' with custom text',
|
2403 |
'name'=>'agca_footer_left',
|
2404 |
-
'label'=>'Change footer text'
|
2405 |
));
|
2406 |
|
2407 |
$this->print_checkbox(array(
|
2408 |
'hide'=>true,
|
2409 |
-
'title'=>'Hides text \'Get Version ...\' on right',
|
2410 |
'name'=>'agca_footer_right_hide',
|
2411 |
-
'label'=>'Version text'
|
2412 |
));
|
2413 |
|
2414 |
$this->print_textarea(array(
|
2415 |
-
'title'=>'Replaces text \'Get Version ...\' with custom text',
|
2416 |
'name'=>'agca_footer_right',
|
2417 |
-
'label'=>'Change version text'
|
2418 |
));
|
2419 |
|
2420 |
?>
|
@@ -2422,22 +2526,22 @@ class AGCA{
|
|
2422 |
</table>
|
2423 |
</div>
|
2424 |
<div id="section_dashboard_page" style="display:none" class="ag_section">
|
2425 |
-
<h2 class="section_title"
|
2426 |
<table class="form-table" width="500px">
|
2427 |
<?php
|
2428 |
|
2429 |
-
$this->print_options_h3('Dashboard Page Options');
|
2430 |
|
2431 |
$this->print_input(array(
|
2432 |
-
'title'=>
|
2433 |
'name'=>'agca_dashboard_text',
|
2434 |
-
'label'=>'Change Dashboard heading text',
|
2435 |
));
|
2436 |
|
2437 |
?>
|
2438 |
<tr valign="center">
|
2439 |
<th scope="row">
|
2440 |
-
<label title="Adds custom text (or HTML) between heading and widgets area on Dashboard page" for="agca_dashboard_text_paragraph"
|
2441 |
</th>
|
2442 |
<td class="agca_editor">
|
2443 |
<?php $this->getTextEditor('agca_dashboard_text_paragraph'); ?>
|
@@ -2445,103 +2549,103 @@ class AGCA{
|
|
2445 |
</tr>
|
2446 |
<?php
|
2447 |
|
2448 |
-
$this->print_options_h3('Dashboard Widgets Options');
|
2449 |
|
2450 |
?>
|
2451 |
<tr>
|
2452 |
<td colspan="2">
|
2453 |
-
<p tabindex="0" class="agca-tip"><i><strong
|
2454 |
</td>
|
2455 |
</tr>
|
2456 |
<?php
|
2457 |
$this->print_checkbox(array(
|
2458 |
'hide'=>true,
|
2459 |
-
'title'=>'Hides Welcome WordPress widget',
|
2460 |
'name'=>'agca_dashboard_widget_welcome',
|
2461 |
-
'label'=>'"Welcome" widget'
|
2462 |
));
|
2463 |
|
2464 |
$this->print_checkbox(array(
|
2465 |
'hide'=>true,
|
2466 |
-
'title'=>'Hides Activity dashboard widget',
|
2467 |
'name'=>'agca_dashboard_widget_activity',
|
2468 |
-
'label'=>'"Activity" widget'
|
2469 |
));
|
2470 |
|
2471 |
$this->print_checkbox(array(
|
2472 |
'hide'=>true,
|
2473 |
-
'title'=>'Hides Quick Draft dashboard widget',
|
2474 |
'name'=>'agca_dashboard_widget_qp',
|
2475 |
-
'label'=>'"Quick Draft" widget'
|
2476 |
));
|
2477 |
|
2478 |
$this->print_checkbox(array(
|
2479 |
'hide'=>true,
|
2480 |
-
'title'=>'Hides At a Glance dashboard widget',
|
2481 |
'name'=>'agca_dashboard_widget_rn',
|
2482 |
-
'label'=>'"At a Glance" widget'
|
2483 |
));
|
2484 |
|
2485 |
$this->print_checkbox(array(
|
2486 |
'hide'=>true,
|
2487 |
'name'=>'agca_dashboard_widget_primary',
|
2488 |
-
'title'=>
|
2489 |
-
'label'=>'"WordPress News" widget'
|
2490 |
));
|
2491 |
|
2492 |
$this->print_checkbox(array(
|
2493 |
'hide'=>true,
|
2494 |
'name'=>'agca_dashboard_widget_secondary',
|
2495 |
-
'title'=>
|
2496 |
-
'label'=>'Secondary widget area'
|
2497 |
));
|
2498 |
|
2499 |
?>
|
2500 |
</table>
|
2501 |
</div>
|
2502 |
<div id="section_login_page" style="display:none" class="ag_section">
|
2503 |
-
<h2 class="section_title"
|
2504 |
<table class="form-table" width="500px">
|
2505 |
<?php
|
2506 |
|
2507 |
-
$this->print_options_h3('Login Page Options');
|
2508 |
|
2509 |
$this->print_checkbox(array(
|
2510 |
'hide'=>true,
|
2511 |
'name'=>'agca_login_banner',
|
2512 |
-
'title'=>
|
2513 |
-
'label'=>'Back to blog text'
|
2514 |
));
|
2515 |
|
2516 |
$this->print_input(array(
|
2517 |
'name'=>'agca_login_banner_text',
|
2518 |
-
'title'=>
|
2519 |
-
'label'=>'Change back to blog text'
|
2520 |
));
|
2521 |
|
2522 |
$this->print_input(array(
|
2523 |
-
'title'=>'If this field is not empty, image from provided url will be visible on Login page',
|
2524 |
'name'=>'agca_login_photo_url',
|
2525 |
-
'label'=>'Change Login header image',
|
2526 |
-
'hint'=>'Image URL'
|
2527 |
));
|
2528 |
|
2529 |
$this->print_input(array(
|
2530 |
-
'title'=>'Put here custom link to a web location, that will be triggered on image click',
|
2531 |
'name'=>'agca_login_photo_href',
|
2532 |
-
'label'=>'Change link on login image',
|
2533 |
-
'hint'=>'For blog URL use %BLOG%'
|
2534 |
));
|
2535 |
|
2536 |
$this->print_checkbox(array(
|
2537 |
'hide'=>true,
|
2538 |
-
'title'=>'Hides login image completely',
|
2539 |
'name'=>'agca_login_photo_remove',
|
2540 |
-
'label'=>'Login header image',
|
2541 |
));
|
2542 |
|
2543 |
$this->print_checkbox(array(
|
2544 |
-
'title'=>'Rounds box on login page',
|
2545 |
'name'=>'agca_login_round_box',
|
2546 |
'label'=>'Round box corners',
|
2547 |
'input-class'=>'has-dependant',
|
@@ -2553,18 +2657,18 @@ class AGCA{
|
|
2553 |
'style'=> ((get_option('agca_login_round_box')=='true')?'display:none':''),
|
2554 |
'id'=>'agca_login_round_box_size_block'
|
2555 |
),
|
2556 |
-
'title'=>'Size of rounded box curve',
|
2557 |
'name'=>'agca_login_round_box_size',
|
2558 |
-
'label'=>'Round box corners - size',
|
2559 |
'input-class'=>'validateNumber',
|
2560 |
-
'hint'=>'(Size in px)'
|
2561 |
));
|
2562 |
|
2563 |
$this->print_checkbox(array(
|
2564 |
'hide'=>true,
|
2565 |
-
'title'=>'Hides register link on login page',
|
2566 |
'name'=>'agca_login_register_remove',
|
2567 |
-
'label'=>'Register link',
|
2568 |
'input-class'=>'has-dependant dependant-opposite',
|
2569 |
'input-attributes'=>'data-dependant="#agca_login_register_href_block"'
|
2570 |
));
|
@@ -2574,17 +2678,17 @@ class AGCA{
|
|
2574 |
'style'=> ((get_option('agca_login_register_remove')=='true')?'display:none':''),
|
2575 |
'id'=>'agca_login_register_href_block'
|
2576 |
),
|
2577 |
-
'title'=>'Change register link on login page to point to your custom registration page.',
|
2578 |
'name'=>'agca_login_register_href',
|
2579 |
-
'label'=>'Change register link',
|
2580 |
-
'hint'=>'Link to new registration page'
|
2581 |
));
|
2582 |
|
2583 |
$this->print_checkbox(array(
|
2584 |
'hide'=>true,
|
2585 |
-
'title'=>'Hides lost password link on login page',
|
2586 |
'name'=>'agca_login_lostpassword_remove',
|
2587 |
-
'label'=>'Lost password link',
|
2588 |
));
|
2589 |
?>
|
2590 |
</table>
|
@@ -2593,35 +2697,35 @@ class AGCA{
|
|
2593 |
/*ADMIN MENU*/
|
2594 |
?>
|
2595 |
<div id="section_admin_menu" style="display:none" class="ag_section">
|
2596 |
-
<h2 class="section_title"
|
2597 |
<table class="form-table" width="500px">
|
2598 |
<tr valign="center" class="ag_table_major_options">
|
2599 |
-
<td><label for="agca_admin_menu_turnonoff"><strong
|
2600 |
<td>
|
2601 |
<strong>
|
2602 |
|
2603 |
-
<input class="agca-radio" type="radio" id="agca_admin_menu_turnonoff_on" name="agca_admin_menu_turnonoff" title="Apply admin menu customizations" value="on" <?php if(get_option('agca_admin_menu_turnonoff') == 'on') echo 'checked="checked" '; ?> />
|
2604 |
-
<span class="agca-radio-text on"
|
2605 |
|
2606 |
-
<input class="agca-radio" type="radio" name="agca_admin_menu_turnonoff" title="Do not apply admin menu customizations" value="off" <?php if(get_option('agca_admin_menu_turnonoff') != 'on') echo 'checked="checked"'; ?> />
|
2607 |
-
<span class="agca-radio-text off"
|
2608 |
</strong>
|
2609 |
</td>
|
2610 |
</tr>
|
2611 |
<tr valign="center" class="ag_table_major_options">
|
2612 |
-
<td><label for="agca_admin_menu_agca_button_only"><strong
|
2613 |
-
<td><input class="agca-checkbox visibility" type="checkbox" name="agca_admin_menu_agca_button_only" title="Hides admin menu
|
2614 |
</tr>
|
2615 |
<?php
|
2616 |
-
$this->print_options_h3('Edit / Remove Menu Items');
|
2617 |
?>
|
2618 |
<tr>
|
2619 |
<td colspan="2">
|
2620 |
-
<input type="button" class="agca_button" id="ag_edit_adminmenu_reset_button" title="Reset menu settings to default values" name="ag_edit_adminmenu_reset_button" value="Reset to default settings" /><br />
|
2621 |
-
<p tabindex="0"><em>(click on the top menu item to show its sub-menus)</em></p>
|
2622 |
<table id="ag_edit_adminmenu">
|
2623 |
<tr style="background-color:#999;">
|
2624 |
-
<td width="300px"><div style="float:left;color:#fff;"><h3
|
2625 |
</td>
|
2626 |
</tr>
|
2627 |
</table>
|
@@ -2631,20 +2735,27 @@ class AGCA{
|
|
2631 |
<td></td>
|
2632 |
</tr>
|
2633 |
<?php
|
2634 |
-
$this->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2635 |
?>
|
2636 |
<tr>
|
2637 |
<td colspan="2">
|
2638 |
<table id="ag_add_adminmenu">
|
2639 |
<tr>
|
2640 |
<td colspan="2">
|
2641 |
-
name
|
2642 |
-
url
|
2643 |
-
open in
|
2644 |
-
<option value="_self" selected
|
2645 |
-
<option value="_blank"
|
2646 |
</select>
|
2647 |
-
<input type="button" id="ag_add_adminmenu_button" class="agca_button" title="Add new item button" name="ag_add_adminmenu_button" value="Add new item" />
|
2648 |
</td><td></td>
|
2649 |
</tr>
|
2650 |
</table>
|
@@ -2654,17 +2765,17 @@ class AGCA{
|
|
2654 |
</td>
|
2655 |
</tr>
|
2656 |
<?php
|
2657 |
-
$this->print_options_h3('Admin Menu Settings');
|
2658 |
?>
|
2659 |
<tr valign="center">
|
2660 |
<th scope="row">
|
2661 |
-
<label title="Choose how admin menu should behave on mobile devices / small screens" for="agca_admin_menu_autofold"
|
2662 |
</th>
|
2663 |
<td>
|
2664 |
-
<select title="Choose how admin menu should behave on mobile devices / small screens" class="agca-selectbox" name="agca_admin_menu_autofold" >
|
2665 |
-
<option value="" <?php echo (get_option('agca_admin_menu_autofold') == "")?" selected ":""; ?>
|
2666 |
-
<option value="force" <?php echo (get_option('agca_admin_menu_autofold') == "force")?" selected ":""; ?>
|
2667 |
-
<option value="disable" <?php echo (get_option('agca_admin_menu_autofold') == "disable")?" selected ":""; ?>
|
2668 |
</select>
|
2669 |
</td>
|
2670 |
</tr>
|
@@ -2672,36 +2783,36 @@ class AGCA{
|
|
2672 |
|
2673 |
$this->print_checkbox(array(
|
2674 |
'hide'=>true,
|
2675 |
-
'title'=>'Removes empty space between some top menu items',
|
2676 |
'name'=>'agca_admin_menu_separators',
|
2677 |
-
'label'=>'Menu items separators',
|
2678 |
));
|
2679 |
|
2680 |
$this->print_checkbox(array(
|
2681 |
'hide'=>true,
|
2682 |
-
'title'=>'Removes icons from dmin menu buttons',
|
2683 |
'name'=>'agca_admin_menu_icons',
|
2684 |
-
'label'=>'Menu icons',
|
2685 |
));
|
2686 |
|
2687 |
$this->print_checkbox(array(
|
2688 |
'hide'=>true,
|
2689 |
-
'title'=>'Removes small arrow that appears on the top button hover',
|
2690 |
'name'=>'agca_admin_menu_arrow',
|
2691 |
-
'label'=>'Sub-menu arrow',
|
2692 |
));
|
2693 |
|
2694 |
$this->print_checkbox(array(
|
2695 |
'hide'=>true,
|
2696 |
-
'title'=>'Removes collapse button at the end of admin menu',
|
2697 |
'name'=>'agca_admin_menu_collapse_button',
|
2698 |
-
'label'=>'"Collapse menu" button',
|
2699 |
));
|
2700 |
|
2701 |
$this->print_checkbox(array(
|
2702 |
-
'title'=>'Rounds submenu pop-up box',
|
2703 |
'name'=>'agca_admin_menu_submenu_round',
|
2704 |
-
'label'=>'Round sub-menu pop-up box',
|
2705 |
'input-attributes'=>'data-dependant="#agca_admin_menu_submenu_round_size"',
|
2706 |
'input-class'=>'has-dependant',
|
2707 |
));
|
@@ -2711,64 +2822,64 @@ class AGCA{
|
|
2711 |
'style'=> ((get_option('agca_admin_menu_submenu_round')!='true')?'display:none':''),
|
2712 |
'id'=>'agca_admin_menu_submenu_round_size'
|
2713 |
),
|
2714 |
-
'title'=>'Size of rounded box curve',
|
2715 |
'name'=>'agca_admin_menu_submenu_round_size',
|
2716 |
-
'label'=>'Round sub-menu pop-up box - size',
|
2717 |
'input-class'=>'validateNumber',
|
2718 |
-
'hint'=>'(Size in px)'
|
2719 |
));
|
2720 |
|
2721 |
$this->print_input(array(
|
2722 |
-
'title'=>'Adds custom logo above the admin menu',
|
2723 |
'name'=>'agca_admin_menu_brand',
|
2724 |
-
'label'=>'Admin menu branding with logo',
|
2725 |
-
'hint'=>'Image URL'
|
2726 |
));
|
2727 |
|
2728 |
$this->print_input(array(
|
2729 |
-
'title'=>'Change branding logo link</br></br>Use
|
2730 |
'name'=>'agca_admin_menu_brand_link',
|
2731 |
-
'label'=>'Branding logo link',
|
2732 |
-
'hint'=>'Branding image URL'
|
2733 |
));
|
2734 |
?>
|
2735 |
</table>
|
2736 |
</div>
|
2737 |
<div id="section_ag_colorizer_settings" style="display:none" class="ag_section">
|
2738 |
-
<h2 class="section_title"
|
2739 |
<table class="form-table" width="500px">
|
2740 |
<tr valign="center" class="ag_table_major_options">
|
2741 |
-
<td><label for="agca_colorizer_turnonoff"><strong
|
2742 |
-
<td><strong><input class="agca-radio" type="radio" name="agca_colorizer_turnonoff" title="Apply Colorizer customizations" value="on" <?php if(get_option('agca_colorizer_turnonoff') == 'on') echo 'checked="checked" '; ?> /><span class="agca-radio-text on"
|
2743 |
</tr>
|
2744 |
<?php
|
2745 |
-
$this->print_options_h3('Global Color Options');
|
2746 |
|
2747 |
-
$this->print_color('color_background','Background:','Change admin page background color');
|
2748 |
-
$this->print_color('login_color_background','Login page background:','Change login page background color');
|
2749 |
-
$this->print_color('color_header','Admin bar:','Change admin bar (on top) color in admin panel');
|
2750 |
|
2751 |
-
$this->print_options_h3('Admin Menu Color Options');
|
2752 |
|
2753 |
-
$this->print_color('color_admin_menu_top_button_background','Button background:','Change button background color');
|
2754 |
-
$this->print_color('color_admin_menu_font','Button text:','Change button text color');
|
2755 |
-
$this->print_color('color_admin_menu_top_button_current_background','Selected button background:','Change button background color for current button');
|
2756 |
-
$this->print_color('color_admin_menu_top_button_hover_background','Hover button background:','Change button background color on mouseover');
|
2757 |
-
$this->print_color('color_admin_menu_submenu_background','Sub-menu button background:','Change submenu item background color');
|
2758 |
-
$this->print_color('color_admin_menu_submenu_background_hover','Sub-menu hover button background:','Change submenu item background color on mouseover');
|
2759 |
-
$this->print_color('color_admin_submenu_font','Sub-menu text:','Sub-menu text color');
|
2760 |
-
$this->print_color('color_admin_menu_behind_background','Wrapper background:','Change background color of element behind admin menu');
|
2761 |
|
2762 |
-
$this->print_options_h3('Font Color Options');
|
2763 |
|
2764 |
-
$this->print_color('color_font_content','Content text:','Change color in content text');
|
2765 |
-
$this->print_color('color_font_header','Admin bar text:','Change color of admin bar text');
|
2766 |
-
$this->print_color('color_font_footer','Footer text:','Change color in
|
2767 |
|
2768 |
-
$this->print_options_h3('Widgets Color Options');
|
2769 |
|
2770 |
-
$this->print_color('color_widget_bar','Title bar background:','Change color in header text');
|
2771 |
-
$this->print_color('color_widget_background','Background:','Change widget background color');
|
2772 |
|
2773 |
?>
|
2774 |
</table>
|
@@ -2776,7 +2887,7 @@ class AGCA{
|
|
2776 |
<div id="picker"></div>
|
2777 |
</div>
|
2778 |
<div id="section_templates" style="display:none" class="ag_section">
|
2779 |
-
<h2 class="section_title"><span style="float:left"
|
2780 |
<table class="form-table" width="500px">
|
2781 |
<tr valign="center">
|
2782 |
<td>
|
@@ -2788,8 +2899,8 @@ class AGCA{
|
|
2788 |
<div id="advanced_template_options" style="display:none">
|
2789 |
<div class="agca-feedback-and-support">
|
2790 |
<ul>
|
2791 |
-
<li><a href="http://wordpressadminpanel.com/agca-support/contact/?type=theme" title="If you have any ideas for theme improvements, or you have new themes requests, please feel free to send us a message" target="_blank"><span class="dashicons dashicons-art"></span>  
|
2792 |
-
<li><a style="background: #f08080;color:#fff;" href="javascript:agca_removeAllTemplates();" title="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."><span style="color:#fff" class="dashicons dashicons-trash"></span>  
|
2793 |
</ul>
|
2794 |
</div>
|
2795 |
</div>
|
@@ -2798,49 +2909,56 @@ class AGCA{
|
|
2798 |
</table>
|
2799 |
</div>
|
2800 |
<div id="section_advanced" style="display:none" class="ag_section">
|
2801 |
-
<h2 class="section_title"
|
2802 |
<table class="form-table" width="500px">
|
2803 |
<tr valign="center">
|
2804 |
<td colspan="2">
|
2805 |
-
<p class="agca-tip"><i
|
2806 |
</td><td></td>
|
2807 |
</tr>
|
2808 |
<tr valign="center">
|
2809 |
<th scope="row">
|
2810 |
-
<label title="Add custom CSS script to override existing styles" for="agca_script_css"
|
2811 |
</th>
|
2812 |
<td>
|
2813 |
-
<textarea style="width:100%;height:200px" title="Add custom CSS script to override existing styles" rows="5" id="agca_custom_css" name="agca_custom_css" cols="40"><?php echo htmlspecialchars(get_option('agca_custom_css')); ?></textarea>
|
2814 |
</td>
|
2815 |
</tr>
|
2816 |
<tr valign="center">
|
2817 |
<th scope="row">
|
2818 |
-
<label title="Add additional custom JavaScript" for="agca_custom_js"
|
2819 |
</th>
|
2820 |
<td>
|
2821 |
-
<textarea style="width:100%;height:200px" title="Add additional custom JavaScript" rows="5" name="agca_custom_js" id="agca_custom_js" cols="40"><?php echo htmlspecialchars(get_option('agca_custom_js')); ?></textarea>
|
2822 |
</td>
|
2823 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2824 |
<tr valign="center">
|
2825 |
<th scope="row">
|
2826 |
-
<label title="Export / import settings" for="agca_export_import"
|
2827 |
</th>
|
2828 |
<td id="import_file_area">
|
2829 |
-
<input class="agca_button" type="button" name="agca_export_settings" value="Export Settings" onclick="exportSettings();"/></br>
|
2830 |
<input type="file" id="settings_import_file" name="settings_import_file" style="display: none"/>
|
2831 |
<input type="hidden" id="_agca_import_settings" name="_agca_import_settings" value="false" />
|
2832 |
<input type="hidden" id="_agca_export_settings" name="_agca_export_settings" value="false" />
|
2833 |
-
<input class="agca_button" type="button" name="agca_import_settings" value="Import Settings" onclick="importSettings();"/>
|
2834 |
</td>
|
2835 |
</tr>
|
2836 |
</table>
|
2837 |
</div>
|
2838 |
<p class="submit">
|
2839 |
-
<input type="button" id="save_plugin_settings" style="padding:0px" title="Save AG Custom Admin configuration" class="button-primary" value="<?php _e('Save Changes') ?>" onClick="savePluginSettings()" />
|
2840 |
</p>
|
2841 |
|
2842 |
</form>
|
2843 |
-
<form id="agca_templates_form" name="agca_templates_form" action="<?php echo
|
2844 |
<?php wp_nonce_field('agca_form','_agca_token'); ?>
|
2845 |
<input type="hidden" name="_agca_save_template" value="true" />
|
2846 |
<input type="hidden" id="templates_data" name="templates_data" value="" />
|
@@ -2890,7 +3008,7 @@ class AGCA{
|
|
2890 |
<label tabindex="0" title='<?php echo $data['title'] ?>' for="<?php echo $data['name'] ?>" ><?php echo $data['label'] ?></label>
|
2891 |
</th>
|
2892 |
<td>
|
2893 |
-
<input type="checkbox" class="agca-checkbox <?php echo $strInputClass ?> " <?php echo $strOnchange ?> <?php echo $strInputAttributes ?> title='Toggle on/off' name="<?php echo $data['name'] ?>" value="true" <?php echo ($isChecked)?' checked="checked"':'' ?> />
|
2894 |
</td>
|
2895 |
</tr>
|
2896 |
<?php
|
@@ -2921,7 +3039,7 @@ class AGCA{
|
|
2921 |
</th>
|
2922 |
<td>
|
2923 |
<input id="<?php echo $data['name'] ?>" title="<?php echo $data['title'] ?>" type="text" size="47" name="<?php echo $data['name'] ?>" value="<?php echo get_option($data['name']); ?>" />
|
2924 |
-
<a title="Clear" class="agca_button clear" onClick="jQuery('#<?php echo $data['name'] ?>').val('');"><span class="dashicons clear dashicons-no-alt"></span></a><?php echo $suffix ?>
|
2925 |
<?php echo $strHint ?>
|
2926 |
</td>
|
2927 |
</tr>
|
@@ -2952,8 +3070,8 @@ class AGCA{
|
|
2952 |
<tr valign="center" class="color">
|
2953 |
<th><label title="<?php echo $title ?>" for="<?php echo $name ?>"><?php echo $label ?></label></th>
|
2954 |
<td><input type="text" id="<?php echo $name ?>" name="<?php echo $name ?>" class="color_picker" value="<?php echo $this->getAGCAColor($name); ?>" />
|
2955 |
-
<a title="Pick Color" alt="<?php echo $name ?>" class="pick_color_button agca_button"><span class="dashicons dashicons-art"></span></a>
|
2956 |
-
<a title="Clear" alt="<?php echo $name ?>" class="pick_color_button_clear agca_button" ><span class="dashicons clear dashicons-no-alt"></span></a>
|
2957 |
</td>
|
2958 |
</tr>
|
2959 |
<?php
|
@@ -2972,10 +3090,10 @@ class AGCA{
|
|
2972 |
?>
|
2973 |
|
2974 |
<tr valign="center">
|
2975 |
-
<th><label title="Change submenu item background color" for="color_admin_menu_submenu_background"
|
2976 |
<td><input type="text" id="color_admin_menu_submenu_background" name="color_admin_menu_submenu_background" class="color_picker" value="<?php echo $this->getAGCAColor('color_admin_menu_submenu_background'); ?>" />
|
2977 |
-
<input type="button" alt="color_admin_menu_submenu_background" class="pick_color_button agca_button" value="Pick color" />
|
2978 |
-
<input type="button" alt="color_admin_menu_submenu_background" class="pick_color_button_clear agca_button" value="Clear" />
|
2979 |
</td>
|
2980 |
</tr>
|
2981 |
<?php
|
4 |
Plugin URI: http://wordpressadminpanel.com/ag-custom-admin/
|
5 |
Description: All-in-one tool for admin panel customization. Change almost everything: admin menu, dashboard, login page, admin bar etc. Apply admin panel themes.
|
6 |
Author: WAP
|
7 |
+
Version: 5.6
|
8 |
+
Text Domain: ag-custom-admin
|
9 |
+
Domain Path: /languages
|
10 |
Author URI: http://www.wordpressadminpanel.com/
|
11 |
|
12 |
Copyright 2016. WAP (email : info@wordpressadminpanel.com)
|
29 |
|
30 |
class AGCA{
|
31 |
private $colorizer="";
|
|
|
32 |
private $agca_version;
|
33 |
private $agca_debug = false;
|
34 |
private $admin_capabilities;
|
36 |
private $saveAfterImport = false;
|
37 |
private $templateCustomizations = "";
|
38 |
private $templates_ep = "http://wordpressadminpanel.com/configuration.php";
|
39 |
+
|
40 |
public function __construct()
|
41 |
+
{
|
42 |
+
add_action('init', array(&$this,'init'));
|
43 |
+
}
|
44 |
+
|
45 |
+
function init(){
|
46 |
+
$this->reloadScript();
|
47 |
$this->checkPOST();
|
48 |
$this->checkGET();
|
49 |
+
|
50 |
+
if(function_exists("add_filter")){
|
51 |
add_filter('admin_title', array(&$this,'change_title'), 10, 2);
|
52 |
add_filter('plugin_row_meta', array(&$this,'jk_filter_plugin_links'), 10, 2);
|
53 |
}
|
59 |
add_action('admin_menu', array(&$this,'agca_create_menu'));
|
60 |
add_action('wp_head', array(&$this,'print_page'));
|
61 |
add_action( 'wp_before_admin_bar_render', array(&$this,'admin_bar_changes') );
|
62 |
+
add_action( 'plugins_loaded', array(&$this,'load_plugin_textdomain') );
|
63 |
register_deactivation_hook(__FILE__, array(&$this,'agca_deactivate'));
|
64 |
|
65 |
add_action( 'customize_controls_enqueue_scripts', array(&$this,'agca_customizer_php') );
|
66 |
|
67 |
+
/* wp_localize_script(
|
68 |
+
'agca-script',//use agca enqueued script
|
69 |
+
'agca_string',
|
70 |
+
$this->get_language_strings()
|
71 |
+
);*/
|
72 |
+
|
73 |
/*Initialize properties*/
|
74 |
$this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
|
75 |
|
76 |
+
$this->agca_version = "5.6";
|
77 |
|
78 |
+
//TODO:upload images programmatically
|
79 |
+
}
|
80 |
|
81 |
+
function load_plugin_textdomain() {
|
82 |
+
load_plugin_textdomain( 'ag-custom-admin', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' );
|
83 |
}
|
84 |
+
|
85 |
// Add donate and support information
|
86 |
function jk_filter_plugin_links($links, $file)
|
87 |
{
|
88 |
if ( $file == plugin_basename(__FILE__) )
|
89 |
{
|
90 |
if(!is_network_admin()){
|
91 |
+
$links[] = '<a href="tools.php?page=ag-custom-admin/plugin.php">' . __('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="http://wordpressadminpanel.com/agca-support/">' . __('Support', 'ag-custom-admin') . '</a>';
|
95 |
+
$links[] = '<a href="https://cusmin.com">' . __('Upgrade', 'ag-custom-admin') . '</a>';
|
96 |
+
$links[] = '<a href="http://wordpressadminpanel.com/agca-support/support-for-future-development">' . __('Donate', 'ag-custom-admin') . '</a>';
|
97 |
}
|
98 |
return $links;
|
99 |
}
|
220 |
$this->verifyPostRequest();
|
221 |
function my_sideload_image() {
|
222 |
$remoteurl = $_POST['_agca_upload_image'];
|
223 |
+
$file = media_sideload_image( $remoteurl, 0 ,__("AG Custom Admin theme image (do not delete)", 'ag-custom-admin'));
|
224 |
try{
|
225 |
$fileparts = explode("src='", $file);
|
226 |
$url=explode("'",$fileparts[1]);
|
236 |
exit;
|
237 |
}
|
238 |
}
|
239 |
+
|
240 |
function verifyPostRequest(){
|
241 |
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
242 |
+
if (!is_admin()) {
|
243 |
+
_e('Not allowed. This action is allowed exclusively in admin panel', 'ag-custom-admin');
|
244 |
exit;
|
245 |
}
|
246 |
+
//In case of problems with saving AGCA settings on MS disable verification temporary
|
247 |
+
if(get_option('agca_disable_postver')){
|
248 |
+
return;
|
|
|
249 |
}
|
250 |
+
if (is_multisite()) {
|
251 |
+
$blog_id = get_current_blog_id();
|
252 |
+
$user_id = get_current_user_id();
|
253 |
+
$msError = __('Please try temporary disabling POST verification. Go to AG Custom Admin -> Advanced -> Temporary disable POST verification. Do not forget to un-check this option once you are done with customizations.', 'ag-custom-admin');
|
254 |
+
if (is_user_member_of_blog($user_id, $blog_id)) {
|
255 |
+
if (!current_user_can('manage_options')) {
|
256 |
+
_e('Multi-site: Current user is not recognized as administrator.', 'ag-custom-admin');
|
257 |
+
echo ' '.$msError;
|
258 |
+
exit;
|
259 |
+
}
|
260 |
+
} else {
|
261 |
+
printf(
|
262 |
+
/*translators: 1: User Id 2: Blog Id*/
|
263 |
+
__('Multi-site: User (%1$s) does not have access to this blog (%2$s).', 'ag-custom-admin'),
|
264 |
+
$user_id,
|
265 |
+
$blog_id
|
266 |
+
);
|
267 |
+
echo ' '. $msError;
|
268 |
+
exit;
|
269 |
+
}
|
270 |
+
} else {
|
271 |
+
include_once(ABSPATH . 'wp-includes/pluggable.php');
|
272 |
+
if (!is_user_logged_in() || !current_user_can('manage_options')) {
|
273 |
+
echo !is_user_logged_in() ? __('User is not logged in.', 'ag-custom-admin').' ' : '';
|
274 |
+
echo !current_user_can('manage_options') ? __('User can not manage options.', 'ag-custom-admin').' ' : '';
|
275 |
+
exit;
|
276 |
+
}
|
277 |
+
}
|
278 |
+
if (!wp_verify_nonce($_POST['_agca_token'], 'agca_form')) {
|
279 |
+
echo __('Nonce verification failed.', 'ag-custom-admin');
|
280 |
exit;
|
281 |
}
|
282 |
}
|
283 |
}
|
284 |
|
285 |
+
function get_language_strings() {
|
286 |
+
$strings = array(
|
287 |
+
|
288 |
+
);
|
289 |
+
return $strings;
|
290 |
+
}
|
291 |
+
|
292 |
function admin_bar_changes(){
|
293 |
if( current_user_can( 'manage_options' )){
|
294 |
global $wp_admin_bar;
|
295 |
if(!is_network_admin()){
|
296 |
$wp_admin_bar->add_menu( array(
|
297 |
'id' => 'agca-admin-themes',
|
298 |
+
'title' => '<span class="ab-icon"></span>'.__( 'Admin Themes', 'agca-custom-admin' ),
|
299 |
'href' => 'tools.php?page=ag-custom-admin/plugin.php#ag-templates'
|
300 |
));
|
301 |
}
|
378 |
<script type="text/javascript">
|
379 |
<?php
|
380 |
//AGCA GLOBALS
|
381 |
+
echo "var agca_global_plugin_url = '".$this->pluginUrl()."';";
|
382 |
?>
|
383 |
</script>
|
384 |
+
<link rel="stylesheet" type="text/css" href="<?php echo $this->pluginUrl(); ?>style/ag_style.css?ver=<?php echo $this->agca_version; ?>" />
|
385 |
+
<link rel="stylesheet" type="text/css" href="<?php echo $this->pluginUrl(); ?>require/dynamic.php?type=css&context=<?php echo $this->context; ?>&ver=<?php echo "changed_theme"; ?>" />
|
386 |
+
<script type="text/javascript" src="<?php echo $this->pluginUrl(); ?>script/ag_script.js?ver=<?php echo $this->agca_version; ?>"></script>
|
387 |
+
<script type="text/javascript" src="<?php echo $this->pluginUrl(); ?>require/dynamic.php?type=js&context=<?php echo $this->context; ?>&ver=<?php echo "changed_theme"; ?>"></script>
|
388 |
|
389 |
<?php
|
390 |
if($this->context == "login"){
|
391 |
?>
|
392 |
+
<link rel="stylesheet" type="text/css" href="<?php echo $this->pluginUrl(); ?>style/login.min.css" />
|
393 |
<?php
|
394 |
}else{
|
395 |
?>
|
396 |
+
<link rel="stylesheet" type="text/css" href="<?php echo $this->pluginUrl(); ?>style/admin.min.css" />
|
397 |
<?php
|
398 |
}
|
399 |
?>
|
411 |
try{
|
412 |
eval("<?php echo str_replace(array("\r\n", "\n", "\r"), ' ', get_option('agca_custom_js')); ?>");
|
413 |
}catch(e){
|
414 |
+
alert('AG CUSTOM ADMIN: <?php _e('There is an error in your custom JS script. Please fix it:', 'ag-custom-admin'); ?> \n\n' + e + '\n\n (<?php _e('AG CUSTOM ADMIN -> Advanced -> Custom JavaScript', 'ag-custom-admin'); ?>)');
|
415 |
console.log(e);
|
416 |
}
|
417 |
</script>
|
421 |
|
422 |
function agca_enqueue_scripts() {
|
423 |
wp_enqueue_script('jquery');
|
424 |
+
//TODO: Use this instead of manually adding scripts
|
425 |
+
//wp_enqueue_script('agca-script', __FILE__.'/script/ag_script.js', array('jquery'),$this->agca_version );
|
426 |
}
|
427 |
|
428 |
function WPSPluginIsLoginPage(){
|
429 |
+
|
430 |
+
$WPSPluginName = 'wps-hide-login/wps-hide-login.php';
|
431 |
+
if(is_multisite()){
|
432 |
+
if ( ! function_exists( 'is_plugin_active_for_network' ) )
|
433 |
+
require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
|
434 |
+
|
435 |
+
if(!$this->isPluginActiveForNetwork($WPSPluginName)){
|
436 |
+
return '';
|
437 |
+
}
|
438 |
+
}else{
|
439 |
+
if(!$this->isPluginActive($WPSPluginName)){
|
440 |
+
return '';
|
441 |
+
}
|
442 |
+
}
|
443 |
+
|
444 |
if ( $slug = get_option( 'whl_page' ) ) {
|
445 |
return $slug;
|
446 |
+
} else if ( ( is_multisite() && $this->isPluginActiveForNetwork($WPSPluginName) && ( $slug = get_site_option( 'whl_page', 'login' ) ) ) ) {
|
447 |
return $slug;
|
448 |
} else if ( $slug = 'login' ) {
|
449 |
return $slug;
|
458 |
$isAdmin = true;
|
459 |
}
|
460 |
if(in_array((isset($GLOBALS['pagenow'])?$GLOBALS['pagenow']:""), array('wp-login.php', 'wp-register.php')) || $isAdmin || $this->WPSPluginIsLoginPage()){
|
461 |
+
$this->agca_enqueue_scripts();
|
462 |
}
|
463 |
}
|
464 |
|
554 |
|
555 |
register_setting( 'agca-options-group', 'agca_custom_js' );
|
556 |
register_setting( 'agca-options-group', 'agca_custom_css' );
|
557 |
+
register_setting( 'agca-options-group', 'agca_disable_postver' );
|
558 |
+
register_setting( 'agca-options-group', 'agca_menu_remove_client_profile' );
|
559 |
|
560 |
|
561 |
if(!empty($_POST)){
|
676 |
'agca_custom_css',
|
677 |
'agca_colorizer_turnonoff',
|
678 |
'agca_disablewarning',
|
679 |
+
'agca_disable_postver',
|
680 |
+
'agca_menu_remove_client_profile',
|
681 |
'agca_selected_template',
|
682 |
'agca_templates',
|
683 |
);
|
700 |
function importSettings($settings){
|
701 |
$exploaded = explode("|^|^|", $settings);
|
702 |
// $str = "EEE: ";
|
703 |
+
$str = '';
|
704 |
|
705 |
$savedOptions = array();
|
706 |
|
779 |
}
|
780 |
}
|
781 |
|
782 |
+
$filename = __('AGCA_Settings', 'ag-custom-admin').'_'.date("Y-M-d_H-i-s").'.agca';
|
783 |
header("Cache-Control: public");
|
784 |
header("Content-Description: File Transfer");
|
785 |
header("Content-Disposition: attachment; filename=$filename");
|
798 |
|
799 |
|
800 |
function agca_create_menu() {
|
801 |
+
add_management_page('AG Custom Admin', 'AG Custom Admin', 'administrator', __FILE__, array(&$this,'agca_admin_page') );
|
802 |
}
|
803 |
|
804 |
function agca_create_admin_button($name,$arr) {
|
942 |
initJQuery();
|
943 |
</script>
|
944 |
<script type="text/javascript">
|
945 |
+
<?php echo "var agca_global_plugin_url = '".$this->pluginUrl()."';"; ?>
|
946 |
</script>
|
947 |
+
<script type="text/javascript" src="<?php echo $this->pluginUrl(); ?>script/ag_script.js?ver=<?php echo $this->agca_version; ?>"></script>
|
948 |
<script type="text/javascript">
|
949 |
jQuery(document).ready(function(){
|
950 |
<?php if(get_option('agca_colorizer_turnonoff') == 'on' && (get_option('agca_admin_bar_frontend_hide')!=true)){
|
1024 |
var img_url = '<?php echo addslashes(get_option('agca_header_logo_custom')); ?>';
|
1025 |
|
1026 |
advanced_url = img_url;
|
1027 |
+
image = jQuery("<img style='max-width:98%;position:relative;'/>").attr("src",advanced_url);
|
1028 |
jQuery(image).load(function() {
|
1029 |
jQuery("#wpbody-content").prepend(image);
|
1030 |
});
|
1074 |
<?php } ?>
|
1075 |
<?php if((get_option('agca_header')==true)&&(get_option('agca_header_show_logout')==true)){ ?>
|
1076 |
<?php
|
1077 |
+
$agca_logout_text = ((get_option('agca_logout')=="")?__("Log Out", 'ag-custom-admin'):get_option('agca_logout'));
|
1078 |
?>
|
1079 |
jQuery("#wpbody-content").prepend('<a href="../wp-login.php?action=logout" tabindex="10" style="float:right;margin-right:20px" class="ab-item agca_logout_button"><?php echo $agca_logout_text; ?></a>');
|
1080 |
|
1321 |
var agca_error_details = "___________________________________________________<br/>";
|
1322 |
agca_error_details += '<br/>' + msg +'<br/>source:' + url + '<br/>line:' + line + '<br/>';
|
1323 |
agca_error_details += "___________________________________________________<br/>";
|
1324 |
+
window.agca_error_details_text = agca_error_details + '<br/><?php _e('This JavaScript error can stop AG Custom Admin 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 AG Custom Admin plugin, or something unexpected happens, please report that on our', 'ag-custom-admin'); ?> <a href="http://wordpressadminpanel.com/agca-support/ag_custom_admin/error-ocurred-javascript-error-caught/" target="_blank"><?php _e('SUPPORT PAGE', 'ag-custom-admin'); ?></a>';
|
1325 |
document.getElementsByTagName('html')[0].style.visibility = "visible";
|
1326 |
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;">\
|
1327 |
+
<?php _e('AG Custom Admin 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>';
|
1328 |
|
1329 |
var ph = document.getElementById('agca_error_placeholder');
|
1330 |
ph.innerHTML = errorDivHtml;
|
1350 |
|
1351 |
if(typeof window.console === "object"){
|
1352 |
console.log("___________________________________________________");
|
1353 |
+
console.log("<?php _e('AG Custom Admin caught a JavaScript on your site', 'ag-custom-admin'); ?>:");
|
1354 |
console.log(agca_error_details);
|
1355 |
}
|
1356 |
}
|
1403 |
$name = $this->menu_item_cleartext($name);
|
1404 |
|
1405 |
//apply previous submenu customizations
|
1406 |
+
if($customizationsSet && isset($previousCustomizations[$url])){
|
1407 |
$pc = $previousCustomizations[$url];
|
1408 |
}
|
1409 |
|
1423 |
'url'=>$urlSub
|
1424 |
);
|
1425 |
|
1426 |
+
if(isset($pc['submenus'][$key])){
|
1427 |
$s[$key]['new'] = $pc['submenus'][$key]['new'];
|
1428 |
$s[$key]['remove'] = $pc['submenus'][$key]['remove'];
|
1429 |
|
1447 |
);
|
1448 |
|
1449 |
//apply previous top menu customizations
|
1450 |
+
if($customizationsSet && isset($previousCustomizations[$url])){
|
1451 |
$pc = $previousCustomizations[$url];
|
1452 |
if(isset($pc)){
|
1453 |
$m[$url]['remove'] = $pc['remove'];
|
1584 |
return $this->isPluginActive('cusmin/cusmin.php');
|
1585 |
}
|
1586 |
function isPluginActive($plugin){
|
1587 |
+
if(!is_admin()){
|
1588 |
+
return false;
|
1589 |
}
|
1590 |
+
return is_plugin_active($plugin);
|
1591 |
+
}
|
1592 |
+
function isPluginActiveForNetwork($plugin){
|
1593 |
+
return is_plugin_active_for_network($plugin);
|
1594 |
}
|
1595 |
function print_admin_css()
|
1596 |
{
|
1612 |
var roundedSidberSize = 0;
|
1613 |
var agca_installed_templates = <?php echo $this->get_installed_agca_templates(); ?>;
|
1614 |
var agca_admin_menu = <?php echo json_encode($this->get_menu_customizations()) ?>;
|
1615 |
+
var agca_string = {
|
1616 |
+
file_imp_not_sel: '<?php _e('File for import is not selected!', 'ag-custom-admin'); ?>',
|
1617 |
+
menu_general: '<?php _e('General', 'ag-custom-admin'); ?>',
|
1618 |
+
menu_admin_bar: '<?php _e('Admin Bar', 'ag-custom-admin'); ?>',
|
1619 |
+
menu_footer: '<?php _e('Admin Footer', 'ag-custom-admin'); ?>',
|
1620 |
+
menu_dashb: '<?php _e('Dashboard Page', 'ag-custom-admin'); ?>',
|
1621 |
+
menu_login: '<?php _e('Login Page', 'ag-custom-admin'); ?>',
|
1622 |
+
menu_admin_menu: '<?php _e('Admin Menu', 'ag-custom-admin'); ?>',
|
1623 |
+
menu_colorizer: '<?php _e('Colorizer', 'ag-custom-admin'); ?>',
|
1624 |
+
menu_themes: '<?php _e('Admin Themes', 'ag-custom-admin'); ?>',
|
1625 |
+
menu_advanced: '<?php _e('Advanced', 'ag-custom-admin'); ?>',
|
1626 |
+
remove: '<?php _e('Remove', 'ag-custom-admin'); ?>',
|
1627 |
+
frommenu:'<?php _e('from menu', 'ag-custom-admin'); ?>',
|
1628 |
+
rename:'<?php _e('Rename', 'ag-custom-admin'); ?>',
|
1629 |
+
withthisvalue:'<?php _e('with this value', 'ag-custom-admin'); ?>',
|
1630 |
+
submenuitem:'<?php _e('sub-menu item', 'ag-custom-admin'); ?>',
|
1631 |
+
open:'<?php _e('open', 'ag-custom-admin'); ?>',
|
1632 |
+
'delete':'<?php _e('Delete', 'ag-custom-admin'); ?>',
|
1633 |
+
'in':'<?php _e('in', 'ag-custom-admin'); ?>',
|
1634 |
+
save_changes: '<?php _e('Save changes', 'ag-custom-admin'); ?>'
|
1635 |
+
};
|
1636 |
</script>
|
1637 |
<?php
|
1638 |
$this->prepareAGCAAdminTemplates();
|
1639 |
$this->agca_get_includes();
|
1640 |
$this->admin_capabilities();
|
1641 |
+
wp_get_current_user() ;
|
1642 |
?>
|
1643 |
<?php
|
1644 |
//in case that javaScript is disabled only admin can access admin menu
|
1677 |
}(document, 'script', 'facebook-jssdk'));</script>
|
1678 |
<?php
|
1679 |
}
|
1680 |
+
|
1681 |
+
if(get_option('agca_menu_remove_client_profile')){
|
1682 |
+
remove_menu_page('profile.php');
|
1683 |
+
}
|
1684 |
?>
|
1685 |
<script type="text/javascript">
|
1686 |
/* <![CDATA[ */
|
2116 |
<?php
|
2117 |
}
|
2118 |
|
2119 |
+
function pluginUrl(){
|
2120 |
+
return trailingslashit(plugins_url(basename(dirname(__FILE__))));
|
2121 |
+
}
|
2122 |
+
|
2123 |
function agca_admin_page() {
|
2124 |
|
2125 |
$wpversion = $this->get_wp_version();
|
2126 |
$this->agca_error_check();
|
2127 |
?>
|
2128 |
<?php //includes ?>
|
2129 |
+
<link rel="stylesheet" type="text/css" href="<?php echo $this->pluginUrl(); ?>style/farbtastic.css?ver=<?php echo $wpversion; ?>" />
|
2130 |
+
<script type="text/javascript" src="<?php echo $this->pluginUrl(); ?>script/farbtastic.js?ver=<?php echo $wpversion; ?>"></script>
|
2131 |
|
2132 |
+
<link rel="stylesheet" type="text/css" href="<?php echo $this->pluginUrl(); ?>style/agca_farbtastic.css?ver=<?php echo $wpversion; ?>" />
|
2133 |
+
<script type="text/javascript" src="<?php echo $this->pluginUrl(); ?>script/agca_farbtastic.js?ver=<?php echo $wpversion; ?>"></script>
|
2134 |
+
<script type="text/javascript" src="<?php echo $this->pluginUrl(); ?>script/xd.js?ver=<?php echo $wpversion; ?>"></script>
|
2135 |
<script type="text/javascript">
|
2136 |
var templates_ep = "<?php echo $this->templates_ep; ?>";
|
2137 |
var template_selected = '<?php echo get_option('agca_selected_template'); ?>';
|
2138 |
</script>
|
2139 |
+
<script type="text/javascript" src="<?php echo $this->pluginUrl(); ?>script/agca_tmpl.js?ver=<?php echo $wpversion; ?>"></script>
|
2140 |
<?php //includes ?>
|
2141 |
<div class="wrap">
|
2142 |
+
<h1 id="agca-title">AG Custom Admin <?php _e('Settings', 'ag-custom-admin'); ?> <span style="font-size:15px;">(v<?php echo $this->agca_version; ?>)</span></h1>
|
2143 |
<div id="agca-social" style="float:right; margin-top: -23px;">
|
2144 |
<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>
|
2145 |
</div>
|
2152 |
<strong>
|
2153 |
<span style="color:#005B69">Your feedback:</span>
|
2154 |
</strong>
|
2155 |
+
<a class="feedback positive" target="_blank" title="<?php _e('POSITIVE FEEDBACK: I like this plugin!', 'ag-custom-admin'); ?>" href="http://wordpressadminpanel.com/agca-support/feedback/ag-custom-admin-positive-feedback/">
|
2156 |
<span class="dashicons dashicons-thumbs-up"></span>
|
2157 |
</a>
|
2158 |
+
<a class="feedback negative" target="_blank" title="<?php _e('NEGATIVE FEEDBACK: I don\'t like this plugin.', 'ag-custom-admin'); ?>" href="http://wordpressadminpanel.com/agca-support/feedback/ag-custom-admin-negative-feedback/">
|
2159 |
<span class="dashicons dashicons-thumbs-down"></span>
|
2160 |
</a>
|
2161 |
</div>
|
2162 |
<br />
|
2163 |
<ul id="ag_main_menu" style="<?php echo $this->isCusminActive()?'display:none':''; ?>">
|
2164 |
+
<li class="selected" style="border-top-left-radius: 10px; "><a href="#general-settings" title="<?php _e('General Settings', 'ag-custom-admin')?>" ><?php _e('General', 'ag-custom-admin')?></a></li>
|
2165 |
+
<li class="normal"><a href="#admin-bar-settings" title="<?php _e('Settings for admin bar', 'ag-custom-admin')?>" ><?php _e('Admin Bar', 'ag-custom-admin')?></a></li>
|
2166 |
+
<li class="normal"><a href="#admin-footer-settings" title="<?php _e('Settings for admin footer', 'ag-custom-admin')?>" ><?php _e('Admin Footer', 'ag-custom-admin')?></a></li>
|
2167 |
+
<li class="normal"><a href="#dashboad-page-settings" title="<?php _e('Settings for Dashboard page', 'ag-custom-admin')?>"><?php _e('Dashboard Page', 'ag-custom-admin')?></a></li>
|
2168 |
+
<li class="normal"><a href="#login-page-settings" title="<?php _e('Settings for Login page', 'ag-custom-admin')?>"><?php _e('Login Page', 'ag-custom-admin')?></a></li>
|
2169 |
+
<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>
|
2170 |
+
<li class="normal"><a href="#ag-colorizer-setttings" title="<?php _e('Colorizer settings', 'ag-custom-admin')?>"><?php _e('Colorizer', 'ag-custom-admin')?></a></li>
|
2171 |
+
<li class="normal"><a href="#ag-advanced" title="<?php _e('My custom scripts', 'ag-custom-admin')?>"><?php _e('Advanced', 'ag-custom-admin')?></a></li>
|
2172 |
+
<li class="normal" style=""><a style="color:#DB6014;font-weight:bolder;" href="#ag-templates" title="<?php _e('AG Custom Admin Themes', 'ag-custom-admin')?>"><?php _e('Admin Themes', 'ag-custom-admin')?></a></li>
|
2173 |
+
<li class="normal" style="background-color:#aaa;border-top-right-radius: 10px; border-bottom: 2px solid#aaa;"><a style="color:#fff;font-weight:bolder;" href="https://cusmin.com/" target="_blank" title="<?php _e('Upgrate to Cusmin', 'ag-custom-admin')?>"><?php _e('Upgrade', 'ag-custom-admin')?></a></li>
|
2174 |
+
|
2175 |
+
<li style="background:none;border:none;padding:0;"><a id="agca_donate_button" target="_blank" style="margin-left:8px" title="<?php _e('Do you like this plugin? You can support its future development by giving a donation by your choice', 'ag-custom-admin')?> " href="http://wordpressadminpanel.com/agca-support/support-for-future-development/"><img alt="<?php _e('Donate', 'ag-custom-admin')?>" src="<?php echo $this->pluginUrl(); ?>images/btn_donate_LG.gif" /></a>
|
2176 |
</li>
|
2177 |
<li style="background:none;border:none;padding:0;padding-left:10px;margin-top:-7px"></li>
|
2178 |
</ul>
|
2182 |
</ul>
|
2183 |
</div>
|
2184 |
<div class="agca-clear"></div>
|
2185 |
+
<div id="section-cusmin" style="display:none;"><?php _e('All AG Custom Admin 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>
|
2186 |
<div id="section_general" style="display:none" class="ag_section">
|
2187 |
+
<h2 class="section_title"><?php _e('General Settings', 'ag-custom-admin')?></h2>
|
2188 |
+
<p tabindex="0" class="agca-clear agca-tip"><i><?php _e('<strong>Tip: </strong>Move mouse cursor over the option label to see more information about an option', 'ag-custom-admin')?></i></p>
|
2189 |
<table class="agca-clear form-table" width="500px">
|
2190 |
<?php
|
2191 |
|
2192 |
$this->print_checkbox(array(
|
2193 |
'name'=>'agca_role_allbutadmin',
|
2194 |
+
'label'=>__('Exclude AGCA admin from customizations', 'ag-custom-admin'),
|
2195 |
+
'title'=>__('<h3>Applying customizations</h3><br><strong>Checked</strong> - apply to all users, except admin<br><strong>Not checked</strong> - apply to everyone</br></br><strong>Q</strong>: Who is AGCA administrator?</br><strong>A</strong>: Go to <i>General -> Security -> AGCA admin capability</i> and change capability option to define administrators. Only the users with selected capability will be AGCA administrators.</br>', 'ag-custom-admin')
|
2196 |
));
|
2197 |
|
2198 |
+
$this->print_options_h3(__('Pages', 'ag-custom-admin'));
|
2199 |
|
2200 |
$this->print_checkbox(array(
|
2201 |
'hide'=>true,
|
2202 |
'name'=>'agca_screen_options_menu',
|
2203 |
+
'label'=>__('"Screen Options" menu', 'ag-custom-admin'),
|
2204 |
+
'title'=>__('Hides the menu from the admin pages (located on the top right corner of the page, below the admin bar)', 'ag-custom-admin')
|
2205 |
));
|
2206 |
|
2207 |
$this->print_checkbox(array(
|
2208 |
'hide'=>true,
|
2209 |
'name'=>'agca_help_menu',
|
2210 |
+
'label'=>__('"Help" menu', 'ag-custom-admin'),
|
2211 |
+
'title'=>__('Hides the menu from the admin pages (located on the top right corner of the page, below the admin bar)', 'ag-custom-admin')
|
2212 |
));
|
2213 |
|
2214 |
+
$this->print_options_h3(__('Security', 'ag-custom-admin'));
|
2215 |
|
2216 |
?>
|
2217 |
|
2218 |
<tr valign="center">
|
2219 |
<th scope="row">
|
2220 |
+
<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>
|
2221 |
</th>
|
2222 |
+
<td><?php echo $this->admin_capabilities; ?> <i>(<?php _e('<strong>Edit Dashboard</strong> - selected by default', 'ag-custom-admin'); ?>)</i>
|
2223 |
+
<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>
|
2224 |
</td>
|
2225 |
<td>
|
2226 |
</td>
|
2227 |
</tr>
|
2228 |
<?php
|
2229 |
+
$this->print_options_h3(__('Feedback and Support', 'ag-custom-admin'));
|
2230 |
|
2231 |
?>
|
2232 |
<tr valign="center">
|
2233 |
<td colspan="2">
|
2234 |
<div class="agca-feedback-and-support">
|
2235 |
<ul>
|
2236 |
+
<li><a href="http://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>
|
2237 |
</ul>
|
2238 |
<ul>
|
2239 |
+
<li><a href="http://wordpressadminpanel.com/agca-support/contact/?type=bug" 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>
|
2240 |
</ul>
|
2241 |
<ul>
|
2242 |
+
<li><a href="http://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>
|
2243 |
</ul>
|
2244 |
<ul>
|
2245 |
+
<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>
|
2246 |
</ul>
|
2247 |
<ul>
|
2248 |
+
<li><a href="http://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>
|
2249 |
</ul>
|
2250 |
<ul>
|
2251 |
+
<li><a href="http://wordpressadminpanel.com/agca-support/support-for-future-development/" target="_blank"><span class="dashicons dashicons-palmtree"></span> <?php _e('Donate', 'ag-custom-admin'); ?></a> - <?php _e('only if you find this plugin helpful for your needs', 'ag-custom-admin'); ?> </li>
|
2252 |
</ul>
|
2253 |
</div>
|
2254 |
</td>
|
2257 |
</table>
|
2258 |
</div>
|
2259 |
<div id="section_admin_bar" style="display:none" class="ag_section">
|
2260 |
+
<h2 class="section_title"><?php _e('Admin Bar Settings', 'ag-custom-admin'); ?></h2>
|
2261 |
<table class="form-table" width="500px">
|
2262 |
|
2263 |
<?php
|
2266 |
'class'=>'ag_table_major_options',
|
2267 |
),
|
2268 |
'hide'=>true,
|
2269 |
+
'title'=>__('Hides admin bar completely from the admin panel', 'ag-custom-admin'),
|
2270 |
'name'=>'agca_header',
|
2271 |
+
'label'=>__('<strong>Admin bar</strong>', 'ag-custom-admin'),
|
2272 |
'input-attributes'=>'data-dependant="#agca_header_show_logout_content"',
|
2273 |
'input-class'=>'has-dependant',
|
2274 |
));
|
2279 |
'style'=> ((get_option('agca_header')!='true')?'display:none':''),
|
2280 |
'id'=>'agca_header_show_logout_content',
|
2281 |
),
|
2282 |
+
'title'=>__('Check this if you want to show Log Out button in top right corner of the admin page', 'ag-custom-admin'),
|
2283 |
'name'=>'agca_header_show_logout',
|
2284 |
'checked'=> ((get_option('agca_header')==true) && (get_option('agca_header_show_logout')==true)),
|
2285 |
+
'label'=>__('<strong>(but show Log Out button)</strong>', 'ag-custom-admin')
|
2286 |
));
|
2287 |
|
2288 |
$this->print_checkbox(array(
|
2289 |
+
'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'),
|
2290 |
'name'=>'agca_admin_bar_frontend',
|
2291 |
'hide'=>true,
|
2292 |
+
'label'=>__('Site pages: Admin bar customizations', 'ag-custom-admin')
|
2293 |
));
|
2294 |
|
2295 |
$this->print_checkbox(array(
|
2296 |
+
'title'=>__('Hides admin bar completely for authenticated users on site pages.', 'ag-custom-admin'),
|
2297 |
'name'=>'agca_admin_bar_frontend_hide',
|
2298 |
'hide'=>true,
|
2299 |
+
'label'=>__('Site pages: Admin bar', 'ag-custom-admin')
|
2300 |
));
|
2301 |
|
2302 |
+
$this->print_options_h3(__('Left Side', 'ag-custom-admin'));
|
2303 |
|
2304 |
$this->print_input(array(
|
2305 |
+
'title'=>__('Change default WordPress logo with custom image.', 'ag-custom-admin'),
|
2306 |
'name'=>'agca_wp_logo_custom',
|
2307 |
+
'label'=>__('Admin bar logo', 'ag-custom-admin'),
|
2308 |
+
'hint' =>__('Image URL (maximum height is 28px)', 'ag-custom-admin')
|
2309 |
));
|
2310 |
|
2311 |
$this->print_input(array(
|
2312 |
+
'title'=>__('Custom link on admin bar logo.', 'ag-custom-admin').'</br></br>Use:</br><strong>%BLOG%</strong> - '.__('for blog URL.', 'ag-custom-admin').'</br><strong>%SWITCH%</strong> - '.__('to switch betweent admin and site area', 'ag-custom-admin'),
|
2313 |
'name'=>'agca_wp_logo_custom_link',
|
2314 |
+
'label'=>__('Admin bar logo link', 'ag-custom-admin'),
|
2315 |
+
'hint' =>__('Link', 'ag-custom-admin')
|
2316 |
));
|
2317 |
|
2318 |
$this->print_input(array(
|
2319 |
+
'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>',
|
2320 |
'name'=>'agca_custom_title',
|
2321 |
+
'label'=>__('Page title template', 'ag-custom-admin'),
|
2322 |
+
'hint' =>__('Please use', 'ag-custom-admin').' <strong>%BLOG%</strong> '.__('and', 'ag-custom-admin'). ' <strong>%PAGE%</strong> '.__('in your title template.nd', 'ag-custom-admin')
|
2323 |
));
|
2324 |
|
2325 |
$this->print_input(array(
|
2326 |
+
'title'=>__('Add custom image on the top of the admin content.', 'ag-custom-admin'),
|
2327 |
'name'=>'agca_header_logo_custom',
|
2328 |
+
'label'=>__('Header image', 'ag-custom-admin'),
|
2329 |
+
'hint' =>__('Image URL', 'ag-custom-admin')
|
2330 |
));
|
2331 |
|
2332 |
|
2333 |
$this->print_checkbox(array(
|
2334 |
'hide'=>true,
|
2335 |
+
'title'=>__('Hides small Wordpress logo from the admin bar', 'ag-custom-admin'),
|
2336 |
'name'=>'agca_header_logo',
|
2337 |
+
'label'=>__('WordPress logo', 'ag-custom-admin')
|
2338 |
));
|
2339 |
|
2340 |
$this->print_checkbox(array(
|
2341 |
'hide'=>true,
|
2342 |
+
'title'=>__('Hides WordPress context menu on WordPress logo icon from admin bar', 'ag-custom-admin'),
|
2343 |
'name'=>'agca_remove_top_bar_dropdowns',
|
2344 |
+
'label'=>__('WordPress logo context menu', 'ag-custom-admin')
|
2345 |
));
|
2346 |
|
2347 |
$this->print_checkbox(array(
|
2348 |
'hide'=>true,
|
2349 |
+
'title'=>__('Hides site name link from the admin bar', 'ag-custom-admin'),
|
2350 |
'name'=>'agca_remove_site_link',
|
2351 |
+
'label'=>__('Site name', 'ag-custom-admin')
|
2352 |
));
|
2353 |
|
2354 |
$this->print_checkbox(array(
|
2355 |
'hide'=>true,
|
2356 |
+
'title'=>__('Hides update notifications from admin bar', 'ag-custom-admin'),
|
2357 |
'name'=>'agca_admin_bar_update_notifications',
|
2358 |
+
'label'=>__('Update notifications', 'ag-custom-admin')
|
2359 |
));
|
2360 |
|
2361 |
$this->print_checkbox(array(
|
2362 |
'hide'=>true,
|
2363 |
+
'title'=>__('Hides comments block from admin bar', 'ag-custom-admin'),
|
2364 |
'name'=>'agca_admin_bar_comments',
|
2365 |
+
'label'=>__('"Comments" block', 'ag-custom-admin')
|
2366 |
));
|
2367 |
|
2368 |
$this->print_checkbox(array(
|
2370 |
'attributes'=>array(
|
2371 |
'style'=>'margin-top:20px;'
|
2372 |
),
|
2373 |
+
'title'=>__('Hides "+ New" block and its context menu from admin bar', 'ag-custom-admin'),
|
2374 |
'name'=>'agca_admin_bar_new_content',
|
2375 |
+
'label'=>__('"+ New" block', 'ag-custom-admin'),
|
2376 |
'input-attributes'=>'data-dependant=".new_content_header_submenu"',
|
2377 |
'input-class'=>'has-dependant dependant-opposite'
|
2378 |
));
|
2382 |
'attributes'=>array(
|
2383 |
'class'=>'new_content_header_submenu'
|
2384 |
),
|
2385 |
+
'title'=>__('Hides "Post" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2386 |
'name'=>'agca_admin_bar_new_content_post',
|
2387 |
+
'label'=>' '.__('"+ New" -> Post sub-menu', 'ag-custom-admin')
|
2388 |
));
|
2389 |
|
2390 |
$this->print_checkbox(array(
|
2392 |
'attributes'=>array(
|
2393 |
'class'=>'new_content_header_submenu'
|
2394 |
),
|
2395 |
+
'title'=>__('Hides "Link" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2396 |
'name'=>'agca_admin_bar_new_content_link',
|
2397 |
+
'label'=>' '.__('"+ New" -> Link sub-menu', 'ag-custom-admin')
|
2398 |
));
|
2399 |
|
2400 |
$this->print_checkbox(array(
|
2402 |
'attributes'=>array(
|
2403 |
'class'=>'new_content_header_submenu'
|
2404 |
),
|
2405 |
+
'title'=>__('Hides "Page" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2406 |
'name'=>'agca_admin_bar_new_content_page',
|
2407 |
+
'label'=>' '.__('"+ New" -> Page sub-menu', 'ag-custom-admin')
|
2408 |
));
|
2409 |
|
2410 |
$this->print_checkbox(array(
|
2412 |
'attributes'=>array(
|
2413 |
'class'=>'new_content_header_submenu'
|
2414 |
),
|
2415 |
+
'title'=>__('Hides "User" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2416 |
'name'=>'agca_admin_bar_new_content_user',
|
2417 |
+
'label'=>' '.__('"+ New" -> User sub-menu', 'ag-custom-admin')
|
2418 |
));
|
2419 |
|
2420 |
$this->print_checkbox(array(
|
2422 |
'attributes'=>array(
|
2423 |
'class'=>'new_content_header_submenu'
|
2424 |
),
|
2425 |
+
'title'=>__('Hides "Media" sub-menu from "+ New" block on admin bar', 'ag-custom-admin'),
|
2426 |
'name'=>'agca_admin_bar_new_content_media',
|
2427 |
+
'label'=>' '.__('"+ New" -> Media sub-menu', 'ag-custom-admin')
|
2428 |
));
|
2429 |
|
2430 |
$this->print_checkbox(array(
|
2431 |
'hide'=>true,
|
2432 |
+
'title'=>__('Hides "Admin themes" from admin bar', 'ag-custom-admin'),
|
2433 |
'name'=>'agca_admin_bar_admin_themes',
|
2434 |
+
'label'=>__('"Admin themes"', 'ag-custom-admin')
|
2435 |
));
|
2436 |
|
2437 |
$this->print_textarea(array(
|
2438 |
+
'title'=>__('Adds custom text in admin top bar.', 'ag-custom-admin'),
|
2439 |
'name'=>'agca_custom_site_heading',
|
2440 |
+
'label'=>__('Custom blog heading', 'ag-custom-admin'),
|
2441 |
+
'hint'=>__('<strong>Tip: </strong>You can use HTML tags like', 'ag-custom-admin')." <h1> ".__('or', 'ag-custom-admin')." <a>"
|
2442 |
));
|
2443 |
|
2444 |
|
2445 |
$this->print_checkbox(array(
|
2446 |
'hide'=>true,
|
2447 |
+
'title'=>__('Hides yellow bar with information about new WordPress release', 'ag-custom-admin'),
|
2448 |
'name'=>'agca_update_bar',
|
2449 |
+
'label'=>__('Update WordPress notification', 'ag-custom-admin')
|
2450 |
));
|
2451 |
|
2452 |
+
$this->print_options_h3(__('Right Side', 'ag-custom-admin'));
|
2453 |
|
2454 |
$this->print_input(array(
|
2455 |
'name'=>'agca_howdy',
|
2456 |
+
'label'=>__('Change Howdy text', 'ag-custom-admin'),
|
2457 |
));
|
2458 |
|
2459 |
$this->print_input(array(
|
2460 |
+
'title'=>__('Put \'Exit\', for example', 'ag-custom-admin'),
|
2461 |
'name'=>'agca_logout',
|
2462 |
+
'label'=>__('Change Log out text', 'ag-custom-admin'),
|
2463 |
));
|
2464 |
|
2465 |
$this->print_checkbox(array(
|
2466 |
'hide'=>true,
|
2467 |
'name'=>'agca_remove_your_profile',
|
2468 |
+
'label'=>__('"Edit My Profile" option from dropdown menu', 'ag-custom-admin'),
|
2469 |
));
|
2470 |
|
2471 |
$this->print_checkbox(array(
|
2472 |
+
'title'=>__('If selected, hides all elements in top right corner, except Log Out button', 'ag-custom-admin'),
|
2473 |
'name'=>'agca_logout_only',
|
2474 |
+
'label'=>__('Log out only', 'ag-custom-admin')
|
2475 |
));
|
2476 |
|
2477 |
?>
|
2480 |
</div>
|
2481 |
|
2482 |
<div id="section_admin_footer" style="display:none" class="ag_section">
|
2483 |
+
<h2 class="section_title"><?php _e('Admin Footer Settings', 'ag-custom-admin'); ?></h2>
|
2484 |
<table class="form-table" width="500px">
|
2485 |
<?php
|
2486 |
$this->print_checkbox(array(
|
2488 |
'attributes'=>array(
|
2489 |
'class'=>'ag_table_major_options'
|
2490 |
),
|
2491 |
+
'title'=>__('Hides footer with all elements', 'ag-custom-admin'),
|
2492 |
'name'=>'agca_footer',
|
2493 |
+
'label'=>__('<strong>Footer</strong>', 'ag-custom-admin')
|
2494 |
));
|
2495 |
|
2496 |
+
$this->print_options_h3(__('Footer Options', 'ag-custom-admin'));
|
2497 |
|
2498 |
$this->print_checkbox(array(
|
2499 |
'hide'=>true,
|
2500 |
+
'title'=>__('Hides default text in footer', 'ag-custom-admin'),
|
2501 |
'name'=>'agca_footer_left_hide',
|
2502 |
+
'label'=>__('Footer text', 'ag-custom-admin')
|
2503 |
));
|
2504 |
|
2505 |
$this->print_textarea(array(
|
2506 |
+
'title'=>__('Replaces text \'Thank you for creating with WordPress\' with custom text', 'ag-custom-admin'),
|
2507 |
'name'=>'agca_footer_left',
|
2508 |
+
'label'=>__('Change footer text', 'ag-custom-admin')
|
2509 |
));
|
2510 |
|
2511 |
$this->print_checkbox(array(
|
2512 |
'hide'=>true,
|
2513 |
+
'title'=>__('Hides text \'Get Version ...\' on right', 'ag-custom-admin'),
|
2514 |
'name'=>'agca_footer_right_hide',
|
2515 |
+
'label'=>__('Version text', 'ag-custom-admin')
|
2516 |
));
|
2517 |
|
2518 |
$this->print_textarea(array(
|
2519 |
+
'title'=>__('Replaces text \'Get Version ...\' with custom text', 'ag-custom-admin'),
|
2520 |
'name'=>'agca_footer_right',
|
2521 |
+
'label'=>__('Change version text', 'ag-custom-admin')
|
2522 |
));
|
2523 |
|
2524 |
?>
|
2526 |
</table>
|
2527 |
</div>
|
2528 |
<div id="section_dashboard_page" style="display:none" class="ag_section">
|
2529 |
+
<h2 class="section_title"><?php _e('Dashboard Page Settings', 'ag-custom-admin'); ?></h2>
|
2530 |
<table class="form-table" width="500px">
|
2531 |
<?php
|
2532 |
|
2533 |
+
$this->print_options_h3(__('Dashboard Page Options', 'ag-custom-admin'));
|
2534 |
|
2535 |
$this->print_input(array(
|
2536 |
+
'title'=>__('Main heading (\'Dashboard\') on Dashboard page', 'ag-custom-admin'),
|
2537 |
'name'=>'agca_dashboard_text',
|
2538 |
+
'label'=>__('Change Dashboard heading text', 'ag-custom-admin'),
|
2539 |
));
|
2540 |
|
2541 |
?>
|
2542 |
<tr valign="center">
|
2543 |
<th scope="row">
|
2544 |
+
<label title="<?php _e('Adds custom text (or HTML) between heading and widgets area on Dashboard page', 'ag-custom-admin'); ?>" for="agca_dashboard_text_paragraph"><?php _e('Add custom Dashboard content<br> <em>(text or HTML content)', 'ag-custom-admin'); ?></em></label>
|
2545 |
</th>
|
2546 |
<td class="agca_editor">
|
2547 |
<?php $this->getTextEditor('agca_dashboard_text_paragraph'); ?>
|
2549 |
</tr>
|
2550 |
<?php
|
2551 |
|
2552 |
+
$this->print_options_h3(__('Dashboard Widgets Options', 'ag-custom-admin'));
|
2553 |
|
2554 |
?>
|
2555 |
<tr>
|
2556 |
<td colspan="2">
|
2557 |
+
<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>
|
2558 |
</td>
|
2559 |
</tr>
|
2560 |
<?php
|
2561 |
$this->print_checkbox(array(
|
2562 |
'hide'=>true,
|
2563 |
+
'title'=>__('Hides Welcome WordPress widget', 'ag-custom-admin'),
|
2564 |
'name'=>'agca_dashboard_widget_welcome',
|
2565 |
+
'label'=>__('"Welcome" widget', 'ag-custom-admin')
|
2566 |
));
|
2567 |
|
2568 |
$this->print_checkbox(array(
|
2569 |
'hide'=>true,
|
2570 |
+
'title'=>__('Hides Activity dashboard widget', 'ag-custom-admin'),
|
2571 |
'name'=>'agca_dashboard_widget_activity',
|
2572 |
+
'label'=>__('"Activity" widget', 'ag-custom-admin')
|
2573 |
));
|
2574 |
|
2575 |
$this->print_checkbox(array(
|
2576 |
'hide'=>true,
|
2577 |
+
'title'=>__('Hides Quick Draft dashboard widget', 'ag-custom-admin'),
|
2578 |
'name'=>'agca_dashboard_widget_qp',
|
2579 |
+
'label'=>__('"Quick Draft" widget', 'ag-custom-admin')
|
2580 |
));
|
2581 |
|
2582 |
$this->print_checkbox(array(
|
2583 |
'hide'=>true,
|
2584 |
+
'title'=>__('Hides At a Glance dashboard widget', 'ag-custom-admin'),
|
2585 |
'name'=>'agca_dashboard_widget_rn',
|
2586 |
+
'label'=>__('"At a Glance" widget', 'ag-custom-admin')
|
2587 |
));
|
2588 |
|
2589 |
$this->print_checkbox(array(
|
2590 |
'hide'=>true,
|
2591 |
'name'=>'agca_dashboard_widget_primary',
|
2592 |
+
'title'=>__('This is \'WordPress News\' or \'WordPress Development Blog\' widget in older WordPress versions', 'ag-custom-admin'),
|
2593 |
+
'label'=>__('"WordPress News" widget', 'ag-custom-admin')
|
2594 |
));
|
2595 |
|
2596 |
$this->print_checkbox(array(
|
2597 |
'hide'=>true,
|
2598 |
'name'=>'agca_dashboard_widget_secondary',
|
2599 |
+
'title'=>__('This is \'Other WordPress News\' widget by default', 'ag-custom-admin'),
|
2600 |
+
'label'=>__('Secondary widget area', 'ag-custom-admin')
|
2601 |
));
|
2602 |
|
2603 |
?>
|
2604 |
</table>
|
2605 |
</div>
|
2606 |
<div id="section_login_page" style="display:none" class="ag_section">
|
2607 |
+
<h2 class="section_title"><?php _e('Login Page Settings', 'ag-custom-admin'); ?></h2>
|
2608 |
<table class="form-table" width="500px">
|
2609 |
<?php
|
2610 |
|
2611 |
+
$this->print_options_h3(__('Login Page Options', 'ag-custom-admin'));
|
2612 |
|
2613 |
$this->print_checkbox(array(
|
2614 |
'hide'=>true,
|
2615 |
'name'=>'agca_login_banner',
|
2616 |
+
'title'=>__('Hide back to blog block', 'ag-custom-admin'),
|
2617 |
+
'label'=>__('Back to blog text', 'ag-custom-admin')
|
2618 |
));
|
2619 |
|
2620 |
$this->print_input(array(
|
2621 |
'name'=>'agca_login_banner_text',
|
2622 |
+
'title'=>__('Changes \'<- Back to ...\' text in top bar on Login page', 'ag-custom-admin'),
|
2623 |
+
'label'=>__('Change back to blog text', 'ag-custom-admin')
|
2624 |
));
|
2625 |
|
2626 |
$this->print_input(array(
|
2627 |
+
'title'=>__('If this field is not empty, image from provided url will be visible on Login page', 'ag-custom-admin'),
|
2628 |
'name'=>'agca_login_photo_url',
|
2629 |
+
'label'=>__('Change Login header image', 'ag-custom-admin'),
|
2630 |
+
'hint'=>__('Image URL', 'ag-custom-admin')
|
2631 |
));
|
2632 |
|
2633 |
$this->print_input(array(
|
2634 |
+
'title'=>__('Put here custom link to a web location, that will be triggered on image click', 'ag-custom-admin'),
|
2635 |
'name'=>'agca_login_photo_href',
|
2636 |
+
'label'=>__('Change link on login image', 'ag-custom-admin'),
|
2637 |
+
'hint'=>__('For blog URL use', 'ag-custom-admin').' %BLOG%'
|
2638 |
));
|
2639 |
|
2640 |
$this->print_checkbox(array(
|
2641 |
'hide'=>true,
|
2642 |
+
'title'=>__('Hides login image completely', 'ag-custom-admin'),
|
2643 |
'name'=>'agca_login_photo_remove',
|
2644 |
+
'label'=>__('Login header image', 'ag-custom-admin'),
|
2645 |
));
|
2646 |
|
2647 |
$this->print_checkbox(array(
|
2648 |
+
'title'=>__('Rounds box on login page', 'ag-custom-admin'),
|
2649 |
'name'=>'agca_login_round_box',
|
2650 |
'label'=>'Round box corners',
|
2651 |
'input-class'=>'has-dependant',
|
2657 |
'style'=> ((get_option('agca_login_round_box')=='true')?'display:none':''),
|
2658 |
'id'=>'agca_login_round_box_size_block'
|
2659 |
),
|
2660 |
+
'title'=>__('Size of rounded box curve', 'ag-custom-admin'),
|
2661 |
'name'=>'agca_login_round_box_size',
|
2662 |
+
'label'=>__('Round box corners - size', 'ag-custom-admin'),
|
2663 |
'input-class'=>'validateNumber',
|
2664 |
+
'hint'=>__('(Size in px)', 'ag-custom-admin')
|
2665 |
));
|
2666 |
|
2667 |
$this->print_checkbox(array(
|
2668 |
'hide'=>true,
|
2669 |
+
'title'=>__('Hides register link on login page', 'ag-custom-admin'),
|
2670 |
'name'=>'agca_login_register_remove',
|
2671 |
+
'label'=>__('Register link', 'ag-custom-admin'),
|
2672 |
'input-class'=>'has-dependant dependant-opposite',
|
2673 |
'input-attributes'=>'data-dependant="#agca_login_register_href_block"'
|
2674 |
));
|
2678 |
'style'=> ((get_option('agca_login_register_remove')=='true')?'display:none':''),
|
2679 |
'id'=>'agca_login_register_href_block'
|
2680 |
),
|
2681 |
+
'title'=>__('Change register link on login page to point to your custom registration page.', 'ag-custom-admin'),
|
2682 |
'name'=>'agca_login_register_href',
|
2683 |
+
'label'=>__('Change register link', 'ag-custom-admin'),
|
2684 |
+
'hint'=>__('Link to new registration page', 'ag-custom-admin')
|
2685 |
));
|
2686 |
|
2687 |
$this->print_checkbox(array(
|
2688 |
'hide'=>true,
|
2689 |
+
'title'=>__('Hides lost password link on login page', 'ag-custom-admin'),
|
2690 |
'name'=>'agca_login_lostpassword_remove',
|
2691 |
+
'label'=>__('Lost password link', 'ag-custom-admin'),
|
2692 |
));
|
2693 |
?>
|
2694 |
</table>
|
2697 |
/*ADMIN MENU*/
|
2698 |
?>
|
2699 |
<div id="section_admin_menu" style="display:none" class="ag_section">
|
2700 |
+
<h2 class="section_title"><?php _e('Admin Menu Settings', 'ag-custom-admin'); ?></h2>
|
2701 |
<table class="form-table" width="500px">
|
2702 |
<tr valign="center" class="ag_table_major_options">
|
2703 |
+
<td><label for="agca_admin_menu_turnonoff"><strong><?php _e('Apply admin menu customizations', 'ag-custom-admin'); ?></strong></label></td>
|
2704 |
<td>
|
2705 |
<strong>
|
2706 |
|
2707 |
+
<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" '; ?> />
|
2708 |
+
<span class="agca-radio-text on"><?php _e('YES', 'ag-custom-admin'); ?></span>
|
2709 |
|
2710 |
+
<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"'; ?> />
|
2711 |
+
<span class="agca-radio-text off"><?php _e('NO', 'ag-custom-admin'); ?></span>
|
2712 |
</strong>
|
2713 |
</td>
|
2714 |
</tr>
|
2715 |
<tr valign="center" class="ag_table_major_options">
|
2716 |
+
<td><label for="agca_admin_menu_agca_button_only"><strong><?php _e('Admin menu', 'ag-custom-admin'); ?></strong></label></td>
|
2717 |
+
<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 \'AG custom admin\' button)', 'ag-custom-admin'); ?>" value="true" <?php if (get_option('agca_admin_menu_agca_button_only')==true) echo 'checked="checked" '; ?> /></td>
|
2718 |
</tr>
|
2719 |
<?php
|
2720 |
+
$this->print_options_h3(__('Edit / Remove Menu Items', 'ag-custom-admin'));
|
2721 |
?>
|
2722 |
<tr>
|
2723 |
<td colspan="2">
|
2724 |
+
<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 />
|
2725 |
+
<p tabindex="0"><em>(<?php _e('click on the top menu item to show its sub-menus', 'ag-custom-admin'); ?>)</em></p>
|
2726 |
<table id="ag_edit_adminmenu">
|
2727 |
<tr style="background-color:#999;">
|
2728 |
+
<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('Visibility', 'ag-custom-admin'); ?></h3></div></td><td width="300px" style="color:#fff;" ><h3><?php _e('Change Text', 'ag-custom-admin'); ?></h3>
|
2729 |
</td>
|
2730 |
</tr>
|
2731 |
</table>
|
2735 |
<td></td>
|
2736 |
</tr>
|
2737 |
<?php
|
2738 |
+
$this->print_checkbox(array(
|
2739 |
+
'title'=>__('Removes Profile menu item for non-admin users.', 'ag-custom-admin'),
|
2740 |
+
'name'=>'agca_menu_remove_client_profile',
|
2741 |
+
'label'=>__('Remove Profile button from user menu', 'ag-custom-admin'),
|
2742 |
+
));
|
2743 |
+
?>
|
2744 |
+
<?php
|
2745 |
+
$this->print_options_h3(__('Add New Menu Items', 'ag-custom-admin'));
|
2746 |
?>
|
2747 |
<tr>
|
2748 |
<td colspan="2">
|
2749 |
<table id="ag_add_adminmenu">
|
2750 |
<tr>
|
2751 |
<td colspan="2">
|
2752 |
+
<?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" />
|
2753 |
+
<?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" />
|
2754 |
+
<?php _e('open in', 'ag-custom-admin'); ?>:<select id="ag_add_adminmenu_target" class="agca-selectbox" style="width:95px">
|
2755 |
+
<option value="_self" selected><?php _e('same tab', 'ag-custom-admin'); ?></option>
|
2756 |
+
<option value="_blank" ><?php _e('new tab', 'ag-custom-admin'); ?></option>
|
2757 |
</select>
|
2758 |
+
<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'); ?>" />
|
2759 |
</td><td></td>
|
2760 |
</tr>
|
2761 |
</table>
|
2765 |
</td>
|
2766 |
</tr>
|
2767 |
<?php
|
2768 |
+
$this->print_options_h3(__('Admin Menu Settings', 'ag-custom-admin'));
|
2769 |
?>
|
2770 |
<tr valign="center">
|
2771 |
<th scope="row">
|
2772 |
+
<label title="<?php _e('Choose how admin menu should behave on mobile devices / small screens', 'ag-custom-admin'); ?>" for="agca_admin_menu_autofold"><?php _e('Admin menu auto folding', 'ag-custom-admin'); ?></label>
|
2773 |
</th>
|
2774 |
<td>
|
2775 |
+
<select title="<?php _e('General', 'ag-custom-admin'); ?>Choose how admin menu should behave on mobile devices / small screens" class="agca-selectbox" name="agca_admin_menu_autofold" >
|
2776 |
+
<option value="" <?php echo (get_option('agca_admin_menu_autofold') == "")?" selected ":""; ?> ><?php _e('Default', 'ag-custom-admin'); ?></option>
|
2777 |
+
<option value="force" <?php echo (get_option('agca_admin_menu_autofold') == "force")?" selected ":""; ?> ><?php _e('Force admin menu auto-folding', 'ag-custom-admin'); ?></option>
|
2778 |
+
<option value="disable" <?php echo (get_option('agca_admin_menu_autofold') == "disable")?" selected ":""; ?> ><?php _e('Disable admin menu auto-folding', 'ag-custom-admin'); ?></option>
|
2779 |
</select>
|
2780 |
</td>
|
2781 |
</tr>
|
2783 |
|
2784 |
$this->print_checkbox(array(
|
2785 |
'hide'=>true,
|
2786 |
+
'title'=>__('Removes empty space between some top menu items', 'ag-custom-admin'),
|
2787 |
'name'=>'agca_admin_menu_separators',
|
2788 |
+
'label'=>__('Menu items separators', 'ag-custom-admin'),
|
2789 |
));
|
2790 |
|
2791 |
$this->print_checkbox(array(
|
2792 |
'hide'=>true,
|
2793 |
+
'title'=>__('Removes icons from dmin menu buttons', 'ag-custom-admin'),
|
2794 |
'name'=>'agca_admin_menu_icons',
|
2795 |
+
'label'=>__('Menu icons', 'ag-custom-admin'),
|
2796 |
));
|
2797 |
|
2798 |
$this->print_checkbox(array(
|
2799 |
'hide'=>true,
|
2800 |
+
'title'=>__('Removes small arrow that appears on the top button hover', 'ag-custom-admin'),
|
2801 |
'name'=>'agca_admin_menu_arrow',
|
2802 |
+
'label'=>__('Sub-menu arrow', 'ag-custom-admin'),
|
2803 |
));
|
2804 |
|
2805 |
$this->print_checkbox(array(
|
2806 |
'hide'=>true,
|
2807 |
+
'title'=>__('Removes collapse button at the end of admin menu', 'ag-custom-admin'),
|
2808 |
'name'=>'agca_admin_menu_collapse_button',
|
2809 |
+
'label'=>__('"Collapse menu" button', 'ag-custom-admin'),
|
2810 |
));
|
2811 |
|
2812 |
$this->print_checkbox(array(
|
2813 |
+
'title'=>__('Rounds submenu pop-up box', 'ag-custom-admin'),
|
2814 |
'name'=>'agca_admin_menu_submenu_round',
|
2815 |
+
'label'=>__('Round sub-menu pop-up box', 'ag-custom-admin'),
|
2816 |
'input-attributes'=>'data-dependant="#agca_admin_menu_submenu_round_size"',
|
2817 |
'input-class'=>'has-dependant',
|
2818 |
));
|
2822 |
'style'=> ((get_option('agca_admin_menu_submenu_round')!='true')?'display:none':''),
|
2823 |
'id'=>'agca_admin_menu_submenu_round_size'
|
2824 |
),
|
2825 |
+
'title'=>__('Size of rounded box curve', 'ag-custom-admin'),
|
2826 |
'name'=>'agca_admin_menu_submenu_round_size',
|
2827 |
+
'label'=>__('Round sub-menu pop-up box - size', 'ag-custom-admin'),
|
2828 |
'input-class'=>'validateNumber',
|
2829 |
+
'hint'=>__('(Size in px)', 'ag-custom-admin')
|
2830 |
));
|
2831 |
|
2832 |
$this->print_input(array(
|
2833 |
+
'title'=>__('Adds custom logo above the admin menu', 'ag-custom-admin'),
|
2834 |
'name'=>'agca_admin_menu_brand',
|
2835 |
+
'label'=>__('Admin menu branding with logo', 'ag-custom-admin'),
|
2836 |
+
'hint'=>__('Image URL', 'ag-custom-admin')
|
2837 |
));
|
2838 |
|
2839 |
$this->print_input(array(
|
2840 |
+
'title'=>__('Change branding logo link</br></br>Use:', 'ag-custom-admin').'</br><strong>%BLOG%</strong> - '. __('for blog URL', 'ag-custom-admin'),
|
2841 |
'name'=>'agca_admin_menu_brand_link',
|
2842 |
+
'label'=>__('Branding logo link', 'ag-custom-admin'),
|
2843 |
+
'hint'=>__('Branding image URL', 'ag-custom-admin')
|
2844 |
));
|
2845 |
?>
|
2846 |
</table>
|
2847 |
</div>
|
2848 |
<div id="section_ag_colorizer_settings" style="display:none" class="ag_section">
|
2849 |
+
<h2 class="section_title"><?php _e('Colorizer Page', 'ag-custom-admin'); ?></h2>
|
2850 |
<table class="form-table" width="500px">
|
2851 |
<tr valign="center" class="ag_table_major_options">
|
2852 |
+
<td><label for="agca_colorizer_turnonoff"><strong><?php _e('Apply Colorizer settings', 'ag-custom-admin'); ?></strong></label></td>
|
2853 |
+
<td><strong><input class="agca-radio" type="radio" name="agca_colorizer_turnonoff" title="<?php _e('Apply Colorizer customizations', 'ag-custom-admin'); ?>" value="on" <?php if(get_option('agca_colorizer_turnonoff') == 'on') echo 'checked="checked" '; ?> /><span class="agca-radio-text on"><?php _e('YES', 'ag-custom-admin'); ?></span> <input class="agca-radio" type="radio" name="agca_colorizer_turnonoff" title="<?php _e('Do not apply Colorizer customizations', 'ag-custom-admin'); ?>" value="off" <?php if(get_option('agca_colorizer_turnonoff') != 'on') echo 'checked="checked"'; ?> /><span class="agca-radio-text off"><?php _e('NO', 'ag-custom-admin'); ?></span></strong></td>
|
2854 |
</tr>
|
2855 |
<?php
|
2856 |
+
$this->print_options_h3(__('Global Color Options', 'ag-custom-admin'));
|
2857 |
|
2858 |
+
$this->print_color('color_background',__('Background:', 'ag-custom-admin'),__('Change admin page background color', 'ag-custom-admin'));
|
2859 |
+
$this->print_color('login_color_background',__('Login page background:', 'ag-custom-admin'),__('Change login page background color', 'ag-custom-admin'));
|
2860 |
+
$this->print_color('color_header',__('Admin bar:', 'ag-custom-admin'),__('Change admin bar (on top) color in admin panel', 'ag-custom-admin'));
|
2861 |
|
2862 |
+
$this->print_options_h3(__('Admin Menu Color Options', 'ag-custom-admin'));
|
2863 |
|
2864 |
+
$this->print_color('color_admin_menu_top_button_background',__('Button background:', 'ag-custom-admin'),__('Change button background color', 'ag-custom-admin'));
|
2865 |
+
$this->print_color('color_admin_menu_font',__('Button text:', 'ag-custom-admin'),__('Change button text color', 'ag-custom-admin'));
|
2866 |
+
$this->print_color('color_admin_menu_top_button_current_background',__('Selected button background:', 'ag-custom-admin'),__('Change button background color for current button', 'ag-custom-admin'));
|
2867 |
+
$this->print_color('color_admin_menu_top_button_hover_background',__('Hover button background:', 'ag-custom-admin'),__('Change button background color on mouseover', 'ag-custom-admin'));
|
2868 |
+
$this->print_color('color_admin_menu_submenu_background',__('Sub-menu button background:', 'ag-custom-admin'),__('Change submenu item background color', 'ag-custom-admin'));
|
2869 |
+
$this->print_color('color_admin_menu_submenu_background_hover',__('Sub-menu hover button background:', 'ag-custom-admin'),__('Change submenu item background color on mouseover', 'ag-custom-admin'));
|
2870 |
+
$this->print_color('color_admin_submenu_font',__('Sub-menu text:', 'ag-custom-admin'),__('Sub-menu text color', 'ag-custom-admin'));
|
2871 |
+
$this->print_color('color_admin_menu_behind_background',__('Wrapper background:', 'ag-custom-admin'),__('Change background color of element behind admin menu', 'ag-custom-admin'));
|
2872 |
|
2873 |
+
$this->print_options_h3(__('Font Color Options', 'ag-custom-admin'));
|
2874 |
|
2875 |
+
$this->print_color('color_font_content',__('Content text:', 'ag-custom-admin'),__('Change color in content text', 'ag-custom-admin'));
|
2876 |
+
$this->print_color('color_font_header',__('Admin bar text:', 'ag-custom-admin'),__('Change color of admin bar text', 'ag-custom-admin'));
|
2877 |
+
$this->print_color('color_font_footer',__('Footer text:', 'ag-custom-admin'),__('Change color in footer text', 'ag-custom-admin'));
|
2878 |
|
2879 |
+
$this->print_options_h3(__('Widgets Color Options', 'ag-custom-admin'));
|
2880 |
|
2881 |
+
$this->print_color('color_widget_bar',__('Title bar background:', 'ag-custom-admin'),__('Change color in header text', 'ag-custom-admin'));
|
2882 |
+
$this->print_color('color_widget_background',__('Background:', 'ag-custom-admin'),__('Change widget background color', 'ag-custom-admin'));
|
2883 |
|
2884 |
?>
|
2885 |
</table>
|
2887 |
<div id="picker"></div>
|
2888 |
</div>
|
2889 |
<div id="section_templates" style="display:none" class="ag_section">
|
2890 |
+
<h2 class="section_title"><span style="float:left"><?php _e('Admin Themes', 'ag-custom-admin'); ?></span></h2>
|
2891 |
<table class="form-table" width="500px">
|
2892 |
<tr valign="center">
|
2893 |
<td>
|
2899 |
<div id="advanced_template_options" style="display:none">
|
2900 |
<div class="agca-feedback-and-support">
|
2901 |
<ul>
|
2902 |
+
<li><a href="http://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>
|
2903 |
+
<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>
|
2904 |
</ul>
|
2905 |
</div>
|
2906 |
</div>
|
2909 |
</table>
|
2910 |
</div>
|
2911 |
<div id="section_advanced" style="display:none" class="ag_section">
|
2912 |
+
<h2 class="section_title"><?php _e('Advanced', 'ag-custom-admin'); ?></h2>
|
2913 |
<table class="form-table" width="500px">
|
2914 |
<tr valign="center">
|
2915 |
<td colspan="2">
|
2916 |
+
<p class="agca-tip"><i><?php _e('<strong>Note: </strong>These options will override existing customizations', 'ag-custom-admin'); ?></i></p>
|
2917 |
</td><td></td>
|
2918 |
</tr>
|
2919 |
<tr valign="center">
|
2920 |
<th scope="row">
|
2921 |
+
<label title="<?php _e('Add custom CSS script to override existing styles', 'ag-custom-admin'); ?>" for="agca_script_css"><?php _e('Custom CSS script', 'ag-custom-admin'); ?></em></label>
|
2922 |
</th>
|
2923 |
<td>
|
2924 |
+
<textarea style="width:100%;height:200px" title="<?php _e('Add custom CSS script to override existing styles', 'ag-custom-admin'); ?>" rows="5" id="agca_custom_css" name="agca_custom_css" cols="40"><?php echo htmlspecialchars(get_option('agca_custom_css')); ?></textarea>
|
2925 |
</td>
|
2926 |
</tr>
|
2927 |
<tr valign="center">
|
2928 |
<th scope="row">
|
2929 |
+
<label title="<?php _e('Add additional custom JavaScript', 'ag-custom-admin'); ?>" for="agca_custom_js"><?php _e('Custom JavaScript', 'ag-custom-admin'); ?></label>
|
2930 |
</th>
|
2931 |
<td>
|
2932 |
+
<textarea style="width:100%;height:200px" title="<?php _e('Add additional custom JavaScript', 'ag-custom-admin'); ?>" rows="5" name="agca_custom_js" id="agca_custom_js" cols="40"><?php echo htmlspecialchars(get_option('agca_custom_js')); ?></textarea>
|
2933 |
</td>
|
2934 |
</tr>
|
2935 |
+
<?php
|
2936 |
+
$this->print_checkbox(array(
|
2937 |
+
'title'=>__('Temporary enable this option if you are experiencing any problems with saving AGCA options. Please turn it off after you are done with your customizations.', 'ag-custom-admin'),
|
2938 |
+
'name'=>'agca_disable_postver',
|
2939 |
+
'label'=>__('Temporary disable POST verification', 'ag-custom-admin'),
|
2940 |
+
));
|
2941 |
+
?>
|
2942 |
<tr valign="center">
|
2943 |
<th scope="row">
|
2944 |
+
<label title="<?php _e('Export / import settings', 'ag-custom-admin'); ?>" for="agca_export_import"><?php _e('Export / import settings', 'ag-custom-admin'); ?></label>
|
2945 |
</th>
|
2946 |
<td id="import_file_area">
|
2947 |
+
<input class="agca_button" type="button" name="agca_export_settings" value="<?php _e('Export Settings', 'ag-custom-admin'); ?>" onclick="exportSettings();"/></br>
|
2948 |
<input type="file" id="settings_import_file" name="settings_import_file" style="display: none"/>
|
2949 |
<input type="hidden" id="_agca_import_settings" name="_agca_import_settings" value="false" />
|
2950 |
<input type="hidden" id="_agca_export_settings" name="_agca_export_settings" value="false" />
|
2951 |
+
<input class="agca_button" type="button" name="agca_import_settings" value="<?php _e('Import Settings', 'ag-custom-admin'); ?>" onclick="importSettings();"/>
|
2952 |
</td>
|
2953 |
</tr>
|
2954 |
</table>
|
2955 |
</div>
|
2956 |
<p class="submit">
|
2957 |
+
<input type="button" id="save_plugin_settings" style="padding:0px" title="<?php _e('Save AG Custom Admin configuration', 'ag-custom-admin'); ?>" class="button-primary" value="<?php _e('Save Changes') ?>" onClick="savePluginSettings()" />
|
2958 |
</p>
|
2959 |
|
2960 |
</form>
|
2961 |
+
<form id="agca_templates_form" name="agca_templates_form" action="<?php echo get_site_url().$_SERVER['PHP_SELF'];?>?page=ag-custom-admin/plugin.php" method="post">
|
2962 |
<?php wp_nonce_field('agca_form','_agca_token'); ?>
|
2963 |
<input type="hidden" name="_agca_save_template" value="true" />
|
2964 |
<input type="hidden" id="templates_data" name="templates_data" value="" />
|
3008 |
<label tabindex="0" title='<?php echo $data['title'] ?>' for="<?php echo $data['name'] ?>" ><?php echo $data['label'] ?></label>
|
3009 |
</th>
|
3010 |
<td>
|
3011 |
+
<input type="checkbox" class="agca-checkbox <?php echo $strInputClass ?> " <?php echo $strOnchange ?> <?php echo $strInputAttributes ?> title='<?php _e('Toggle on/off', 'ag-custom-admin'); ?>' name="<?php echo $data['name'] ?>" value="true" <?php echo ($isChecked)?' checked="checked"':'' ?> />
|
3012 |
</td>
|
3013 |
</tr>
|
3014 |
<?php
|
3039 |
</th>
|
3040 |
<td>
|
3041 |
<input id="<?php echo $data['name'] ?>" title="<?php echo $data['title'] ?>" type="text" size="47" name="<?php echo $data['name'] ?>" value="<?php echo get_option($data['name']); ?>" />
|
3042 |
+
<a title="<?php _e('Clear', 'ag-custom-admin'); ?>" class="agca_button clear" onClick="jQuery('#<?php echo $data['name'] ?>').val('');"><span class="dashicons clear dashicons-no-alt"></span></a><?php echo $suffix ?>
|
3043 |
<?php echo $strHint ?>
|
3044 |
</td>
|
3045 |
</tr>
|
3070 |
<tr valign="center" class="color">
|
3071 |
<th><label title="<?php echo $title ?>" for="<?php echo $name ?>"><?php echo $label ?></label></th>
|
3072 |
<td><input type="text" id="<?php echo $name ?>" name="<?php echo $name ?>" class="color_picker" value="<?php echo $this->getAGCAColor($name); ?>" />
|
3073 |
+
<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>
|
3074 |
+
<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>
|
3075 |
</td>
|
3076 |
</tr>
|
3077 |
<?php
|
3090 |
?>
|
3091 |
|
3092 |
<tr valign="center">
|
3093 |
+
<th><label title="<?php _e('Change submenu item background color', 'ag-custom-admin'); ?>" for="color_admin_menu_submenu_background"><?php _e('Submenu button background color:', 'ag-custom-admin'); ?></label></th>
|
3094 |
<td><input type="text" id="color_admin_menu_submenu_background" name="color_admin_menu_submenu_background" class="color_picker" value="<?php echo $this->getAGCAColor('color_admin_menu_submenu_background'); ?>" />
|
3095 |
+
<input type="button" alt="color_admin_menu_submenu_background" class="pick_color_button agca_button" value="<?php _e('Pick color', 'ag-custom-admin'); ?>" />
|
3096 |
+
<input type="button" alt="color_admin_menu_submenu_background" class="pick_color_button_clear agca_button" value="<?php _e('Clear', 'ag-custom-admin'); ?>" />
|
3097 |
</td>
|
3098 |
</tr>
|
3099 |
<?php
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: wap
|
|
3 |
Donate link: http://wordpressadminpanel.com/ag-custom-admin/
|
4 |
Tags: admin, customize, hide, change admin, themes, admin themes, admin bar, login page
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 4.5
|
7 |
-
Stable tag: 5.
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl.txt
|
10 |
|
@@ -95,6 +95,12 @@ With this plugin you can easily customize WordPress **admin panel**, **login pag
|
|
95 |
|
96 |
= Premium Features =
|
97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
> <strong>Admin Themes</strong><br>
|
99 |
> 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 with only few clicks!
|
100 |
> We will add more themes with better styles and theme options in future.
|
@@ -111,8 +117,6 @@ If you are unable to login or you have any other problems, please check our [FAQ
|
|
111 |
|
112 |
For more information about the plugin please check [OFFICIAL PLUGIN'S SITE](http://wordpressadminpanel.com/ag-custom-admin/) <br>For more information about admin themes please check [THEMES SITE](http://wordpressadminpanel.com/themes/home)
|
113 |
|
114 |
-
**Important**: It's recommended to always update AG Custom Admin plugin before updating WordPress.
|
115 |
-
|
116 |
== Installation ==
|
117 |
|
118 |
1. Upload `ag-custom-admin` directory to the `/wp-content/plugins/` directory
|
@@ -155,6 +159,16 @@ If you have the latest WordPress and plugin versions and you still experience so
|
|
155 |
|
156 |
== Change Log ==
|
157 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
= 5.5 =
|
159 |
* Resolved JavaScript error on AGCA page in WP 4.5 version
|
160 |
* Added compatibility support with Cusmin plugin
|
@@ -479,6 +493,9 @@ If you have the latest WordPress and plugin versions and you still experience so
|
|
479 |
|
480 |
== Upgrade Notice ==
|
481 |
|
|
|
|
|
|
|
482 |
= 5.5 =
|
483 |
* Compatibility updates with WP 4.5 and some other plugins
|
484 |
|
3 |
Donate link: http://wordpressadminpanel.com/ag-custom-admin/
|
4 |
Tags: admin, customize, hide, change admin, themes, admin themes, admin bar, login page
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 4.5.2
|
7 |
+
Stable tag: 5.6
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl.txt
|
10 |
|
95 |
|
96 |
= Premium Features =
|
97 |
|
98 |
+
> <strong>Cusmin</strong><br>
|
99 |
+
> Cusmin is premium version of AG Custom Admin that is currently still in active development and not yet available for purchase.
|
100 |
+
> If you are interested to try it out for FREE, before it is officially released, please check our [Early Access Program](https://cusmin.com/eap).
|
101 |
+
>
|
102 |
+
> For more info about Cusmin, please go to [Cusmin](https://cusmin.com) site.
|
103 |
+
|
104 |
> <strong>Admin Themes</strong><br>
|
105 |
> 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 with only few clicks!
|
106 |
> We will add more themes with better styles and theme options in future.
|
117 |
|
118 |
For more information about the plugin please check [OFFICIAL PLUGIN'S SITE](http://wordpressadminpanel.com/ag-custom-admin/) <br>For more information about admin themes please check [THEMES SITE](http://wordpressadminpanel.com/themes/home)
|
119 |
|
|
|
|
|
120 |
== Installation ==
|
121 |
|
122 |
1. Upload `ag-custom-admin` directory to the `/wp-content/plugins/` directory
|
159 |
|
160 |
== Change Log ==
|
161 |
|
162 |
+
= 5.6 =
|
163 |
+
* Internationalization, ready for translation
|
164 |
+
* Added option for removing Profile menu item from user's menu
|
165 |
+
* Added patch for network admin dashboard notices
|
166 |
+
* Code refactoring
|
167 |
+
* Resolved save issues in multi-site environment (POST validation failing)
|
168 |
+
* Added patch for WPS Hide Login compatibility in multi-site environment
|
169 |
+
* Added max width for custom admin header image
|
170 |
+
* Removed "sub-menu" text from sub menu items in admin menu editor
|
171 |
+
|
172 |
= 5.5 =
|
173 |
* Resolved JavaScript error on AGCA page in WP 4.5 version
|
174 |
* Added compatibility support with Cusmin plugin
|
493 |
|
494 |
== Upgrade Notice ==
|
495 |
|
496 |
+
= 5.6 =
|
497 |
+
* Internationalization. Support for removing admin menu Profile button. Other patches and compatibility fixes.
|
498 |
+
|
499 |
= 5.5 =
|
500 |
* Compatibility updates with WP 4.5 and some other plugins
|
501 |
|
script/ag_script.js
CHANGED
@@ -96,10 +96,10 @@ function prettyEditMenuPage(){
|
|
96 |
});
|
97 |
};
|
98 |
function editMenuRow(url, originalName, newName, removed){
|
99 |
-
return '<tr class="top" data-url="'+url+'" style="background-color: rgb(216, 234, 216);"><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="
|
100 |
}
|
101 |
function editMenuSubrow(index, parentName, parentIndex, url, originalName, newName, removed){
|
102 |
-
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">
|
103 |
}
|
104 |
function createEditMenuPageNew(agca_menu){
|
105 |
for(var url in agca_menu){
|
@@ -174,35 +174,35 @@ function applyAdminMenuCustomizations(){
|
|
174 |
function showHideSection(text) {
|
175 |
switch(text)
|
176 |
{
|
177 |
-
case
|
178 |
jQuery('#section_general').show();
|
179 |
jQuery('#section_general .section_title').trigger('focus');
|
180 |
break;
|
181 |
-
case
|
182 |
jQuery('#section_admin_bar').show();
|
183 |
jQuery('#section_admin_bar .section_title').trigger('focus');
|
184 |
break;
|
185 |
-
case
|
186 |
jQuery('#section_admin_footer').show();
|
187 |
jQuery('#section_admin_footer .section_title').trigger('focus');
|
188 |
break;
|
189 |
-
case
|
190 |
jQuery('#section_dashboard_page').show();
|
191 |
jQuery('#section_dashboard_page .section_title').trigger('focus');
|
192 |
break;
|
193 |
-
case
|
194 |
jQuery('#section_login_page').show();
|
195 |
jQuery('#section_login_page .section_title').trigger('focus');
|
196 |
break;
|
197 |
-
case
|
198 |
jQuery('#section_admin_menu').show();
|
199 |
jQuery('#section_admin_menu .section_title').trigger('focus');
|
200 |
break;
|
201 |
-
case
|
202 |
jQuery('#section_ag_colorizer_settings').show();
|
203 |
jQuery('#section_ag_colorizer_settings .section_title').trigger('focus');
|
204 |
break;
|
205 |
-
case
|
206 |
if(!jQuery('#section_templates').hasClass("loaded")){
|
207 |
jQuery('#section_templates').addClass('loaded');
|
208 |
agca_client_init();
|
@@ -210,7 +210,7 @@ function showHideSection(text) {
|
|
210 |
jQuery('#section_templates').show();
|
211 |
jQuery('#section_templates .section_title').trigger('focus');
|
212 |
break;
|
213 |
-
case
|
214 |
jQuery('#section_advanced').show();
|
215 |
jQuery('#section_advanced .section_title').trigger('focus');
|
216 |
break;
|
@@ -234,7 +234,7 @@ function createTargetCombo(target,clas){
|
|
234 |
|
235 |
var combo = ""
|
236 |
|
237 |
-
combo+= " open in:<select";
|
238 |
if( clas != null){
|
239 |
combo+=" class=\"editTarget\" ";
|
240 |
}
|
@@ -278,7 +278,7 @@ function importSettings(){
|
|
278 |
jQuery('#agca_form').attr('enctype','multipart/form-data');
|
279 |
jQuery('#agca_form').submit();
|
280 |
}else{
|
281 |
-
alert(
|
282 |
}
|
283 |
}
|
284 |
|
@@ -300,7 +300,7 @@ jQuery(document).ready(function(){
|
|
300 |
var target = jQuery(this).parent().find('button').attr('target');
|
301 |
//console.log(target);
|
302 |
editingButtonNow = name;
|
303 |
-
jQuery(this).parent().append('<div id="temporary_button_edit">name:<input type="text" size="47" value="'+name+'" id="ag_add_adminmenu_name_edit" name="ag_add_adminmenu_name_edit" />url:<input type="text" size="47" value="'+url+'" id="ag_add_adminmenu_url_edit" name="ag_add_adminmenu_url_edit" />' + createTargetCombo(target,"edit")+ '<input type="button" id="ag_add_adminmenu_button_edit" name="ag_add_adminmenu_button_edit" value="
|
304 |
reloadRemoveButtonEvents();
|
305 |
}
|
306 |
});/*Save editing changes*/
|
@@ -411,7 +411,7 @@ jQuery(document).ready(function(){
|
|
411 |
jQuery('#ag_add_adminmenu_name').val("");
|
412 |
jQuery('#ag_add_adminmenu_url').val("");
|
413 |
jQuery('#ag_add_adminmenu_target').val("_self");
|
414 |
-
jQuery('#ag_add_adminmenu').append('<tr><td colspan="2"><button target="'+target+'" title="'+url+'" type="button">'+name+'</button> <a style="cursor:pointer;" title="Edit" class="button_edit"><span class="dashicons dashicons-edit"></span></a> <a style="cursor:pointer" title="
|
415 |
reloadRemoveButtonEvents();
|
416 |
});
|
417 |
|
96 |
});
|
97 |
};
|
98 |
function editMenuRow(url, originalName, newName, removed){
|
99 |
+
return '<tr class="top" data-url="'+url+'" style="background-color: rgb(216, 234, 216);"><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>';
|
100 |
}
|
101 |
function editMenuSubrow(index, parentName, parentIndex, url, originalName, newName, removed){
|
102 |
+
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>';
|
103 |
}
|
104 |
function createEditMenuPageNew(agca_menu){
|
105 |
for(var url in agca_menu){
|
174 |
function showHideSection(text) {
|
175 |
switch(text)
|
176 |
{
|
177 |
+
case agca_string.menu_general:
|
178 |
jQuery('#section_general').show();
|
179 |
jQuery('#section_general .section_title').trigger('focus');
|
180 |
break;
|
181 |
+
case agca_string.menu_admin_bar:
|
182 |
jQuery('#section_admin_bar').show();
|
183 |
jQuery('#section_admin_bar .section_title').trigger('focus');
|
184 |
break;
|
185 |
+
case agca_string.menu_footer:
|
186 |
jQuery('#section_admin_footer').show();
|
187 |
jQuery('#section_admin_footer .section_title').trigger('focus');
|
188 |
break;
|
189 |
+
case agca_string.menu_dashb:
|
190 |
jQuery('#section_dashboard_page').show();
|
191 |
jQuery('#section_dashboard_page .section_title').trigger('focus');
|
192 |
break;
|
193 |
+
case agca_string.menu_login:
|
194 |
jQuery('#section_login_page').show();
|
195 |
jQuery('#section_login_page .section_title').trigger('focus');
|
196 |
break;
|
197 |
+
case agca_string.menu_admin_menu:
|
198 |
jQuery('#section_admin_menu').show();
|
199 |
jQuery('#section_admin_menu .section_title').trigger('focus');
|
200 |
break;
|
201 |
+
case agca_string.menu_colorizer:
|
202 |
jQuery('#section_ag_colorizer_settings').show();
|
203 |
jQuery('#section_ag_colorizer_settings .section_title').trigger('focus');
|
204 |
break;
|
205 |
+
case agca_string.menu_themes:
|
206 |
if(!jQuery('#section_templates').hasClass("loaded")){
|
207 |
jQuery('#section_templates').addClass('loaded');
|
208 |
agca_client_init();
|
210 |
jQuery('#section_templates').show();
|
211 |
jQuery('#section_templates .section_title').trigger('focus');
|
212 |
break;
|
213 |
+
case agca_string.menu_advanced:
|
214 |
jQuery('#section_advanced').show();
|
215 |
jQuery('#section_advanced .section_title').trigger('focus');
|
216 |
break;
|
234 |
|
235 |
var combo = ""
|
236 |
|
237 |
+
combo+= " "+agca_string.open+" "+agca_string.in+":<select";
|
238 |
if( clas != null){
|
239 |
combo+=" class=\"editTarget\" ";
|
240 |
}
|
278 |
jQuery('#agca_form').attr('enctype','multipart/form-data');
|
279 |
jQuery('#agca_form').submit();
|
280 |
}else{
|
281 |
+
alert(agca_string.file_imp_not_sel);
|
282 |
}
|
283 |
}
|
284 |
|
300 |
var target = jQuery(this).parent().find('button').attr('target');
|
301 |
//console.log(target);
|
302 |
editingButtonNow = name;
|
303 |
+
jQuery(this).parent().append('<div id="temporary_button_edit">name:<input type="text" size="47" value="'+name+'" id="ag_add_adminmenu_name_edit" name="ag_add_adminmenu_name_edit" />url:<input type="text" size="47" value="'+url+'" id="ag_add_adminmenu_url_edit" name="ag_add_adminmenu_url_edit" />' + createTargetCombo(target,"edit")+ '<input type="button" id="ag_add_adminmenu_button_edit" name="ag_add_adminmenu_button_edit" value="'+agca_string.save_changes+'" /></div>');
|
304 |
reloadRemoveButtonEvents();
|
305 |
}
|
306 |
});/*Save editing changes*/
|
411 |
jQuery('#ag_add_adminmenu_name').val("");
|
412 |
jQuery('#ag_add_adminmenu_url').val("");
|
413 |
jQuery('#ag_add_adminmenu_target').val("_self");
|
414 |
+
jQuery('#ag_add_adminmenu').append('<tr><td colspan="2"><button target="'+target+'" title="'+url+'" type="button">'+name+'</button> <a style="cursor:pointer;" title="Edit" class="button_edit"><span class="dashicons dashicons-edit"></span></a> <a style="cursor:pointer" title="'+agca_string.delete+'" class="button_remove"><span class="dashicons dashicons-no"></span></a></td><td></td></tr>');
|
415 |
reloadRemoveButtonEvents();
|
416 |
});
|
417 |
|
style/admin.css
DELETED
File without changes
|
style/login.css
DELETED
File without changes
|
uninstall.php
CHANGED
@@ -84,6 +84,7 @@
|
|
84 |
|
85 |
delete_option( 'agca_selected_template' );
|
86 |
delete_option( 'agca_templates' );
|
87 |
-
delete_option( 'agca_disablewarning' );
|
88 |
-
|
|
|
89 |
?>
|
84 |
|
85 |
delete_option( 'agca_selected_template' );
|
86 |
delete_option( 'agca_templates' );
|
87 |
+
delete_option( 'agca_disablewarning' );
|
88 |
+
delete_option( 'agca_disable_postver' );
|
89 |
+
delete_option( 'agca_menu_remove_client_profile' );
|
90 |
?>
|