Version Description
Download this release
Release Info
Developer | cifi |
Plugin | Starbox – the Author Box for Humans |
Version | 3.1.4 |
Comparing to | |
See all releases |
Code changes from version 3.0.6 to 3.1.4
- {classes → 3.0.2/classes}/Action.php +0 -0
- {classes → 3.0.2/classes}/BlockController.php +0 -0
- {classes → 3.0.2/classes}/DisplayController.php +0 -0
- {classes → 3.0.2/classes}/Error.php +0 -0
- {classes → 3.0.2/classes}/FrontController.php +0 -0
- {classes → 3.0.2/classes}/HookController.php +0 -0
- {classes → 3.0.2/classes}/ObjController.php +0 -0
- {classes → 3.0.2/classes}/Tools.php +0 -0
- {config → 3.0.2/config}/config.php +0 -0
- {config → 3.0.2/config}/paths.php +0 -0
- {controllers → 3.0.2/controllers}/Frontend.php +0 -0
- {controllers → 3.0.2/controllers}/Menu.php +0 -0
- {core → 3.0.2/core}/UserSettings.php +0 -0
- {core → 3.0.2/core}/config.xml +0 -0
- {languages → 3.0.2/languages}/starbox-de_DE.mo +0 -0
- {languages → 3.0.2/languages}/starbox-de_DE.po +0 -0
- {languages → 3.0.2/languages}/starbox-fr_FR.mo +0 -0
- {languages → 3.0.2/languages}/starbox-fr_FR.po +0 -0
- {languages → 3.0.2/languages}/starbox-ro_RO.mo +0 -0
- {languages → 3.0.2/languages}/starbox-ro_RO.po +0 -0
- 3.0.2/models/Frontend.php +340 -0
- {models → 3.0.2/models}/Menu.php +0 -0
- {models → 3.0.2/models}/UserSettings.php +0 -0
- 3.0.2/readme.txt +189 -0
- screenshot-1.jpg → 3.0.2/screenshot-1.jpg +0 -0
- screenshot-10.jpg → 3.0.2/screenshot-10.jpg +0 -0
- screenshot-11.jpg → 3.0.2/screenshot-11.jpg +0 -0
- screenshot-12.jpg → 3.0.2/screenshot-12.jpg +0 -0
- screenshot-13.jpg → 3.0.2/screenshot-13.jpg +0 -0
- screenshot-14.jpg → 3.0.2/screenshot-14.jpg +0 -0
- screenshot-15.jpg → 3.0.2/screenshot-15.jpg +0 -0
- screenshot-16.jpg → 3.0.2/screenshot-16.jpg +0 -0
- screenshot-2.jpg → 3.0.2/screenshot-2.jpg +0 -0
- screenshot-3.jpg → 3.0.2/screenshot-3.jpg +0 -0
- screenshot-4.jpg → 3.0.2/screenshot-4.jpg +0 -0
- screenshot-5.jpg → 3.0.2/screenshot-5.jpg +0 -0
- screenshot-6.jpg → 3.0.2/screenshot-6.jpg +0 -0
- screenshot-7.jpg → 3.0.2/screenshot-7.jpg +0 -0
- screenshot-8.jpg → 3.0.2/screenshot-8.jpg +0 -0
- screenshot-9.jpg → 3.0.2/screenshot-9.jpg +0 -0
- 3.0.2/starbox.php +41 -0
- 3.0.2/themes/admin/Menu.php +159 -0
- {themes → 3.0.2/themes}/admin/Notices.php +0 -0
- {themes → 3.0.2/themes}/admin/UserSettings.php +0 -0
- {themes → 3.0.2/themes}/admin/css/hidedefault.css +0 -0
- 3.0.2/themes/admin/css/menu.css +1 -0
- {themes → 3.0.2/themes}/admin/img/loading.gif +0 -0
- {themes → 3.0.2/themes}/admin/img/minloading.gif +0 -0
- {themes → 3.0.2/themes}/admin/img/sprite.png +0 -0
- {themes → 3.0.2/themes}/admin/js/menu.js +0 -0
- 3.0.2/themes/business/css/frontend.css +1 -0
- {themes → 3.0.2/themes}/business/img/sprite.png +0 -0
- {themes → 3.0.2/themes}/business/js/frontend.js +0 -0
- 3.0.2/themes/drop-down/css/frontend.css +1 -0
- {themes → 3.0.2/themes}/drop-down/img/sprite.png +0 -0
- {themes → 3.0.2/themes}/drop-down/js/frontend.js +0 -0
- 3.0.2/themes/fancy/css/frontend.css +1 -0
- {themes → 3.0.2/themes}/fancy/img/sprite.png +0 -0
- {themes → 3.0.2/themes}/fancy/js/frontend.js +0 -0
- 3.0.2/themes/minimal/css/frontend.css +1 -0
- {themes → 3.0.2/themes}/minimal/img/sprite.png +0 -0
- 3.0.2/themes/topstar-round/css/frontend.css +1 -0
- {themes → 3.0.2/themes}/topstar-round/img/sprite.png +0 -0
- {themes → 3.0.2/themes}/topstar-round/js/frontend.js +0 -0
- 3.0.2/themes/topstar/css/frontend.css +1 -0
- {themes → 3.0.2/themes}/topstar/img/sprite.png +0 -0
- {themes → 3.0.2/themes}/topstar/js/frontend.js +0 -0
- uninstall.php → 3.0.2/uninstall.php +0 -0
- 3.0.3/classes/Action.php +108 -0
- 3.0.3/classes/BlockController.php +91 -0
- 3.0.3/classes/DisplayController.php +108 -0
- 3.0.3/classes/Error.php +94 -0
- 3.0.3/classes/FrontController.php +125 -0
- 3.0.3/classes/HookController.php +170 -0
- 3.0.3/classes/ObjController.php +209 -0
- 3.0.3/classes/Tools.php +434 -0
- 3.0.3/config/config.php +29 -0
- 3.0.3/config/paths.php +29 -0
- 3.0.3/controllers/Frontend.php +495 -0
- 3.0.3/controllers/Menu.php +101 -0
- 3.0.3/core/UserSettings.php +135 -0
- 3.0.3/core/config.xml +30 -0
- 3.0.3/languages/starbox-de_DE.mo +0 -0
- 3.0.3/languages/starbox-de_DE.po +463 -0
- 3.0.3/languages/starbox-fr_FR.mo +0 -0
- 3.0.3/languages/starbox-fr_FR.po +418 -0
- 3.0.3/languages/starbox-ro_RO.mo +0 -0
- 3.0.3/languages/starbox-ro_RO.po +400 -0
- {models → 3.0.3/models}/Frontend.php +0 -0
- 3.0.3/models/Menu.php +144 -0
- 3.0.3/models/UserSettings.php +192 -0
- 3.0.3/readme.txt +191 -0
- 3.0.3/screenshot-1.jpg +0 -0
- 3.0.3/screenshot-10.jpg +0 -0
- 3.0.3/screenshot-11.jpg +0 -0
- 3.0.3/screenshot-12.jpg +0 -0
- 3.0.3/screenshot-13.jpg +0 -0
- 3.0.3/screenshot-14.jpg +0 -0
- 3.0.3/screenshot-15.jpg +0 -0
- 3.0.3/screenshot-16.jpg +0 -0
- 3.0.3/screenshot-2.jpg +0 -0
- 3.0.3/screenshot-3.jpg +0 -0
- 3.0.3/screenshot-4.jpg +0 -0
- 3.0.3/screenshot-5.jpg +0 -0
- 3.0.3/screenshot-6.jpg +0 -0
- 3.0.3/screenshot-7.jpg +0 -0
- 3.0.3/screenshot-8.jpg +0 -0
- 3.0.3/screenshot-9.jpg +0 -0
- 3.0.3/starbox.php +41 -0
- 3.0.3/themes/admin/Menu.php +159 -0
- 3.0.3/themes/admin/Notices.php +16 -0
- 3.0.3/themes/admin/UserSettings.php +167 -0
- 3.0.3/themes/admin/css/hidedefault.css +1 -0
- 3.0.3/themes/admin/css/menu.css +1 -0
- 3.0.3/themes/admin/img/loading.gif +0 -0
- 3.0.3/themes/admin/img/minloading.gif +0 -0
- 3.0.3/themes/admin/img/sprite.png +0 -0
- 3.0.3/themes/admin/js/menu.js +6 -0
- 3.0.3/themes/business/css/frontend.css +1 -0
- 3.0.3/themes/business/img/sprite.png +0 -0
- 3.0.3/themes/business/js/frontend.js +12 -0
- 3.0.3/themes/drop-down/css/frontend.css +1 -0
- 3.0.3/themes/drop-down/img/sprite.png +0 -0
- 3.0.3/themes/drop-down/js/frontend.js +12 -0
- 3.0.3/themes/fancy/css/frontend.css +1 -0
- 3.0.3/themes/fancy/img/sprite.png +0 -0
- 3.0.3/themes/fancy/js/frontend.js +12 -0
- 3.0.3/themes/minimal/css/frontend.css +1 -0
- 3.0.3/themes/minimal/img/sprite.png +0 -0
- 3.0.3/themes/topstar-round/css/frontend.css +1 -0
- 3.0.3/themes/topstar-round/img/sprite.png +0 -0
- 3.0.3/themes/topstar-round/js/frontend.js +6 -0
- 3.0.3/themes/topstar/css/frontend.css +1 -0
- 3.0.3/themes/topstar/img/sprite.png +0 -0
- 3.0.3/themes/topstar/js/frontend.js +6 -0
- 3.0.3/uninstall.php +14 -0
- 3.0.4/classes/Action.php +108 -0
- 3.0.4/classes/BlockController.php +91 -0
- 3.0.4/classes/DisplayController.php +108 -0
- 3.0.4/classes/Error.php +94 -0
- 3.0.4/classes/FrontController.php +125 -0
- 3.0.4/classes/HookController.php +170 -0
- 3.0.4/classes/ObjController.php +209 -0
- 3.0.4/classes/Tools.php +434 -0
- 3.0.4/config/config.php +29 -0
- 3.0.4/config/paths.php +29 -0
- 3.0.4/controllers/Frontend.php +495 -0
- 3.0.4/controllers/Menu.php +101 -0
- 3.0.4/core/UserSettings.php +135 -0
- 3.0.4/core/config.xml +30 -0
- 3.0.4/languages/starbox-de_DE.mo +0 -0
- 3.0.4/languages/starbox-de_DE.po +463 -0
- 3.0.4/languages/starbox-fr_FR.mo +0 -0
- 3.0.4/languages/starbox-fr_FR.po +418 -0
- {languages → 3.0.4/languages}/starbox-pt_BR.mo +0 -0
- {languages → 3.0.4/languages}/starbox-pt_BR.po +0 -0
- 3.0.4/languages/starbox-ro_RO.mo +0 -0
- 3.0.4/languages/starbox-ro_RO.po +400 -0
- 3.0.4/models/Frontend.php +340 -0
- 3.0.4/models/Menu.php +144 -0
- 3.0.4/models/UserSettings.php +192 -0
- 3.0.4/readme.txt +195 -0
- 3.0.4/screenshot-1.jpg +0 -0
- 3.0.4/screenshot-10.jpg +0 -0
- 3.0.4/screenshot-11.jpg +0 -0
- 3.0.4/screenshot-12.jpg +0 -0
- 3.0.4/screenshot-13.jpg +0 -0
- 3.0.4/screenshot-14.jpg +0 -0
- 3.0.4/screenshot-15.jpg +0 -0
- 3.0.4/screenshot-16.jpg +0 -0
- 3.0.4/screenshot-2.jpg +0 -0
- 3.0.4/screenshot-3.jpg +0 -0
- 3.0.4/screenshot-4.jpg +0 -0
- 3.0.4/screenshot-5.jpg +0 -0
- 3.0.4/screenshot-6.jpg +0 -0
- 3.0.4/screenshot-7.jpg +0 -0
- 3.0.4/screenshot-8.jpg +0 -0
- 3.0.4/screenshot-9.jpg +0 -0
- 3.0.4/starbox.php +41 -0
- 3.0.4/themes/admin/Menu.php +159 -0
- 3.0.4/themes/admin/Notices.php +16 -0
- 3.0.4/themes/admin/UserSettings.php +167 -0
- 3.0.4/themes/admin/css/hidedefault.css +1 -0
- 3.0.4/themes/admin/css/menu.css +1 -0
- 3.0.4/themes/admin/img/loading.gif +0 -0
- 3.0.4/themes/admin/img/minloading.gif +0 -0
- 3.0.4/themes/admin/img/sprite.png +0 -0
- 3.0.4/themes/admin/js/menu.js +6 -0
- 3.0.4/themes/business/css/frontend.css +1 -0
- 3.0.4/themes/business/img/sprite.png +0 -0
- 3.0.4/themes/business/js/frontend.js +12 -0
- 3.0.4/themes/drop-down/css/frontend.css +1 -0
- 3.0.4/themes/drop-down/img/sprite.png +0 -0
- 3.0.4/themes/drop-down/js/frontend.js +12 -0
- 3.0.4/themes/fancy/css/frontend.css +1 -0
- 3.0.4/themes/fancy/img/sprite.png +0 -0
- 3.0.4/themes/fancy/js/frontend.js +12 -0
- 3.0.4/themes/minimal/css/frontend.css +1 -0
- 3.0.4/themes/minimal/img/sprite.png +0 -0
- 3.0.4/themes/topstar-round/css/frontend.css +1 -0
- 3.0.4/themes/topstar-round/img/sprite.png +0 -0
- 3.0.4/themes/topstar-round/js/frontend.js +6 -0
- 3.0.4/themes/topstar/css/frontend.css +1 -0
- 3.0.4/themes/topstar/img/sprite.png +0 -0
- 3.0.4/themes/topstar/js/frontend.js +6 -0
- 3.0.4/uninstall.php +14 -0
- 3.0.6/classes/Action.php +108 -0
- 3.0.6/classes/BlockController.php +91 -0
- 3.0.6/classes/DisplayController.php +108 -0
- 3.0.6/classes/Error.php +94 -0
- 3.0.6/classes/FrontController.php +125 -0
- 3.0.6/classes/HookController.php +170 -0
- 3.0.6/classes/ObjController.php +209 -0
- 3.0.6/classes/Tools.php +434 -0
- 3.0.6/config/config.php +29 -0
- 3.0.6/config/paths.php +29 -0
- 3.0.6/controllers/Frontend.php +495 -0
- 3.0.6/controllers/Menu.php +101 -0
- 3.0.6/core/UserSettings.php +135 -0
- 3.0.6/core/config.xml +30 -0
- 3.0.6/languages/starbox-de_DE.mo +0 -0
- 3.0.6/languages/starbox-de_DE.po +463 -0
- 3.0.6/languages/starbox-fr_FR.mo +0 -0
- 3.0.6/languages/starbox-fr_FR.po +418 -0
- 3.0.6/languages/starbox-pt_BR.mo +0 -0
- 3.0.6/languages/starbox-pt_BR.po +411 -0
- 3.0.6/languages/starbox-ro_RO.mo +0 -0
- 3.0.6/languages/starbox-ro_RO.po +400 -0
- 3.0.6/models/Frontend.php +340 -0
- 3.0.6/models/Menu.php +144 -0
- 3.0.6/models/UserSettings.php +192 -0
- readme.txt → 3.0.6/readme.txt +0 -0
- 3.0.6/screenshot-1.jpg +0 -0
- 3.0.6/screenshot-10.jpg +0 -0
- 3.0.6/screenshot-11.jpg +0 -0
- 3.0.6/screenshot-12.jpg +0 -0
- 3.0.6/screenshot-13.jpg +0 -0
- 3.0.6/screenshot-14.jpg +0 -0
- 3.0.6/screenshot-15.jpg +0 -0
- 3.0.6/screenshot-16.jpg +0 -0
- 3.0.6/screenshot-2.jpg +0 -0
- 3.0.6/screenshot-3.jpg +0 -0
- 3.0.6/screenshot-4.jpg +0 -0
- 3.0.6/screenshot-5.jpg +0 -0
- 3.0.6/screenshot-6.jpg +0 -0
- 3.0.6/screenshot-7.jpg +0 -0
- 3.0.6/screenshot-8.jpg +0 -0
- 3.0.6/screenshot-9.jpg +0 -0
- starbox.php → 3.0.6/starbox.php +0 -0
- {themes → 3.0.6/themes}/admin/Menu.php +0 -0
- 3.0.6/themes/admin/Notices.php +16 -0
- 3.0.6/themes/admin/UserSettings.php +167 -0
- 3.0.6/themes/admin/css/hidedefault.css +1 -0
- {themes → 3.0.6/themes}/admin/css/menu.css +0 -0
- 3.0.6/themes/admin/img/loading.gif +0 -0
- 3.0.6/themes/admin/img/minloading.gif +0 -0
- 3.0.6/themes/admin/img/sprite.png +0 -0
- {themes → 3.0.6/themes}/admin/img/squirrly_seo.png +0 -0
- 3.0.6/themes/admin/js/menu.js +6 -0
- {themes → 3.0.6/themes}/business/css/frontend.css +0 -0
- 3.0.6/themes/business/img/sprite.png +0 -0
- 3.0.6/themes/business/js/frontend.js +12 -0
- {themes → 3.0.6/themes}/drop-down/css/frontend.css +0 -0
- 3.0.6/themes/drop-down/img/sprite.png +0 -0
- 3.0.6/themes/drop-down/js/frontend.js +12 -0
- {themes → 3.0.6/themes}/fancy/css/frontend.css +0 -0
- 3.0.6/themes/fancy/img/sprite.png +0 -0
- 3.0.6/themes/fancy/js/frontend.js +12 -0
- {themes → 3.0.6/themes}/minimal/css/frontend.css +0 -0
- 3.0.6/themes/minimal/img/sprite.png +0 -0
- {themes → 3.0.6/themes}/topstar-round/css/frontend.css +0 -0
- 3.0.6/themes/topstar-round/img/sprite.png +0 -0
- 3.0.6/themes/topstar-round/js/frontend.js +6 -0
- {themes → 3.0.6/themes}/topstar/css/frontend.css +0 -0
- 3.0.6/themes/topstar/img/sprite.png +0 -0
- 3.0.6/themes/topstar/js/frontend.js +6 -0
- 3.0.6/uninstall.php +14 -0
{classes → 3.0.2/classes}/Action.php
RENAMED
File without changes
|
{classes → 3.0.2/classes}/BlockController.php
RENAMED
File without changes
|
{classes → 3.0.2/classes}/DisplayController.php
RENAMED
File without changes
|
{classes → 3.0.2/classes}/Error.php
RENAMED
File without changes
|
{classes → 3.0.2/classes}/FrontController.php
RENAMED
File without changes
|
{classes → 3.0.2/classes}/HookController.php
RENAMED
File without changes
|
{classes → 3.0.2/classes}/ObjController.php
RENAMED
File without changes
|
{classes → 3.0.2/classes}/Tools.php
RENAMED
File without changes
|
{config → 3.0.2/config}/config.php
RENAMED
File without changes
|
{config → 3.0.2/config}/paths.php
RENAMED
File without changes
|
{controllers → 3.0.2/controllers}/Frontend.php
RENAMED
File without changes
|
{controllers → 3.0.2/controllers}/Menu.php
RENAMED
File without changes
|
{core → 3.0.2/core}/UserSettings.php
RENAMED
File without changes
|
{core → 3.0.2/core}/config.xml
RENAMED
File without changes
|
{languages → 3.0.2/languages}/starbox-de_DE.mo
RENAMED
File without changes
|
{languages → 3.0.2/languages}/starbox-de_DE.po
RENAMED
File without changes
|
{languages → 3.0.2/languages}/starbox-fr_FR.mo
RENAMED
File without changes
|
{languages → 3.0.2/languages}/starbox-fr_FR.po
RENAMED
File without changes
|
{languages → 3.0.2/languages}/starbox-ro_RO.mo
RENAMED
File without changes
|
{languages → 3.0.2/languages}/starbox-ro_RO.po
RENAMED
File without changes
|
3.0.2/models/Frontend.php
ADDED
@@ -0,0 +1,340 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class ABH_Models_Frontend {
|
4 |
+
|
5 |
+
public $author;
|
6 |
+
public $details;
|
7 |
+
public $category = null;
|
8 |
+
public $position;
|
9 |
+
public $single = true;
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Get the html author box
|
13 |
+
* @global object $wp_query
|
14 |
+
* @return string
|
15 |
+
*/
|
16 |
+
public function getAuthorBox() {
|
17 |
+
global $wp_query;
|
18 |
+
|
19 |
+
if (!isset($this->author))
|
20 |
+
return;
|
21 |
+
|
22 |
+
$content = '';
|
23 |
+
|
24 |
+
if (isset($this->author) && isset($this->author->ID)) {
|
25 |
+
if (!isset($this->author->user_description))
|
26 |
+
$this->author->user_description = '';
|
27 |
+
|
28 |
+
if ($this->details['abh_theme'] == 'default')
|
29 |
+
$this->details['abh_theme'] = ABH_Classes_Tools::getOption('abh_theme');
|
30 |
+
|
31 |
+
$content .= '
|
32 |
+
<div class="abh_box abh_box_' . $this->position . ' abh_box_' . $this->details['abh_theme'] . '">
|
33 |
+
<ul class="abh_tabs">
|
34 |
+
<li class="abh_about abh_active"><a href="#abh_about">' . __('About', _ABH_PLUGIN_NAME_) . '</a></li>
|
35 |
+
<li class="abh_posts"><a href="#abh_posts">' . __('Latest Posts', _ABH_PLUGIN_NAME_) . '</a></li>
|
36 |
+
</ul>
|
37 |
+
<div class="abh_tab_content">' .
|
38 |
+
$this->showAuthorDescription() .
|
39 |
+
$this->showAuthorPosts() . '
|
40 |
+
</div>
|
41 |
+
</div>';
|
42 |
+
|
43 |
+
return $this->clearTags($content);
|
44 |
+
}
|
45 |
+
return '';
|
46 |
+
}
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Get the image for the author
|
50 |
+
* @return string
|
51 |
+
*/
|
52 |
+
public function getProfileImage() {
|
53 |
+
if (isset($this->details['abh_gravatar']) && $this->details['abh_gravatar'] <> '' && file_exists(_ABH_GRAVATAR_DIR_ . $this->details['abh_gravatar'])) {
|
54 |
+
return '<img src="' . _ABH_GRAVATAR_URL_ . $this->details['abh_gravatar'] . '" class="photo" width="80" />';
|
55 |
+
} else {
|
56 |
+
return get_avatar($this->author->ID, 80);
|
57 |
+
}
|
58 |
+
}
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Get the author Title and Description
|
62 |
+
* @return string
|
63 |
+
*/
|
64 |
+
private function showAuthorDescription() {
|
65 |
+
$content = '
|
66 |
+
<section class="' . (($this->single) ? 'vcard' : '') . ' abh_about_tab abh_tab" style="display:block">
|
67 |
+
<div class="abh_image">
|
68 |
+
' . (($this->author->user_url) ? '<a href="' . $this->author->user_url . '" class="url" target="_blank" title="' . $this->author->display_name . '">' . $this->getProfileImage() . '</a>' : '<a href="' . get_author_posts_url($this->author->ID) . '" class="url" title="' . $this->author->display_name . '">' . $this->getProfileImage() . '</a>') . '
|
69 |
+
</div>
|
70 |
+
<div class="abh_social"> ' . $this->getSocial() . '</div>
|
71 |
+
<div class="abh_text">
|
72 |
+
<h3 class="fn name" ' . ((ABH_Classes_Tools::getOption('abh_titlefontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_titlefontsize') . ' !important;"' : '') . '>' . (($this->author->user_url) ? '<a href="' . $this->author->user_url . '" class="url" target="_blank">' . $this->author->display_name . '</a>' : '<a href="' . get_author_posts_url($this->author->ID) . '" class="url">' . $this->author->display_name . '</a>' ) . '</h3>
|
73 |
+
<div class="abh_job" ' . ((ABH_Classes_Tools::getOption('abh_descfontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_descfontsize') . ' !important;"' : '') . '>' . (($this->details['abh_title'] <> '' && $this->details['abh_company'] <> '') ? '<span class="title" ' . ((ABH_Classes_Tools::getOption('abh_descfontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_descfontsize') . ' !important;"' : '') . '>' . $this->details['abh_title'] . '</span> ' . __('at', _ABH_PLUGIN_NAME_) . ' <span class="org" ' . ((ABH_Classes_Tools::getOption('abh_descfontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_descfontsize') . ' !important;"' : '') . '>' . (($this->details['abh_company_url'] <> '') ? sprintf('<a href="%s" target="_blank">%s</a>', $this->details['abh_company_url'], $this->details['abh_company']) : $this->details['abh_company']) . '</span>' : '') . '</div>
|
74 |
+
<div class="description note abh_description" ' . ((ABH_Classes_Tools::getOption('abh_descfontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_descfontsize') . ' !important;"' : '') . '>' . ((isset($this->details['abh_extra_description']) && $this->details['abh_extra_description'] <> '') ? nl2br($this->details['abh_extra_description']) : nl2br($this->author->user_description)) . '</div>
|
75 |
+
</div>
|
76 |
+
</section>';
|
77 |
+
return $content;
|
78 |
+
}
|
79 |
+
|
80 |
+
/**
|
81 |
+
* Get the html author latest posts
|
82 |
+
* @return string
|
83 |
+
*/
|
84 |
+
private function showAuthorPosts() {
|
85 |
+
$content = '
|
86 |
+
<section class="abh_posts_tab abh_tab" >
|
87 |
+
<div class="abh_image">
|
88 |
+
' . (($this->author->user_url) ? '<a href="' . $this->author->user_url . '" class="url" target="_blank" title="' . $this->author->display_name . '">' . $this->getProfileImage() . '</a>' : '<a href="' . get_author_posts_url($this->author->ID) . '" class="url" title="' . $this->author->display_name . '">' . $this->getProfileImage() . '</a>') . '
|
89 |
+
</div>
|
90 |
+
<div class="abh_social"> ' . $this->getSocial() . '</div>
|
91 |
+
<div class="abh_text">
|
92 |
+
<h4 ' . ((ABH_Classes_Tools::getOption('abh_titlefontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_titlefontsize') . ' !important;"' : '') . '>' . sprintf(__('Latest posts by %s', _ABH_PLUGIN_NAME_), $this->author->display_name) . ' <span class="abh_allposts">(<a href="' . get_author_posts_url($this->author->ID) . '">' . __('see all', _ABH_PLUGIN_NAME_) . '</a>)</span></h4>
|
93 |
+
<div class="abh_description note" >' . $this->getLatestPosts() . '</div>
|
94 |
+
</div>
|
95 |
+
</section>';
|
96 |
+
return $content;
|
97 |
+
}
|
98 |
+
|
99 |
+
/**
|
100 |
+
* Get the social icon for the author
|
101 |
+
* @return string
|
102 |
+
*/
|
103 |
+
private function getSocial() {
|
104 |
+
$content = '';
|
105 |
+
$count = 0;
|
106 |
+
$nofollow = (!$this->details['abh_nofollow_social'] == 0) ? 'rel="nofollow"' : '';
|
107 |
+
|
108 |
+
if (isset($this->details['abh_facebook']) && $this->details['abh_facebook'] <> '') {
|
109 |
+
$count++;
|
110 |
+
$content .= '<a href="' . ((strpos($this->details['abh_facebook'], 'http') === false) ? 'http://facebook.com/' : '') . $this->details['abh_facebook'] . '" title="' . __('Facebook', _ABH_PLUGIN_NAME_) . '" class="abh_facebook" target="_blank" ' . $nofollow . '></a>';
|
111 |
+
}
|
112 |
+
if (isset($this->details['abh_twitter']) && $this->details['abh_twitter'] <> '') {
|
113 |
+
$count++;
|
114 |
+
$content .= '<a href="' . ((strpos($this->details['abh_twitter'], 'http') === false) ? 'http://twitter.com/' : '') . $this->details['abh_twitter'] . '" title="' . __('Twitter', _ABH_PLUGIN_NAME_) . '" class="abh_twitter" target="_blank" ' . $nofollow . '></a>';
|
115 |
+
}
|
116 |
+
if (isset($this->details['abh_google']) && $this->details['abh_google'] <> '') {
|
117 |
+
$count++;
|
118 |
+
if ($this->single)
|
119 |
+
$content .= '<a href="' . ((strpos($this->details['abh_google'], 'http') === false) ? 'http://plus.google.com/' : '') . $this->details['abh_google'] . '?rel=author" title="' . __('Google Plus', _ABH_PLUGIN_NAME_) . '" class="abh_google" rel="author" target="_blank" ' . $nofollow . '></a>';
|
120 |
+
else
|
121 |
+
$content .= '<a href="' . ((strpos($this->details['abh_google'], 'http') === false) ? 'http://plus.google.com/' : '') . $this->details['abh_google'] . '" title="' . __('Google Plus', _ABH_PLUGIN_NAME_) . '" class="abh_google" target="_blank" ' . $nofollow . '></a>';
|
122 |
+
}
|
123 |
+
if (isset($this->details['abh_linkedin']) && $this->details['abh_linkedin'] <> '') {
|
124 |
+
$count++;
|
125 |
+
$content .= '<a href="' . ((strpos($this->details['abh_linkedin'], 'http') === false) ? 'http://www.linkedin.com/in/' : '') . $this->details['abh_linkedin'] . '" title="' . __('LinkedIn', _ABH_PLUGIN_NAME_) . '" class="abh_linkedin" target="_blank" ' . $nofollow . '></a>';
|
126 |
+
}
|
127 |
+
if (isset($this->details['abh_instagram']) && $this->details['abh_instagram'] <> '') {
|
128 |
+
$count++;
|
129 |
+
$content .= '<a href="' . ((strpos($this->details['abh_instagram'], 'http') === false) ? 'http://instagram.com/' : '') . $this->details['abh_instagram'] . '" title="' . __('Instagram', _ABH_PLUGIN_NAME_) . '" class="abh_instagram" target="_blank" ' . $nofollow . '></a>';
|
130 |
+
}
|
131 |
+
if (isset($this->details['abh_flickr']) && $this->details['abh_flickr'] <> '') {
|
132 |
+
$count++;
|
133 |
+
$content .= '<a href="' . ((strpos($this->details['abh_flickr'], 'http') === false) ? 'http://www.flickr.com/photos/' : '') . $this->details['abh_flickr'] . '" title="' . __('Flickr', _ABH_PLUGIN_NAME_) . '" class="abh_flickr" target="_blank" ' . $nofollow . '></a>';
|
134 |
+
}
|
135 |
+
if (isset($this->details['abh_pinterest']) && $this->details['abh_pinterest'] <> '') {
|
136 |
+
$count++;
|
137 |
+
$content .= '<a href="' . ((strpos($this->details['abh_pinterest'], 'http') === false) ? 'http://pinterest.com/' : '') . $this->details['abh_pinterest'] . '" title="' . __('Pinterest', _ABH_PLUGIN_NAME_) . '" class="abh_pinterest" target="_blank" ' . $nofollow . '></a>';
|
138 |
+
}
|
139 |
+
if (isset($this->details['abh_tumblr']) && $this->details['abh_tumblr'] <> '') {
|
140 |
+
$count++;
|
141 |
+
$content .= '<a href="' . ((strpos($this->details['abh_tumblr'], 'http') === false) ? 'http://' . $this->details['abh_tumblr'] . '.tumblr.com/' : $this->details['abh_tumblr']) . '" title="' . __('Tumblr', _ABH_PLUGIN_NAME_) . '" class="abh_tumblr" target="_blank" ' . $nofollow . '></a>';
|
142 |
+
}
|
143 |
+
if (isset($this->details['abh_youtube']) && $this->details['abh_youtube'] <> '') {
|
144 |
+
$count++;
|
145 |
+
$content .= '<a href="' . ((strpos($this->details['abh_youtube'], 'http') === false) ? 'http://www.youtube.com/user/' : '') . $this->details['abh_youtube'] . '" title="' . __('YouTube', _ABH_PLUGIN_NAME_) . '" class="abh_youtube" target="_blank" ' . $nofollow . '></a>';
|
146 |
+
}
|
147 |
+
if (isset($this->details['abh_vimeo']) && $this->details['abh_vimeo'] <> '') {
|
148 |
+
$count++;
|
149 |
+
$content .= '<a href="' . ((strpos($this->details['abh_vimeo'], 'http') === false) ? 'http://vimeo.com/' : '') . $this->details['abh_vimeo'] . '" title="' . __('Vimeo', _ABH_PLUGIN_NAME_) . '" class="abh_vimeo" target="_blank" ' . $nofollow . '></a>';
|
150 |
+
}
|
151 |
+
|
152 |
+
if (isset($this->details['abh_klout']) && $this->details['abh_klout'] <> '') {
|
153 |
+
$count++;
|
154 |
+
if ($score = $this->getKloutScore())
|
155 |
+
$content .= '<a href="' . ((strpos($this->details['abh_klout'], 'http') === false) ? 'http://klout.com/#/' : '') . $this->details['abh_klout'] . '" title="' . __('Klout', _ABH_PLUGIN_NAME_) . '" class="abh_klout_score" target="_blank" ' . $nofollow . '>' . $score . '</a>';
|
156 |
+
else
|
157 |
+
$content .= '<a href="' . ((strpos($this->details['abh_klout'], 'http') === false) ? 'http://klout.com/#/' : '') . $this->details['abh_klout'] . '" title="' . __('Klout', _ABH_PLUGIN_NAME_) . '" class="abh_klout" target="_blank" ' . $nofollow . '></a>';
|
158 |
+
}
|
159 |
+
|
160 |
+
if ($count == 5 || $count == 6) {
|
161 |
+
$content = '<div style="width:85px; margin: 0 0 0 auto;">' . $content . '</div>';
|
162 |
+
} elseif ($count == 7 || $count == 8) {
|
163 |
+
$content = '<div style="width:120px; margin: 0 0 0 auto;">' . $content . '</div>';
|
164 |
+
} elseif ($count == 9 || $count == 10) {
|
165 |
+
$content = '<div style="width:140px; margin: 0 0 0 auto;">' . $content . '</div>';
|
166 |
+
} elseif ($count == 11 || $count == 12) {
|
167 |
+
$content = '<div style="width:160px; margin: 0 0 0 auto;">' . $content . '</div>';
|
168 |
+
}
|
169 |
+
|
170 |
+
if ($count > 0 && isset($this->details['abh_socialtext']) && $this->details['abh_socialtext'] <> '')
|
171 |
+
$content = '<div style="clear: both; font-size:12px; font-weight:normal; width: 85px; margin: 0 0 2px auto; line-height: 20px;">' . $this->details['abh_socialtext'] . '</div>' . $content;
|
172 |
+
|
173 |
+
return $content;
|
174 |
+
}
|
175 |
+
|
176 |
+
/**
|
177 |
+
* Get the Klout Score for the author
|
178 |
+
* @return boolean
|
179 |
+
*/
|
180 |
+
private function getKloutScore() {
|
181 |
+
$data = null;
|
182 |
+
|
183 |
+
if (isset($this->details['abh_klout']) && $this->details['abh_klout'] <> '') {
|
184 |
+
if (strpos($this->details['abh_klout'], 'http') !== false) {
|
185 |
+
$this->details['abh_klout'] = preg_replace('/http:\/\/klout.com\/#\//', '', $this->details['abh_klout']);
|
186 |
+
if (strpos($this->details['abh_klout'], 'http') !== false)
|
187 |
+
return false;
|
188 |
+
}
|
189 |
+
|
190 |
+
if (isset($this->details['abh_klout']) && is_file(_ABH_GRAVATAR_DIR_ . $this->details['abh_klout']) && @filemtime(_ABH_GRAVATAR_DIR_ . $this->details['abh_klout']) > (time() - (3600 * 24))) {
|
191 |
+
$data = json_decode(@file_get_contents(_ABH_GRAVATAR_DIR_ . $this->details['abh_klout']));
|
192 |
+
} else {
|
193 |
+
|
194 |
+
//First, we need to retreive the user's Klout ID
|
195 |
+
$userID = "http://api.klout.com/v2/identity.json/twitter?screenName=" . $this->details['abh_klout'] . "&key=7a8z53zg55bk2gkuuznm98xe";
|
196 |
+
if ($user = ABH_Classes_Tools::abh_remote_get($userID)) {
|
197 |
+
$user = json_decode($user);
|
198 |
+
}
|
199 |
+
|
200 |
+
if (is_object($user) && isset($user->id)) {
|
201 |
+
$klout = $user->id;
|
202 |
+
|
203 |
+
//Then, retreive the Klout score of the user, using the user's Klout ID and API key V2
|
204 |
+
$url_kscore = "http://api.klout.com/v2/user.json/" . $klout . "/score?key=7a8z53zg55bk2gkuuznm98xe";
|
205 |
+
$data = (@file_get_contents($url_kscore));
|
206 |
+
|
207 |
+
@file_put_contents(_ABH_GRAVATAR_DIR_ . $this->details['abh_klout'], $data);
|
208 |
+
$data = json_decode($data);
|
209 |
+
}
|
210 |
+
}
|
211 |
+
|
212 |
+
//If everything works well, then display Klout score
|
213 |
+
if ($data) {
|
214 |
+
return number_format($data->score, 0);
|
215 |
+
}
|
216 |
+
}
|
217 |
+
return false;
|
218 |
+
}
|
219 |
+
|
220 |
+
/**
|
221 |
+
* Get the List Of Posts for the author
|
222 |
+
* @return string
|
223 |
+
*/
|
224 |
+
private function getLatestPosts() {
|
225 |
+
$content = '<ul>';
|
226 |
+
$latest_posts = new WP_Query(array('posts_per_page' => ABH_Classes_Tools::getOption('anh_crt_posts'), 'author' => $this->author->ID));
|
227 |
+
|
228 |
+
|
229 |
+
while ($latest_posts->have_posts()) : $latest_posts->the_post();
|
230 |
+
|
231 |
+
if (isset($this->category) && $this->category <> '') {
|
232 |
+
$found = false;
|
233 |
+
$categories = get_the_category();
|
234 |
+
foreach ($categories as $category) {
|
235 |
+
if (!is_numeric($this->category)) {
|
236 |
+
if ($this->category == $category->name) {
|
237 |
+
$found = true;
|
238 |
+
break;
|
239 |
+
}
|
240 |
+
} elseif (is_numeric($this->category)) {
|
241 |
+
if ($this->category == $category->cat_ID) {
|
242 |
+
$found = true;
|
243 |
+
break;
|
244 |
+
}
|
245 |
+
}
|
246 |
+
}
|
247 |
+
if (!$found)
|
248 |
+
continue;
|
249 |
+
//echo '<pre>' . print_r($category, true) . '</pre>';
|
250 |
+
}
|
251 |
+
|
252 |
+
if (get_the_title() <> '')
|
253 |
+
$content .= '
|
254 |
+
<li ' . ((ABH_Classes_Tools::getOption('abh_descfontsize') <> 'default') ? 'style="font-size:' . ABH_Classes_Tools::getOption('abh_descfontsize') . ' !important;"' : '') . ' >
|
255 |
+
<a href="' . get_permalink() . '">' . get_the_title() . '</a>' .
|
256 |
+
(((int) get_the_time('U') > 0) ? '<span> - ' . @date_i18n(get_option('date_format'), (int) get_the_time('U')) . '</span>' : '') . '
|
257 |
+
</li>';
|
258 |
+
endwhile;
|
259 |
+
wp_reset_postdata();
|
260 |
+
$content .= '</ul>';
|
261 |
+
|
262 |
+
return $content;
|
263 |
+
}
|
264 |
+
|
265 |
+
/**
|
266 |
+
* Clear the new lines from the author box
|
267 |
+
* @param type $content
|
268 |
+
* @return string
|
269 |
+
*/
|
270 |
+
private function clearTags($content) {
|
271 |
+
return preg_replace_callback('~\<[^>]+\>.*\</[^>]+\>~ms', array($this, 'stripNewLines'), $content);
|
272 |
+
}
|
273 |
+
|
274 |
+
/**
|
275 |
+
* Clear the new lines
|
276 |
+
* @param type $match
|
277 |
+
* @return type
|
278 |
+
*/
|
279 |
+
public function stripNewLines($match) {
|
280 |
+
return str_replace(array("\r", "\n", " "), '', $match[0]);
|
281 |
+
}
|
282 |
+
|
283 |
+
/**
|
284 |
+
* Get the meta with Social and Profile
|
285 |
+
* @return string
|
286 |
+
*/
|
287 |
+
public function showMeta() {
|
288 |
+
if (!isset($this->author))
|
289 |
+
return;
|
290 |
+
|
291 |
+
$meta = "\n<!-- StarBox - the Author Box for Humans " . ABH_VERSION . ", visit: http://wordpress.org/plugins/starbox/ -->\n";
|
292 |
+
|
293 |
+
if (ABH_Classes_Tools::getOption('abh_showopengraph') == 1 && is_author()) {
|
294 |
+
//Show the OpenGraph
|
295 |
+
$meta .= $this->showOpenGraph();
|
296 |
+
}
|
297 |
+
|
298 |
+
if (isset($this->details['abh_google']) && $this->details['abh_google'] <> '')
|
299 |
+
$meta .= $this->showGoogleAuthorMeta(); //show google author meta
|
300 |
+
if (isset($this->details['abh_facebook']) && $this->details['abh_facebook'] <> '')
|
301 |
+
$meta .= $this->showFacebookAuthorMeta(); //show facebook author meta
|
302 |
+
|
303 |
+
$meta .= "<!-- /StarBox - the Author Box for Humans -->\n\n";
|
304 |
+
|
305 |
+
return $meta;
|
306 |
+
}
|
307 |
+
|
308 |
+
/**
|
309 |
+
* Get the Open Graph for the current author
|
310 |
+
* @return string
|
311 |
+
*/
|
312 |
+
public function showOpenGraph() {
|
313 |
+
$og = '';
|
314 |
+
$og .= sprintf('<meta property="og:url" content="%s" />', get_author_posts_url($this->author->ID)) . "\n";
|
315 |
+
$og .= sprintf('<meta property="og:type" content="%s" />', 'profile') . "\n";
|
316 |
+
$og .= sprintf('<meta property="profile:first_name" content="%s" />', get_the_author_meta('first_name', $this->author->ID)) . "\n";
|
317 |
+
$og .= sprintf('<meta property="profile:last_name" content="%s" />', get_the_author_meta('last_name', $this->author->ID)) . "\n";
|
318 |
+
|
319 |
+
return $og;
|
320 |
+
}
|
321 |
+
|
322 |
+
/**
|
323 |
+
* Get the Google author Meta
|
324 |
+
* @return string
|
325 |
+
*/
|
326 |
+
public function showGoogleAuthorMeta() {
|
327 |
+
return '<link rel="author" href="' . ((strpos($this->details['abh_google'], 'http') === false) ? 'http://plus.google.com/' : '') . $this->details['abh_google'] . '" />' . "\n";
|
328 |
+
}
|
329 |
+
|
330 |
+
/**
|
331 |
+
* Get the Facebook author Meta
|
332 |
+
* @return string
|
333 |
+
*/
|
334 |
+
public function showFacebookAuthorMeta() {
|
335 |
+
return '<meta property="article:author" content="' . ((strpos($this->details['abh_facebook'], 'http') === false) ? 'http://facebook.com/' : '') . $this->details['abh_facebook'] . '" />' . "\n";
|
336 |
+
}
|
337 |
+
|
338 |
+
}
|
339 |
+
|
340 |
+
?>
|
{models → 3.0.2/models}/Menu.php
RENAMED
File without changes
|
{models → 3.0.2/models}/UserSettings.php
RENAMED
File without changes
|
3.0.2/readme.txt
ADDED
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
=== Starbox - the Author Box for Humans ===
|
2 |
+
Contributors: cifi, florinmuresan
|
3 |
+
Tags: author box,author,twitter,sidebar,images,shortcode,publisher,meta,post,posts,page,pages,google,facebook,snippet,plugin,html5,vcard,klout,users,user,author box,rich snippet,author bio, author bio box,bio,widget,comments,blog,content,email,image,linkedin,marketing,mobile,pinterest,profile,shortcodes,social,social media,wordpress
|
4 |
+
Requires at least: 3.3
|
5 |
+
Tested up to: 4.1.1
|
6 |
+
Stable tag: trunk
|
7 |
+
Donate link: http://starbox.squirrly.co/starbox-the-author-box-for-humans/
|
8 |
+
|
9 |
+
Starbox is the Author Box for Humans. Professional Themes to choose from, HTML5, Social Media Profiles, Google Authorship
|
10 |
+
|
11 |
+
== Description ==
|
12 |
+
|
13 |
+
**How Do I Get Support For This Plugin?**
|
14 |
+
If you want more Social Icons and Premium Support, that also comes with High Priority, go to:
|
15 |
+
http://starbox.squirrly.co/product/starbox-the-author-box-for-humans/
|
16 |
+
|
17 |
+
**Starbox is the Author Box for Humans**
|
18 |
+
|
19 |
+
While search engines and other software that read your site care about files like robots.txt, you need Human readers to actually engage with your content and fall in love with it.
|
20 |
+
|
21 |
+
Humans look at beauty more than anything else (as you most probably already know, men and women alike). That's why you'll get an <strong>Author Box that's gorgeous to look at and it makes your readers click all the way through</strong> to see more about the Authors.
|
22 |
+
|
23 |
+
Now, if you have just yourself as an Author on your site, or a super-star team of Authors, you'll love Starbox. You can <strong>choose from the professionaly built themes and landscaping</strong>. If you are the super-star type, or want to boost social proof, place your Author Box on top of the page, so that your Human readers will know that they're reading stuff that a real awesome person has written.
|
24 |
+
|
25 |
+
You want the classy, bottom-of-the-page Author Box? You can choose that one as well.
|
26 |
+
|
27 |
+
And if your star Authors want different things, satisfy their needs by allowing them to place their Author Box at the top or bottom, with the default theme, or a better looking one. You can make each of them shine in their own way.
|
28 |
+
|
29 |
+
The <strong>Social Profiles</strong> of your writers will be obvious and clickable, getting you Humans that will engage with content on your blog and also on your social media streams.
|
30 |
+
|
31 |
+
Because your authors are stars or will be very soon, <strong>Google Authorship and Facebook Authorship</strong> are here for them with Starbox, and it's just type->click->boom! to set up. Amazingly easy.
|
32 |
+
|
33 |
+
Are you afraid of having to spend too much time setting Starbox up? Don't worry. You're covered by our "For Humans" guarantee. With NO coding or complicated menus whatsoever, you'll set your Author Box in a matter of minutes. And since we took a lot of care regarding all the coding, it will work well and you won't have to worry about that.
|
34 |
+
|
35 |
+
You'll build up some good social proof, you'll give your Human readers a sense of quality and they'll be happy to return for more (which will help you with the search engines who track your site).
|
36 |
+
|
37 |
+
If you're doing the tech stuff on your site or want to know what Starbox's inner workings are all about, here's a list:
|
38 |
+
|
39 |
+
* HTML 5
|
40 |
+
* Google Microformats (vCard), to display Rich Snippets in google search results
|
41 |
+
* Easy to customize for each Author
|
42 |
+
* You'll get Google Authorship on your hands :-) For all your authors.
|
43 |
+
* Have it work only on blog posts, only on pages, or both!
|
44 |
+
* Links to the social media profiles of your authors: Facebook, Twitter, Klout, Google+, LinkedIN, Instagram, Flickr, Pinterest, Tumblr, Youtube, Vimeo
|
45 |
+
* Each of your Authors can have a different set of social media profiles added
|
46 |
+
* Links to all the articles written by that author
|
47 |
+
* A section that displays the latest posts of a certain author
|
48 |
+
* Themes to choose from
|
49 |
+
* Themes setup for each individual Author, to really make them shine
|
50 |
+
* You Can set the Name of the Author
|
51 |
+
* You Can set the Job Title of each Author
|
52 |
+
* Can set Company (with a link to the company's site)
|
53 |
+
* Each Author can make the Author Box look like it's her own
|
54 |
+
* You can choose not to display it for certain authors
|
55 |
+
* Removes any other author box from the page, so that there aren't duplicates
|
56 |
+
* Enables you to upload your own image (so that you won't need a Gravatar)
|
57 |
+
* Paragraphs in the Author Bio to have a better looking text
|
58 |
+
* Displays the Author Box in the special pages built for each author.
|
59 |
+
* Special Pages for your authors
|
60 |
+
* Works even with sites that have woocommerce or other ecommerce plugins
|
61 |
+
* Add Starbox in your post's content or wordpress widgets using the shortcode [starbox] or [starbox id=USER_ID]
|
62 |
+
|
63 |
+
|
64 |
+
So get your very own Starbox now:
|
65 |
+
|
66 |
+
1. Your Authors will become real Stars
|
67 |
+
2. Your readers will notice the persons behind the articles better
|
68 |
+
3. It increases your social proof and credibility as an Author
|
69 |
+
4. It will increase the subscriber numbers across social media channels
|
70 |
+
5. Your readers will feel like they know you better and feel a connection, so they'll return more often
|
71 |
+
6. You know that right now for Google it matters a lot that you have returning visitors (because it means your site is: quality)
|
72 |
+
7. You'll get Google Authorship on your hands :-) For all your authors.
|
73 |
+
|
74 |
+
Download it from the Wordpress directory and try it out. Having an author box after posts will certainly increase engagement and help your authors grow their authority on the web.
|
75 |
+
|
76 |
+
|
77 |
+
== Installation ==
|
78 |
+
1. Log In as an Admin on your Wordpress blog.
|
79 |
+
2. In the menu displayed on the left, there is a "Plugins" tab. Click it.
|
80 |
+
3. Now click "Add New".
|
81 |
+
4. There, you have the buttons: "Search | Upload | Featured | Popular | Newest". Click "Upload".
|
82 |
+
5. Upload the starbox.zip file.
|
83 |
+
6. After the upload is finished, click Activate Plugin.
|
84 |
+
7. Done :-) You'll see that this is as advertized.
|
85 |
+
|
86 |
+
== Screenshots ==
|
87 |
+
1. Author Box with Business Theme
|
88 |
+
2. Author Bio Box with Business Theme
|
89 |
+
3. Author Box Settings
|
90 |
+
4. Author Box Settings for each Author
|
91 |
+
5. Author Box Social Settings
|
92 |
+
6. Author Box with Drop-Down Theme
|
93 |
+
7. Author Box with Drop-Down Theme
|
94 |
+
8. Author Box with Drop-Down Theme
|
95 |
+
9. Google Rich Snippets with the author's image
|
96 |
+
10. Google Rich Snippets with the author's image
|
97 |
+
11. Author Box with TopStar Theme
|
98 |
+
12. Author Box with TopStar Theme
|
99 |
+
13. Author Box with Drop-Down Theme
|
100 |
+
14. Author Box with Drop-Down Theme
|
101 |
+
15. Author Box with Fancy Theme
|
102 |
+
16. Author Box with Drop-Down Theme
|
103 |
+
|
104 |
+
|
105 |
+
== Changelog ==
|
106 |
+
= 3.0.2 =
|
107 |
+
* Compatible with WP 4.1.1
|
108 |
+
* Fix link tag close duplicates
|
109 |
+
* Added some theme compatibilities
|
110 |
+
* Social Networks removed in the free version. Only Facebook add Twitter remained.
|
111 |
+
|
112 |
+
= 3.0.1 =
|
113 |
+
* Compatible with WP 4.0.1
|
114 |
+
|
115 |
+
= 3.0.0 =
|
116 |
+
* Made changed according to GPL 2.0
|
117 |
+
|
118 |
+
= 2.2.0 =
|
119 |
+
* Compatible with WP 4.0
|
120 |
+
* Fixed various bugs
|
121 |
+
|
122 |
+
= 2.1.4 =
|
123 |
+
* Compatible with WP 3.9.2
|
124 |
+
|
125 |
+
= 2.1.3 =
|
126 |
+
* Fixed css and js loading issues for many different themes
|
127 |
+
* Fixed repeated header section
|
128 |
+
|
129 |
+
= 2.1.2 =
|
130 |
+
* Compatible with WP 3.9.1
|
131 |
+
|
132 |
+
= 2.1.1 =
|
133 |
+
* Removed Author Box from products that you may have in Woocommerce when only posts are set to have the author box displayed (you can do this in settings)
|
134 |
+
|
135 |
+
= 2.1.0 =
|
136 |
+
* Compatible with WP 3.9
|
137 |
+
|
138 |
+
= 2.0.5 =
|
139 |
+
* Fixed Klout score issue
|
140 |
+
|
141 |
+
= 2.0.4 =
|
142 |
+
* Fixed hook bugs for preview and frontend
|
143 |
+
* Update css on the author box plugin for some themes
|
144 |
+
* Fixed small bugs for Font size option
|
145 |
+
* Works with W3 Total Cache and Super Cache
|
146 |
+
|
147 |
+
= 2.0.3 =
|
148 |
+
* Added Font Size option for the name and description
|
149 |
+
|
150 |
+
= 2.0.2 =
|
151 |
+
* fixed show latest posts for shortcodes
|
152 |
+
* added show latest posts from specific category in shortcode [starbox lpc="category id"] or [starbox lpc="category name"]
|
153 |
+
|
154 |
+
= 2.0.1 =
|
155 |
+
* Fixed css for more themes
|
156 |
+
* Fixed hide from all posts in WP 3.8.1 issue
|
157 |
+
* Added French Translation by D SIGNED
|
158 |
+
|
159 |
+
= 2.0.0 =
|
160 |
+
* Fixed loading issues
|
161 |
+
* Compatible with Wordpress 3.8
|
162 |
+
* Fixed css for different themes and for Wordpress 3.8
|
163 |
+
|
164 |
+
== Frequently Asked Questions ==
|
165 |
+
= Why is there no meta for google and facebook authorship? =
|
166 |
+
You have to fill the google and facebook social accounts in your profile and it will show up.
|
167 |
+
|
168 |
+
= How Do I Get Support For This Plugin? =
|
169 |
+
We're following the threads and based on them we always try to build up new and better implementations for the Author Box for Humans. If you want Premium Support, that also comes with High Priority, then go to:
|
170 |
+
http://starbox.squirrly.co/product/starbox-the-author-box-for-humans/
|
171 |
+
|
172 |
+
= How Do I Make Sure I Get Priority Support From Buying The Recommended Version? =
|
173 |
+
It will help you have a premium email from us, on which you can get super-fast support.
|
174 |
+
http://starbox.squirrly.co/product/starbox-the-author-box-for-humans/
|
175 |
+
After you buy it, it will show you the email on which you can write to us for Premium and Fast Support
|
176 |
+
|
177 |
+
= How can I call (display) the author box in a post or widget? =
|
178 |
+
Just add <strong>[starbox]</strong> or <strong>[starbox id="login_name"]</strong> in your post or widget..
|
179 |
+
You can also add different description for the author box, by adding <strong>[starbox id="login_name" desc="custom description" ]</strong>
|
180 |
+
And more than that, you can add a default theme for author box <strong>[starbox id="login_name" desc="custom description" theme="business"]</strong>
|
181 |
+
|
182 |
+
= How can i add multiple author boxes to a post? =
|
183 |
+
You can use startbox shortcode at the bottom of the content like this:
|
184 |
+
[starbox id="john,david"] where john and david are the username of the authors
|
185 |
+
or
|
186 |
+
[starbox id="1,2..n"] where 1,2, .. n are the ID of the authors
|
187 |
+
|
188 |
+
= Is your team dedicated to this plugin? =
|
189 |
+
You can count on it :-) Our team of 8 people over at Squirrly (registered in the UK) are focused on making both our wordpress seo plugin and our author box plugin the best there are. So far we succeeded in making them one of the most popular, because we listen to your feedback and you're the reason for their success.
|
screenshot-1.jpg → 3.0.2/screenshot-1.jpg
RENAMED
File without changes
|
screenshot-10.jpg → 3.0.2/screenshot-10.jpg
RENAMED
File without changes
|
screenshot-11.jpg → 3.0.2/screenshot-11.jpg
RENAMED
File without changes
|
screenshot-12.jpg → 3.0.2/screenshot-12.jpg
RENAMED
File without changes
|
screenshot-13.jpg → 3.0.2/screenshot-13.jpg
RENAMED
File without changes
|
screenshot-14.jpg → 3.0.2/screenshot-14.jpg
RENAMED
File without changes
|
screenshot-15.jpg → 3.0.2/screenshot-15.jpg
RENAMED
File without changes
|
screenshot-16.jpg → 3.0.2/screenshot-16.jpg
RENAMED
File without changes
|
screenshot-2.jpg → 3.0.2/screenshot-2.jpg
RENAMED
File without changes
|
screenshot-3.jpg → 3.0.2/screenshot-3.jpg
RENAMED
File without changes
|
screenshot-4.jpg → 3.0.2/screenshot-4.jpg
RENAMED
File without changes
|
screenshot-5.jpg → 3.0.2/screenshot-5.jpg
RENAMED
File without changes
|
screenshot-6.jpg → 3.0.2/screenshot-6.jpg
RENAMED
File without changes
|
screenshot-7.jpg → 3.0.2/screenshot-7.jpg
RENAMED
File without changes
|
screenshot-8.jpg → 3.0.2/screenshot-8.jpg
RENAMED
File without changes
|
screenshot-9.jpg → 3.0.2/screenshot-9.jpg
RENAMED
File without changes
|
3.0.2/starbox.php
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
Copyright (c) 2012, Squirrly Limited.
|
5 |
+
The copyrights to the software code in this file are licensed under the (revised) BSD open source license.
|
6 |
+
|
7 |
+
Plugin Name: StarBox
|
8 |
+
Plugin URI:
|
9 |
+
Author: Squirrly UK
|
10 |
+
Description: Starbox is the Author Box for Humans. Professional Themes to choose from, HTML5, Social Media Profiles, Google Authorship
|
11 |
+
Version: 3.0.2
|
12 |
+
Author URI: http://www.squirrly.co
|
13 |
+
*/
|
14 |
+
/* SET THE CURRENT VERSION ABOVE AND BELOW */
|
15 |
+
define('ABH_VERSION', '3.0.2');
|
16 |
+
/* Call config files */
|
17 |
+
require(dirname(__FILE__) . '/config/config.php');
|
18 |
+
|
19 |
+
/* important to check the PHP version */
|
20 |
+
if (PHP_VERSION_ID >= 5100) {
|
21 |
+
/* inport main classes */
|
22 |
+
require_once(_ABH_CLASSES_DIR_ . 'ObjController.php');
|
23 |
+
require_once(_ABH_CLASSES_DIR_ . 'BlockController.php');
|
24 |
+
|
25 |
+
/* Main class call */
|
26 |
+
ABH_Classes_ObjController::getController('ABH_Classes_FrontController')->run();
|
27 |
+
|
28 |
+
if (!is_admin())
|
29 |
+
ABH_Classes_ObjController::getController('ABH_Controllers_Frontend');
|
30 |
+
} else {
|
31 |
+
/* Main class call */
|
32 |
+
add_action('admin_notices', array(ABH_Classes_ObjController::getController('ABH_Classes_FrontController'), 'phpVersionError'));
|
33 |
+
}
|
34 |
+
|
35 |
+
// --
|
36 |
+
// Upgrade StarBox call.
|
37 |
+
register_activation_hook(__FILE__, 'abh_upgrade');
|
38 |
+
|
39 |
+
function abh_upgrade() {
|
40 |
+
set_transient('abh_upgrade', true, 30);
|
41 |
+
}
|
3.0.2/themes/admin/Menu.php
ADDED
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div id="abh_settings" >
|
2 |
+
<form id="abh_settings_form" name="settings" action="" method="post" enctype="multipart/form-data">
|
3 |
+
<div id="abh_settings_title" ><?php _e('StarBox Settings', _ABH_PLUGIN_NAME_); ?><a href="http://wordpress.org/support/view/plugin-reviews/starbox" target="_blank"><span class="abh_settings_rate" ><span></span><?php _e('Please support us on Wordpress', _ABH_PLUGIN_NAME_); ?></span></a></div>
|
4 |
+
<div id="abh_settings_body">
|
5 |
+
<div id="abh_settings_left" >
|
6 |
+
|
7 |
+
<fieldset>
|
8 |
+
|
9 |
+
<div class="abh_option_content">
|
10 |
+
<div class="abh_switch">
|
11 |
+
<input id="abh_inposts_on" type="radio" class="abh_switch-input" name="abh_inposts" value="1" <?php echo ((ABH_Classes_Tools::getOption('abh_inposts') == 1) ? "checked" : '') ?> />
|
12 |
+
<label for="abh_inposts_on" class="abh_switch-label abh_switch-label-off"><?php _e('Yes', _ABH_PLUGIN_NAME_); ?></label>
|
13 |
+
<input id="abh_inposts_off" type="radio" class="abh_switch-input" name="abh_inposts" value="0" <?php echo ((!ABH_Classes_Tools::getOption('abh_inposts')) ? "checked" : '') ?> />
|
14 |
+
<label for="abh_inposts_off" class="abh_switch-label abh_switch-label-on"><?php _e('No', _ABH_PLUGIN_NAME_); ?></label>
|
15 |
+
<span class="abh_switch-selection"></span>
|
16 |
+
</div>
|
17 |
+
<span><?php _e('Visible in <strong>posts</strong>', _ABH_PLUGIN_NAME_); ?></span>
|
18 |
+
<div class="abh_option_strictposts"><input name="abh_strictposts" type="checkbox" value="1" <?php echo ((ABH_Classes_Tools::getOption('abh_strictposts') == 1) ? "checked" : '') ?> /><label for="abh_strictposts"><?php _e('Hide Author Box from custom posts types', _ABH_PLUGIN_NAME_); ?></label></div>
|
19 |
+
|
20 |
+
</div>
|
21 |
+
|
22 |
+
<div class="abh_option_content">
|
23 |
+
<div class="abh_switch">
|
24 |
+
<input id="abh_inpages_on" type="radio" class="abh_switch-input" name="abh_inpages" value="1" <?php echo ((ABH_Classes_Tools::getOption('abh_inpages') == 1) ? "checked" : '') ?> />
|
25 |
+
<label for="abh_inpages_on" class="abh_switch-label abh_switch-label-off"><?php _e('Yes', _ABH_PLUGIN_NAME_); ?></label>
|
26 |
+
<input id="abh_inpages_off" type="radio" class="abh_switch-input" name="abh_inpages" value="0" <?php echo ((!ABH_Classes_Tools::getOption('abh_inpages')) ? "checked" : '') ?> />
|
27 |
+
<label for="abh_inpages_off" class="abh_switch-label abh_switch-label-on"><?php _e('No', _ABH_PLUGIN_NAME_); ?></label>
|
28 |
+
<span class="abh_switch-selection"></span>
|
29 |
+
</div>
|
30 |
+
<span><?php _e('Visible in <strong>pages</strong>', _ABH_PLUGIN_NAME_); ?></span>
|
31 |
+
</div>
|
32 |
+
|
33 |
+
<div class="abh_option_content">
|
34 |
+
<div class="abh_switch">
|
35 |
+
<input id="abh_ineachpost_on" type="radio" class="abh_switch-input" name="abh_ineachpost" value="1" <?php echo ((ABH_Classes_Tools::getOption('abh_ineachpost') == 1) ? "checked" : '') ?> />
|
36 |
+
<label for="abh_ineachpost_on" class="abh_switch-label abh_switch-label-off"><?php _e('Yes', _ABH_PLUGIN_NAME_); ?></label>
|
37 |
+
<input id="abh_ineachpost_off" type="radio" class="abh_switch-input" name="abh_ineachpost" value="0" <?php echo ((!ABH_Classes_Tools::getOption('abh_ineachpost')) ? "checked" : '') ?> />
|
38 |
+
<label for="abh_ineachpost_off" class="abh_switch-label abh_switch-label-on"><?php _e('No', _ABH_PLUGIN_NAME_); ?></label>
|
39 |
+
<span class="abh_switch-selection"></span>
|
40 |
+
</div>
|
41 |
+
<span><?php _e('Show the Starbox with Top Star theme <strong>in the global feed of your blog</strong> (eg. "/blog" page) under each title of every post', _ABH_PLUGIN_NAME_); ?></span>
|
42 |
+
</div>
|
43 |
+
|
44 |
+
<div class="abh_option_content">
|
45 |
+
<div class="abh_switch">
|
46 |
+
<input id="abh_showopengraph_on" type="radio" class="abh_switch-input" name="abh_showopengraph" value="1" <?php echo ((ABH_Classes_Tools::getOption('abh_showopengraph') == 1) ? "checked" : '') ?> />
|
47 |
+
<label for="abh_showopengraph_on" class="abh_switch-label abh_switch-label-off"><?php _e('Yes', _ABH_PLUGIN_NAME_); ?></label>
|
48 |
+
<input id="abh_showopengraph_off" type="radio" class="abh_switch-input" name="abh_showopengraph" value="0" <?php echo ((!ABH_Classes_Tools::getOption('abh_showopengraph')) ? "checked" : '') ?> />
|
49 |
+
<label for="abh_showopengraph_off" class="abh_switch-label abh_switch-label-on"><?php _e('No', _ABH_PLUGIN_NAME_); ?></label>
|
50 |
+
<span class="abh_switch-selection"></span>
|
51 |
+
</div>
|
52 |
+
<span><?php echo sprintf(__('Show the <strong>Open Graph</strong> Profile in meta for each author %sdetails%s (useful for rich snippets)', _ABH_PLUGIN_NAME_), '<a href="http://ogp.me/#type_profile" target="_blank">', '</a>'); ?></span>
|
53 |
+
</div>
|
54 |
+
</fieldset>
|
55 |
+
<fieldset>
|
56 |
+
<legend><?php _e('Theme setting:', _ABH_PLUGIN_NAME_); ?></legend>
|
57 |
+
<div class="abh_option_content">
|
58 |
+
|
59 |
+
<div class="abh_select">
|
60 |
+
<select name="abh_position">
|
61 |
+
<option value="up" <?php echo ((ABH_Classes_Tools::getOption('abh_position') == 'up') ? 'selected="selected"' : '') ?>>Up</option>
|
62 |
+
<option value="down" <?php echo ((ABH_Classes_Tools::getOption('abh_position') == 'down') ? 'selected="selected"' : '') ?>>Down</option>
|
63 |
+
</select>
|
64 |
+
</div>
|
65 |
+
<span><?php _e('The Author Box <strong>position</strong> (Topstar and Topstar-round are always on shown on top)', _ABH_PLUGIN_NAME_); ?></span>
|
66 |
+
</div>
|
67 |
+
|
68 |
+
<div class="abh_option_content">
|
69 |
+
<div class="abh_select">
|
70 |
+
<select id="abh_theme_select" name="abh_theme">
|
71 |
+
<?php
|
72 |
+
foreach (ABH_Classes_Tools::getOption('abh_themes') as $name) {
|
73 |
+
echo '<option value="' . $name . '" ' . ((ABH_Classes_Tools::getOption('abh_theme') == $name) ? 'selected="selected"' : '') . ' >' . ucfirst($name) . '</option>';
|
74 |
+
}
|
75 |
+
?>
|
76 |
+
</select>
|
77 |
+
</div>
|
78 |
+
<span><?php _e('Choose the default theme to be displayed <strong>inside each blog article</strong>', _ABH_PLUGIN_NAME_); ?></span>
|
79 |
+
</div>
|
80 |
+
|
81 |
+
<div class="abh_option_content">
|
82 |
+
<div class="abh_select">
|
83 |
+
<select id="abh_titlefontsize_select" name="abh_titlefontsize">
|
84 |
+
<?php
|
85 |
+
foreach (ABH_Classes_Tools::getOption('abh_titlefontsizes') as $name) {
|
86 |
+
echo '<option value="' . $name . '" ' . ((ABH_Classes_Tools::getOption('abh_titlefontsize') == $name) ? 'selected="selected"' : '') . ' >' . $name . '</option>';
|
87 |
+
}
|
88 |
+
?>
|
89 |
+
</select>
|
90 |
+
</div>
|
91 |
+
<span><?php _e('Choose the size of the name', _ABH_PLUGIN_NAME_); ?></span>
|
92 |
+
|
93 |
+
<div class="abh_select">
|
94 |
+
<select id="abh_descfontsize_select" name="abh_descfontsize">
|
95 |
+
<?php
|
96 |
+
foreach (ABH_Classes_Tools::getOption('abh_descfontsizes') as $name) {
|
97 |
+
echo '<option value="' . $name . '" ' . ((ABH_Classes_Tools::getOption('abh_descfontsize') == $name) ? 'selected="selected"' : '') . ' >' . $name . '</option>';
|
98 |
+
}
|
99 |
+
?>
|
100 |
+
</select>
|
101 |
+
</div>
|
102 |
+
<span><?php _e('Choose the size of the description', _ABH_PLUGIN_NAME_); ?></span>
|
103 |
+
</div>
|
104 |
+
|
105 |
+
|
106 |
+
<div id="abh_box_preview_title"><?php _e('Preview mode for the default theme', _ABH_PLUGIN_NAME_); ?></div>
|
107 |
+
<div id="abh_box_preview"><?php
|
108 |
+
if (file_exists(_ABH_ALL_THEMES_DIR_ . ABH_Classes_Tools::getOption('abh_theme') . '/js/frontend.js'))
|
109 |
+
echo '<script type="text/javascript" src="' . _ABH_ALL_THEMES_URL_ . ABH_Classes_Tools::getOption('abh_theme') . '/js/frontend.js?ver=' . ABH_VERSION . '"></script>';
|
110 |
+
echo '<link rel="stylesheet" href="' . _ABH_ALL_THEMES_URL_ . ABH_Classes_Tools::getOption('abh_theme') . '/css/frontend.css?ver=' . ABH_VERSION . '" type="text/css" media="all" />';
|
111 |
+
global $current_user;
|
112 |
+
echo ABH_Classes_ObjController::getController('ABH_Controllers_Frontend')->showBox($current_user->ID);
|
113 |
+
?>
|
114 |
+
</div>
|
115 |
+
<input type="text" style="display: none;" value="<?php echo $current_user->ID ?>" size="1" id="user_id" >
|
116 |
+
<br /><br />
|
117 |
+
<div class="abh_option_content">
|
118 |
+
<div class="abh_select">
|
119 |
+
<select name="abh_achposttheme">
|
120 |
+
<?php
|
121 |
+
foreach (ABH_Classes_Tools::getOption('abh_achpostthemes') as $name) {
|
122 |
+
echo '<option value="' . $name . '" ' . ((ABH_Classes_Tools::getOption('abh_achposttheme') == $name) ? 'selected="selected"' : '') . ' >' . ucfirst($name) . '</option>';
|
123 |
+
}
|
124 |
+
?>
|
125 |
+
</select>
|
126 |
+
</div>
|
127 |
+
<span><?php _e('Choose the theme to be displayed in your <strong>global list of posts</strong> (eg. /blog)', _ABH_PLUGIN_NAME_); ?></span>
|
128 |
+
</div>
|
129 |
+
|
130 |
+
|
131 |
+
|
132 |
+
<div><br /><br /><?php _e('Add Starbox in the post content or widgets with the shortcode <strong>[starbox]</strong> or <strong>[starbox id=USER_ID]</strong>', _ABH_PLUGIN_NAME_); ?></div>
|
133 |
+
<div class="abh_option_content">
|
134 |
+
<div class="abh_switch">
|
135 |
+
<input id="abh_shortcode_on" type="radio" class="abh_switch-input" name="abh_shortcode" value="1" <?php echo ((ABH_Classes_Tools::getOption('abh_shortcode') == 1) ? "checked" : '') ?> />
|
136 |
+
<label for="abh_shortcode_on" class="abh_switch-label abh_switch-label-off"><?php _e('Yes', _ABH_PLUGIN_NAME_); ?></label>
|
137 |
+
<input id="abh_shortcode_off" type="radio" class="abh_switch-input" name="abh_shortcode" value="0" <?php echo ((!ABH_Classes_Tools::getOption('abh_shortcode')) ? "checked" : '') ?> />
|
138 |
+
<label for="abh_shortcode_off" class="abh_switch-label abh_switch-label-on"><?php _e('No', _ABH_PLUGIN_NAME_); ?></label>
|
139 |
+
<span class="abh_switch-selection"></span>
|
140 |
+
</div>
|
141 |
+
<span><?php echo sprintf(__('Check for <strong>[starbox]</strong> shortcode in my blog. %sRead more >>%s', _ABH_PLUGIN_NAME_), '<a href="http://wordpress.org/plugins/starbox/faq/" target="_blank">', '</a>'); ?> </span>
|
142 |
+
</div>
|
143 |
+
</fieldset>
|
144 |
+
|
145 |
+
</div>
|
146 |
+
|
147 |
+
<div id="abh_settings_submit">
|
148 |
+
<p><?php _e('Click "go to user settings" to setup the author box for each author you have ( including per author Google Authorship)', _ABH_PLUGIN_NAME_); ?></p>
|
149 |
+
<input type="hidden" name="action" value="abh_settings_update" />
|
150 |
+
<input type="hidden" name="nonce" value="<?php echo wp_create_nonce(_ABH_NONCE_ID_); ?>" />
|
151 |
+
<input type="submit" name="abh_update" class="abh_button" value="<?php _e('Save settings', _ABH_PLUGIN_NAME_) ?> »" />
|
152 |
+
<a href="profile.php#abh_settings" class="abh_button"><?php _e('Go to user settings', _ABH_PLUGIN_NAME_) ?></a>
|
153 |
+
</div>
|
154 |
+
|
155 |
+
<div><br /><br /><?php echo sprintf(__('Use the Google Tool to check rich snippets %sclick here%s', _ABH_PLUGIN_NAME_), '<a href="http://www.google.com/webmasters/tools/richsnippets?url=' . get_bloginfo('url') . '" target="_blank">', '</a>'); ?></div>
|
156 |
+
|
157 |
+
</div>
|
158 |
+
</form>
|
159 |
+
</div>
|
{themes → 3.0.2/themes}/admin/Notices.php
RENAMED
File without changes
|
{themes → 3.0.2/themes}/admin/UserSettings.php
RENAMED
File without changes
|
{themes → 3.0.2/themes}/admin/css/hidedefault.css
RENAMED
File without changes
|
3.0.2/themes/admin/css/menu.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.abh_message{line-height:19px;padding:0px 0;font-size:13px;text-align:center;margin:-1px 15px 0 5px;border-width:1px;border-style:solid;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:#FFFBCC;border-color:#E6DB55}.abh_notices{font-size:13px;color:#555}.abh_loading{height:60px;background:transparent url('../img/loading.gif') no-repeat center}.abh_minloading{height:20px;width:20px;background:transparent url('../img/minloading.gif') no-repeat center}.abh_error{text-align:center;font-size:14px;font-weight:bold;color:brown;margin:5px}#abh_settings{font-family:Arial, sans-serif;position:relative}#abh_settings #abh_settings_title{font-size:19px;font-weight:normal;line-height:35px;color:#333;margin:30px 15px 3px 0;padding-bottom:6px;height:auto;border-bottom:1px solid #CCC;box-shadow:0px 3px 12px -8px black;-moz-box-shadow:0px 3px 12px -8px black;-webkit-box-shadow:0px 3px 12px -8px black}#abh_settings #abh_settings_title a.abh_button,#abh_settings #abh_settings_title input.abh_button{display:inline-block;font-size:15px;font-weight:bold;color:white;background-color:green;border:1px solid white;border-radius:5px;line-height:25px;padding:5px 10px;margin:6px 0 0 20px;text-decoration:none;cursor:pointer}#abh_settings #abh_subscribe{font-size:16px;font-weight:bold;margin-bottom:3px}#abh_option_subscribe #abh_subscribe_social{float:none;width:320px;height:30px;clear:both;padding-top:3px}#abh_option_subscribe #abh_subscribe_social span{float:left}#abh_settings #abh_subscribe_email{background-color:lightgoldenrodyellow;border:1px solid #333;margin:5px 0 0 0;padding:7px;font-size:15px}#abh_settings #abh_subscribe_subscribe{margin-left:3px;padding:0 25px;height:33px;font-size:14px;color:green;font-weight:bold}#abh_settings #abh_subscribe_confirmation{color:green;font-size:17px;font-weight:bold;margin:20px 0}#abh_settings .abh_upload{float:left;margin:20px}#abh_settings .abh_upload_reset{float:left;clear:both;margin:5px 0}#abh_settings .abh_upload_reset input{margin-right:3px;margin-top:3px}#abh_settings .abh_upload input{float:left}#abh_settings .abh_upload #abh_gravatar_update{margin-top:0;height:32px;padding:0 20px}#abh_settings .abh_gravatar img{float:left;margin-top:5px;width:80px}#abh_settings #abh_settings_body{display:block;font-size:12px;color:#333;line-height:16px;text-align:left;margin-top:20px}#abh_settings_body #abh_settings_left,#abh_settings_body #abh_settings_right{float:left}#abh_settings_body #abh_settings_submit{clear:both}#abh_settings_body fieldset{min-width:400px;background:#fcfcfb;border:1px solid #f1f1f1;font-size:1.1em;margin:10px auto;padding:1em;font-family:Arial,Verdana,Helvetica,sans-serif;text-shadow:1px 1px white;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;box-shadow:0 5px 9px -8px #999}#abh_settings_body #abh_settings_left fieldset{margin:10px 10px 22px 10px}#abh_settings_body #abh_settings_right fieldset{margin:10px 0px 22px 0px}#abh_settings_body fieldset legend{background:#fefefe repeat-x top left;border:1px solid #ddd;font-size:14px;font-weight:normal;margin:0;padding:.2em .5em;line-height:20px;text-align:left;color:#333;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px}#abh_settings_body span.abh_settings_info{clear:both;display:block;font-size:10px;width:100%;text-align:right}#abh_settings_body ul.abh_settings_info > span{display:block;color:#777;font-size:14px;font-weight:bold;margin-bottom:10px;list-style:none}#abh_settings_body ul.abh_settings_info li{margin-left:5px;font-size:11px;font-weight:normal;color:#777}#abh_settings_body fieldset p{vertical-align:top;margin:0.5em 0 0 0;padding:0 0 0.5em 0;font-weight:normal;font-size:12px;line-height:20px}#abh_settings_body #abh_option_social p{clear:both}#abh_settings_body #abh_option_social p.abh_social_text{height:30px;line-height:30px}#abh_settings_body fieldset p.withborder{clear:both;vertical-align:top;min-height:45px;margin:7px 0 10px 0;padding:0 0 10px 0;font-weight:normal;font-size:12px;border-bottom:1px dashed #CCC}#abh_settings_body fieldset p.withcode strong{display:block;font-size:10px;color:#333;margin-left:15px;margin-top:10px}#abh_settings_body fieldset p.withcode input[type=text]{width:170px;font-size:10px;margin:0;border:1px solid green}#abh_settings_body fieldset p.abh_show_extra_description{clear:both;color:green;cursor:pointer;font-size:12px;font-weight:bold;margin-bottom:5px}#abh_settings_body fieldset p.abh_extra_description{clear:both}#abh_settings_body fieldset p.abh_extra_description textarea{height:86px}#abh_settings_body fieldset .abh_icon{display:block;float:left;background:transparent url('../img/sprite.png') no-repeat;margin:0 10px 0 0;color:brown;width:55px;height:50px}#abh_settings_body fieldset .abh_icon_googleplus{background-position:-221px -100px}#abh_settings_body fieldset .abh_icon_googlewt{background-position:-112px -100px}#abh_settings_body fieldset .abh_icon_googleanalytics{background-position:0px -100px}#abh_settings_body fieldset .abh_icon_facebookinsights{background-position:-59px -100px}#abh_settings_body fieldset .abh_icon_bingwt{background-position:-165px -100px}#abh_settings_body fieldset .abh_icon_alexat{background-position:-270px -100px}#abh_settings_body fieldset p input,#abh_settings_body fieldset p textarea{font-weight:bold;margin-left:15px;padding:4px;border:1px solid lightgray;max-width:415px;min-width:370px}#abh_settings_body .abh_select{float:left;font-weight:bold;margin-right:5px}#abh_settings_body .abh_description textarea{min-width:400px}#abh_settings_body div p span{display:block;float:left;min-width:100px;padding-top:4px;font-size:14px}#abh_settings_body .abh_button{font-size:15px;font-weight:bold;line-height:25px;padding:1px 10px;margin-left:11px;margin-top:5px;background-color:green;color:white}#abh_settings_body a.abh_button{background:#999;padding:5px 11px;text-transform:none;text-decoration:none}#abh_settings_body .customize,#abh_settings_body ._customize{font-size:12px;font-weight:bold;color:blue;cursor:pointer}#abh_settings_body ._customize{margin-top:10px}@media only screen and (max-width: 1800px){#abh_settings_body #abh_settings_left,#abh_settings_body #abh_settings_right{float:none}}.abh_option_content{clear:both;padding:6px 0;height:30px}.abh_option_content > span{float:left;position:relative;padding-top:8px;display:block;vertical-align:middle;line-height:12px;font-size:14px;text-shadow:1px 1px #FFF}.abh_switch{float:left;position:relative;margin:0px 9px 0 0;height:26px;width:120px;background:rgba(0, 0, 0, 0.25);border-radius:3px;-webkit-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1)}.abh_switch-label{position:relative;z-index:2;float:left;width:58px;line-height:26px;font-size:11px;color:rgba(255, 255, 255, 0.35);text-align:center;text-shadow:0 1px 1px rgba(0, 0, 0, 0.45);cursor:pointer}.abh_switch-label:active{font-weight:bold}.abh_switch-label-off{padding-left:2px}.abh_switch-label-on{padding-right:2px}.abh_switch-input{display:none !important}.abh_switch-input:checked + .abh_switch-label{font-weight:bold;color:rgba(0, 0, 0, 0.65);text-shadow:0px 1px rgba(255, 255, 255, 0.25);-webkit-transition:0.15s ease-out;-moz-transition:0.15s ease-out;-o-transition:0.15s ease-out;transition:0.15s ease-out}.abh_switch-input:checked + .abh_switch-label-on ~ .abh_switch-selection{left:60px;background:lightcoral}.abh_switch-selection{display:block;position:absolute;z-index:1;top:2px;left:2px;width:58px;height:22px;background:#65bd63;border-radius:3px;background-image:-webkit-linear-gradient(top, #9dd993, #65bd63);background-image:-moz-linear-gradient(top, #9dd993, #65bd63);background-image:-o-linear-gradient(top, #9dd993, #65bd63);background-image:linear-gradient(to bottom, #9dd993, #65bd63);-webkit-box-shadow:inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2);box-shadow:inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2);-webkit-transition:left 0.15s ease-out;-moz-transition:left 0.15s ease-out;-o-transition:left 0.15s ease-out;transition:left 0.15s ease-out}#abh_settings .abh_option_strictposts{float:left;clear:both;margin:4px 0 10px 1px}#abh_settings .abh_option_strictposts input{margin-right:3px;margin-top:3px}.abh_option_content_small{clear:both;padding:0px 0;height:20px}.abh_option_content > span.abh_option_info_small{line-height:20px;font-size:11px;color:#777}.abh_option_content_small .abh_switch{margin:0px 9px 0 0;height:18px;width:60px}.abh_option_content_small .abh_switch-label{width:28px;line-height:17px;font-size:9px}.abh_option_content_small .abh_switch-input:checked + .abh_switch-label-on ~ .abh_switch-selection{left:31px}.abh_option_content_small .abh_switch-selection{top:1px;left:1px;width:28px;height:16px}.abh_option_content_small > span{font-size:11px !important}.abh_social_settings{display:block;float:right;line-height:1px;padding:0;margin:0;text-align:right}.abh_social_settings{width:140px;margin:0 0 0 auto}.abh_social_settings{display:inline-block;background:transparent url('../img/sprite.png') no-repeat;min-width:24px !important;width:24px !important;height:24px !important;padding:0 !important;margin:1px 5px 0 0 !important;opacity:.5;transition:opacity .2s;text-decoration:none;-moz-transition:opacity .2s;-webkit-transition:opacity .2s;-o-transition:opacity .2s;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px}.abh_social_settings:hover{opacity:1}span.abh_facebook{background-position:0px 0px}span.abh_flickr{background-position:-24px 0px}span.abh_google{background-position:-48px 0px}span.abh_instagram{background-position:-72px 0px}span.abh_linkedin{background-position:-96px 0px}span.abh_pinterest{background-position:-120px 0px}span.abh_tumblr{background-position:-144px 0px}span.abh_twitter{background-position:-168px 0px}span.abh_vimeo{background-position:-192px 0px}span.abh_youtube{background-position:-216px 0px}span.abh_klout{background-position:-240px 0px;border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0}span.abh_klout_score{text-align:center;color:#fff;font-size:11px;background-position:-264px 0px;background-repeat:no-repeat;height:0px;padding:9px 0 15px 0;border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0}.abh_settings_rate{display:block;font-size:14px;width:350px;clear:both;cursor:pointer}.abh_settings_rate span{margin:3px 5px 0 0;float:left;display:block;width:104px;height:26px;background:transparent url('../img/sprite.png') no-repeat;background-position:0px -74px}#abh_box_preview_title{font-size:16px;margin-top:10px;font-weight:bold;color:orange;text-align:center;width:700px;width:600px;margin-left:115px}#abh_box_preview{position:relative;background-color:white;border:1px solid #eee;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;width:600px;min-height:130px;padding:10px;margin-left:115px}#abh_box_preview .abh_box{margin:0 !important}
|
{themes → 3.0.2/themes}/admin/img/loading.gif
RENAMED
File without changes
|
{themes → 3.0.2/themes}/admin/img/minloading.gif
RENAMED
File without changes
|
{themes → 3.0.2/themes}/admin/img/sprite.png
RENAMED
File without changes
|
{themes → 3.0.2/themes}/admin/js/menu.js
RENAMED
File without changes
|
3.0.2/themes/business/css/frontend.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.abh_box{clear:both !important;position:relative !important;width:100% !important;padding:25px 0 !important}.abh_tabs{list-style:none !important;width:100% !important;padding:5px 0px 1px 0px !important;margin:0px 0px 0px 0px !important;font:13px arial !important;border-bottom:1px solid #ccc !important}.abh_tabs li{list-style:none !important;display:inline !important;margin:0 !important;padding:0 !important}.abh_tabs li:after{content:"" !important;padding:0 !important;margin:0 !important}.abh_tabs li:before{content:"" !important;padding:0 !important;margin:0 !important}.abh_tabs li i{display:none}.abh_tabs li a{color:#333 !important;background-color:transparent !important;border:0px solid #ccc !important;padding:4px 10px 5px !important;text-decoration:none !important;border-bottom:none !important;outline:none !important;font-size:100% !important;line-height:23px !important}.abh_tabs li a:hover{background-color:#dddddd !important;padding:4px 10px 5px !important}.abh_tabs li.abh_active a{color:#333 !important;background-color:#eeeeee !important;border-bottom:1px solid #fff !important;padding:4px 10px 5px 10px !important;border-bottom:none !important}.abh_tabs li.abh_active a:hover{background-color:#eeeeee !important;padding:4px 10px 5px 10px !important;border-bottom:none !important}.abh_tabs li a.icon_accept{background-image:url(accept.png) !important;background-position:5px !important;background-repeat:no-repeat !important;padding-left:24px !important}.abh_tabs li a.icon_accept:hover{padding-left:24px !important}.abh_tabs_content_container{border:2px solid #ccc !important;border-top:none !important;padding:10px !important;width:400px !important}.abh_tab_content{padding:20px 12px !important;min-height:80px !important;overflow:hidden !important;border-bottom:1px solid #ccc !important}.abh_tab_content .abh_tab{display:none}.abh_tab_content .abh_image{display:block;float:left !important;width:80px !important;margin-top:10px !important}.abh_tab_content .abh_image img{max-width:80px !important;border-radius:3px !important;box-shadow:0 1px 4px rgba(0, 0, 0, 0.2) !important;overflow:hidden !important;-webkit-border-radius:50% 50% 50% 50% !important;-moz-border-radius:50% 50% 50% 50% !important;border-radius:50% 50% 50% 50% !important}.abh_tab_content .abh_text{margin-left:96px !important;font-size:100% !important;line-height:1.5 !important}.abh_tab_content .abh_text h3,.abh_tab_content .abh_text h4{font-size:20px !important;padding:0 !important;margin:0 !important;clear:none !important;font-weight:bold !important;text-align:left !important;line-height:20px !important}.abh_tab_content .abh_text .fn{text-transform:capitalize !important;clear:none !important;font-size:18px !important;line-height:24px !important;margin:0 !important;padding:0 !important;border:none !important}.abh_tab_content .abh_text a{font-size:100% !important;text-decoration:none !important}.abh_tab_content .abh_text .abh_job{font-size:13px !important;line-height:20px !important;font-size:100% !important}.abh_tab_content .abh_text .abh_job span{vertical-align:top !important;font-size:13px !important;margin-bottom:10px !important;background-image:none !important;padding:0 !important;margin:0 !important}.abh_tab_content .abh_text .abh_description{position:static !important;padding-top:6px !important;font-size:14px !important;width:100% !important}.abh_tab_content .abh_text .abh_allposts{font-size:11px !important;vertical-align:middle !important}.abh_tab_content .abh_text ul{list-style:none !important;padding:0 !important;margin:5px 0 0 15px !important}.abh_tab_content .abh_text ul li,.abh_tab_content .abh_text ul li span{font-size:13px !important;line-height:20px !important;margin:0 !important}.abh_tab_content .abh_social{display:block;float:right !important;line-height:1px !important;padding:0 !important;margin:3px 0 0 0 !important;text-align:right !important}.abh_tab_content .abh_social div{width:140px !important;margin:0 0 0 auto !important}.abh_tab_content .abh_social a{display:inline-block;background:transparent url('../img/sprite.png') no-repeat !important;width:24px !important;height:24px !important;margin:1px !important;padding:0 !important;opacity:.5 !important;transition:opacity .2s !important;text-decoration:none !important;-moz-transition:opacity .2s !important;-webkit-transition:opacity .2s !important;-o-transition:opacity .2s !important;border-radius:5px !important;-webkit-border-radius:5px !important;-moz-border-radius:5px !important}.abh_tab_content .abh_social a:hover{opacity:1 !important}.abh_tab_content .abh_social a.abh_facebook{background-position:0px 0px !important}.abh_tab_content .abh_social a.abh_flickr{background-position:-24px 0px !important}.abh_tab_content .abh_social a.abh_google{background-position:-48px 0px !important}.abh_tab_content .abh_social a.abh_instagram{background-position:-72px 0px !important}.abh_tab_content .abh_social a.abh_linkedin{background-position:-96px 0px !important}.abh_tab_content .abh_social a.abh_pinterest{background-position:-120px 0px !important}.abh_tab_content .abh_social a.abh_tumblr{background-position:-144px 0px !important}.abh_tab_content .abh_social a.abh_twitter{background-position:-168px 0px !important}.abh_tab_content .abh_social a.abh_vimeo{background-position:-192px 0px !important}.abh_tab_content .abh_social a.abh_youtube{background-position:-216px 0px !important}.abh_tab_content .abh_social a.abh_klout{background-position:-240px 0px !important;border-radius:5px 5px 0 0 !important;-webkit-border-radius:5px 5px 0 0 !important;-moz-border-radius:5px 5px 0 0 !important}.abh_tab_content .abh_social a.abh_klout_score{text-align:center !important;color:#fff !important;font-size:11px !important;background-position:-264px 0px !important;background-repeat:no-repeat !important;height:0px !important;padding:10px 0 15px 0 !important;border-radius:5px 5px 0 0 !important;-webkit-border-radius:5px 5px 0 0 !important;-moz-border-radius:5px 5px 0 0 !important;vertical-align:top !important;text-shadow:1px 1px #888 !important}.abh_box .vcard{background:none !important;font-size:100% !important;border:none !important}.abh_box .abh_pwb a{position:absolute !important;text-decoration:none !important;font-size:9px !important;color:#999 !important;right:0 !important;bottom:5px !important}
|
{themes → 3.0.2/themes}/business/img/sprite.png
RENAMED
File without changes
|
{themes → 3.0.2/themes}/business/js/frontend.js
RENAMED
File without changes
|
3.0.2/themes/drop-down/css/frontend.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.abh_box_down{margin:0px 0 15px 0 !important}.abh_box_up{margin:0 0 15px 0 !important}.abh_box{clear:both !important;position:relative !important;width:100% !important}.abh_tabs{display:none;position:absolute !important;top:57px !important;left:-3px !important;width:55px !important;list-style:none !important;padding:0px 0px 5px 0px !important;margin:0px !important;font:13px arial !important}.abh_tabs li{display:block;list-style:none !important;margin:0 !important;padding:0 !important;width:100% !important;text-align:center !important;line-height:11px !important;height:15px !important}.abh_tabs li:before{content:"" !important;padding:0 !important;margin:0 !important}.abh_tabs li a{font-size:10px !important;border:0px solid #ccc !important;text-decoration:none !important;border-bottom:none !important;padding:0px !important}.abh_tabs li.abh_active a{padding:0px !important}.abh_tabs li a.icon_accept{background-image:url(accept.png) !important;background-position:5px !important;background-repeat:no-repeat !important;padding-left:24px !important}.abh_tabs li a.icon_accept:hover{padding-left:24px !important}.abh_tabs_content_container{border:2px solid #ccc !important;border-top:none !important;padding:10px !important;width:400px !important}.abh_tab_content{padding:31px 0 10px 0 !important;margin-left:65px !important;min-height:10px !important;overflow:hidden !important;border-bottom:0px solid #ddd !important}.abh_tab_content .abh_tab{display:none;border:none !important}.abh_tab_content .abh_image{position:absolute !important;top:0 !important;left:0 !important;display:block;float:left !important;width:80px !important}.abh_tab_content .abh_image img{width:50px !important;height:50px !important;box-shadow:0 1px 4px rgba(0, 0, 0, 0.2) !important;overflow:hidden !important;-webkit-border-radius:50% 50% 50% 50% !important;-moz-border-radius:50% 50% 50% 50% !important;border-radius:50% 50% 50% 50% !important;cursor:pointer !important;padding:0 !important;margin:0 !important}.abh_tab_content .abh_text{margin-left:5px !important;line-height:1.5 !important}.abh_tab_content .abh_text h3,.abh_tab_content .abh_text h4{clear:none !important;font-weight:bold !important;position:absolute !important;top:11px !important;left:70px !important;text-transform:capitalize !important;text-align:left !important;clear:none !important;font-size:18px !important;line-height:1 !important;text-decoration:none !important;margin:0 !important;padding:0 0 7px 0 !important;border-bottom:1px solid #ddd !important;cursor:pointer !important}.abh_tab_content .abh_text h3 a:hover,.abh_tab_content .abh_text h4 a:hover{text-decoration:none !important}.abh_tab_content .abh_text h3 .abh_arrow{float:right !important;background:transparent url('../img/sprite.png') no-repeat !important;background-position:0% -29px !important;display:inline-block !important;font-size:14px !important;padding-right:0px !important;margin:0 !important;width:35px !important;height:17px !important}.abh_tab_content .abh_text h3 .abh_active{background-position:0% -49px !important}.abh_tab_content .abh_text a{line-height:20px;font-size:100% !important;text-decoration:none !important}.abh_tab_content .abh_text .abh_job{display:none;font-size:13px !important;font-weight:100 !important;line-height:35px !important}.abh_tab_content .abh_text .abh_job span{vertical-align:top !important;font-size:13px !important;margin-bottom:10px;background-image:none;padding:0;margin:0}.abh_tab_content .abh_description{display:none;position:static !important;width:100% !important;font-size:14px !important;margin:0 !important;width:100% !important}.abh_tab_content .abh_text .abh_allposts{display:none;font-size:11px !important;vertical-align:middle !important}.abh_tab_content .abh_text ul{list-style:none !important;padding:0 !important;margin:5px 0 0 10px !important}.abh_tab_content .abh_text ul li,.abh_tab_content .abh_text ul li span{font-size:13px !important;line-height:20px !important;margin:0 !important}.abh_tab_content .abh_social{display:none;float:right !important;width:140px !important;padding:0 !important;margin:0 !important;line-height:1px !important;text-align:right !important}.abh_tab_content .abh_social a{display:inline-block !important;background:transparent url('../img/sprite.png') no-repeat !important;width:24px !important;height:24px !important;margin:1px !important;padding:0 !important;opacity:.5 !important;transition:opacity .2s !important;-moz-transition:opacity .2s !important;-webkit-transition:opacity .2s !important;-o-transition:opacity .2s !important;border-radius:5px !important;-webkit-border-radius:5px !important;-moz-border-radius:5px !important}.abh_tab_content .abh_social a:hover{opacity:1 !important}.abh_tab_content .abh_social a.abh_facebook{background-position:0px 0px !important}.abh_tab_content .abh_social a.abh_flickr{background-position:-24px 0px !important}.abh_tab_content .abh_social a.abh_google{background-position:-48px 0px !important}.abh_tab_content .abh_social a.abh_instagram{background-position:-72px 0px !important}.abh_tab_content .abh_social a.abh_linkedin{background-position:-96px 0px !important}.abh_tab_content .abh_social a.abh_pinterest{background-position:-120px 0px !important}.abh_tab_content .abh_social a.abh_tumblr{background-position:-144px 0px !important}.abh_tab_content .abh_social a.abh_twitter{background-position:-168px 0px !important}.abh_tab_content .abh_social a.abh_vimeo{background-position:-192px 0px !important}.abh_tab_content .abh_social a.abh_youtube{background-position:-216px 0px !important}.abh_tab_content .abh_social a.abh_klout{background-position:-240px 0px !important;border-radius:5px 5px 0 0 !important;-webkit-border-radius:5px 5px 0 0 !important;-moz-border-radius:5px 5px 0 0 !important}.abh_tab_content .abh_social a.abh_klout_score{text-align:center !important;color:#fff !important;font-size:11px !important;background-position:-264px 0px !important;background-repeat:no-repeat !important;height:0px !important;padding:10px 0 15px 0 !important;text-decoration:none !important;border-radius:5px 5px 0 0 !important;-webkit-border-radius:5px 5px 0 0 !important;-moz-border-radius:5px 5px 0 0 !important;vertical-align:top !important;text-shadow:1px 1px #888 !important}.abh_box .vcard{background:none !important;font-size:100% !important;border:none !important}.abh_box .abh_pwb{display:none}.abh_box .abh_pwb a{position:absolute !important;text-decoration:none !important;font-size:9px !important;color:#999 !important;right:0 !important;bottom:-20px !important}
|
{themes → 3.0.2/themes}/drop-down/img/sprite.png
RENAMED
File without changes
|
{themes → 3.0.2/themes}/drop-down/js/frontend.js
RENAMED
File without changes
|
3.0.2/themes/fancy/css/frontend.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.abh_box{clear:both !important;width:100% !important;padding:25px 0 !important;position:relative !important}.abh_tabs{list-style:none !important;width:100% !important;padding:5px 0px 0px 0px !important;margin:0px 0px 0px 0px !important;font:13px arial !important;border-bottom:1px solid #ccc !important}.abh_tabs li{list-style:none !important;display:inline !important;margin:0 !important;padding:0 !important}.abh_tabs li:after{content:"" !important;padding:0 !important;margin:0 !important}.abh_tabs li:before{content:"" !important;padding:0 !important;margin:0 !important}.abh_tabs li i{display:none}.abh_tabs li a{color:#333 !important;border:1px solid #ccc !important;padding:4px 10px 3px !important;text-decoration:none !important;background-color:#eeeeee !important;border-bottom:none !important;outline:none !important;border-radius:5px 5px 0 0 !important;-webkit-border-radius:5px 5px 0 0 !important;-moz-border-radius:5px 5px 0 0 !important;line-height:23px !important}.abh_tabs li a:hover{background-color:#dddddd !important;padding:4px 10px !important}.abh_tabs li.abh_active a{color:#333 !important;border-bottom:1px solid #fff !important;background-color:#fff !important;padding:4px 10px 5px 10px !important;border-bottom:none !important}.abh_tabs li.abh_active a:hover{background-color:#eeeeee !important;padding:4px 10px 5px 10px !important;border-bottom:none !important}.abh_tabs li a.icon_accept{background-image:url(accept.png) !important;background-position:5px !important;background-repeat:no-repeat !important;padding-left:24px !important}.abh_tabs li a.icon_accept:hover{padding-left:24px !important}.abh_tabs_content_container{border:2px solid #ccc !important;border-top:none !important;padding:10px !important;width:400px !important}.abh_tab_content{padding:12px !important;background:#fff !important;min-height:80px !important;overflow:hidden !important;border-left:1px solid #ccc !important;border-right:1px solid #ccc !important;border-bottom:1px solid #ccc !important;border-radius:0 0 5px 5px !important;-webkit-border-radius:0 0 5px 5px !important;-moz-border-radius:0 0 5px 5px !important}.abh_tab_content .abh_tab{display:none}.abh_tab_content .abh_image{display:block;float:left !important;width:80px !important}.abh_tab_content .abh_image img{max-width:80px !important;border-radius:3px !important;box-shadow:0 1px 4px rgba(0, 0, 0, 0.2) !important}.abh_tab_content .abh_text{margin-left:96px !important;line-height:1.5 !important}.abh_tab_content .abh_text h3,.abh_tab_content .abh_text h4{clear:none !important;font-size:20px !important;font-weight:bold !important;padding:0 !important;margin:0 !important;clear:none !important;font-weight:bold !important;text-align:left !important;line-height:20px !important}.abh_tab_content .abh_text .fn{text-transform:capitalize !important;clear:none !important;font-size:18px !important;color:#333 !important;line-height:1 !important;margin:0 !important;padding:0 !important;border:none !important}.abh_tab_content .abh_text .fn a{color:#333 !important}.abh_tab_content .abh_text a{text-decoration:none !important}.abh_tab_content .abh_text .abh_job{font-size:13px !important;line-height:20px !important;font-size:100% !important}.abh_tab_content .abh_text .abh_job span{vertical-align:top !important;font-size:13px !important;margin-bottom:10px !important;background-image:none !important;padding:0 !important;margin:0 !important}.abh_tab_content .abh_text .abh_description{position:static !important;padding-top:6px !important;font-size:14px !important;width:100% !important}.abh_tab_content .abh_text .abh_allposts{font-size:11px !important;vertical-align:middle !important}.abh_tab_content .abh_text ul{list-style:none !important;padding:0 !important;margin:5px 0 0 15px !important}.abh_tab_content .abh_text ul li,.abh_tab_content .abh_text ul li span{font-size:13px !important;line-height:20px !important;margin:0 !important}.abh_tab_content .abh_social{width:80px !important;clear:left !important;float:left !important;line-height:1px !important;padding:0 !important;margin:3px 0 0 0 !important;text-align:center !important}.abh_tab_content .abh_social div{width:auto !important}.abh_tab_content .abh_social a{display:inline-block !important;background:transparent url('../img/sprite.png') no-repeat !important;width:24px !important;height:24px !important;margin:1px !important;padding:0 !important;opacity:.5 !important;transition:opacity .2s !important;-moz-transition:opacity .2s !important;-webkit-transition:opacity .2s !important;-o-transition:opacity .2s !important;border-radius:5px !important;-webkit-border-radius:5px !important;-moz-border-radius:5px !important}.abh_tab_content .abh_social a:hover{opacity:1 !important}.abh_tab_content .abh_social a.abh_facebook{background-position:0px 0px !important}.abh_tab_content .abh_social a.abh_flickr{background-position:-24px 0px !important}.abh_tab_content .abh_social a.abh_google{background-position:-48px 0px !important}.abh_tab_content .abh_social a.abh_instagram{background-position:-72px 0px !important}.abh_tab_content .abh_social a.abh_linkedin{background-position:-96px 0px !important}.abh_tab_content .abh_social a.abh_pinterest{background-position:-120px 0px !important}.abh_tab_content .abh_social a.abh_tumblr{background-position:-144px 0px !important}.abh_tab_content .abh_social a.abh_twitter{background-position:-168px 0px !important}.abh_tab_content .abh_social a.abh_vimeo{background-position:-192px 0px !important}.abh_tab_content .abh_social a.abh_youtube{background-position:-216px 0px !important}.abh_tab_content .abh_social a.abh_klout{background-position:-240px 0px !important;border-radius:5px 5px 0 0 !important;-webkit-border-radius:5px 5px 0 0 !important;-moz-border-radius:5px 5px 0 0 !important}.abh_tab_content .abh_social a.abh_klout_score{text-align:center !important;color:#fff !important;font-size:11px !important;background-position:-264px 0px !important;background-repeat:no-repeat !important;height:0px !important;padding:10px 0 15px 0 !important;text-decoration:none !important;border-radius:5px 5px 0 0 !important;-webkit-border-radius:5px 5px 0 0 !important;-moz-border-radius:5px 5px 0 0 !important;vertical-align:top !important;text-shadow:1px 1px #888 !important}.abh_box .vcard{background:none !important;font-size:100% !important;border:none !important}.abh_box .abh_pwb a{position:absolute !important;text-decoration:none !important;font-size:9px !important;color:#999 !important;right:0 !important;bottom:5px !important}
|
{themes → 3.0.2/themes}/fancy/img/sprite.png
RENAMED
File without changes
|
{themes → 3.0.2/themes}/fancy/js/frontend.js
RENAMED
File without changes
|
3.0.2/themes/minimal/css/frontend.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.abh_box{clear:both !important;width:100% !important;padding:25px 0 !important;position:relative !important}.abh_tabs{display:none;list-style:none !important;width:100% !important;padding:5px 0px 5px 0px !important;margin:0px 0px 0px 0px !important;font:13px arial !important}.abh_tabs li{display:none;list-style:none !important;margin:0 !important;padding:0 !important}.abh_tabs li:before{content:"" !important;padding:0 !important;margin:0 !important}.abh_tabs li i{display:none}.abh_tabs li a{color:#333 !important;background-color:transparent !important;border:0px solid #ccc !important;padding:4px 10px 5px !important;text-decoration:none !important;border-bottom:none !important;outline:none !important}.abh_tabs li a:hover{background-color:#dddddd !important;padding:4px 10px 5px !important}.abh_tabs li.abh_active a{color:#333 !important;background-color:#eeeeee !important;border-bottom:1px solid #fff !important;padding:4px 10px 5px 10px !important;border-bottom:none !important}.abh_tabs li.abh_active a:hover{background-color:#eeeeee !important;padding:4px 10px 5px 10px !important;border-bottom:none !important}.abh_tabs li a.icon_accept{background-image:url(accept.png) !important;background-position:5px !important;background-repeat:no-repeat !important;padding-left:24px !important}.abh_tabs li a.icon_accept:hover{padding-left:24px !important}.abh_tabs_content_container{border:2px solid #ccc !important;border-top:none !important;padding:10px !important;width:400px !important}.abh_tab_content{padding:20px 12px !important;min-height:80px !important;overflow:hidden !important;border-top:1px solid #ccc !important;border-bottom:1px solid #ccc !important}.abh_tab_content .abh_tab{display:none}.abh_tab_content .abh_image{display:block;float:left !important;width:90px !important;margin:0px !important;padding:0 !important}.abh_tab_content .abh_image img{border-radius:3px !important;-webkit-border-radius:3px !important;-moz-border-radius:3px !important;box-shadow:none !important;overflow:hidden !important;border:1px solid #ddd !important;padding:5px !important;max-width:80px !important}.abh_tab_content .abh_text{margin-left:110px !important;line-height:1.5 !important}.abh_tab_content .abh_text h3,.abh_tab_content .abh_text h4{font-size:20px !important;padding:0 !important;margin:0 !important;clear:none !important;font-weight:bold !important;text-align:left !important;line-height:20px !important}.abh_tab_content .abh_text .fn{text-transform:capitalize !important;clear:none !important;font-size:18px !important;line-height:1 !important;margin:0 !important;padding:0 !important;border:none !important}.abh_tab_content .abh_text a{font-size:100% !important;text-decoration:none !important}.abh_tab_content .abh_text .abh_job{font-size:13px !important;line-height:20px !important;font-size:100% !important}.abh_tab_content .abh_text .abh_job span{font-size:13px !important;margin-bottom:10px !important;background-image:none !important;padding:0 !important;margin:0 !important}.abh_tab_content .abh_text .abh_description{position:static !important;padding-top:6px !important;font-size:13px !important;width:100% !important}.abh_tab_content .abh_text .abh_allposts{font-size:11px !important;vertical-align:middle !important}.abh_tab_content .abh_text ul{list-style:none !important;padding:0 !important;margin:5px 0 0 15px !important}.abh_tab_content .abh_text ul li,.abh_tab_content .abh_text ul li span{font-size:13px !important;line-height:20px !important;margin:0 !important}.abh_tab_content .abh_social{display:block;float:right !important;line-height:1px !important;padding:0 !important;margin:3px 0 0 0 !important;text-align:right !important}.abh_tab_content .abh_social div{width:140px !important;margin:0 0 0 auto !important}.abh_tab_content .abh_social a{display:inline-block !important;background:transparent url('../img/sprite.png') no-repeat !important;width:24px !important;height:24px !important;margin:1px !important;padding:0 !important;opacity:.5 !important;transition:opacity .2s !important;text-decoration:none !important;-moz-transition:opacity .2s !important;-webkit-transition:opacity .2s !important;-o-transition:opacity .2s !important;border-radius:5px !important;-webkit-border-radius:5px !important;-moz-border-radius:5px !important}.abh_tab_content .abh_social a:hover{opacity:1 !important}.abh_tab_content .abh_social a.abh_facebook{background-position:0px 0px !important}.abh_tab_content .abh_social a.abh_flickr{background-position:-24px 0px !important}.abh_tab_content .abh_social a.abh_google{background-position:-48px 0px !important}.abh_tab_content .abh_social a.abh_instagram{background-position:-72px 0px !important}.abh_tab_content .abh_social a.abh_linkedin{background-position:-96px 0px !important}.abh_tab_content .abh_social a.abh_pinterest{background-position:-120px 0px !important}.abh_tab_content .abh_social a.abh_tumblr{background-position:-144px 0px !important}.abh_tab_content .abh_social a.abh_twitter{background-position:-168px 0px !important}.abh_tab_content .abh_social a.abh_vimeo{background-position:-192px 0px !important}.abh_tab_content .abh_social a.abh_youtube{background-position:-216px 0px !important}.abh_tab_content .abh_social a.abh_klout{background-position:-240px 0px !important;border-radius:5px 5px 0 0 !important;-webkit-border-radius:5px 5px 0 0 !important;-moz-border-radius:5px 5px 0 0 !important}.abh_tab_content .abh_social a.abh_klout_score{text-align:center !important;color:#fff !important;font-size:11px !important;background-position:-264px 0px !important;background-repeat:no-repeat !important;height:0px !important;padding:10px 0 15px 0 !important;border-radius:5px 5px 0 0 !important;-webkit-border-radius:5px 5px 0 0 !important;-moz-border-radius:5px 5px 0 0 !important;vertical-align:top !important;text-shadow:1px 1px #888 !important}.abh_box .vcard{background:none !important;font-size:100% !important;border:none !important}.abh_box .abh_pwb a{position:absolute !important;text-decoration:none !important;font-size:9px !important;color:#999 !important;right:0 !important;bottom:5px !important}
|
{themes → 3.0.2/themes}/minimal/img/sprite.png
RENAMED
File without changes
|
3.0.2/themes/topstar-round/css/frontend.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.abh_box_down{margin:0}.abh_box_up{margin:0}.abh_box{position:absolute;width:0;height:0}.abh_tabs{display:none;position:absolute;top:57px;left:-3px;width:55px;display:none;list-style:none;padding:0px 0px 5px 0px;margin:0px;font:13px arial}.abh_tabs li{display:block;width:100%;text-align:center;line-height:11px;height:15px}.abh_tabs li a{font-size:10px;border:0px solid #ccc;text-decoration:none;border-bottom:none;padding:0px}.abh_tabs li.abh_active a{padding:0px}.abh_tabs li a.icon_accept{background-image:url(accept.png);background-position:5px;background-repeat:no-repeat;padding-left:24px}.abh_tabs li a.icon_accept:hover{padding-left:24px}.abh_tabs_content_container{border:2px solid #ccc;border-top:none;padding:10px;width:400px}.abh_tab_content{display:block;position:absolute;width:80px;min-height:245px;top:-10px;left:-125px;text-align:right;padding:0;margin:0}.abh_tab_content .abh_tab{display:none}.abh_tab_content .abh_about{display:block}.abh_tab_content .abh_image{position:absolute;top:0;left:0;display:block;float:left}.abh_tab_content .abh_image img{max-width:100%;box-shadow:0 1px 4px rgba(0, 0, 0, 0.2);overflow:hidden;-webkit-border-radius:50% 50% 50% 50%;-moz-border-radius:50% 50% 50% 50%;border-radius:50% 50% 50% 50%;cursor:pointer}.abh_tab_content .abh_text{line-height:1.5}.abh_tab_content .abh_text h3,.abh_tab_content .abh_text h4{clear:both;font-weight:normal;text-transform:capitalize;text-align:center;font-size:12px;line-height:14px !important;text-decoration:none;margin:83px 0 0 0 !important;padding:0 0 4px 0;border-bottom:1px solid #ddd;cursor:pointer}.abh_tab_content .abh_text h3 a:hover,.abh_tab_content .abh_text h4 a:hover{text-decoration:none}.abh_tab_content .abh_text h3 .abh_arrow{float:right;background:transparent url('../img/sprite.png') no-repeat;background-position:0% -29px;display:inline-block;font-size:14px;padding-right:13px;margin:0;width:8px;height:17px}.abh_tab_content .abh_text h3 .abh_active{background-position:0% -49px}.abh_tab_content .abh_text .fn a{text-decoration:none}.abh_tab_content .abh_text .abh_job{display:none}.abh_tab_content .abh_text .abh_job span{font-size:13px;margin-bottom:15px}.abh_tab_content .abh_description{display:none;width:100%;margin-top:5px}.abh_tab_content .abh_text .abh_allposts{display:none;font-size:11px;vertical-align:middle}.abh_tab_content .abh_text ul{list-style:none;padding:0;margin:5px 0 0 10px}.abh_tab_content .abh_social{display:none;position:absolute;width:80px;top:130px;line-height:1px;padding:0;margin:3px 0 0 0;text-align:center}.abh_tab_content .abh_social div{width:auto !important}.abh_tab_content .abh_social a{display:inline-block;background:transparent url('../img/sprite.png') no-repeat;width:24px;height:24px;margin:1px !important;padding:0 !important;opacity:.5;transition:opacity .2s;-moz-transition:opacity .2s;-webkit-transition:opacity .2s;-o-transition:opacity .2s;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px}.abh_tab_content .abh_social a:hover{opacity:1}.abh_tab_content .abh_social a.abh_facebook{background-position:0px 0px}.abh_tab_content .abh_social a.abh_flickr{background-position:-24px 0px}.abh_tab_content .abh_social a.abh_google{background-position:-48px 0px}.abh_tab_content .abh_social a.abh_instagram{background-position:-72px 0px}.abh_tab_content .abh_social a.abh_linkedin{background-position:-96px 0px}.abh_tab_content .abh_social a.abh_pinterest{background-position:-120px 0px}.abh_tab_content .abh_social a.abh_tumblr{background-position:-144px 0px}.abh_tab_content .abh_social a.abh_twitter{background-position:-168px 0px}.abh_tab_content .abh_social a.abh_vimeo{background-position:-192px 0px}.abh_tab_content .abh_social a.abh_youtube{background-position:-216px 0px}.abh_tab_content .abh_social a.abh_klout{background-position:-240px 0px;border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0}.abh_tab_content .abh_social a.abh_klout_score{text-align:center;color:#fff;font-size:11px;background-position:-264px 0px;background-repeat:no-repeat;height:0px;padding:10px 0 15px 0 !important;text-decoration:none;border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;vertical-align:top;text-shadow:1px 1px #888}.abh_box .vcard{background:none;font-size:100%;border:none}.abh_box .abh_pwb{display:none}
|
{themes → 3.0.2/themes}/topstar-round/img/sprite.png
RENAMED
File without changes
|
{themes → 3.0.2/themes}/topstar-round/js/frontend.js
RENAMED
File without changes
|
3.0.2/themes/topstar/css/frontend.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.abh_box_down{margin:0}.abh_box_up{margin:0}.abh_box{position:absolute;width:0;height:0}.abh_tabs{display:none;position:absolute;top:57px;left:-3px;width:55px;display:none;list-style:none;padding:0px 0px 5px 0px;margin:0px;font:13px arial}.abh_tabs li{display:block;width:100%;text-align:center;line-height:11px;height:15px}.abh_tabs li a{font-size:10px;border:0px solid #ccc;text-decoration:none;border-bottom:none;padding:0px}.abh_tabs li.abh_active a{padding:0px}.abh_tabs li a.icon_accept{background-image:url(accept.png);background-position:5px;background-repeat:no-repeat;padding-left:24px}.abh_tabs li a.icon_accept:hover{padding-left:24px}.abh_tabs_content_container{border:2px solid #ccc;border-top:none;padding:10px;width:400px}.abh_tab_content{display:block;position:absolute;width:80px;min-height:245px;top:-10px;left:-125px;text-align:right;padding:0;margin:0}.abh_tab_content .abh_tab{display:none}.abh_tab_content .abh_about{display:block}.abh_tab_content .abh_image{position:absolute;top:0;left:0;display:block;float:left}.abh_tab_content .abh_image img{max-width:100%;box-shadow:0 1px 4px rgba(0, 0, 0, 0.2);overflow:hidden;cursor:pointer}.abh_tab_content .abh_text{line-height:1.5}.abh_tab_content .abh_text h3,.abh_tab_content .abh_text h4{clear:both;font-weight:normal;text-transform:capitalize;text-align:right;font-size:12px;line-height:14px !important;text-decoration:none;margin:83px 0 0 0 !important;padding:0 0 4px 0;border-bottom:1px solid #ddd;cursor:pointer}.abh_tab_content .abh_text h3 a,.abh_tab_content .abh_text h4 a,.abh_tab_content .abh_text h3 a:hover,.abh_tab_content .abh_text h4 a:hover{text-decoration:none}.abh_tab_content .abh_text h3 .abh_arrow{float:right;background:transparent url('../img/sprite.png') no-repeat;background-position:0% -29px;display:inline-block;font-size:14px;padding-right:13px;margin:0;width:8px;height:17px}.abh_tab_content .abh_text h3 .abh_active{background-position:0% -49px}.abh_tab_content .abh_text .fn a{text-decoration:none}.abh_tab_content .abh_text .abh_job{display:none}.abh_tab_content .abh_text .abh_job span{font-size:13px;margin-bottom:15px}.abh_tab_content .abh_description{display:none;width:100%;margin-top:5px}.abh_tab_content .abh_text .abh_allposts{display:none;font-size:11px;vertical-align:middle}.abh_tab_content .abh_text ul{list-style:none;padding:0;margin:5px 0 0 10px}.abh_tab_content .abh_social{display:none;position:absolute;width:80px;top:130px;line-height:1px;padding:0;margin:3px 0 0 0;text-align:center}.abh_tab_content .abh_social div{width:auto !important}.abh_tab_content .abh_social a{display:inline-block;background:transparent url('../img/sprite.png') no-repeat;width:24px;height:24px;margin:1px !important;padding:0 !important;opacity:.5;transition:opacity .2s;-moz-transition:opacity .2s;-webkit-transition:opacity .2s;-o-transition:opacity .2s;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px}.abh_tab_content .abh_social a:hover{opacity:1}.abh_tab_content .abh_social a.abh_facebook{background-position:0px 0px}.abh_tab_content .abh_social a.abh_flickr{background-position:-24px 0px}.abh_tab_content .abh_social a.abh_google{background-position:-48px 0px}.abh_tab_content .abh_social a.abh_instagram{background-position:-72px 0px}.abh_tab_content .abh_social a.abh_linkedin{background-position:-96px 0px}.abh_tab_content .abh_social a.abh_pinterest{background-position:-120px 0px}.abh_tab_content .abh_social a.abh_tumblr{background-position:-144px 0px}.abh_tab_content .abh_social a.abh_twitter{background-position:-168px 0px}.abh_tab_content .abh_social a.abh_vimeo{background-position:-192px 0px}.abh_tab_content .abh_social a.abh_youtube{background-position:-216px 0px}.abh_tab_content .abh_social a.abh_klout{background-position:-240px 0px;border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0}.abh_tab_content .abh_social a.abh_klout_score{text-align:center;color:#fff;font-size:11px;background-position:-264px 0px;background-repeat:no-repeat;height:0px;padding:10px 0 15px 0 !important;text-decoration:none;border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;vertical-align:top;text-shadow:1px 1px #888}.abh_box .vcard{background:none;font-size:100%;border:none}.abh_box .abh_pwb{display:none}
|
{themes → 3.0.2/themes}/topstar/img/sprite.png
RENAMED
File without changes
|
{themes → 3.0.2/themes}/topstar/js/frontend.js
RENAMED
File without changes
|
uninstall.php → 3.0.2/uninstall.php
RENAMED
File without changes
|
3.0.3/classes/Action.php
ADDED
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Set the ajax action and call for wordpress
|
5 |
+
*/
|
6 |
+
class ABH_Classes_Action extends ABH_Classes_FrontController {
|
7 |
+
|
8 |
+
/** @var array with all form and ajax actions */
|
9 |
+
var $actions = array();
|
10 |
+
|
11 |
+
/** @var array from core config */
|
12 |
+
private static $config;
|
13 |
+
|
14 |
+
/**
|
15 |
+
* The hookAjax is loaded as custom hook in hookController class
|
16 |
+
*
|
17 |
+
* @return void
|
18 |
+
*/
|
19 |
+
function hookInit() {
|
20 |
+
/* Only if ajax */
|
21 |
+
if (isset($_SERVER['PHP_SELF']) && strpos($_SERVER['PHP_SELF'], '/admin-ajax.php') !== false) {
|
22 |
+
$this->actions = array();
|
23 |
+
$this->getActions(((isset($_GET['action']) ? $_GET['action'] : (isset($_POST['action']) ? $_POST['action'] : ''))));
|
24 |
+
}
|
25 |
+
}
|
26 |
+
|
27 |
+
/**
|
28 |
+
* The hookSubmit is loaded when action si posted
|
29 |
+
*
|
30 |
+
* @return void
|
31 |
+
*/
|
32 |
+
function hookMenu() {
|
33 |
+
/* Only if post */
|
34 |
+
if (isset($_SERVER['PHP_SELF']) && strpos($_SERVER['PHP_SELF'], '/admin-ajax.php') !== false) {
|
35 |
+
return;
|
36 |
+
}
|
37 |
+
|
38 |
+
$this->actions = array();
|
39 |
+
$this->getActions(((isset($_GET['action']) ? $_GET['action'] : (isset($_POST['action']) ? $_POST['action'] : ''))));
|
40 |
+
}
|
41 |
+
|
42 |
+
/**
|
43 |
+
* The hookHead is loaded as admin hook in hookController class for script load
|
44 |
+
* Is needed for security check as nonce
|
45 |
+
*
|
46 |
+
* @return void
|
47 |
+
*/
|
48 |
+
function hookHead() {
|
49 |
+
|
50 |
+
echo '<script type="text/javascript">
|
51 |
+
var abh_Query = {
|
52 |
+
"ajaxurl": "' . admin_url('admin-ajax.php') . '",
|
53 |
+
"adminposturl": "' . admin_url('post.php') . '",
|
54 |
+
"adminlisturl": "' . admin_url('edit.php') . '",
|
55 |
+
"nonce": "' . wp_create_nonce(_ABH_NONCE_ID_) . '"
|
56 |
+
}
|
57 |
+
</script>';
|
58 |
+
}
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Get all actions from config.xml in core directory and add them in the WP
|
62 |
+
*
|
63 |
+
* @return void
|
64 |
+
*/
|
65 |
+
public function getActions($cur_action) {
|
66 |
+
|
67 |
+
/* if config allready in cache */
|
68 |
+
if (!isset(self::$config)) {
|
69 |
+
$config_file = _ABH_CORE_DIR_ . 'config.xml';
|
70 |
+
if (!file_exists($config_file))
|
71 |
+
return;
|
72 |
+
|
73 |
+
/* load configuration blocks data from core config files */
|
74 |
+
$data = file_get_contents($config_file);
|
75 |
+
self::$config = json_decode(json_encode((array) simplexml_load_string($data)), 1);
|
76 |
+
}
|
77 |
+
|
78 |
+
if (is_array(self::$config))
|
79 |
+
foreach (self::$config['block'] as $block) {
|
80 |
+
if (isset($block['active']) && $block['active'] == 1) {
|
81 |
+
/* if there is a single action */
|
82 |
+
if (isset($block['actions']['action']))
|
83 |
+
|
84 |
+
/* if there are more actions for the current block */
|
85 |
+
if (!is_array($block['actions']['action'])) {
|
86 |
+
/* add the action in the actions array */
|
87 |
+
if ($block['actions']['action'] == $cur_action)
|
88 |
+
$this->actions[] = array('class' => $block['name']);
|
89 |
+
}else {
|
90 |
+
/* if there are more actions for the current block */
|
91 |
+
foreach ($block['actions']['action'] as $action) {
|
92 |
+
/* add the actions in the actions array */
|
93 |
+
if ($action == $cur_action)
|
94 |
+
$this->actions[] = array('class' => $block['name']);
|
95 |
+
}
|
96 |
+
}
|
97 |
+
}
|
98 |
+
}
|
99 |
+
|
100 |
+
/* add the actions in WP */
|
101 |
+
foreach ($this->actions as $actions) {
|
102 |
+
ABH_Classes_ObjController::getController($actions['class'])->action();
|
103 |
+
}
|
104 |
+
}
|
105 |
+
|
106 |
+
}
|
107 |
+
|
108 |
+
?>
|
3.0.3/classes/BlockController.php
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* The main class for core blocks
|
5 |
+
*
|
6 |
+
*/
|
7 |
+
class ABH_Classes_BlockController {
|
8 |
+
|
9 |
+
/** @var object of the model class */
|
10 |
+
protected $model;
|
11 |
+
|
12 |
+
/** @var boolean */
|
13 |
+
public $flush = true;
|
14 |
+
|
15 |
+
/** @var object of the view class */
|
16 |
+
protected $view;
|
17 |
+
|
18 |
+
/** @var name of the class */
|
19 |
+
private $name;
|
20 |
+
|
21 |
+
public function __construct() {
|
22 |
+
/** check the admin condition */
|
23 |
+
if (!is_admin())
|
24 |
+
return;
|
25 |
+
|
26 |
+
/* get the name of the current class */
|
27 |
+
$this->name = get_class($this);
|
28 |
+
|
29 |
+
/* create the model and view instances */
|
30 |
+
$this->model = ABH_Classes_ObjController::getModel($this->name);
|
31 |
+
}
|
32 |
+
|
33 |
+
/**
|
34 |
+
* load sequence of classes
|
35 |
+
*
|
36 |
+
* @return void
|
37 |
+
*/
|
38 |
+
public function init() {
|
39 |
+
|
40 |
+
$this->view = ABH_Classes_ObjController::getController('ABH_Classes_DisplayController');
|
41 |
+
|
42 |
+
if ($this->flush)
|
43 |
+
$this->hookHead();
|
44 |
+
|
45 |
+
/* check if there is a hook defined in the block class */
|
46 |
+
ABH_Classes_ObjController::getController('ABH_Classes_HookController')
|
47 |
+ |