From 8d4151ded3d683f2ef8524b9bb48460a767e334f Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 18 Jul 2015 12:46:50 +0200 Subject: added styler into default plugin section The icon does not match the others because the NuvolaX icon theme seems to have vanished from the Internet. Ideally all those admin icons could use a replacement. But that should be a different PR I guess. --- inc/html.php | 7 +++++++ lib/images/admin/README | 2 ++ lib/images/admin/styling.png | Bin 0 -> 970 bytes lib/tpl/dokuwiki/css/_admin.css | 3 +++ 4 files changed, 12 insertions(+) create mode 100644 lib/images/admin/styling.png diff --git a/inc/html.php b/inc/html.php index 2f10e3c08..36083a57e 100644 --- a/inc/html.php +++ b/inc/html.php @@ -2076,6 +2076,13 @@ function html_admin(){ $menu['config']['prompt'].''); } unset($menu['config']); + + if($menu['styling']){ + ptln('
  • '); + } + unset($menu['styling']); } ptln(''); diff --git a/lib/images/admin/README b/lib/images/admin/README index 90bab9578..53e7d839a 100644 --- a/lib/images/admin/README +++ b/lib/images/admin/README @@ -1,2 +1,4 @@ These icons were taken from the nuvoX KDE icon theme and are GPL licensed See http://www.kde-look.org/content/show.php/nuvoX?content=38467 + +styling.png from https://openclipart.org/detail/25595/brush Public Domain diff --git a/lib/images/admin/styling.png b/lib/images/admin/styling.png new file mode 100644 index 000000000..859c8c9ef Binary files /dev/null and b/lib/images/admin/styling.png differ diff --git a/lib/tpl/dokuwiki/css/_admin.css b/lib/tpl/dokuwiki/css/_admin.css index a9518d0ed..bdde006e0 100644 --- a/lib/tpl/dokuwiki/css/_admin.css +++ b/lib/tpl/dokuwiki/css/_admin.css @@ -39,6 +39,9 @@ .dokuwiki ul.admin_tasks li.admin_config { background-image: url(../../images/admin/config.png); } +.dokuwiki ul.admin_tasks li.admin_styling { + background-image: url(../../images/admin/styling.png); +} .dokuwiki ul.admin_tasks li.admin_revert { background-image: url(../../images/admin/revert.png); } -- cgit v1.2.3