[Xfce4-commits] <wiki:master> Update xfce template

Mike Massonnet noreply at xfce.org
Wed Jan 9 23:44:01 CET 2013


Updating branch refs/heads/master
         to 39aff44fa1f35ce9d03b1a9aa582cc49007ea6c5 (commit)
       from 0a17f544be0c32f90731305220a61bebe06dca24 (commit)

commit 39aff44fa1f35ce9d03b1a9aa582cc49007ea6c5
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Wed Jan 9 23:26:02 2013 +0100

    Update xfce template

 lib/tpl/xfce/_linkwiz.css                         |   68 --
 lib/tpl/xfce/_mediaoptions.css                    |   92 --
 lib/tpl/xfce/_subscription.css                    |   21 -
 lib/tpl/xfce/_xfceheader.css                      |    2 +
 lib/tpl/xfce/{ => css}/_admin.css                 |   45 +-
 lib/tpl/xfce/css/_diff.css                        |   65 ++
 lib/tpl/xfce/css/_edit.css                        |  144 ++++
 lib/tpl/xfce/css/_fileuploader.css                |  112 +++
 lib/tpl/xfce/css/_footnotes.css                   |   28 +
 lib/tpl/xfce/css/_forms.css                       |   92 ++
 lib/tpl/xfce/css/_imgdetail.css                   |   38 +
 lib/tpl/xfce/css/_links.css                       |   70 ++
 lib/tpl/xfce/css/_media_fullscreen.css            |  504 ++++++++++++
 lib/tpl/xfce/css/_media_popup.css                 |  257 ++++++
 lib/tpl/xfce/css/_modal.css                       |   94 +++
 lib/tpl/xfce/css/_recent.css                      |   59 ++
 lib/tpl/xfce/css/_search.css                      |  109 +++
 lib/tpl/xfce/css/_tabs.css                        |   82 ++
 lib/tpl/xfce/css/_toc.css                         |   93 +++
 lib/tpl/xfce/css/_translation.css                 |   23 +
 lib/tpl/xfce/css/basic.css                        |  425 ++++++++++
 lib/tpl/xfce/css/content.css                      |  362 ++++++++
 lib/tpl/xfce/css/design.css                       |  405 +++++++++
 lib/tpl/xfce/css/includes.css                     |    4 +
 lib/tpl/xfce/css/mobile.css                       |  284 +++++++
 lib/tpl/xfce/css/pagetools.css                    |  334 ++++++++
 lib/tpl/xfce/css/print.css                        |  155 ++++
 lib/tpl/xfce/css/structure.css                    |   77 ++
 lib/tpl/xfce/design.css                           |  912 ---------------------
 lib/tpl/xfce/detail.php                           |  190 +++--
 lib/tpl/xfce/images/UWEB.png                      |  Bin 1138 -> 0 bytes
 lib/tpl/xfce/images/UWEBshadow.png                |  Bin 1123 -> 0 bytes
 lib/tpl/xfce/images/apple-touch-icon.png          |  Bin 0 -> 6399 bytes
 lib/tpl/xfce/images/bar.png                       |  Bin 112 -> 0 bytes
 lib/tpl/xfce/images/bottom-right-corner.png       |  Bin 3498 -> 0 bytes
 lib/tpl/xfce/images/bullet.gif                    |  Bin 50 -> 0 bytes
 lib/tpl/xfce/images/bullit.gif                    |  Bin 821 -> 0 bytes
 lib/tpl/xfce/images/button-cc.gif                 |  Bin 1231 -> 0 bytes
 lib/tpl/xfce/images/button-dw.png                 |  Bin 427 -> 398 bytes
 lib/tpl/xfce/images/button-html5.png              |  Bin 0 -> 354 bytes
 lib/tpl/xfce/images/button-rss.png                |  Bin 280 -> 180 bytes
 lib/tpl/xfce/images/button-xhtml.png              |  Bin 321 -> 0 bytes
 lib/tpl/xfce/images/buttonshadow.png              |  Bin 257 -> 0 bytes
 lib/tpl/xfce/images/closed.gif                    |  Bin 54 -> 0 bytes
 lib/tpl/xfce/images/favicon.ico                   |  Bin 0 -> 1082 bytes
 lib/tpl/xfce/images/favicon.png                   |  Bin 636 -> 0 bytes
 lib/tpl/xfce/images/header-top-left.png           |  Bin 22764 -> 0 bytes
 lib/tpl/xfce/images/header-top-right.png          |  Bin 234 -> 0 bytes
 lib/tpl/xfce/images/header.png                    |  Bin 201 -> 0 bytes
 lib/tpl/xfce/images/inputshadow.png               |  Bin 155 -> 0 bytes
 lib/tpl/xfce/images/license.txt                   |    5 +
 lib/tpl/xfce/images/link_icon.gif                 |  Bin 942 -> 0 bytes
 lib/tpl/xfce/images/logo.png                      |  Bin 0 -> 3820 bytes
 lib/tpl/xfce/images/mail_icon.gif                 |  Bin 918 -> 0 bytes
 lib/tpl/xfce/images/open.gif                      |  Bin 54 -> 0 bytes
 lib/tpl/xfce/images/page-background.svg           |    8 +
 lib/tpl/xfce/images/page-gradient.png             |  Bin 0 -> 280 bytes
 lib/tpl/xfce/images/pagetools-build.php           |  121 +++
 lib/tpl/xfce/images/pagetools-sprite.png          |  Bin 0 -> 5931 bytes
 lib/tpl/xfce/images/pagetools/01_edit.png         |  Bin 0 -> 740 bytes
 lib/tpl/xfce/images/pagetools/02_create.png       |  Bin 0 -> 808 bytes
 lib/tpl/xfce/images/pagetools/03_draft.png        |  Bin 0 -> 828 bytes
 lib/tpl/xfce/images/pagetools/04_show.png         |  Bin 0 -> 458 bytes
 lib/tpl/xfce/images/pagetools/05_source.png       |  Bin 0 -> 753 bytes
 lib/tpl/xfce/images/pagetools/06_revert.png       |  Bin 0 -> 752 bytes
 lib/tpl/xfce/images/pagetools/07_revisions.png    |  Bin 0 -> 1144 bytes
 lib/tpl/xfce/images/pagetools/08_backlink.png     |  Bin 0 -> 844 bytes
 lib/tpl/xfce/images/pagetools/09_subscribe.png    |  Bin 0 -> 589 bytes
 lib/tpl/xfce/images/pagetools/10_top.png          |  Bin 0 -> 465 bytes
 lib/tpl/xfce/images/pagetools/11_mediamanager.png |  Bin 0 -> 441 bytes
 lib/tpl/xfce/images/pagetools/12_back.png         |  Bin 0 -> 483 bytes
 lib/tpl/xfce/images/pagetools/license.txt         |    4 +
 lib/tpl/xfce/images/search.png                    |  Bin 0 -> 316 bytes
 lib/tpl/xfce/images/toc-arrows.png                |  Bin 0 -> 225 bytes
 lib/tpl/xfce/images/toc-bullet.png                |  Bin 0 -> 121 bytes
 lib/tpl/xfce/images/tocdot2.gif                   |  Bin 810 -> 0 bytes
 lib/tpl/xfce/images/usertools.png                 |  Bin 0 -> 1541 bytes
 lib/tpl/xfce/images/windows.gif                   |  Bin 223 -> 0 bytes
 lib/tpl/xfce/layout.css                           |  136 ---
 lib/tpl/xfce/main.php                             |  213 ++---
 lib/tpl/xfce/media.css                            |  207 -----
 lib/tpl/xfce/mediamanager.php                     |   57 +-
 lib/tpl/xfce/print.css                            |  246 ------
 lib/tpl/xfce/rtl.css                              |  147 ----
 lib/tpl/xfce/script.js                            |   80 ++
 lib/tpl/xfce/style.ini                            |   91 ++-
 lib/tpl/xfce/template.info.txt                    |    7 +
 lib/tpl/xfce/tpl_footer.php                       |   41 +
 lib/tpl/xfce/tpl_header.php                       |   49 ++
 89 files changed, 4453 insertions(+), 2105 deletions(-)

diff --git a/lib/tpl/xfce/_linkwiz.css b/lib/tpl/xfce/_linkwiz.css
deleted file mode 100644
index 0607073..0000000
--- a/lib/tpl/xfce/_linkwiz.css
+++ /dev/null
@@ -1,68 +0,0 @@
-#link__wiz {
-    position: absolute;
-    display: block;
-    z-index: 99;
-    width:   300px;
-    height:  250px;
-    padding: 0;
-    margin:  0;
-    overflow: hidden;
-    border: 1px solid __border__;
-    background-color: __background_neu__;
-    text-align: center;
-}
-
-#link__wiz_header {
-    background-color: __background_alt__;
-    height: 16px;
-    margin-bottom: 5px;
-}
-
-#link__wiz_close {
-    cursor: pointer;
-    margin: 0;
-}
-
-#link__wiz_result {
-    background-color: __background__;
-    width:  293px;
-    height: 193px;
-    overflow: auto;
-    border: 1px solid __border__;
-    margin: 3px auto;
-    text-align: left;
-}
-
-#link__wiz_result div.type_u {
-    padding: 3px 3px 3px 22px;
-    background: transparent url(../../images/up.png) 3px 3px no-repeat;
-}
-
-#link__wiz_result div.type_f {
-    padding: 3px 3px 3px 22px;
-    background: transparent url(../../images/page.png) 3px 3px no-repeat;
-}
-
-#link__wiz_result div.type_d {
-    padding: 3px 3px 3px 22px;
-    background: transparent url(../../images/ns.png) 3px 3px no-repeat;
-}
-
-#link__wiz_result div.even {
-    background-color: __background_neu__;
-}
-
-#link__wiz_result div.selected {
-    background-color: __background_alt__;
-}
-
-#link__wiz_result span {
-    display: block;
-    color: __text_neu__;
-}
-
-/*FIXME maybe move to a more general style sheet*/
-.ondrag {
-    cursor: move;
-    opacity: 0.8;
-}
diff --git a/lib/tpl/xfce/_mediaoptions.css b/lib/tpl/xfce/_mediaoptions.css
deleted file mode 100644
index 7ac4899..0000000
--- a/lib/tpl/xfce/_mediaoptions.css
+++ /dev/null
@@ -1,92 +0,0 @@
-/* --- popup --- */
-
-#media__popup {
-    background-color:__background__;
-    display:none;
-    border: 1px solid __border__;
-    position: absolute;
-    width:270px;
-}
-
-#media__popup h1 {
-    text-align:center;
-    font-weight:normal;
-    background-color: __background_alt__;
-    height: 16px;
-    margin-bottom: 5px;
-    font-size:12px;
-    border-bottom: 0;
-}
-
-#media__popup p {
-    display:block;
-    line-height:14pt;
-    margin:0.5em;
-}
-
-#media_nolink {
-    padding:4px 0;
-}
-
-#media__popup label {
-    float:left;
-    width:9em;
-}
-
-#media__popup .button {
-    margin-left:auto;
-    margin-right:auto;
-}
-
-#media__popup .btnlbl {
-    text-align:center;
-}
-
-#media__popup .btnlbl input {
-    margin:0 1em;
-}
-
-#media__closeimg {
-    float:right;
-}
-
-/* --- display options --- */
-
-#media__linkopts label,
-#media__nolnk {
-	width: 80px;
-	float: left;
-	margin-left: 10px;
-}
-
-#media__linkopts label{
-	line-height: 20px;
-}
-
-#media__nolnk,
-#media__linkopts label.long{
-	margin-bottom: 8px;
-	line-height: 12px;
-}
-
-#media__linkopts label.long{
-	width: 150px;
-	float: none;
-}
-
-#media__linkopts br {
-	clear: both;
-}
-
-#media__linkopts select {
-	width: 60px;
-	margin-left: 10px;
-}
-
-#media__linkopts input.edit {
-    width:50px;
-    margin-left:10px;
-}
-#media__linkopts #media__title {
-    width:150px;
-}
diff --git a/lib/tpl/xfce/_subscription.css b/lib/tpl/xfce/_subscription.css
deleted file mode 100644
index 0792c8c..0000000
--- a/lib/tpl/xfce/_subscription.css
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * Styles for the subscription page
- */
-
-form#subscribe__form {
-    display: block;
-    width: 300px;
-    text-align: center;
-}
-
-form#subscribe__form fieldset {
-    text-align: left;
-    margin: 0.5em 0;
-}
-
-form#subscribe__form label {
-    display:block;
-    margin: 0 0.5em 0.5em;
-}
-
-
diff --git a/lib/tpl/xfce/_xfceheader.css b/lib/tpl/xfce/_xfceheader.css
index 778dde8..d04c40b 100644
--- a/lib/tpl/xfce/_xfceheader.css
+++ b/lib/tpl/xfce/_xfceheader.css
@@ -16,6 +16,8 @@
 }
 #xfce-header ul li {
 	float: left;
+	margin: 0;
+	padding: 0;
 }
 #xfce-header a {
 	color: #999;
diff --git a/lib/tpl/xfce/_admin.css b/lib/tpl/xfce/css/_admin.css
similarity index 62%
rename from lib/tpl/xfce/_admin.css
rename to lib/tpl/xfce/css/_admin.css
index 6c8066b..c8f3694 100644
--- a/lib/tpl/xfce/_admin.css
+++ b/lib/tpl/xfce/css/_admin.css
@@ -1,48 +1,59 @@
-#admin__version {
-    clear:left;
-    float: right;
-    color: __text_neu__;
-}
+/**
+ * This file provides styles for the Administration overview
+ * (?do=admin).
+ */
 
 .dokuwiki ul.admin_tasks {
-    font-size: 115%;
     float: left;
     width: 40%;
     list-style-type: none;
+    font-size: 1.125em;
+}
+[dir=rtl] .dokuwiki ul.admin_tasks {
+    float: right;
 }
 
 .dokuwiki ul.admin_tasks li {
-    line-height: 22px;
     padding-left: 35px;
-    margin: 1em 0;
+    margin: 0 0 1em 0;
+    font-weight: bold;
+    list-style-type: none;
     background: transparent none no-repeat scroll 0 0;
-    text-align: left;
+    color: inherit;
 }
-
-.dokuwiki ul.admin_tasks li div.li {
-    font-weight: bold;
+[dir=rtl] .dokuwiki ul.admin_tasks li {
+    padding-left: 0;
+    padding-right: 35px;
+    background-position: right 0;
 }
 
 .dokuwiki ul.admin_tasks li.admin_acl {
     background-image: url(../../images/admin/acl.png);
 }
-
 .dokuwiki ul.admin_tasks li.admin_usermanager {
     background-image: url(../../images/admin/usermanager.png);
 }
-
 .dokuwiki ul.admin_tasks li.admin_plugin {
     background-image: url(../../images/admin/plugin.png);
 }
-
 .dokuwiki ul.admin_tasks li.admin_config {
     background-image: url(../../images/admin/config.png);
 }
-
 .dokuwiki ul.admin_tasks li.admin_revert {
     background-image: url(../../images/admin/revert.png);
 }
-
 .dokuwiki ul.admin_tasks li.admin_popularity {
     background-image: url(../../images/admin/popularity.png);
 }
+
+/* DokuWiki version below */
+.dokuwiki #admin__version {
+    clear: left;
+    float: right;
+    color: __text_neu__;
+    background-color: inherit;
+}
+[dir=rtl] .dokuwiki #admin__version {
+    clear: right;
+    float: left;
+}
diff --git a/lib/tpl/xfce/css/_diff.css b/lib/tpl/xfce/css/_diff.css
new file mode 100644
index 0000000..62f8312
--- /dev/null
+++ b/lib/tpl/xfce/css/_diff.css
@@ -0,0 +1,65 @@
+/**
+ * This file provides styles for the diff view, which shows you
+ * differences between two versions of a page (?do=diff).
+ */
+
+.dokuwiki table.diff {
+    width: 100%;
+    border-width: 0;
+}
+.dokuwiki table.diff th,
+.dokuwiki table.diff td {
+    vertical-align: top;
+    padding: 0;
+    border-width: 0;
+    /* no style.ini colours because deleted and added lines have a fixed background colour */
+    background-color: #fff;
+    color: #333;
+}
+
+/* table header */
+.dokuwiki table.diff th {
+    border-bottom: 1px solid __border__;
+    font-size: 110%;
+    width: 50%;
+    font-weight: normal;
+}
+.dokuwiki table.diff th a {
+    font-weight: bold;
+}
+.dokuwiki table.diff th span.user {
+    font-size: .9em;
+}
+.dokuwiki table.diff th span.sum {
+    font-size: .9em;
+    font-weight: bold;
+}
+.dokuwiki table.diff th.minor {
+    color: #999;
+}
+
+/* table body */
+.dokuwiki table.diff td {
+    font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
+}
+.dokuwiki table.diff td.diff-blockheader {
+    font-weight: bold;
+}
+.dokuwiki table.diff .diff-addedline {
+    background-color: #cfc;
+    color: inherit;
+}
+.dokuwiki table.diff .diff-deletedline {
+    background-color: #fdd;
+    color: inherit;
+}
+.dokuwiki table.diff td.diff-context {
+    background-color: #eee;
+    color: inherit;
+}
+.dokuwiki table.diff td.diff-addedline strong,
+.dokuwiki table.diff td.diff-deletedline strong {
+    color: #f00;
+    background-color: inherit;
+    font-weight: bold;
+}
diff --git a/lib/tpl/xfce/css/_edit.css b/lib/tpl/xfce/css/_edit.css
new file mode 100644
index 0000000..0c66c75
--- /dev/null
+++ b/lib/tpl/xfce/css/_edit.css
@@ -0,0 +1,144 @@
+/**
+ * This file provides styles for the edit view (?do=edit), preview
+ * and section edit buttons.
+ */
+
+/* edit view
+********************************************************************/
+
+.dokuwiki div.editBox {
+}
+
+/*____________ toolbar ____________*/
+
+.dokuwiki div.toolbar {
+    margin-bottom: .5em;
+    overflow: hidden;
+}
+#draft__status {
+    float: right;
+    color: __text_alt__;
+    background-color: inherit;
+}
+[dir=rtl] #draft__status {
+    float: left;
+}
+#tool__bar {
+    float: left;
+}
+[dir=rtl] #tool__bar {
+    float: right;
+}
+
+/* buttons inside of toolbar */
+.dokuwiki div.toolbar button.toolbutton {
+}
+/* picker popups (outside of .dokuwiki) */
+div.picker {
+    width: 300px;
+    border: 1px solid __border__;
+    background-color: __background_alt__;
+    color: inherit;
+}
+/* picker for headlines */
+div.picker.pk_hl {
+    width: auto;
+}
+
+/* buttons inside of picker */
+div.picker button.pickerbutton,
+div.picker button.toolbutton {
+    padding: .1em .35em;
+    border-width: 0;
+}
+
+/*____________ edit textarea ____________*/
+
+.dokuwiki textarea.edit {
+    /* should just be "width: 100%", but IE8 doesn't like it, see FS#1910 + FS#1667 */
+    width: 700px;
+    min-width: 100%;
+    max-width: 100%;
+    margin-bottom: .5em;
+}
+
+/*____________ below the textarea ____________*/
+
+.dokuwiki div.editBar {
+    overflow: hidden;
+    margin-bottom: .5em;
+}
+
+/* size and wrap controls */
+#size__ctl {
+    float: right;
+}
+[dir=rtl] #size__ctl {
+    float: left;
+}
+#size__ctl img {
+    cursor: pointer;
+}
+
+/* edit buttons */
+.dokuwiki .editBar .editButtons {
+    display: inline;
+    margin-right: 1em;
+}
+[dir=rtl] .dokuwiki .editBar .editButtons {
+    margin-right: 0;
+    margin-left: 1em;
+}
+.dokuwiki .editBar .editButtons input {
+}
+
+/* summary input and minor changes checkbox */
+.dokuwiki .editBar .summary {
+    display: inline;
+}
+.dokuwiki .editBar .summary label {
+    vertical-align: middle;
+    white-space: nowrap;
+}
+.dokuwiki .editBar .summary label span {
+    vertical-align: middle;
+}
+.dokuwiki .editBar .summary input {
+}
+/* change background colour if summary is missing */
+.dokuwiki .editBar .summary input.missing {
+    color: __text__;
+    background-color: #ffcccc;
+}
+
+/* preview
+********************************************************************/
+
+.dokuwiki div.preview {
+    border: dotted __border__;
+    border-width: .2em 0;
+    padding: 1.4em 0;
+    margin-bottom: 1.4em;
+}
+
+/* section edit buttons
+********************************************************************/
+
+.dokuwiki .secedit {
+    float: right;
+    margin-top: -1.4em;
+}
+[dir=rtl] .dokuwiki .secedit {
+    float: left;
+}
+.dokuwiki .secedit input.button {
+    font-size: 75%;
+}
+
+/* style for section highlighting */
+.dokuwiki div.section_highlight {
+    margin: 0 -1em; /* negative side margin = side padding + side border */
+    padding: 0 .5em;
+    border: solid __background_alt__;
+    border-width: 0 .5em;
+}
diff --git a/lib/tpl/xfce/css/_fileuploader.css b/lib/tpl/xfce/css/_fileuploader.css
new file mode 100644
index 0000000..42004de
--- /dev/null
+++ b/lib/tpl/xfce/css/_fileuploader.css
@@ -0,0 +1,112 @@
+/**
+ * This file provides the styles for the file uploader
+ * used in the media manager (both fullscreen and popup).
+ */
+
+.qq-uploader {
+    position: relative;
+    width: 100%;
+}
+
+.qq-uploader .error {
+    color: #f00;
+    background-color: #fff;
+}
+
+/* select file button */
+
+.qq-upload-button {
+    display: inline-block;
+    text-decoration: none;
+    font-size: 100%;
+    cursor: pointer;
+    margin: 1px 1px 5px;
+}
+
+* html .qq-upload-button,
+*+html .qq-upload-button {
+    display: inline;
+}
+
+.qq-upload-button-focus {
+    outline: 1px dotted;
+}
+
+/* drop area */
+
+.qq-upload-drop-area {
+    position: absolute;
+    top: 0;
+    left: 0;
+    width: 100%;
+    height: 100%;
+    min-height: 70px;
+    z-index: 2;
+    background: __background_neu__;
+    color: __text__;
+    text-align: center;
+}
+
+.qq-upload-drop-area span {
+    display: block;
+    position: absolute;
+    top: 50%;
+    width: 100%;
+    margin-top: -8px;
+    font-size: 120%;
+}
+
+.qq-upload-drop-area-active {
+    background: __background_alt__;
+}
+
+/* list of files to upload */
+
+div.qq-uploader ul {
+    margin: 0;
+    padding: 0;
+    list-style: none;
+}
+
+.qq-uploader li {
+    margin: 0 0 5px;
+    color: __text__;
+}
+
+.qq-uploader li span,
+.qq-uploader li input,
+.qq-uploader li a {
+    margin-right: 5px;
+}
+
+.qq-upload-file {
+    display: block;
+    font-weight: bold;
+}
+
+.qq-upload-spinner {
+    display: inline-block;
+    background: url("../../images/throbber.gif");
+    width: 15px;
+    height: 15px;
+    vertical-align: text-bottom;
+}
+
+.qq-upload-size,
+.qq-upload-cancel {
+    font-size: 85%;
+}
+
+.qq-upload-failed-text {
+    display: none;
+}
+.qq-upload-fail .qq-upload-failed-text {
+    display: inline;
+}
+
+.qq-action-container * {
+    vertical-align: middle;
+}
+.qq-overwrite-check input {
+    margin-left: 10px;
+}
diff --git a/lib/tpl/xfce/css/_footnotes.css b/lib/tpl/xfce/css/_footnotes.css
new file mode 100644
index 0000000..a20f296
--- /dev/null
+++ b/lib/tpl/xfce/css/_footnotes.css
@@ -0,0 +1,28 @@
+/**
+ * This file provides styles for footnotes.
+ */
+
+/*____________ footnotes inside the text ____________*/
+
+/* link to footnote inside the text */
+.dokuwiki sup a.fn_top {
+}
+/* JSpopup */
+div.insitu-footnote {
+    max-width: 40%;
+    min-width: 5em;
+}
+
+/*____________ footnotes at the bottom of the page ____________*/
+
+.dokuwiki div.footnotes {
+    border-top: 1px solid __border__;
+    padding: .5em 0 0 0;
+    margin: 1em 0 0 0;
+    clear: both;
+}
+.dokuwiki div.footnotes div.fn {
+}
+.dokuwiki div.footnotes div.fn sup a.fn_bot {
+    font-weight: bold;
+}
diff --git a/lib/tpl/xfce/css/_forms.css b/lib/tpl/xfce/css/_forms.css
new file mode 100644
index 0000000..3c71722
--- /dev/null
+++ b/lib/tpl/xfce/css/_forms.css
@@ -0,0 +1,92 @@
+
+/* TODO: this file is not up to the best standards and will be fixed after an overhaul of the form code */
+
+/**
+ * This file provides styles for forms in general and specifically
+ * for ?do=
+ *   - login
+ *   - resendpwd
+ *   - register
+ *   - profile
+ *   - subscribe
+ */
+
+/* ---------------- forms ------------------------ */
+
+.dokuwiki form {
+  border: none;
+  display: inline;
+}
+
+.dokuwiki label.block {
+  display: block;
+  text-align: right;
+  font-weight: bold;
+}
+[dir=rtl] .dokuwiki label.block {
+    text-align: left;
+}
+
+.dokuwiki label.simple {
+  display: block;
+  text-align: left;
+  font-weight: normal;
+}
+[dir=rtl] .dokuwiki label.simple {
+    text-align: right;
+}
+
+.dokuwiki label.block select,
+.dokuwiki label.block input.edit {
+  width: 50%;
+}
+
+.dokuwiki label span {
+    vertical-align: middle;
+}
+
+.dokuwiki fieldset {
+  width: 400px;
+  text-align: center;
+  border: 1px solid __border__;
+  padding: 0.5em;
+  margin: auto;
+}
+
+
+.dokuwiki input.edit,
+.dokuwiki select.edit {
+  vertical-align: middle;
+}
+.dokuwiki select.edit {
+  padding: 0.1em 0;
+}
+
+
+.dokuwiki input.button,
+.dokuwiki button.button {
+    vertical-align: middle;
+}
+
+/**
+ * Styles for the subscription page
+ */
+
+#subscribe__form {
+    display: block;
+    width: 400px;
+    text-align: center;
+}
+
+#subscribe__form fieldset {
+    text-align: left;
+    margin: 0.5em 0;
+}
+[dir=rtl] #subscribe__form fieldset {
+    text-align: right;
+}
+
+#subscribe__form label {
+    display: block;
+    margin: 0 0.5em 0.5em;
+}
diff --git a/lib/tpl/xfce/css/_imgdetail.css b/lib/tpl/xfce/css/_imgdetail.css
new file mode 100644
index 0000000..a074000
--- /dev/null
+++ b/lib/tpl/xfce/css/_imgdetail.css
@@ -0,0 +1,38 @@
+/**
+ * This file provides styles for the image detail page (detail.php).
+ */
+
+#dokuwiki__detail {
+    padding: 1em;
+}
+#dokuwiki__detail h1 {
+}
+
+#dokuwiki__detail img {
+    float: left;
+    margin: 0 1.5em .5em 0;
+}
+[dir=rtl] #dokuwiki__detail div.content img {
+    float: right;
+    margin-right: 0;
+    margin-left: 1.5em;
+}
+#dokuwiki__detail div.img_detail {
+    float: left;
+}
+[dir=rtl] #dokuwiki__detail div.content div.img_detail {
+    float: right
+}
+
+#dokuwiki__detail div.img_detail h2 {
+}
+#dokuwiki__detail div.img_detail dl {
+}
+#dokuwiki__detail div.img_detail dl dt {
+}
+#dokuwiki__detail div.img_detail dl dd {
+}
+
+#dokuwiki__detail p.back {
+    clear: both;
+}
diff --git a/lib/tpl/xfce/css/_links.css b/lib/tpl/xfce/css/_links.css
new file mode 100644
index 0000000..e5e80a1
--- /dev/null
+++ b/lib/tpl/xfce/css/_links.css
@@ -0,0 +1,70 @@
+/**
+ * This file provides styles for all types of links.
+ */
+
+/*____________ links to wiki pages ____________*/
+
+/* existing wikipage */
+.dokuwiki a.wikilink1 {
+}
+/* not existing wikipage */
+.dokuwiki a.wikilink2 {
+    text-decoration: none;
+}
+.dokuwiki a.wikilink2:link,
+.dokuwiki a.wikilink2:visited {
+    text-decoration: none;
+}
+.dokuwiki a.wikilink2:hover,
+.dokuwiki a.wikilink2:active,
+.dokuwiki a.wikilink2:focus {
+    text-decoration: underline;
+}
+
+/* any link to current page */
+.dokuwiki span.curid a {
+    font-weight: bold;
+}
+
+/*____________ other link types ____________*/
+
+.dokuwiki a.urlextern,
+.dokuwiki a.windows,
+.dokuwiki a.mail,
+.dokuwiki a.mediafile,
+.dokuwiki a.interwiki {
+    background-repeat: no-repeat;
+    background-position: 0 center;
+    padding: 0 0 0 18px;
+}
+/* external link */
+.dokuwiki a.urlextern {
+    background-image: url(../../images/external-link.png);
+}
+/* windows share */
+.dokuwiki a.windows {
+    background-image: url(../../images/unc.png);
+}
+/* email link */
+.dokuwiki a.mail {
+    background-image: url(../../images/email.png);
+}
+
+/* icons of the following are set by dokuwiki in lib/exe/css.php */
+/* link to some embedded media */
+.dokuwiki a.mediafile {
+}
+/* interwiki link */
+.dokuwiki a.interwiki {
+}
+
+/* RTL corrections; if link icons don't work as expected, remove the following lines */
+[dir=rtl] .dokuwiki a.urlextern,
+[dir=rtl] .dokuwiki a.windows,
+[dir=rtl] .dokuwiki a.mail,
+[dir=rtl] .dokuwiki a.interwiki,
+[dir=rtl] .dokuwiki a.mediafile {
+    background-position: right center;
+    padding: 0 18px 0 0;
+    display: inline-block; /* needed for IE7 */
+}
diff --git a/lib/tpl/xfce/css/_media_fullscreen.css b/lib/tpl/xfce/css/_media_fullscreen.css
new file mode 100644
index 0000000..8d5e1e8
--- /dev/null
+++ b/lib/tpl/xfce/css/_media_fullscreen.css
@@ -0,0 +1,504 @@
+/**
+ * This file provides the styles for the fullscreen media manager
+ * (?do=media).
+ *
+ * What most templates would probably need to change (depending on
+ * their site width) are the 4 min-width's (search for @change).
+ */
+
+
+/*____________ structure ____________*/
+
+#mediamanager__page h1 {
+    margin-bottom: .5em;
+}
+
+#mediamanager__page {
+    /* min-width must be summary of all 3 panels' min-widths */
+    min-width: 50em; /* @change */
+    width: 100%;
+    text-align: left;
+}
+
+#mediamanager__page .panel {
+    float: left;
+}
+
+#mediamanager__page .namespaces {
+    width: 20%;
+    min-width: 10em; /* @change */
+}
+#mediamanager__page .filelist {
+    width: 50%;
+    min-width: 25em; /* @change */
+}
+#mediamanager__page .file {
+    width: 30%;
+    min-width: 15em; /* @change */
+}
+
+#mediamanager__page .panelHeader {
+    background-color: __background_alt__;
+    margin: 0 10px 10px 0;
+    padding: 10px 10px 8px;
+    text-align: left;
+    min-height: 20px;
+    overflow: hidden;
+}
+
+#mediamanager__page .panelContent {
+    overflow-y: auto;
+    overflow-x: hidden;
+    padding: 0;
+    margin: 0 10px 10px 0;
+    position: relative;
+}
+[dir=rtl] #mediamanager__page .panelContent {
+    text-align: right;
+}
+
+#mediamanager__page .file .panelHeader,
+#mediamanager__page .file .panelContent {
+    margin-right: 0;
+}
+
+#mediamanager__page .ui-resizable-e {
+    width: 6px;
+    right: 2px;
+    background: transparent url(../../images/resizecol.png) center center no-repeat;
+}
+#mediamanager__page .ui-resizable-e:hover {
+    background-color: __background_alt__;
+}
+
+
+#mediamanager__page dd {
+    margin: 0;
+}
+
+#mediamanager__page .panelHeader h3 {
+    float: left;
+    font-weight: normal;
+    font-size: 1em;
+    padding: 0;
+    margin: 0 0 3px;
+}
+
+
+/*____________ namespaces panel ____________*/
+
+[dir=rtl] #mediamanager__page .namespaces {
+    text-align: right;
+}
+
+/* make it look like a tab (as in _tabs.css) */
+#mediamanager__page .namespaces h2 {
+    font-size: 1em;
+    display: inline-block;
+    padding: .3em .8em;
+    margin: 0 0 0 .3em;
+    border-radius: .5em .5em 0 0;
+    font-weight: normal;
+    background-color: __background_alt__;
+    color: __text__;
+    border: 1px solid __border__;
+    border-bottom-color: __background_alt__;
+    line-height: 1.4em;
+    position: relative;
+    bottom: -1px;
+    z-index: 2;
+}
+* html #mediamanager__page .namespaces h2,
+*+html #mediamanager__page .namespaces h2 {
+    display: inline;
+}
+[dir=rtl] #mediamanager__page .namespaces h2 {
+    margin: 0 .3em 0 0;
+    position: relative;
+    right: 10px;
+}
+#mediamanager__page .namespaces .panelHeader {
+    border-top: 1px solid __border__;
+    z-index: 1;
+}
+
+#mediamanager__page .namespaces ul {
+    margin-left: .2em;
+    margin-bottom: 0;
+    padding: 0;
+    list-style: none;
+}
+[dir=rtl] #mediamanager__page .namespaces ul {
+    margin-left: 0;
+    margin-right: .2em;
+}
+#mediamanager__page .namespaces ul ul {
+    margin-left: 1em;
+}
+[dir=rtl] #mediamanager__page .namespaces ul ul {
+    margin-left: 0;
+    margin-right: 1em;
+}
+#mediamanager__page .namespaces ul ul li {
+    margin: 0;
+}
+
+#mediamanager__page .namespaces ul .selected {
+    background-color: __highlight__;
+    font-weight: bold;
+}
+
+
+/*____________ file list panel ____________*/
+
+/* file list header */
+
+#mediamanager__page .panelHeader form.options {
+    float: right;
+    margin-top: -3px;
+}
+
+#mediamanager__page .panelHeader ul {
+    list-style: none;
+    margin: 0;
+    padding: 0;
+}
+#mediamanager__page .panelHeader ul li {
+    color: __text__;
+    float: left;
+    line-height: 1;
+    padding-left: 3px;
+}
+[dir=rtl] #mediamanager__page .panelHeader ul li {
+    margin-right: 0;
+    margin-left: .5em;
+}
+
+#mediamanager__page .panelHeader ul li.listType {
+    padding-left: 30px;
+    margin: 0 0 0 5px;
+    background: url('../../images/icon-list.png') 3px 1px no-repeat;
+}
+#mediamanager__page .panelHeader ul li.sortBy {
+    padding-left: 30px;
+    margin: 0 0 0 5px;
+    background: url('../../images/icon-sort.png') 3px 1px no-repeat;
+}
+
+#mediamanager__page .panelHeader form.options .ui-buttonset label{
+    font-size: 90%;
+    margin-right: -0.4em;
+}
+#mediamanager__page .panelHeader form.options .ui-buttonset .ui-button-text {
+    padding: .3em .5em;
+    line-height: 1;
+}
+
+/* file list content */
+
+#mediamanager__page .filelist ul {
+    padding: 0;
+    margin: 0 10px 0 0;
+}
+[dir=rtl] #mediamanager__page .filelist ul {
+    margin: 0 10px 0 0;
+}
+
+#mediamanager__page .filelist .panelContent ul li:hover {
+    background-color: __background_alt__;
+}
+
+#mediamanager__page .filelist li dt a {
+    vertical-align: middle;
+    display: table-cell;
+    overflow: hidden;
+}
+* html #mediamanager__page .filelist .thumbs li dt a,
+*+html #mediamanager__page .filelist .thumbs li dt a {
+    display: block;
+}
+* html #mediamanager__page .filelist .rows li dt a,
+*+html #mediamanager__page .filelist .rows li dt a {
+    display: inline;
+}
+
+/* file list as thumbs */
+
+#mediamanager__page .filelist .thumbs li {
+    width: 100px;
+    min-height: 130px;
+    display: inline-block;
+    display: -moz-inline-stack;
+    /* the right margin should visually be 10px, but because of its inline-block nature the whitespace inbetween is about 4px more */
+    margin: 0 6px 10px 0;
+    background-color: __background_neu__;
+    color: __text__;
+    padding: 5px;
+    vertical-align: top;
+    text-align: center;
+    position: relative;
+    line-height: 1.2;
+}
+[dir=rtl] #mediamanager__page .filelist .thumbs li {
+    margin-right: 0;
+    margin-left: 6px;
+}
+* html #mediamanager__page .filelist .thumbs li,
+*+html #mediamanager__page .filelist .thumbs li {
+    display: inline;
+    zoom: 1;
+}
+
+#mediamanager__page .filelist .thumbs li dt a {
+    width: 100px;
+    height: 90px;
+}
+
+#mediamanager__page .filelist .thumbs li dt a img {
+    max-width: 90px;
+    max-height: 90px;
+}
+
+#mediamanager__page .filelist .thumbs li .name,
+#mediamanager__page .filelist .thumbs li .size,
+#mediamanager__page .filelist .thumbs li .filesize,
+#mediamanager__page .filelist .thumbs li .date {
+    display: block;
+    overflow: hidden;
+    text-overflow: ellipsis;
+    width: 90px;
+    white-space: nowrap;
+}
+#mediamanager__page .filelist .thumbs li .name {
+    padding: 5px 0;
+    font-weight: bold;
+}
+#mediamanager__page .filelist .thumbs li .date {
+    font-style: italic;
+    white-space: normal;
+}
+
+/* file list as rows */
+
+#mediamanager__page .filelist .rows li {
+    list-style: none;
+    display: block;
+    position: relative;
+    max-height: 50px;
+    margin: 0;
+    margin-bottom: 3px;
+    background-color: __background__;
+    color: __text__;
+    overflow: hidden;
+}
+
+#mediamanager__page .filelist .rows li:nth-child(2n+1) {
+    background-color: __background_neu__;
+}
+
+#mediamanager__page .filelist .rows li dt {
+    float: left;
+    width: 10%;
+    height: 40px;
+    text-align: center;
+}
+
+#mediamanager__page .filelist .rows li dt a {
+    width: 100px;
+    height: 40px;
+}
+
+#mediamanager__page .filelist .rows li dt a img {
+    max-width: 40px;
+    max-height: 40px;
+}
+
+#mediamanager__page .filelist .rows li .name,
+#mediamanager__page .filelist .rows li .size,
+#mediamanager__page .filelist .rows li .filesize,
+#mediamanager__page .filelist .rows li .date {
+    overflow: hidden;
+    text-overflow: ellipsis;
+    float: left;
+    margin-left: 1%;
+    white-space: nowrap;
+}
+
+#mediamanager__page .filelist .rows li .name {
+    width: 30%;
+    font-weight: bold;
+}
+#mediamanager__page .filelist .rows li .size,
+#mediamanager__page .filelist .rows li .filesize {
+    width: 15%;
+}
+#mediamanager__page .filelist .rows li .date {
+    width: 20%;
+    font-style: italic;
+    white-space: normal;
+}
+
+/* upload form */
+
+#mediamanager__page div.upload {
+    padding-bottom: 0.5em;
+}
+
+/*____________ file panel ____________*/
+
+#mediamanager__page .file ul.actions {
+    text-align: center;
+    margin: 0 0 5px;
+    padding: 0;
+    list-style: none;
+}
+#mediamanager__page .file ul.actions li {
+    display: inline;
+    margin: 0;
+}
+
+#mediamanager__page .file div.image {
+    margin-bottom: 5px;
+    text-align: center;
+}
+
+#mediamanager__page .file div.image img {
+    width: 100%;
+}
+
+#mediamanager__page .file dl {
+    margin-bottom: 0;
+}
+#mediamanager__page .file dl dt {
+    font-weight: bold;
+    display: block;
+    background-color: __background_alt__;
+}
+#mediamanager__page .file dl dd {
+    display: block;
+    background-color: __background_neu__;
+}
+
+
+/* file meta data edit form */
+
+#mediamanager__page form.meta div.row {
+    margin-bottom: 5px;
+}
+
+#mediamanager__page form.meta label span {
+    display: block;
+}
+
+#mediamanager__page form.meta input {
+    width: 50%;
+}
+
+#mediamanager__page form.meta input.button {
+    width: auto;
+}
+
+#mediamanager__page form.meta textarea.edit {
+    height: 6em;
+    width: 95%;
+    min-width: 95%;
+    max-width: 95%;
+}
+
+/* file revisions form */
+
+#mediamanager__page #page__revisions ul {
+    margin-left: 10px;
+    padding: 0;
+    list-style-type: none;
+}
+
+#mediamanager__page #page__revisions ul li div.li div {
+    font-size: 90%;
+    color: __text_neu__;
+    padding-left: 18px;
+}
+
+#mediamanager__page #page__revisions ul li div.li input {
+    position: relative;
+    top: 1px;
+}
+
+/* file diff view */
+
+#mediamanager__diff table {
+    table-layout: fixed;
+    border-width: 0;
+}
+
+#mediamanager__diff td,
+#mediamanager__diff th {
+    width: 48%;
+    margin: 0 5px 10px 0;
+    padding: 0;
+    vertical-align: top;
+    text-align: left;
+    border-color: __background__;
+}
+[dir=rtl] #mediamanager__diff td,
+[dir=rtl] #mediamanager__diff th {
+    text-align: right;
+}
+
+#mediamanager__diff th {
+    font-weight: normal;
+    background-color: __background__;
+    line-height: 1.2;
+}
+#mediamanager__diff th a {
+    font-weight: bold;
+}
+#mediamanager__diff th span {
+    font-size: 90%;
+}
+
+#mediamanager__diff dl dd strong{
+    background-color: __highlight__;
+    color: __text__;
+    font-weight: normal;
+}
+
+/* image diff views */
+
+#mediamanager__page .file form.diffView {
+    margin-bottom: 10px;
+    display: block;
+}
+
+#mediamanager__diff div.slider {
+    margin: 10px;
+    width: 95%;
+}
+
+#mediamanager__diff .imageDiff {
+    position: relative;
+}
+#mediamanager__diff .imageDiff .image2 {
+    position: absolute;
+    top: 0;
+    left: 0;
+}
+
+#mediamanager__diff .imageDiff.opacity .image2 {
+    opacity: 0.5;
+}
+
+#mediamanager__diff .imageDiff.portions .image2 {
+    border-right: 1px solid red;
+    overflow: hidden;
+}
+
+#mediamanager__diff .imageDiff.portions img {
+    float: left;
+}
+
+#mediamanager__diff .imageDiff img {
+    width: 100%;
+    max-width: none;
+}
+
diff --git a/lib/tpl/xfce/css/_media_popup.css b/lib/tpl/xfce/css/_media_popup.css
new file mode 100644
index 0000000..c776e6b
--- /dev/null
+++ b/lib/tpl/xfce/css/_media_popup.css
@@ -0,0 +1,257 @@
+/**
+ * This file provides styles for the media manager popup
+ * (mediamanager.php).
+ */
+
+/*____________ structure ____________*/
+
+html.popup {
+    overflow: auto;
+}
+
+#media__manager {
+    height: 100%;
+    overflow: hidden;
+}
+
+#mediamgr__aside {
+    width: 30%;
+    height: 100%;
+    overflow: auto;
+    position: absolute;
+    left: 0;
+    border-right: 1px solid __border__;
+}
+[dir=rtl] #mediamgr__aside {
+    left: auto;
+    right: 0;
+    border-right-width: 0;
+    border-left: 1px solid __border__;
+}
+#mediamgr__aside .pad {
+    padding: .5em;
+}
+
+#mediamgr__content {
+    width: 69.7%;
+    height: 100%;
+    overflow: auto;
+    position: absolute;
+    right: 0;
+}
+[dir=rtl] #mediamgr__content {
+    right: auto;
+    left: 0;
+}
+#mediamgr__content .pad {
+    padding: .5em;
+}
+
+#media__manager h1,
+#media__manager h2 {
+    font-size: 1.5em;
+    margin-bottom: .5em;
+    padding-bottom: .2em;
+    border-bottom: 1px solid __border__;
+}
+
+/* left side
+********************************************************************/
+
+/*____________ options ____________*/
+
+#media__opts {
+    margin-bottom: .5em;
+}
+
+#media__opts input {
+    margin-right: .3em;
+}
+[dir=rtl] #media__opts input {
+    margin-right: 0;
+    margin-left: .3em;
+}
+#media__opts label {
+}
+
+/*____________ tree ____________*/
+
+#media__tree ul {
+    padding-left: .2em;
+}
+[dir=rtl] #media__tree ul {
+    padding-left: 0;
+    padding-right: .2em;
+}
+#media__tree ul li {
+    clear: left;
+    list-style-type: none;
+    list-style-image: none;
+    margin-left: 0;
+}
+[dir=rtl] #media__tree ul li {
+    clear: right;
+    margin-right: 0;
+}
+#media__tree ul li img {
+    float: left;
+    padding: .5em .3em 0 0;
+}
+[dir=rtl] #media__tree ul li img {
+    float: right;
+    padding: .5em 0 0 .3em;
+}
+#media__tree ul li div.li {
+    display: inline;
+}
+#media__tree ul li li {
+    margin-left: 1.5em;
+}
+[dir=rtl] #media__tree ul li li {
+    margin-left: 0;
+    margin-right: 1.5em;
+}
+
+/* right side
+********************************************************************/
+
+/*____________ upload form ____________*/
+
+/* upload info */
+#media__content div.upload {
+    font-size: .9em;
+    margin-bottom: .5em;
+}
+
+#mediamanager__uploader {
+    margin-bottom: 1em;
+}
+#mediamanager__uploader p {
+    margin-bottom: .5em;
+}
+
+/*____________ file list ____________*/
+
+#media__content img.load {
+    margin: 1em auto;
+}
+
+#media__content .odd,
+#media__content .even {
+    padding: .5em;
+}
+#media__content .odd {
+    background-color: __background_alt__;
+}
+#media__content .even {
+}
+/* highlight newly uploaded or edited file */
+#media__content #scroll__here {
+    border: 1px dashed __border__;
+}
+
+/* link which inserts media file */
+#media__content a.mediafile {
+    margin-right: 1.5em;
+    font-weight: bold;
+}
+[dir=rtl] #media__content a.mediafile {
+    margin-right: 0;
+    margin-left: 1.5em;
+}
+#media__content span.info {
+}
+#media__content img.btn {
+    vertical-align: text-bottom;
+}
+
+/* info how to insert media, if JS disabled */
+#media__content div.example {
+    color: __text_neu__;
+    margin-left: 1em;
+}
+
+#media__content div.detail {
+    padding: .2em 0;
+}
+#media__content div.detail div.thumb {
+    float: left;
+    margin: 0 .5em 0 18px;
+}
+[dir=rtl] #media__content div.detail div.thumb {
+    float: right;
+    margin: 0 18px 0 .5em;
+}
+#media__content div.detail div.thumb a {
+    display: block;
+    cursor: pointer;
+}
+#media__content div.detail p {
+    margin-bottom: 0;
+}
+
+
+/*____________ media search ____________*/
+
+#dw__mediasearch {
+}
+#dw__mediasearch p {
+}
+#dw__mediasearch label {
+}
+#dw__mediasearch label span {
+}
+#dw__mediasearch input.edit {
+}
+#dw__mediasearch input.button {
+}
+
+
+/* meta edit form
+********************************************************************/
+
+#media__content form.meta {
+}
+
+#media__content form.meta div.metafield {
+    clear: left;
+    margin-bottom: .5em;
+    overflow: hidden;
+}
+[dir=rtl] #media__content form.meta div.metafield {
+    clear: right;
+}
+
+#media__content form.meta label {
+    display: block;
+    width: 25%;
+    float: left;
+    font-weight: bold;
+    clear: left;
+}
+[dir=rtl] #media__content form.meta label {
+    float: right;
+    clear: right;
+}
+#media__content form.meta .edit {
+    float: left;
+    width: 70%;
+    margin: 0;
+}
+[dir=rtl] #media__content form.meta .edit {
+    float: right;
+}
+#media__content form.meta textarea.edit {
+    /* needed because of IE8 hack in _edit.css for textarea.edit: */
+    max-width: 70%;
+    min-width: 70%;
+}
+
+#media__content form.meta div.buttons {
+    clear: left;
+    margin: .2em 0 0 25%;
+}
+[dir=rtl] #media__content form.meta div.buttons {
+    clear: right;
+    margin: .2em 25% 0 0;
+}
diff --git a/lib/tpl/xfce/css/_modal.css b/lib/tpl/xfce/css/_modal.css
new file mode 100644
index 0000000..a3d3be1
--- /dev/null
+++ b/lib/tpl/xfce/css/_modal.css
@@ -0,0 +1,94 @@
+/**
+ * This file provides styles for modal dialogues.
+ */
+
+.dokuwiki .ui-widget {
+    font-size: 100%;
+}
+
+
+/* link wizard (opens from the link button in the edit toolbar)
+********************************************************************/
+
+#link__wiz {
+}
+
+[dir=rtl] #link__wiz_close {
+    float: left;
+}
+
+#link__wiz_result {
+    background-color: __background__;
+    width:  293px;
+    height: 193px;
+    overflow: auto;
+    border: 1px solid __border__;
+    margin: 3px auto;
+    text-align: left;
+    line-height: 1;
+}
+[dir=rtl] #link__wiz_result {
+    text-align: right;
+}
+
+#link__wiz_result div {
+    padding: 3px 3px 3px 0;
+}
+
+#link__wiz_result div a {
+    display: block;
+    padding-left: 22px;
+    min-height: 16px;
+    background: transparent 3px center no-repeat;
+}
+[dir=rtl] #link__wiz_result div a {
+    padding: 3px 22px 3px 3px;
+    background-position: 257px 3px;
+}
+
+#link__wiz_result div.type_u a {
+    background-image: url(../../images/up.png);
+}
+#link__wiz_result div.type_f a {
+    background-image: url(../../images/page.png);
+}
+#link__wiz_result div.type_d a {
+    background-image: url(../../images/ns.png);
+}
+
+#link__wiz_result div.even {
+    background-color: __background_neu__;
+}
+
+#link__wiz_result div.selected {
+    background-color: __background_alt__;
+}
+
+#link__wiz_result span {
+    display: block;
+    color: __text_neu__;
+    margin-left: 22px;
+}
+
+
+/* media option wizard (opens when inserting media in the media popup)
+********************************************************************/
+
+#media__popup {
+    /* for backwards compatibility (not needed since Rincewind) */
+    display: none;
+}
+
+#media__popup_content p {
+    margin: 0 0 .5em;
+}
+
+#media__popup_content label {
+    margin-right: .5em;
+    cursor: default;
+}
+
+#media__popup_content .button {
+    margin-right: 1px;
+    cursor: pointer;
+}
diff --git a/lib/tpl/xfce/css/_recent.css b/lib/tpl/xfce/css/_recent.css
new file mode 100644
index 0000000..d73bb94
--- /dev/null
+++ b/lib/tpl/xfce/css/_recent.css
@@ -0,0 +1,59 @@
+/**
+ * This file provides styles for the recent changes (?do=recent) and
+ * old revisions (?do=revisions).
+ */
+
+/*____________ list of revisions / recent changes ____________*/
+
+/* select type of revisions (media/pages) */
+.dokuwiki .changeType {
+    margin-bottom: .5em;
+}
+
+.dokuwiki form.changes ul li {
+    list-style: none;
+    margin-left: 0;
+}
+[dir=rtl] .dokuwiki form.changes ul li {
+    margin-right: 0;
+}
+.dokuwiki form.changes ul li span,
+.dokuwiki form.changes ul li a {
+    vertical-align: middle;
+}
+.dokuwiki form.changes ul li span.user a {
+    vertical-align: bottom;
+}
+.dokuwiki form.changes ul li.minor {
+    opacity: .7;
+}
+
+.dokuwiki form.changes li span.date {
+}
+.dokuwiki form.changes li a.diff_link {
+    vertical-align: baseline;
+}
+.dokuwiki form.changes li a.revisions_link {
+    vertical-align: baseline;
+}
+.dokuwiki form.changes li a.wikilink1,
+.dokuwiki form.changes li a.wikilink2 {
+}
+.dokuwiki form.changes li span.sum {
+    font-weight: bold;
+}
+.dokuwiki form.changes li span.user {
+}
+
+
+/*____________ page navigator ____________*/
+
+.dokuwiki div.pagenav {
+    text-align: center;
+    margin: 1.4em 0;
+}
+.dokuwiki div.pagenav-prev,
+.dokuwiki div.pagenav-next {
+    display: inline;
+    margin: 0 .5em;
+}
diff --git a/lib/tpl/xfce/css/_search.css b/lib/tpl/xfce/css/_search.css
new file mode 100644
index 0000000..0090308
--- /dev/null
+++ b/lib/tpl/xfce/css/_search.css
@@ -0,0 +1,109 @@
+/**
+ * This file provides styles for the search results page (?do=search)
+ * and the AJAX search popup.
+ */
+
+/* search results page
+********************************************************************/
+
+/* loading gif */
+#dw__loading {
+    text-align: center;
+    margin-bottom: 1.4em;
+}
+
+/*____________ matching pagenames ____________*/
+
+.dokuwiki div.search_quickresult {
+    margin-bottom: 1.4em;
+}
+.dokuwiki div.search_quickresult h3 {
+}
+.dokuwiki div.search_quickresult ul {
+    padding: 0;
+}
+.dokuwiki div.search_quickresult ul li {
+    float: left;
+    width: 12em;
+    margin: 0 1.5em;
+}
+[dir=rtl] .dokuwiki div.search_quickresult ul li {
+    float: right;
+}
+
+/*____________ search results ____________*/
+
+.dokuwiki dl.search_results {
+    margin-bottom: 1.2em;
+}
+
+/* search heading */
+.dokuwiki dl.search_results dt {
+    font-weight: normal;
+    margin-bottom: .2em;
+}
+/* search snippet */
+.dokuwiki dl.search_results dd {
+    color: __text_alt__;
+    background-color: inherit;
+    margin: 0 0 1.2em 0;
+}
+
+/* search hit in normal text */
+.dokuwiki .search_hit {
+    color: __text__;
+    background-color: __highlight__;
+}
+/* search hit in search results */
+.dokuwiki .search_results strong.search_hit {
+    font-weight: normal;
+}
+/* ellipsis separating snippets */
+.dokuwiki .search_results .search_sep {
+    color: __text__;
+    background-color: inherit;
+}
+
+/* "nothing found" at search + media */
+.dokuwiki div.nothing {
+    margin-bottom: 1.4em;
+}
+
+
+/* AJAX quicksearch popup
+********************************************************************/
+
+.dokuwiki form.search div.no {
+    position: relative;
+}
+
+/* .JSpopup */
+.dokuwiki form.search div.ajax_qsearch {
+    position: absolute;
+    top: 0;
+    left: -13.5em; /* -( width of #qsearch__in + padding of .ajax_qsearch + a bit more ) */
+    width: 12em;
+    padding: 0.5em;
+    font-size: .9em;
+    z-index: 20;
+    text-align: left;
+    display: none;
+}
+[dir=rtl] .dokuwiki form.search div.ajax_qsearch {
+    left: auto;
+    right: -13.5em;
+    text-align: right;
+}
+.dokuwiki form.search div.ajax_qsearch strong {
+    display: block;
+    margin-bottom: .3em;
+}
+.dokuwiki form.search div.ajax_qsearch ul {
+    margin: 0 !important;
+    padding: 0 !important;
+}
+.dokuwiki form.search div.ajax_qsearch ul li {
+    margin: 0;
+    padding: 0;
+    display: block !important;
+}
diff --git a/lib/tpl/xfce/css/_tabs.css b/lib/tpl/xfce/css/_tabs.css
new file mode 100644
index 0000000..845ec9a
--- /dev/null
+++ b/lib/tpl/xfce/css/_tabs.css
@@ -0,0 +1,82 @@
+/**
+ * This file provides the styles for general tabs.
+ */
+
+.dokuwiki .tabs > ul,
+.dokuwiki ul.tabs {
+    padding: 0;
+    margin: 0;
+    overflow: hidden;
+    position: relative;
+}
+/* border underneath */
+.dokuwiki .tabs > ul:after,
+.dokuwiki ul.tabs:after {
+    position: absolute;
+    content: "";
+    width: 100%;
+    bottom: 0;
+    left: 0;
+    border-bottom: 1px solid __border__;
+    z-index: 1;
+}
+
+.dokuwiki .tabs > ul li,
+.dokuwiki ul.tabs li {
+    float: left;
+    padding: 0;
+    margin: 0;
+    list-style: none;
+}
+[dir=rtl] .dokuwiki .tabs > ul li,
+[dir=rtl] .dokuwiki ul.tabs li {
+    float: right;
+}
+
+.dokuwiki .tabs > ul li a,
+.dokuwiki ul.tabs li strong,
+.dokuwiki ul.tabs li a {
+    display: inline-block;
+    padding: .3em .8em;
+    margin: 0 0 0 .3em;
+    background-color: __background_neu__;
+    color: __text__;
+    border: 1px solid __border__;
+    border-radius: .5em .5em 0 0;
+    position: relative;
+    z-index: 0;
+}
+[dir=rtl] .dokuwiki .tabs > ul li a,
+[dir=rtl] .dokuwiki ul.tabs li strong,
+[dir=rtl] .dokuwiki ul.tabs li a {
+    margin: 0 .3em 0 0;
+}
+
+.dokuwiki ul.tabs li strong {
+    font-weight: normal;
+}
+
+.dokuwiki ul.tabs li a:link,
+.dokuwiki ul.tabs li a:visited {
+}
+.dokuwiki .tabs > ul li a:hover,
+.dokuwiki .tabs > ul li a:active,
+.dokuwiki .tabs > ul li a:focus,
+.dokuwiki .tabs > ul li .curid a,
+.dokuwiki .tabs > ul .active a,
+.dokuwiki ul.tabs li a:hover,
+.dokuwiki ul.tabs li a:active,
+.dokuwiki ul.tabs li a:focus,
+.dokuwiki ul.tabs li strong {
+    background-color: __background_alt__;
+    color: __text__;
+    text-decoration: none;
+    font-weight: normal;
+}
+
+.dokuwiki .tabs > ul li .curid a,
+.dokuwiki .tabs > ul li .active a,
+.dokuwiki ul.tabs li strong {
+    z-index: 2;
+    border-bottom-color: __background_alt__;
+}
diff --git a/lib/tpl/xfce/css/_toc.css b/lib/tpl/xfce/css/_toc.css
new file mode 100644
index 0000000..1226b5b
--- /dev/null
+++ b/lib/tpl/xfce/css/_toc.css
@@ -0,0 +1,93 @@
+/**
+ * This file provides styles for the TOC (table of contents), the
+ * sitemap (?do=index) and backlinks (?do=backlink).
+ */
+
+/* toc
+********************************************************************/
+
+/* toc container */
+#dw__toc {
+    float: right;
+    margin: 0 0 1.4em 1.4em;
+    width: 12em;
+    background-color: __background_alt__;
+    color: inherit;
+}
+[dir=rtl] #dw__toc {
+    float: left;
+    margin: 0 1.4em 1.4em 0;
+}
+
+/*____________ toc header ____________*/
+
+.dokuwiki h3.toggle {
+    padding: .2em .5em;
+    font-weight: bold;
+}
+
+.dokuwiki .toggle strong {
+    float: right;
+    margin: 0 .2em;
+}
+[dir=rtl] .dokuwiki .toggle strong {
+    float: left;
+}
+
+/*____________ toc list ____________*/
+
+#dw__toc > div {
+    padding: .2em .5em;
+}
+#dw__toc ul {
+    padding: 0;
+    margin: 0;
+}
+#dw__toc ul li {
+    list-style: none;
+    padding: 0;
+    margin: 0;
+    line-height: 1.1;
+}
+#dw__toc ul li div.li {
+    padding: .15em 0;
+}
+#dw__toc ul ul {
+    padding-left: 1em;
+}
+[dir=rtl] #dw__toc ul ul {
+    padding-left: 0;
+    padding-right: 1em;
+}
+#dw__toc ul ul li {
+}
+#dw__toc ul li a {
+}
+
+/* in case of toc list jumping one level
+  (e.g. if heading level 3 follows directly after heading level 1) */
+#dw__toc ul li.clear {
+}
+
+
+/* sitemap (and backlinks)
+********************************************************************/
+
+.dokuwiki ul.idx {
+    padding-left: 0;
+}
+[dir=rtl] .dokuwiki ul.idx {
+    padding-right: 0;
+}
+.dokuwiki ul.idx li {
+    list-style-image: url(../../images/bullet.png);
+}
+.dokuwiki ul.idx li.open {
+    list-style-image: url(../../images/open.png);
+}
+.dokuwiki ul.idx li.closed {
+    list-style-image: url(../../images/closed.png);
+}
+[dir=rtl] .dokuwiki ul.idx li.closed {
+    list-style-image: url(../../images/closed-rtl.png);
+}
diff --git a/lib/tpl/xfce/css/_translation.css b/lib/tpl/xfce/css/_translation.css
new file mode 100644
index 0000000..4c32449
--- /dev/null
+++ b/lib/tpl/xfce/css/_translation.css
@@ -0,0 +1,23 @@
+div.plugin_translation {
+  float: none !important;
+  margin: auto !important;
+  padding-left: 0.6em !important;
+  padding-right: 0 !important;
+  text-align: left !important;
+  font-size: 0.925em !important;
+}
+
+div.plugin_translation select {
+  background-color: transparent !important;
+  color: #333 !important;
+  padding: 0.35em 6px 0.35em 0.1em !important;
+  border: 1px solid #ccc !important;
+  box-shadow: 0 0 1px #eee inset !important;
+  border-radius: 2px! important;
+  font-size: inherit !important;
+}
+
+div.plugin_translation option {
+  text-align: left !important;
+}
+
diff --git a/lib/tpl/xfce/css/basic.css b/lib/tpl/xfce/css/basic.css
new file mode 100644
index 0000000..2d578f7
--- /dev/null
+++ b/lib/tpl/xfce/css/basic.css
@@ -0,0 +1,425 @@
+/**
+ * This file provides the most basic styles.
+ *
+ * If you integrate DokuWiki into another project, you might either
+ * want to integrate this file into the other project as well, or use
+ * the other project's basic CSS for DokuWiki instead of this one.
+ *
+ * @author Anika Henke <anika at selfthinker.org>
+ */
+
+html {
+    overflow-x: auto;
+    overflow-y: scroll;
+}
+html,
+body {
+    color: __text__;
+    background: __background_site__;
+    margin: 0;
+    padding: 0;
+}
+body {
+    font: normal 87.5%/1.4 Arial, sans-serif;
+    /* default font size: 100% => 16px; 93.75% => 15px; 87.5% => 14px; 81.25% => 13px; 75% => 12px */
+    -webkit-text-size-adjust: 100%;
+}
+
+
+/*____________ headers ____________*/
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+caption,
+legend {
+    font-family: Arial, sans-serif;
+    font-weight: normal;
+    padding: 0;
+    line-height: 1.2;
+    clear: left; /* ideally 'both', but problems with toc */
+}
+[dir=rtl] h1,
+[dir=rtl] h2,
+[dir=rtl] h3,
+[dir=rtl] h4,
+[dir=rtl] h5,
+[dir=rtl] h6,
+[dir=rtl] caption,
+[dir=rtl] legend {
+    clear: right;
+}
+
+h1 {
+    font-size: 2em;
+    margin: 0 0 0.444em;
+}
+h2 {
+    font-weight: bold;
+    font-size: 1.5em;
+    margin: 0 0 0.666em;
+}
+h3 {
+    font-weight: bold;
+    font-size: 1.125em;
+    margin: 0 0 0.888em;
+}
+h4 {
+    font-weight: bold;
+    font-size: 1em;
+    margin: 0 0 1.0em;
+}
+h5 {
+    font-size: .875em;
+    margin: 0 0 1.1428em;
+}
+h6 {
+    font-size: .75em;
+    margin: 0 0 1.333em;
+}
+/* bottom margin = 1 / font-size */
+
+
+/*____________ basic margins and paddings ____________*/
+
+p,
+ul,
+ol,
+dl,
+pre,
+table,
+hr,
+blockquote,
+fieldset,
+address {
+    margin: 0 0 1.4em 0; /* bottom margin = line-height */
+    padding: 0;
+}
+
+div {
+    margin: 0;
+    padding: 0;
+}
+
+
+/*____________ lists ____________*/
+
+ul,
+ol {
+    padding: 0 0 0 1.5em;
+}
+[dir=rtl] ul,
+[dir=rtl] ol {
+    padding: 0 1.5em 0 0;
+}
+
+li,
+dd {
+    padding: 0;
+    margin: 0 0 0 1.5em;
+}
+[dir=rtl] li,
+[dir=rtl] dd {
+    margin: 0 1.5em 0 0;
+}
+dt {
+    font-weight: bold;
+    margin: 0;
+    padding: 0;
+}
+
+li ul,
+li ol,
+li dl,
+dl ul,
+dl ol,
+dl dl {
+    margin-bottom: 0;
+    padding: 0;
+}
+li li {
+    font-size: 100%;
+}
+
+ul             { list-style: square outside; }
+ol             { list-style: decimal outside; }
+ol ol          { list-style-type: lower-alpha; }
+ol ol ol       { list-style-type: upper-roman; }
+ol ol ol ol    { list-style-type: upper-alpha; }
+ol ol ol ol ol { list-style-type: lower-roman; }
+
+
+/*____________ tables ____________*/
+
+table {
+    border-collapse: collapse;
+    empty-cells: show;
+    border-spacing: 0;
+    border: 1px solid __border__;
+}
+
+caption {
+    caption-side: top;
+    text-align: left;
+    margin: 0 0 .3em;
+}
+[dir=rtl] caption {
+    text-align: right;
+}
+
+th,
+td {
+    padding: .3em .5em;
+    margin: 0;
+    vertical-align: top;
+    border: 1px solid __border__;
+    text-align: left;
+}
+th {
+    font-weight: bold;
+    background-color: __background_alt__;
+}
+[dir=rtl] td,
+[dir=rtl] th {
+    text-align: right;
+}
+
+
+/*____________ links ____________*/
+
+a {
+    outline: none;
+}
+a:link,
+a:visited {
+    text-decoration: none;
+    color: __link__;
+}
+a:link:hover,
+a:visited:hover,
+a:link:focus,
+a:visited:focus,
+a:link:active,
+a:visited:active {
+    text-decoration: underline;
+    color: __linkhover__;
+}
+
+
+/*____________ misc ____________*/
+
+img {
+    border-width: 0;
+    vertical-align: middle;
+    color: #666;
+    background-color: transparent;
+    font-style: italic;
+    height: auto;
+}
+img,
+object {
+    max-width: 100%;
+}
+/* IE8 and below won't display the images otherwise */
+button img {
+    max-width: none;
+}
+
+hr {
+    border-top: solid __border__;
+    border-bottom: solid __background__;
+    border-width: 1px 0;
+    height: 0;
+    width: 100%;
+    text-align: center;
+    clear: both;
+}
+
+acronym,
+abbr {
+    cursor: help;
+    border-bottom: 1px dotted;
+    font-style: normal;
+}
+
+pre,
+code,
+samp,
+kbd {
+    font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
+    /* same font stack should be used for ".dokuwiki table.diff td" in _diff.css */
+    font-size: 1em;
+    direction: ltr;
+    text-align: left;
+    background-color: __background_site__;
+    color: __text__;
+    box-shadow: inset 0 0 .3em __border__;
+    border-radius: 2px;
+}
+pre {
+    overflow: auto;
+    word-wrap: normal;
+    border: 1px solid __border__;
+    border-radius: 2px;
+    box-shadow: inset 0 0 .5em __border__;
+    padding: .7em 1em;
+}
+
+blockquote {
+    padding: 0 .5em;
+    border: solid __border__;
+    border-width: 0 0 0 .25em;
+}
+[dir=rtl] blockquote {
+    border-width: 0 .25em 0 0;
+}
+q:before,
+q:after {
+    content: '';
+}
+
+sub,
+sup {
+    font-size: .8em;
+    line-height: 1;
+}
+sub {
+    vertical-align: sub;
+}
+sup {
+    vertical-align: super;
+}
+
+/*____________ forms ____________*/
+
+/* for all of the form styles, style.ini colours are not used on purpose (except for fieldset border) */
+
+form {
+    display: inline;
+    margin: 0;
+    padding: 0;
+}
+fieldset {
+    padding: 1em 1em 0;
+    border: 1px solid __text_alt__;
+}
+legend {
+    margin: 0;
+    padding: 0 .1em;
+}
+label {
+    vertical-align: middle;
+    cursor: pointer;
+}
+
+input,
+textarea,
+button,
+select,
+optgroup,
+option {
+    font: inherit;
+    font-weight: normal;
+    color: #333;
+    background-color: #fff;
+    line-height: 1;
+    margin: 0;
+    vertical-align: middle;
+    -moz-box-sizing: border-box;
+    -webkit-box-sizing: border-box;
+    box-sizing: border-box;
+}
+
+optgroup {
+    font-style: italic;
+    font-weight: bold;
+}
+option {
+    font-style: normal;
+    font-weight: normal;
+}
+
+input,
+textarea,
+select {
+    border: 1px solid #ccc;
+    box-shadow: inset 0 0 1px #eee;
+    border-radius: 2px;
+}
+input:active,
+input:focus,
+textarea:active,
+textarea:focus,
+select:active,
+select:focus {
+    border-color: #999;
+}
+input[type=radio],
+input[type=checkbox] {
+    padding: 0;
+    border-style: none;
+    box-shadow: none;
+}
+
+/* all types of buttons */
+input[type=submit],
+input.button,
+a.button,
+button,
+.qq-upload-button {
+    color: #333;
+    background-color: #eee;
+    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc4MjQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjAlIiB5Mj0iMTAwJSI+CjxzdG9wIHN0b3AtY29sb3I9IiNGRkZGRkYiIG9mZnNldD0iMCIvPjxzdG9wIHN0b3AtY29sb3I9IiNGNEY0RjQiIG9mZnNldD0iMC4zIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0VFRUVFRSIgb2Zmc2V0PSIwLjk5Ii8+PHN0b3Agc3RvcC1jb2xvcj0iI0NDQ0NDQyIgb2Zmc2V0PSIuOTkiLz4KPC9saW5lYXJHcmFkaWVudD4KPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNnODI0KSIgLz4KPC9zdmc+);
+    /*background: -moz-linear-gradient(   top, #ffffff 0%, #f4f4f4 30%, #eeeeee 99%, #cccccc 99%); see FS#2447*/
+    background: -webkit-linear-gradient(top, #ffffff 0%, #f4f4f4 30%, #eeeeee 99%, #cccccc 99%);
+    background: -o-linear-gradient(     top, #ffffff 0%, #f4f4f4 30%, #eeeeee 99%, #cccccc 99%);
+    background: -ms-linear-gradient(    top, #ffffff 0%, #f4f4f4 30%, #eeeeee 99%, #cccccc 99%);
+    background: linear-gradient(        top, #ffffff 0%, #f4f4f4 30%, #eeeeee 99%, #cccccc 99%);
+    border: 1px solid #ccc;
+    border-radius: 2px;
+    padding: .1em .5em;
+    cursor: pointer;
+}
+#IE7 input.button,
+#IE7 button {
+    line-height: 1.4;
+}
+
+input[type=submit]:hover,
+input[type=submit]:active,
+input[type=submit]:focus,
+input.button:hover,
+input.button:active,
+input.button:focus,
+a.button:hover,
+a.button:active,
+a.button:focus,
+button:hover,
+button:active,
+button:focus,
+.qq-upload-button:hover {
+    border-color: #999;
+    background-color: #ddd;
+    background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc2NzAiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjAlIiB5Mj0iMTAwJSI+CjxzdG9wIHN0b3AtY29sb3I9IiNGRkZGRkYiIG9mZnNldD0iMCIvPjxzdG9wIHN0b3AtY29sb3I9IiNGNEY0RjQiIG9mZnNldD0iMC4zIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0RERERERCIgb2Zmc2V0PSIwLjk5Ii8+PHN0b3Agc3RvcC1jb2xvcj0iI0JCQkJCQiIgb2Zmc2V0PSIuOTkiLz4KPC9saW5lYXJHcmFkaWVudD4KPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNnNjcwKSIgLz4KPC9zdmc+);
+    /*background: -moz-linear-gradient(   top, #ffffff 0%, #f4f4f4 30%, #dddddd 99%, #cccccc 99%); see FS#2447*/
+    background: -webkit-linear-gradient(top, #ffffff 0%, #f4f4f4 30%, #dddddd 99%, #bbbbbb 99%);
+    background: -o-linear-gradient(     top, #ffffff 0%, #f4f4f4 30%, #dddddd 99%, #bbbbbb 99%);
+    background: -ms-linear-gradient(    top, #ffffff 0%, #f4f4f4 30%, #dddddd 99%, #bbbbbb 99%);
+    background: linear-gradient(        top, #ffffff 0%, #f4f4f4 30%, #dddddd 99%, #bbbbbb 99%);
+}
+
+input::-moz-focus-inner,
+button::-moz-focus-inner {
+    border: 0;
+    padding: 0;
+}
+
+input[disabled],
+button[disabled],
+input[readonly],
+button[readonly] {
+    cursor: auto;
+}
diff --git a/lib/tpl/xfce/css/content.css b/lib/tpl/xfce/css/content.css
new file mode 100644
index 0000000..c236126
--- /dev/null
+++ b/lib/tpl/xfce/css/content.css
@@ -0,0 +1,362 @@
+/**
+ * This file provides the main design styles for the page content.
+ *
+ * @author Anika Henke <anika at selfthinker.org>
+ * @author Andreas Gohr <andi at splitbrain.org>
+ * @author Clarence Lee <clarencedglee at gmail.com>
+ */
+
+/*____________ section indenting ____________
+
+.dokuwiki.page  h1 {margin-left: 0;}
+.dokuwiki.page  h2 {margin-left: .666em;}
+.dokuwiki.page  h3 {margin-left: 1.776em;}
+.dokuwiki.page  h4 {margin-left: 3em;}
+.dokuwiki.page  h5 {margin-left: 4.5712em;}
+.dokuwiki.page  div.level1 {margin-left: 0;}
+.dokuwiki.page  div.level2 {margin-left: 1em;}
+.dokuwiki.page  div.level3 {margin-left: 2em;}
+.dokuwiki.page  div.level4 {margin-left: 3em;}
+.dokuwiki.page  div.level5 {margin-left: 4em;}
+
+[dir=rtl] .dokuwiki .page h1 {margin-left: 0; margin-right: 0;}
+[dir=rtl] .dokuwiki .page h2 {margin-left: 0; margin-right: .666em;}
+[dir=rtl] .dokuwiki .page h3 {margin-left: 0; margin-right: 1.776em;}
+[dir=rtl] .dokuwiki .page h4 {margin-left: 0; margin-right: 3em;}
+[dir=rtl] .dokuwiki .page h5 {margin-left: 0; margin-right: 4.5712em;}
+[dir=rtl] .dokuwiki .page div.level1 {margin-left: 0; margin-right: 0;}
+[dir=rtl] .dokuwiki .page div.level2 {margin-left: 0; margin-right: 1em;}
+[dir=rtl] .dokuwiki .page div.level3 {margin-left: 0; margin-right: 2em;}
+[dir=rtl] .dokuwiki .page div.level4 {margin-left: 0; margin-right: 3em;}
+[dir=rtl] .dokuwiki .page div.level5 {margin-left: 0; margin-right: 4em;}
+*/
+/* hx margin-left = (1 / font-size) * .levelx-margin */
+
+
+/*____________ links to wiki pages (addition to _links) ____________*/
+
+/* existing wikipage */
+.dokuwiki a.wikilink1 {
+    color: __existing__;
+    background-color: inherit;
+}
+/* not existing wikipage */
+.dokuwiki a.wikilink2 {
+    color: __missing__;
+    background-color: inherit;
+}
+
+
+/*____________ images ____________*/
+
+/* embedded images (styles are already partly set in lib/styles/all.css) */
+.dokuwiki img.media {
+    margin: .2em 0;
+}
+.dokuwiki img.medialeft {
+    margin: .2em 1em .2em 0;
+}
+.dokuwiki img.mediaright {
+    margin: .2em 0 .2em 1em;
+}
+.dokuwiki img.mediacenter {
+    margin: .2em auto;
+}
+
+
+/*____________ lists ____________*/
+
+#dokuwiki__content ul li,
+#dokuwiki__aside ul li {
+    color: __text_alt__;
+}
+#dokuwiki__content ol li,
+#dokuwiki__aside ol li {
+    color: __text_neu__;
+}
+#dokuwiki__content li .li,
+#dokuwiki__aside li .li {
+    color: __text__;
+}
+
+
+/*____________ tables ____________*/
+
+/* div around each table */
+.dokuwiki div.table {
+    overflow-x: auto;
+    margin-bottom: 1.4em;
+}
+.dokuwiki div.table table {
+    margin-bottom: 0;
+}
+
+.dokuwiki table.inline {
+    min-width: 50%;
+}
+.dokuwiki table.inline tr:hover td {
+    background-color: __background_alt__;
+}
+.dokuwiki table.inline tr:hover th {
+    background-color: __border__;
+}
+
+
+/*____________ code ____________*/
+
+/* fix if background-color hides underlining */
+.dokuwiki em.u code {
+    text-decoration: underline;
+}
+
+/* for code in <file> */
+.dokuwiki pre.file {
+}
+
+/* filenames for downloadable file and code blocks */
+.dokuwiki dl.code,
+.dokuwiki dl.file {
+}
+
+.dokuwiki dl.code dt,
+.dokuwiki dl.file dt {
+    background-color: __background_site__;
+    /* background: -moz-linear-gradient(   top, __background_alt__ 0%, __background_site__ 100%); see FS#2447 */
+    background: -webkit-linear-gradient(top, __background_alt__ 0%, __background_site__ 100%);
+    background: -o-linear-gradient(     top, __background_alt__ 0%, __background_site__ 100%);
+    background: -ms-linear-gradient(    top, __background_alt__ 0%, __background_site__ 100%);
+    background: linear-gradient(        top, __background_alt__ 0%, __background_site__ 100%);
+    color: inherit;
+    border: 1px solid __border__;
+    border-bottom-color: __background_site__;
+    border-top-left-radius: .3em;
+    border-top-right-radius: .3em;
+    padding: .3em .6em .1em;
+    margin-bottom: -1px;
+    float: left;
+}
+[dir=rtl] .dokuwiki dl.code dt,
+[dir=rtl] .dokuwiki dl.file dt {
+    float: right;
+}
+.dokuwiki dl.code dt a,
+.dokuwiki dl.file dt a {
+    background-color: transparent;
+    font-size: 0.875em;
+    font-weight: normal;
+    display: block;
+    min-height: 16px;
+}
+
+.dokuwiki dl.code dd,
+.dokuwiki dl.file dd {
+    margin: 0;
+    clear: left;
+    min-height: 1px; /* for IE7 */
+}
+[dir=rtl] .dokuwiki dl.code dd,
+[dir=rtl] .dokuwiki dl.file dd {
+    clear: right;
+}
+
+.dokuwiki dl.code pre,
+.dokuwiki dl.file pre {
+    box-shadow: inset -4px -4px .5em -.3em __border__;
+}
+
+
+/*____________ JS popup ____________*/
+
+.JSpopup {
+    background-color: __background__;
+    color: __text__;
+    border: 1px solid __border__;
+    box-shadow: .1em .1em .1em __border__;
+    border-radius: 2px;
+    padding: .3em .5em;
+    font-size: .9em;
+}
+.dokuwiki form.search div.ajax_qsearch {
+    top: -.35em;
+    font-size: 1em;
+    text-overflow: ellipsis;
+}
+
+.JSpopup ul,
+.JSpopup ol {
+    padding-left: 0;
+}
+[dir=rtl] .JSpopup ul,
+[dir=rtl] .JSpopup ol {
+    padding-right: 0;
+}
+
+
+/* changes to underscored CSS files
+********************************************************************/
+
+#acl__tree li {
+    margin: 0;
+}
+
+#dokuwiki__content span.curid a {
+    font-weight: normal;
+}
+#dokuwiki__content strong span.curid a {
+    font-weight: bold;
+}
+
+
+/*____________ changes to _edit ____________*/
+
+.dokuwiki div.toolbar button.toolbutton {
+    border-radius: 0;
+    border-left-width: 0;
+    padding: .1em .35em;
+}
+.dokuwiki div.toolbar button.toolbutton:first-child {
+    border-top-left-radius: 4px;
+    border-bottom-left-radius: 4px;
+    border-left-width: 1px;
+}
+[dir=rtl] .dokuwiki div.toolbar button.toolbutton:first-child {
+    border-top-left-radius: 0;
+    border-bottom-left-radius: 0;
+    border-top-right-radius: 4px;
+    border-bottom-right-radius: 4px;
+    border-left-width: 0;
+    border-right-width: 1px;
+}
+.dokuwiki div.toolbar button.toolbutton:last-child {
+    border-top-right-radius: 4px;
+    border-bottom-right-radius: 4px;
+}
+[dir=rtl] .dokuwiki div.toolbar button.toolbutton:last-child {
+    border-top-left-radius: 4px;
+    border-bottom-left-radius: 4px;
+    border-top-right-radius: 0;
+    border-bottom-right-radius: 0;
+    border-left-width: 1px;
+}
+
+.dokuwiki div.section_highlight {
+    margin: 0 -2em;
+    padding: 0 1em;
+    border-width: 0 1em;
+}
+
+.dokuwiki textarea.edit {
+    font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
+}
+
+.dokuwiki div.preview {
+    margin: 0 -2em;
+    padding: 0 2em;
+}
+.dokuwiki.hasSidebar div.preview {
+    border-right: __sidebar_width__ solid __background_alt__;
+}
+[dir=rtl] .dokuwiki.hasSidebar div.preview {
+    border-right-width: 0;
+    border-left: __sidebar_width__ solid __background_alt__;
+}
+.dokuwiki div.preview div.pad {
+    padding: 1.556em 0 2em;
+}
+
+
+/*____________ changes to _toc ____________*/
+
+#dw__toc {
+    margin:  -1.556em -2em .5em 1.4em;
+    width: __sidebar_width__;
+    border-left: 1px solid __border__;
+    background: __background__;
+    color: inherit;
+}
+[dir=rtl] #dw__toc {
+    margin: -1.556em 1.4em .5em -2em;
+    border-left-width: 0;
+    border-right: 1px solid __border__;
+}
+
+.dokuwiki h3.toggle {
+    padding: .5em 1em;
+    margin-bottom: 0;
+    font-size: .875em;
+    letter-spacing: .1em;
+}
+#dokuwiki__aside h3.toggle {
+    display: none;
+}
+
+.dokuwiki .toggle strong {
+    background: transparent url(images/toc-arrows.png) 0 0;
+    width: 8px;
+    height: 5px;
+    margin: .4em 0 0;
+}
+.dokuwiki .toggle.closed strong {
+    background-position: 0 -5px;
+}
+
+.dokuwiki .toggle strong span {
+    display: none;
+}
+
+
+#dw__toc > div {
+    font-size: 0.875em;
+    padding: .5em 1em 1em;
+}
+#dw__toc ul {
+    padding: 0 0 0 1.2em;
+}
+[dir=rtl] #dw__toc ul {
+    padding: 0 1.5em 0 0;
+}
+#dw__toc ul li {
+    list-style-image: url(images/toc-bullet.png);
+}
+#dw__toc ul li.clear {
+    list-style: none;
+}
+#dw__toc ul li div.li {
+    padding: .2em 0;
+}
+
+
+/*____________ changes to _imgdetail ____________*/
+
+#dokuwiki__detail {
+    padding: 0;
+}
+#dokuwiki__detail img {
+    float: none;
+    margin-bottom: 1.4em;
+}
+#dokuwiki__detail div.img_detail {
+    float: none;
+}
+
+#dokuwiki__detail div.img_detail dl {
+    overflow: hidden;
+}
+#dokuwiki__detail div.img_detail dl dt {
+    float: left;
+    width: 9em;
+    text-align: right;
+    clear: left;
+}
+[dir=rtl] #dokuwiki__detail div.img_detail dl dt {
+    float: right;
+    text-align: left;
+    clear: right;
+}
+#dokuwiki__detail div.img_detail dl dd {
+    margin-left: 9.5em;
+}
+[dir=rtl] #dokuwiki__detail div.img_detail dl dd {
+    margin-left: 0;
+    margin-right: 9.5em;
+}
diff --git a/lib/tpl/xfce/css/design.css b/lib/tpl/xfce/css/design.css
new file mode 100644
index 0000000..aa42c79
--- /dev/null
+++ b/lib/tpl/xfce/css/design.css
@@ -0,0 +1,405 @@
+/**
+ * This file provides the main design styles for the
+ * bits that surround the content.
+ *
+ * @author Anika Henke <anika at selfthinker.org>
+ * @author Andreas Gohr <andi at splitbrain.org>
+ * @author Clarence Lee <clarencedglee at gmail.com>
+ */
+
+/* header
+********************************************************************/
+
+#dokuwiki__header {
+    padding-bottom: 0.4em;
+}
+
+#dokuwiki__header .headings,
+#dokuwiki__header .tools {
+}
+#dokuwiki__header h1 img {
+    float: left;
+    margin-right: .5em;
+}
+[dir=rtl] #dokuwiki__header h1 img {
+    float: right;
+    margin-left: .5em;
+    margin-right: 0;
+}
+#dokuwiki__header h1 span {
+    display: block;
+    padding-top: 10px;
+}
+#dokuwiki__header h1 {
+    margin: 0;
+    font-size: 1.5em;
+    font-weight: normal;
+}
+#dokuwiki__header h1 a {
+    text-decoration: none;
+    color: __text__;
+    background-color: inherit;
+}
+#dokuwiki__header h1 a:hover,
+#dokuwiki__header h1 a:active,
+#dokuwiki__header h1 a:focus {
+}
+#dokuwiki__header p.claim {
+    margin-bottom: 0;
+    font-size: 0.875em;
+}
+
+#dokuwiki__header .tools {
+    margin-top: .2em;
+}
+
+
+/* tools
+********************************************************************/
+
+/* highlight selected tool */
+.mode_admin a.action.admin,
+.mode_login a.action.login,
+.mode_register a.action.register,
+.mode_profile a.action.profile,
+.mode_recent a.action.recent,
+.mode_index a.action.index,
+.mode_media a.action.media,
+.mode_revisions a.action.revs,
+.mode_backlink a.action.backlink,
+.mode_subscribe a.action.subscribe {
+    font-weight: bold;
+}
+
+#dokuwiki__header .tools ul {
+    padding-left: 0;
+    margin-bottom: 0;
+}
+#dokuwiki__header .tools li {
+    margin: 0;
+    list-style: none;
+    display: inline;
+}
+[dir=rtl] #dokuwiki__header .tools li {
+    margin: 0;
+}
+#dokuwiki__header .tools form.search div.ajax_qsearch li {
+    font-size: 1em;
+    margin-left: 0;
+    display: block;
+    overflow: hidden;
+    text-overflow: ellipsis;
+}
+
+#dokuwiki__usertools a.action {
+    padding-left: 20px;
+    background: transparent url(images/usertools.png) no-repeat 0 0;
+}
+[dir=rtl] #dokuwiki__usertools a.action {
+    padding-left: 0;
+    padding-right: 20px;
+}
+[dir=rtl] #IE7 #dokuwiki__usertools a.action {
+    display: inline-block;
+}
+
+
+#dokuwiki__header .mobileTools {
+    display: none; /* hide mobile tools dropdown to only show in mobile view */
+}
+
+/*____________ user tools ____________*/
+
+#dokuwiki__usertools {
+    top: .5em;
+    right: .5em;
+    width: 100%;
+}
+[dir=rtl] #dokuwiki__usertools {
+    text-align: right;
+    left: 40px;
+    right: auto;
+}
+#dokuwiki__usertools ul {
+    margin: 0 auto;
+    padding: 0;
+    max-width: __site_width__;
+}
+#dokuwiki__usertools ul li.user {
+}
+
+#dokuwiki__usertools a.action.admin {
+    background-position: left 0;
+}
+[dir=rtl] #dokuwiki__usertools a.action.admin {
+    background-position: right 0;
+}
+#dokuwiki__usertools a.action.profile {
+    background-position: left -32px;
+}
+[dir=rtl] #dokuwiki__usertools a.action.profile {
+    background-position: right -32px;
+}
+#dokuwiki__usertools a.action.register {
+    background-position: left -64px;
+}
+[dir=rtl] #dokuwiki__usertools a.action.register {
+    background-position: right -64px;
+}
+#dokuwiki__usertools a.action.login {
+    background-position: left -96px;
+}
+[dir=rtl] #dokuwiki__usertools a.action.login {
+    background-position: right -96px;
+}
+#dokuwiki__usertools a.action.logout {
+    background-position: left -128px;
+}
+[dir=rtl] #dokuwiki__usertools a.action.logout {
+    background-position: right -128px;
+}
+
+
+/*____________ site tools ____________*/
+
+#dokuwiki__sitetools {
+}
+[dir=rtl] #dokuwiki__sitetools {
+    text-align: right;
+}
+
+#dokuwiki__sitetools div.translation {
+    display: block;
+    float: right;
+    font-size: 0.875em;
+    position: relative;
+}
+#dokuwiki__sitetools form.search {
+    display: block;
+    float: right;
+    font-size: 0.875em;
+    position: relative;
+}
+#IE7 #dokuwiki__sitetools form.search {
+    min-height: 1px;
+    z-index: 21;
+}
+#dokuwiki__sitetools form.search input.edit {
+    width: 18em;
+    padding: .35em 22px .35em .1em;
+}
+[dir=rtl] #dokuwiki__sitetools form.search input.edit {
+    padding: .35em .1em .35em 22px;
+}
+#dokuwiki__sitetools form.search input.button {
+    background: transparent url(images/search.png) no-repeat 0 0;
+    border-width: 0;
+    width: 19px;
+    height: 14px;
+    text-indent: -99999px;
+    margin-left: -20px;
+    box-shadow: none;
+    padding: 0;
+}
+[dir=rtl] #dokuwiki__sitetools form.search input.button {
+    background-position: 5px 0;
+    margin-left: 0;
+    margin-right: -20px;
+}
+
+#dokuwiki__sitetools div.breadcrumbs,
+#dokuwiki__sitetools ul {
+    margin: 0.5em 0 0;
+    font-size: 0.9em;
+}
+#dokuwiki__sitetools li:first-child {
+    border-left: 0;
+}
+#dokuwiki__sitetools li {
+    border-left: 1px solid __border__;
+    padding: 4px 1em;
+}
+
+/*____________ breadcrumbs ____________*/
+
+.dokuwiki div.breadcrumbs {
+    margin-bottom: .5em;
+    font-size: 0.875em;
+}
+.dokuwiki div.breadcrumbs div {
+    padding: .1em .35em;
+}
+.dokuwiki div.breadcrumbs a {
+    color: __link__;
+    background-color: inherit;
+}
+.dokuwiki div.breadcrumbs .bcsep {
+    font-size: 0.75em;
+}
+
+
+/* sidebar
+********************************************************************/
+
+#dokuwiki__aside {
+}
+#dokuwiki__aside > .pad {
+    font-size: 0.875em;
+    overflow: hidden;
+    word-wrap: break-word;
+}
+
+/* make sidebar more condensed */
+
+#dokuwiki__aside h1 {
+    font-size: 1.714em;
+    margin-bottom: .292em;
+}
+#dokuwiki__aside h2 {
+    margin-bottom: .333em;
+}
+#dokuwiki__aside h3 {
+    margin-bottom: .444em;
+}
+#dokuwiki__aside h4 {
+    margin-bottom: .5em;
+}
+#dokuwiki__aside h5 {
+    margin-bottom: .5714em;
+}
+
+#dokuwiki__aside p,
+#dokuwiki__aside ul,
+#dokuwiki__aside ol,
+#dokuwiki__aside dl,
+#dokuwiki__aside pre,
+#dokuwiki__aside table,
+#dokuwiki__aside fieldset,
+#dokuwiki__aside hr,
+#dokuwiki__aside blockquote,
+#dokuwiki__aside address {
+    margin-bottom: .7em;
+}
+
+#dokuwiki__aside ul,
+#dokuwiki__aside ol {
+    padding-left: .5em;
+}
+[dir=rtl] #dokuwiki__aside ul,
+[dir=rtl] #dokuwiki__aside ol {
+    padding-right: .5em;
+}
+#dokuwiki__aside li ul,
+#dokuwiki__aside li ol {
+    margin-bottom: 0;
+    padding: 0;
+}
+
+#dokuwiki__aside a:link,
+#dokuwiki__aside a:visited {
+    color: __link__;
+    background-color: inherit;
+}
+
+
+/* content
+********************************************************************/
+
+#dokuwiki__content {
+}
+
+.dokuwiki .pageId {
+    position: absolute;
+    top: -2.3em;
+    right: -1em;
+    overflow: hidden;
+    padding: 1em 1em 0;
+}
+[dir=rtl] .dokuwiki .pageId {
+    right: auto;
+    left: -1em;
+}
+.dokuwiki .pageId span {
+    font-size: 0.875em;
+    border: solid __background_alt__;
+    border-width: 1px 1px 0;
+    background-color: __background__;
+    color: __text_alt__;
+    padding: .1em .35em;
+    border-top-left-radius: 2px;
+    border-top-right-radius: 2px;
+    box-shadow: 0 0 .5em #999;
+    display: block;
+}
+
+.dokuwiki div.page {
+    background: __background__;
+    color: inherit;
+    box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
+    border-radius: 4px;
+    padding: 1.556em 2em 2em;
+    margin-bottom: .5em;
+    overflow: hidden;
+    word-wrap: break-word;
+}
+
+.dokuwiki .docInfo {
+    font-size: 0.875em;
+    text-align: right;
+}
+[dir=rtl] .dokuwiki .docInfo {
+    text-align: left;
+}
+
+/* license note under edit window */
+.dokuwiki div.license {
+    font-size: 93.75%;
+}
+
+
+/* footer
+********************************************************************/
+
+.dokuwiki .wrapper {
+    margin-bottom: 1.4em;
+}
+
+#dokuwiki__footer {
+    text-align: center;
+}
+#dokuwiki__footer > .pad {
+    margin-top: 1em;
+    font-size: 0.875em;
+    color: #999;
+    clear: both;
+}
+
+#dokuwiki__footer 
+#dokuwiki__footer div.license {
+    margin-bottom: 0.5em;
+    font-size: 100%;
+}
+
+[dir=rtl] #dokuwiki__footer .license img {
+    margin: 0 0 0 .5em;
+}
+
+#dokuwiki__footer a.nolink:hover {
+    text-decoration: none;
+}
+#dokuwiki__footer div.buttons a img {
+    opacity: 0.5;
+}
+#dokuwiki__footer div.buttons a:hover img,
+#dokuwiki__footer div.buttons a:active img,
+#dokuwiki__footer div.buttons a:focus img {
+    opacity: 1;
+}
+
+#dokuwiki__footer #footertools div.bar-left {
+    float: left;
+}
+#dokuwiki__footer #footertools div.bar-right {
+    text-align: right;
+}
+
diff --git a/lib/tpl/xfce/css/includes.css b/lib/tpl/xfce/css/includes.css
new file mode 100644
index 0000000..bc18996
--- /dev/null
+++ b/lib/tpl/xfce/css/includes.css
@@ -0,0 +1,4 @@
+/**
+ * This file provides styles for included seperate html files
+ * (added through "include hooks").
+ */
diff --git a/lib/tpl/xfce/css/mobile.css b/lib/tpl/xfce/css/mobile.css
new file mode 100644
index 0000000..501e53a
--- /dev/null
+++ b/lib/tpl/xfce/css/mobile.css
@@ -0,0 +1,284 @@
+/**
+ * This file provides styles for mobile devices
+ * and smaller screens (up to 480px and 768px width).
+ *
+ * @author Anika Henke <anika at selfthinker.org>
+ */
+
+/* for detecting media queries in JavaScript (see script.js): */
+#screen__mode {
+    position: relative;
+    z-index: 0;
+}
+
+/* up to 979px screen widths
+********************************************************************/
+ at media only screen and (max-width: 979px) {
+
+#screen__mode {
+    z-index: 1; /* for detecting media queries in JavaScript (see script.js) */
+}
+
+/* structure */
+#dokuwiki__aside {
+    width: 100%;
+    float: none;
+}
+
+#dokuwiki__aside > .pad,
+[dir=rtl] #dokuwiki__aside > .pad {
+    margin: 0 0 .5em;
+    /* style like .page */
+    background: __background__;
+    color: inherit;
+    border: 1px solid #eee;
+    box-shadow: 0 0 .5em #999;
+    border-radius: 2px;
+    padding: 1em;
+    margin-bottom: .5em;
+}
+
+#dokuwiki__aside h3.toggle {
+    font-size: 1em;
+}
+#dokuwiki__aside h3.toggle.closed {
+    margin-bottom: 0;
+    padding-bottom: 0;
+}
+#dokuwiki__aside h3.toggle.open {
+    border-bottom: 1px solid __border__;
+}
+
+.showSidebar #dokuwiki__content {
+    float: none;
+    margin-left: 0;
+    width: 100%;
+}
+.showSidebar #dokuwiki__content > .pad {
+    margin-left: 0;
+}
+
+[dir=rtl] .showSidebar #dokuwiki__content,
+[dir=rtl] .showSidebar #dokuwiki__content > .pad {
+    margin-right: 0;
+}
+
+/* toc */
+#dw__toc {
+    float: none;
+    margin: 0 0 1em 0;
+    width: auto;
+    border-left-width: 0;
+    border-bottom: 1px solid __border__;
+}
+[dir=rtl] #dw__toc {
+    float: none;
+    margin: 0 0 1em 0;
+    border-right-width: 0;
+}
+
+.dokuwiki h3.toggle {
+    padding: 0 .5em .5em 0;
+}
+#dw__toc > div,
+#dokuwiki__aside div.content {
+    padding: .2em 0 .5em;
+}
+
+/* page */
+.dokuwiki div.page {
+    padding: 1em;
+}
+
+/* _edit */
+.dokuwiki div.section_highlight {
+    margin: 0 -1em;
+    padding: 0 .5em;
+    border-width: 0 .5em;
+}
+.dokuwiki div.preview {
+    margin: 0 -1em;
+    padding: 1em;
+}
+
+/* _recent */
+.dokuwiki form.changes ul {
+    padding-left: 0;
+}
+[dir=rtl] .dokuwiki form.changes ul {
+    padding-right: 0;
+}
+
+
+} /* /@media */
+
+
+/* up to 480px screen widths
+********************************************************************/
+ at media only screen and (max-width: 480px) {
+
+#screen__mode {
+    z-index: 2; /* for detecting media queries in JavaScript (see script.js) */
+}
+
+body {
+    font-size: 100%;
+}
+
+/*____________ structure ____________*/
+
+#dokuwiki__site {
+    max-width: 100%;
+}
+#dokuwiki__site > .site {
+    padding: 0 .5em;
+}
+#dokuwiki__header {
+    padding: .5em 0;
+}
+
+
+/*____________ header ____________*/
+
+#dokuwiki__header ul.a11y.skip {
+    position: static !important;
+    left: 0 !important;
+    width: auto !important;
+    height: auto !important;
+    float: right;
+    font-size: 0.875em;
+    list-style: none;
+    padding-left: 0;
+    margin: 0;
+}
+[dir=rtl] #dokuwiki__header ul.a11y.skip {
+    left: auto !important;
+    right: 0 !important;
+    float: left;
+    padding-right: 0;
+}
+#dokuwiki__header ul.a11y.skip li {
+    margin-left: .35em;
+    display: inline;
+}
+[dir=rtl] #dokuwiki__header ul.a11y.skip li {
+    margin: 0 .35em 0 0;
+}
+
+#dokuwiki__header .headings,
+#dokuwiki__header .tools {
+    float: none;
+    text-align: left;
+    width: auto;
+    margin-bottom: .5em;
+}
+[dir=rtl] #dokuwiki__header .headings,
+[dir=rtl] #dokuwiki__header .tools {
+    float: none;
+    text-align: right;
+    width: auto;
+}
+#dokuwiki__sitetools {
+    text-align: left;
+}
+[dir=rtl] #dokuwiki__sitetools {
+    text-align: right;
+}
+#dokuwiki__usertools,
+#dokuwiki__sitetools ul,
+#dokuwiki__sitetools h3,
+#dokuwiki__pagetools,
+.dokuwiki div.breadcrumbs, /* @todo: maybe move breadcrumbs to the bottom? */
+.dokuwiki .pageId {
+    display: none;
+}
+
+/* search form */
+#dokuwiki__sitetools form.search {
+    float: left;
+    margin: 0 .2em .2em 0;
+    width: 49%;
+}
+[dir=rtl] #dokuwiki__sitetools form.search {
+    float: right;
+    margin: 0 0 .2em .2em;
+}
+
+#dokuwiki__sitetools form.search input.edit {
+    width: 100% !important;
+}
+.dokuwiki form.search div.ajax_qsearch {
+    display: none !important;
+}
+
+/* action dropdown is alternative for all hidden tools */
+#dokuwiki__header .mobileTools {
+    display: block;
+    font-size: 0.875em;
+    margin: 0 0 .2em 0;
+    float: right;
+    width: 49%;
+}
+[dir=rtl] #dokuwiki__header .mobileTools {
+    float: left;
+}
+#dokuwiki__header .mobileTools select {
+    padding: .3em .1em;
+    width: 100% !important;
+}
+
+/* force same height on search input and tools select */
+#dokuwiki__sitetools form.search input.edit,
+#dokuwiki__header .mobileTools select {
+    height: 2.1em;
+    line-height: 2.1em;
+    overflow: visible;
+}
+
+
+/*____________ content ____________*/
+
+#dokuwiki__aside > .pad,
+.dokuwiki div.page {
+    padding: .5em;
+}
+
+/* form elements */
+#config__manager fieldset td.value,
+#config__manager td .input,
+.dokuwiki fieldset,
+.dokuwiki input.edit,
+.dokuwiki textarea,
+.dokuwiki select {
+    width: auto !important;
+    max-width: 100% !important;
+}
+#config__manager fieldset {
+    margin-left: 0;
+    margin-right: 0;
+}
+
+.dokuwiki label.block {
+    text-align: left;
+}
+[dir=rtl] .dokuwiki label.block {
+    text-align: right;
+}
+.dokuwiki label.block span {
+    display: block;
+}
+
+/* _edit */
+.dokuwiki div.section_highlight {
+    margin: 0;
+    padding: 0;
+    border-width: 0;
+}
+.dokuwiki div.preview {
+    margin: 0 -.5em;
+    padding: .5em;
+}
+
+
+
+} /* /@media */
diff --git a/lib/tpl/xfce/css/pagetools.css b/lib/tpl/xfce/css/pagetools.css
new file mode 100644
index 0000000..a40d525
--- /dev/null
+++ b/lib/tpl/xfce/css/pagetools.css
@@ -0,0 +1,334 @@
+/**
+ * This file provides the styles for the page tools
+ * (fly out navigation beside the page to edit, etc).
+ *
+ * @author Anika Henke <anika at selfthinker.org>
+ * @author Andreas Gohr <andi at splitbrain.org>
+ */
+
+#dokuwiki__site > .site {
+    /* give space to the right so the tools won't disappear on smaller screens */
+    /* it's 40px because the 30px wide icons will have 5px more spacing to the left and right */
+    padding-right: 40px;
+    /* give the same space to the left to balance it out */
+    padding-left: 40px;
+}
+.dokuwiki div.page {
+    height: 190px;
+    min-height: 190px; /* 30 (= height of icons) x 6 (= maximum number of possible tools) + 2x5 */
+    height: auto;
+}
+#dokuwiki__usertools {
+    /* move the tools just outside of the site */
+    right: 40px;
+}
+[dir=rtl] #dokuwiki__usertools {
+    right: auto;
+    left: 40px;
+}
+
+
+#dokuwiki__pagetools {
+    position: absolute;
+    right: -40px;
+    /* on same vertical level as first headline, because .page has 2em padding */
+    top: 2em;
+    width: 40px;
+}
+[dir=rtl] #dokuwiki__pagetools {
+    right: auto;
+    left: -40px;
+}
+
+#dokuwiki__pagetools div.tools {
+    position: fixed;
+    width: 40px;
+}
+
+#dokuwiki__pagetools ul {
+    position: absolute;
+    right: 0;
+    text-align: right;
+    margin: 0;
+    padding: 0;
+    /* add transparent border to prevent jumping when proper border is added on hover */
+    border: 1px solid transparent;
+}
+[dir=rtl] #dokuwiki__pagetools ul {
+    right: auto;
+    left: 0;
+    text-align: left;
+}
+
+#dokuwiki__pagetools ul li {
+    padding: 0;
+    margin: 0;
+    list-style: none;
+    font-size: 0.875em;
+}
+
+#dokuwiki__pagetools ul li a {
+    display: block;
+    min-height: 20px; /* 30 - 2x5 */
+    line-height: 20px;
+    padding: 5px 40px 5px 5px;
+    background-image: url(images/pagetools-sprite.png);
+    background-position: right 0;
+    background-repeat: no-repeat;
+    /* add transparent border to prevent jumping when proper border is added on focus */
+    border: 1px solid transparent;
+    white-space: nowrap;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a {
+    padding: 5px 5px 5px 40px;
+    background-position: left 0;
+}
+
+/* hide labels accessibly when neither on hover nor on focus */
+#dokuwiki__pagetools ul li a span {
+    position: absolute;
+    clip: rect(0 0 0 0); /* IE7, IE6 */
+    clip: rect(0, 0, 0, 0);
+}
+
+/* show all tools on hover and individual tools on focus */
+#dokuwiki__pagetools:hover ul,
+#dokuwiki__pagetools ul li a:focus {
+    background-color: __background__;
+    border-color: __border__;
+    border-radius: 2px;
+    box-shadow: 2px 2px 2px __text_alt__;
+}
+[dir=rtl] #dokuwiki__pagetools:hover ul,
+[dir=rtl] #dokuwiki__pagetools ul li a:focus {
+    box-shadow: -2px 2px 2px __text_alt__;
+}
+
+#dokuwiki__pagetools:hover ul li a span,
+#dokuwiki__pagetools ul li a:focus span {
+    display: inline;
+    position: static;
+}
+
+#dokuwiki__pagetools ul li a:hover,
+#dokuwiki__pagetools ul li a:active,
+#dokuwiki__pagetools ul li a:focus {
+    text-decoration: none;
+}
+#dokuwiki__pagetools ul li a:hover {
+    background-color: __background_alt__;
+}
+
+/*____________ all available icons in sprite ____________*/
+
+#dokuwiki__pagetools ul li a.edit {
+    background-position: right 0;
+}
+#dokuwiki__pagetools ul li a.edit:hover,
+#dokuwiki__pagetools ul li a.edit:active,
+#dokuwiki__pagetools ul li a.edit:focus {
+    background-position: right -45px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.edit {
+    background-position: left 0;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.edit:hover,
+[dir=rtl] #dokuwiki__pagetools ul li a.edit:active,
+[dir=rtl] #dokuwiki__pagetools ul li a.edit:focus {
+    background-position: left -45px;
+}
+
+#dokuwiki__pagetools ul li a.create {
+    background-position: right -90px;
+}
+#dokuwiki__pagetools ul li a.create:hover,
+#dokuwiki__pagetools ul li a.create:active,
+#dokuwiki__pagetools ul li a.create:focus {
+    background-position: right -135px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.create {
+    background-position: left -90px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.create:hover,
+[dir=rtl] #dokuwiki__pagetools ul li a.create:active,
+[dir=rtl] #dokuwiki__pagetools ul li a.create:focus {
+    background-position: left -135px;
+}
+
+#dokuwiki__pagetools ul li a.show {
+    background-position: right -270px;
+}
+#dokuwiki__pagetools ul li a.show:hover,
+#dokuwiki__pagetools ul li a.show:active,
+#dokuwiki__pagetools ul li a.show:focus {
+    background-position: right -315px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.show {
+    background-position: left -270px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.show:hover,
+[dir=rtl] #dokuwiki__pagetools ul li a.show:active,
+[dir=rtl] #dokuwiki__pagetools ul li a.show:focus {
+    background-position: left -315px;
+}
+
+#dokuwiki__pagetools ul li a.source {
+    background-position: right -360px;
+}
+#dokuwiki__pagetools ul li a.source:hover,
+#dokuwiki__pagetools ul li a.source:active,
+#dokuwiki__pagetools ul li a.source:focus {
+    background-position: right -405px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.source {
+    background-position: left -360px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.source:hover,
+[dir=rtl] #dokuwiki__pagetools ul li a.source:active,
+[dir=rtl] #dokuwiki__pagetools ul li a.source:focus {
+    background-position: left -405px;
+}
+
+#dokuwiki__pagetools ul li a.draft {
+    background-position: right -180px;
+}
+#dokuwiki__pagetools ul li a.draft:hover,
+#dokuwiki__pagetools ul li a.draft:active,
+#dokuwiki__pagetools ul li a.draft:focus {
+    background-position: right -225px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.draft {
+    background-position: left -180px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.draft:hover,
+[dir=rtl] #dokuwiki__pagetools ul li a.draft:active,
+[dir=rtl] #dokuwiki__pagetools ul li a.draft:focus {
+    background-position: left -225px;
+}
+
+#dokuwiki__pagetools ul li a.revs {
+    background-position: right -540px;
+}
+#dokuwiki__pagetools ul li a.revs:hover,
+#dokuwiki__pagetools ul li a.revs:active,
+#dokuwiki__pagetools ul li a.revs:focus,
+.mode_revisions #dokuwiki__pagetools ul li a.revs {
+    background-position: right -585px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.revs {
+    background-position: left -540px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.revs:hover,
+[dir=rtl] #dokuwiki__pagetools ul li a.revs:active,
+[dir=rtl] #dokuwiki__pagetools ul li a.revs:focus,
+.mode_revisions [dir=rtl] #dokuwiki__pagetools ul li a.revs {
+    background-position: left -585px;
+}
+
+#dokuwiki__pagetools ul li a.backlink {
+    background-position: right -630px;
+}
+#dokuwiki__pagetools ul li a.backlink:hover,
+#dokuwiki__pagetools ul li a.backlink:active,
+#dokuwiki__pagetools ul li a.backlink:focus,
+.mode_backlink #dokuwiki__pagetools ul li a.backlink {
+    background-position: right -675px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.backlink {
+    background-position: left -630px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.backlink:hover,
+[dir=rtl] #dokuwiki__pagetools ul li a.backlink:active,
+[dir=rtl] #dokuwiki__pagetools ul li a.backlink:focus,
+.mode_backlink [dir=rtl] #dokuwiki__pagetools ul li a.backlink {
+    background-position: left -675px;
+}
+
+#dokuwiki__pagetools ul li a.top {
+    background-position: right -810px;
+}
+#dokuwiki__pagetools ul li a.top:hover,
+#dokuwiki__pagetools ul li a.top:active,
+#dokuwiki__pagetools ul li a.top:focus {
+    background-position: right -855px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.top {
+    background-position: left -810px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.top:hover,
+[dir=rtl] #dokuwiki__pagetools ul li a.top:active,
+[dir=rtl] #dokuwiki__pagetools ul li a.top:focus {
+    background-position: left -855px;
+}
+
+#dokuwiki__pagetools ul li a.revert {
+    background-position: right -450px;
+}
+#dokuwiki__pagetools ul li a.revert:hover,
+#dokuwiki__pagetools ul li a.revert:active,
+#dokuwiki__pagetools ul li a.revert:focus,
+.mode_revert #dokuwiki__pagetools ul li a.revert {
+    background-position: right -495px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.revert {
+    background-position: left -450px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.revert:hover,
+[dir=rtl] #dokuwiki__pagetools ul li a.revert:active,
+[dir=rtl] #dokuwiki__pagetools ul li a.revert:focus,
+.mode_revert [dir=rtl] #dokuwiki__pagetools ul li a.revert {
+    background-position: left -495px;
+}
+
+#dokuwiki__pagetools ul li a.subscribe {
+    background-position: right -720px;
+}
+#dokuwiki__pagetools ul li a.subscribe:hover,
+#dokuwiki__pagetools ul li a.subscribe:active,
+#dokuwiki__pagetools ul li a.subscribe:focus,
+.mode_subscribe #dokuwiki__pagetools ul li a.subscribe {
+    background-position: right -765px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.subscribe {
+    background-position: left -720px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.subscribe:hover,
+[dir=rtl] #dokuwiki__pagetools ul li a.subscribe:active,
+[dir=rtl] #dokuwiki__pagetools ul li a.subscribe:focus,
+.mode_subscribe [dir=rtl] #dokuwiki__pagetools ul li a.subscribe {
+    background-position: left -765px;
+}
+
+#dokuwiki__pagetools ul li a.mediaManager {
+    background-position: right -900px;
+}
+#dokuwiki__pagetools ul li a.mediaManager:hover,
+#dokuwiki__pagetools ul li a.mediaManager:active,
+#dokuwiki__pagetools ul li a.mediaManager:focus {
+    background-position: right -945px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.mediaManager {
+    background-position: left -900px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.mediaManager:hover,
+[dir=rtl] #dokuwiki__pagetools ul li a.mediaManager:active,
+[dir=rtl] #dokuwiki__pagetools ul li a.mediaManager:focus {
+    background-position: left -945px;
+}
+
+#dokuwiki__pagetools ul li a.back {
+    background-position: right -990px;
+}
+#dokuwiki__pagetools ul li a.back:hover,
+#dokuwiki__pagetools ul li a.back:active,
+#dokuwiki__pagetools ul li a.back:focus {
+    background-position: right -1035px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.back {
+    background-position: left -990px;
+}
+[dir=rtl] #dokuwiki__pagetools ul li a.back:hover,
+[dir=rtl] #dokuwiki__pagetools ul li a.back:active,
+[dir=rtl] #dokuwiki__pagetools ul li a.back:focus {
+    background-position: left -1035px;
+}
diff --git a/lib/tpl/xfce/css/print.css b/lib/tpl/xfce/css/print.css
new file mode 100644
index 0000000..d30bc6c
--- /dev/null
+++ b/lib/tpl/xfce/css/print.css
@@ -0,0 +1,155 @@
+/**
+ * This file provides the styles for printing.
+ *
+ * @todo: improve and finish
+ */
+
+body {
+    /*
+    font: normal 12pt/1.2 serif;
+    color: #000;
+    background-color: #fff;
+    */
+}
+
+/* hide certain sections */
+.a11y,
+#dokuwiki__header .tools,
+#dokuwiki__aside,
+.dokuwiki .breadcrumbs,
+#dw__toc,
+h3.toggle,
+#dokuwiki__pagetools,
+#dokuwiki__footer {
+    display: none;
+}
+
+.dokuwiki h1,
+.dokuwiki h2,
+.dokuwiki h3,
+.dokuwiki h4,
+.dokuwiki h5,
+.dokuwiki caption,
+.dokuwiki legend {
+    clear: both;
+}
+.dokuwiki ul {
+    list-style: disc outside;
+}
+.dokuwiki ol {
+    list-style: decimal outside;
+}
+.dokuwiki ol ol {
+    list-style-type: lower-alpha;
+}
+.dokuwiki ol ol ol {
+    list-style-type: upper-roman;
+}
+.dokuwiki ol ol ol ol {
+    list-style-type: upper-alpha;
+}
+.dokuwiki ol ol ol ol ol {
+    list-style-type: lower-roman;
+}
+
+.dokuwiki a:link,
+.dokuwiki a:visited {
+    text-decoration: underline;
+    color: #333;
+    background-color: inherit;
+}
+
+/* display href after link */
+a.urlextern:after,
+a.interwiki:after,
+a.mail:after {
+   content: " [" attr(href) "]";
+   font-size: 90%;
+}
+
+/* code blocks */
+.dokuwiki pre {
+    font-family: monospace;
+}
+.dokuwiki dl.code dt,
+.dokuwiki dl.file dt {
+    font-weight: bold;
+}
+
+/* images */
+.dokuwiki img {
+    border-width: 0;
+    vertical-align: middle;
+}
+.dokuwiki img.media {
+    margin: .2em 0;
+}
+.dokuwiki img.medialeft {
+    margin: .2em 1em .2em 0;
+}
+.dokuwiki img.mediaright {
+    margin: .2em 0 .2em 1em;
+}
+.dokuwiki img.mediacenter {
+    margin: .2em auto;
+}
+
+.dokuwiki blockquote {
+    padding: 0 10pt;
+    margin: 0;
+    border: solid #ccc;
+    border-width: 0 0 0 2pt;
+}
+[dir=rtl] .dokuwiki blockquote {
+    border-width: 0 2pt 0 0;
+}
+
+/* tables */
+.dokuwiki table {
+    border-collapse: collapse;
+    empty-cells: show;
+    border-spacing: 0;
+    border: 1pt solid #ccc;
+}
+.dokuwiki th,
+.dokuwiki td {
+    padding: 3pt 5pt;
+    margin: 0;
+    vertical-align: top;
+    border: 1pt solid #666;
+    text-align: left;
+}
+[dir=rtl] .dokuwiki th,
+[dir=rtl] .dokuwiki td {
+    text-align: right;
+}
+.dokuwiki th {
+    font-weight: bold;
+}
+
+
+/*____________ a bit of layout ____________*/
+
+#dokuwiki__header {
+    border-bottom: 2pt solid #ccc;
+}
+#dokuwiki__header h1 {
+    font-size: 1.5em;
+}
+#dokuwiki__header h1 a {
+    text-decoration: none;
+}
+#dokuwiki__header h1 img {
+    float: left;
+    margin-right: .5em;
+}
+[dir=rtl] #dokuwiki__header h1 img {
+    float: right;
+    margin-right: 0;
+    margin-left: .5em;
+}
+.dokuwiki div.footnotes {
+    clear: both;
+    border-top: 1pt solid #000;
+    margin-top: 10pt;
+}
diff --git a/lib/tpl/xfce/css/structure.css b/lib/tpl/xfce/css/structure.css
new file mode 100644
index 0000000..a0c0ec1
--- /dev/null
+++ b/lib/tpl/xfce/css/structure.css
@@ -0,0 +1,77 @@
+/**
+ * This file provides styles for the general layout structure.
+ *
+ * @author Anika Henke <anika at selfthinker.org>
+ */
+
+body {
+    margin: 0 auto;
+}
+#dokuwiki__site {
+    margin: 0 auto;
+    max-width: __site_width__;
+}
+#dokuwiki__site > .site {
+    padding: 0 .5em;
+}
+
+#dokuwiki__header {
+    width: 100%;
+}
+#dokuwiki__header > .pad {
+}
+    #dokuwiki__header .headings {
+        float: left;
+    }
+    [dir=rtl] #dokuwiki__header .headings {
+        float: right;
+        text-align: right;
+    }
+    #dokuwiki__header .tools {
+    }
+    [dir=rtl] #dokuwiki__header .tools {
+    }
+
+#dokuwiki__site .wrapper {
+    position: relative;
+}
+
+    #dokuwiki__aside {
+        width: __sidebar_width__;
+        float: left;
+        position: relative;
+        display: block;
+    }
+    [dir=rtl] #dokuwiki__aside {
+        float: right;
+    }
+    #dokuwiki__aside > .pad {
+        margin: 0 1.5em 0 0;
+    }
+    [dir=rtl] #dokuwiki__aside > .pad {
+        margin: 0 0 0 1.5em;
+    }
+
+    .showSidebar #dokuwiki__content {
+        float: right;
+        margin-left: -__sidebar_width__;
+        width: 100%;
+    }
+    [dir=rtl] .showSidebar #dokuwiki__content {
+        float: left;
+        margin-left: 0;
+        margin-right: -__sidebar_width__;
+    }
+    .showSidebar #dokuwiki__content > .pad {
+        margin-left: __sidebar_width__;
+    }
+    [dir=rtl] .showSidebar #dokuwiki__content > .pad {
+        margin-left: 0;
+        margin-right: __sidebar_width__;
+    }
+
+#dokuwiki__footer {
+    clear: both;
+}
+#dokuwiki__footer > .pad {
+}
diff --git a/lib/tpl/xfce/design.css b/lib/tpl/xfce/design.css
deleted file mode 100644
index b24b6bd..0000000
--- a/lib/tpl/xfce/design.css
+++ /dev/null
@@ -1,912 +0,0 @@
-/**
- * Design elements for default Template
- *
- * @author Mike Massonnet <mmassonnet at xfce.org>
- * @author Andreas Gohr <andi at splitbrain.org>
- * @author Anika Henke <anika at selfthinker.org>
- */
-
-/* -------------- general elements --------------- */
-
-* { padding: 0; margin: 0; }
-
-body {
-  font: 80% Verdana, Arial, Helvetica, sans-serif;
-  background-color: __background__;
-  color: __text__;
-}
-
-/* the document */
-div.bottom-right-corner {
-  position: fixed;
-  z-index: -1;
-  right: 0;
-  bottom: 0;
-  width: 205px;
-  height: 152px;
-  background: no-repeat url(images/bottom-right-corner.png);
-}
-
-div.dokuwiki div.page {
-  text-align: justify;
-  line-height: 1.7em;
-}
-
-div.dokuwiki table {
-  font-size: 100%;
-}
-
-div.dokuwiki tr,
-div.dokuwiki td,
-div.dokuwiki th {
-}
-
-div.dokuwiki img {
-  border: 0;
-}
-
-div.dokuwiki p,
-div.dokuwiki blockquote,
-div.dokuwiki table,
-div.dokuwiki pre {
-  margin: 0 0 1.0em 0;
-  line-height: 1.7em;
-}
-
-div.dokuwiki hr {
-  border: 0px;
-  border-top: 1px solid __border__;
-  text-align: center;
-  height: 0px;
-}
-
-div.dokuwiki div.nothing {
-  text-align: center;
-  margin: 2em;
-}
-
-div.dokuwiki div.header {
-}
-
-div.dokuwiki div.stylefoot {
-  margin-top: 1.5em;
-  border-top: 1px __border__ solid;
-  color: __text_alt__;
-}
-
-/* ---------------- forms ------------------------ */
-
-div.dokuwiki form {
-  border: none;
-  display: inline;
-}
-
-div.dokuwiki label.block {
-  display: block;
-  text-align: right;
-  font-weight: bold;
-}
-
-div.dokuwiki label.simple {
-  display: block;
-  text-align: left;
-  font-weight: normal;
-}
-
-div.dokuwiki label.block input.edit {
-  width: 50%;
-}
-
-div.dokuwiki fieldset {
-  width: 300px;
-  text-align: center;
-  border: 1px solid __border__;
-  padding: 0.5em;
-  margin: auto;
-}
-
-div.dokuwiki textarea.edit {
-  font-family: monospace;
-  font-size: 14px;
-  color: __text__;
-  background-color: __background__;
-  border: 1px solid __border__;
-  padding: 0.3em 0 0 0.3em;
-  /* should just be "width: 100%", but IE8 doesn't like it, see FS#1910 + FS#1667 */
-  width: 700px;
-  min-width: 100%;
-  max-width: 100%;
-}
-
-/* nice alphatransparency background except for IE <7 */
-html>body div.dokuwiki textarea.edit {
-  background:  __background__ url(images/inputshadow.png) repeat-x top;
-}
-
-div.dokuwiki input.edit,
-div.dokuwiki select.edit {
-  font-size: 100%;
-  border: 1px solid __border__;
-  color: __text__;
-  background-color: __background__;
-  vertical-align: middle;
-  margin: 1px;
-  padding: 0.20em 0.3em;
-  display: inline;
-}
-
-/* nice alphatransparency background except for IE <7 */
-html>body div.dokuwiki input.edit,
-html>body div.dokuwiki select.edit {
-  background:  __background__ url(images/inputshadow.png) repeat-x top;
-}
-
-div.dokuwiki select.edit {
-  padding: 0.1em 0;
-}
-
-div.dokuwiki input.missing {
-  font-size: 100%;
-  border: 1px solid __border__;
-  color: __text__;
-  background-color: #ffcccc;
-  vertical-align: middle;
-  margin: 1px;
-  padding: 0.20em 0.3em;
-  display: inline;
-}
-
-/* disabled style - not understood by IE */
-div.dokuwiki textarea.edit[disabled],
-div.dokuwiki textarea.edit[readonly],
-div.dokuwiki input.edit[disabled],
-div.dokuwiki input.edit[readonly],
-div.dokuwiki input.button[disabled],
-div.dokuwiki select.edit[disabled] {
-  background-color: __background_neu__!important;
-  color: __text_neu__!important;
-}
-
-/* edit form */
-div.dokuwiki div.toolbar,
-div.dokuwiki div#wiki__editbar {
-   margin: 2px 0;
-   text-align: left;
-}
-div.dokuwiki div#size__ctl {
-   float: right;
-   width: 60px;
-   height: 2.7em;
-}
-div.dokuwiki #size__ctl img {
-   cursor: pointer;
-}
-div.dokuwiki div#wiki__editbar div.editButtons {
-   float: left;
-   padding: 0 1.0em 0.7em 0;
-}
-div.dokuwiki div#wiki__editbar div.summary {
-   float: left;
-}
-div.dokuwiki .nowrap {
-   white-space: nowrap;
-}
-div.dokuwiki div#draft__status {
-  float: right;
-  color: __text_alt__;
-}
-
-div.dokuwiki div.license {
-  padding: 0.5em 0;
-  font-size: 90%;
-  text-align: left;
-}
-
-div.dokuwiki div.credit {
-  margin: 1.4em 0;
-  text-align: center;
-}
-
-div.dokuwiki form#dw__editform div.license {
-  clear: left;
-  font-size: 90%;
-}
-
-/* --------- buttons ------------------- */
-
-div.dokuwiki input.button,
-div.dokuwiki button.button {
-  border: 1px solid __border__;
-  color: __text_alt__;
-  background-color: __background_alt__;
-  vertical-align: middle;
-  text-decoration: none;
-  font-size: 100%;
-  font-weight: bold;
-  cursor: pointer;
-  margin: 1px;
-  padding: 0.125em 0.4em;
-}
-
-/* nice alphatransparency background except for IE <7 */
-html>body div.dokuwiki input.button,
-html>body div.dokuwiki button.button {
-  background:  __background_alt__ url(images/buttonshadow.png) repeat-x bottom;
-}
-
-* html div.dokuwiki input.button,
-* html div.dokuwiki button.button {
-  height: 1.8em;
-  font-weight: bold;
-}
-
-div.dokuwiki div.secedit input.button {
-  border: 1px solid __border__;
-  color: __text_alt__;
-  background-color: __background_alt__;
-  vertical-align: middle;
-  text-decoration: none;
-  margin: 0;
-  padding: 0;
-  font-size: 10px;
-  font-weight: bold;
-  cursor: pointer;
-  float: right;
-  display: inline;
-}
-
-/* ----------- page navigator ------------- */
-
-div.dokuwiki div.pagenav {
-    margin: 1em 0 0 0;
-}
-
-div.dokuwiki div.pagenav-prev {
-    text-align: right;
-    float: left;
-    width: 49%
-}
-
-div.dokuwiki div.pagenav-next {
-    text-align: left;
-    float: right;
-    width: 49%
-}
-
-/* --------------- Links ------------------ */
-
-div.dokuwiki a:link,
-div.dokuwiki a:visited {
-  color: __extern__;
-  text-decoration: none;
-}
-div.dokuwiki a:hover,
-div.dokuwiki a:active {
-  color: __hover__;
-  text-decoration: none;
-}
-
-div.dokuwiki h1 a,
-div.dokuwiki h2 a,
-div.dokuwiki h3 a,
-div.dokuwiki h4 a,
-div.dokuwiki h5 a,
-div.dokuwiki a.nolink {
-  color: __text_neu__ !important;
-  text-decoration: none !important;
-}
-
-/* external link */
-div.dokuwiki a.urlextern {
-  background: transparent url(images/link_icon.gif) 0px 1px no-repeat;
-  padding: 1px 0px 1px 16px;
-}
-
-/* windows share */
-div.dokuwiki a.windows {
-  background: transparent url(images/windows.gif) 0px 1px no-repeat;
-  padding: 1px 0px 1px 16px;
-}
-
-/* interwiki link (icon are set by dokuwiki) */
-div.dokuwiki a.interwiki {
-}
-
-/* link to some embedded media */
-div.dokuwiki a.media {
-}
-
-div.dokuwiki a.urlextern:link,
-div.dokuwiki a.windows:link,
-div.dokuwiki a.interwiki:link {
-  color: __extern__;
-}
-
-div.dokuwiki a.urlextern:visited,
-div.dokuwiki a.windows:visited,
-div.dokuwiki a.interwiki:visited {
-  color: purple;
-}
-div.dokuwiki a.urlextern:hover,
-div.dokuwiki a.urlextern:active,
-div.dokuwiki a.windows:hover,
-div.dokuwiki a.windows:active,
-div.dokuwiki a.wikilink1:hover,
-div.dokuwiki a.wikilink1:active,
-div.dokuwiki a.interwiki:hover,
-div.dokuwiki a.interwiki:active {
-  color: __hover__;
-}
-
-/* email link */
-div.dokuwiki a.mail {
-  background: transparent url(images/mail_icon.gif) 0px 1px no-repeat;
-  padding: 1px 0px 1px 16px;
-}
-
-/* existing wikipage */
-div.dokuwiki a.wikilink1 {
-  color: __existing__;
-}
-
-/* not existing wikipage */
-div.dokuwiki a.wikilink2 {
-  text-decoration: none !important;
-  border-bottom: dashed 1px __missing__ !important;
-}
-
-/* ------------- Page elements ----------------- */
-
-div.dokuwiki div.preview {
-  background-color: __background_neu__;
-  margin: 0 0 0 2em;
-  padding: 4px;
-  border: 1px dashed __text__;
-}
-
-div.dokuwiki div.breadcrumbs {
-  color: __text_neu__;
-  font-size: 84%;
-  padding: 0.22em 0 0 0;
-}
-
-div.dokuwiki div.translation {
-  float: right;
-  font-size: 84%;
-}
-
-div.dokuwiki div.translation div.notify,
-div.dokuwiki div.plugin_translation {
-  padding-right: 0;
-  margin-right: 3px;
-  float: left;
-}
-
-div.dokuwiki div.plugin_translation span {
-  display: none;
-}
-
-div.dokuwiki div.translation a.action {
-  display: block;
-  float: right;
-  padding: 0 0.2em;
-  margin: 0 0.2em;
-  font-weight: bold;
-}
-
-div.dokuwiki div.translation a.action:first-child {
-  display: none;
-}
-
-div.dokuwiki span.user {
-  color: __text_other__;
-  font-size: 90%;
-}
-
-div.dokuwiki li.minor {
-  color: __text_neu__;
-  font-style: italic;
-}
-
-/* embedded images */
-div.dokuwiki img.media {
-  margin: 3px;
-}
-
-div.dokuwiki img.medialeft {
-  border: 0;
-  float: left;
-  margin: 0 1.5em 0 0;
-}
-
-div.dokuwiki img.mediaright {
-  border: 0;
-  float: right;
-  margin: 0 0 0 1.5em;
-}
-
-div.dokuwiki img.mediacenter {
-  border: 0;
-  display: block;
-  margin: 0 auto;
-}
-
-/* smileys */
-div.dokuwiki img.middle {
-  vertical-align: middle;
-}
-
-div.dokuwiki acronym {
-  cursor: help;
-  border-bottom: 1px dotted __text__;
-}
-
-/* general headline setup */
-div.dokuwiki h1,
-div.dokuwiki h2,
-div.dokuwiki h3,
-div.dokuwiki h4,
-div.dokuwiki h5 {
-    font-size: 100%;
-    font-weight: normal;
-    color: __text_neu__ !important;
-    margin: 0 0 1em 0;
-    padding: 0.5em 0 0.34em 0;
-    border-bottom: 1px solid __border__;
-    clear: left;
-}
-
-div.dokuwiki h1 a,
-div.dokuwiki h2 a,
-div.dokuwiki h3 a,
-div.dokuwiki h4 a,
-div.dokuwiki h5 a {
-    color: __text_neu__ !important;
-    background-color: inherit;
-}
-
-/* special headlines */
-div.dokuwiki h1 {font-size: 180%; margin-left: 0px; }
-div.dokuwiki h2 {font-size: 170%; margin-left: 20px;}
-div.dokuwiki h3 {font-size: 160%; margin-left: 40px; border-bottom: none; }
-div.dokuwiki h4 {font-size: 150%; margin-left: 60px; border-bottom: none; }
-div.dokuwiki h5 {font-size: 120%; margin-left: 80px; border-bottom: none; }
-
-/* indent different sections */
-div.dokuwiki div.level1 { margin-left: 3px; }
-div.dokuwiki div.level2 { margin-left: 23px; }
-div.dokuwiki div.level3 { margin-left: 43px; }
-div.dokuwiki div.level4 { margin-left: 63px; }
-div.dokuwiki div.level5 { margin-left: 83px; }
-
-/* unordered lists */
-div.dokuwiki ul {
-  line-height: 1.7em;
-  list-style-type: square;
-  list-style-image: none;
-  margin: 0 0 1em 3.5em;
-  color: __text_alt__;
-}
-
-/* ordered lists */
-div.dokuwiki ol {
-  line-height: 1.7em;
-  list-style-image: none;
-  margin: 0 0 1em 3.5em;
-  color: __text_alt__;
-  font-weight: bold;
-}
-
-/* no bottom gap in between and smaller left margin for nested lists */
-div.dokuwiki li ul,
-div.dokuwiki li ol {
-  margin: 0 0 0 1.5em;
-}
-
-/* the list items overriding the ul/ol definition */
-div.dokuwiki .li {
-  color: __text__;
-  font-weight: normal;
-}
-
-div.dokuwiki ol { list-style-type: decimal; }
-div.dokuwiki ol ol { list-style-type: upper-roman; }
-div.dokuwiki ol ol ol { list-style-type: lower-alpha; }
-div.dokuwiki ol ol ol ol { list-style-type: lower-greek; }
-
-div.dokuwiki li.open {
-  list-style-image: url(images/open.gif);
-    /*list-style-type: circle;*/
-}
-
-div.dokuwiki li.closed {
-  list-style-image: url(images/closed.gif);
-    /*list-style-type: disc;*/
-}
-
-div.dokuwiki blockquote {
-  border-left: 2px solid __border__;
-  padding-left: 3px;
-}
-
-div.dokuwiki pre {
-  font-family: monospace;
-  font-size: 120%;
-  padding: 0.5em;
-  border: 1px dashed __border__;
-  color: __text__;
-  overflow: auto;
-}
-
-/* code blocks by indention */
-div.dokuwiki pre.pre {
-  background-color: __background_other__;
-}
-
-/* code blocks by code tag */
-div.dokuwiki pre.code {
-  background-color: __background_other__;
-}
-
-/* code blocks by file tag */
-div.dokuwiki pre.file {
-  background-color: __background_alt__;
-}
-
-/* filenames for file and code blocks */
-div.dokuwiki dl.file,
-div.dokuwiki dl.code {
-    margin-top: 2em;
-    margin-bottom: 2.5em;
-}
-
-div.dokuwiki dl.file dt,
-div.dokuwiki dl.code dt {
-    border: 1px dashed __border__;
-    display: inline;
-    padding: 0.1em 1em;
-    margin-left: 2em;
-}
-
-div.dokuwiki dl.code dt a,
-div.dokuwiki dl.file dt a {
-    color: __text__;
-}
-
-div.dokuwiki dl.code dt {
-    background-color: __background_other__;
-    border-bottom: 1px solid __background_other__;
-}
-
-div.dokuwiki dl.file dt {
-    background-color: __background_alt__;
-    border-bottom: 1px solid __background_alt__;
-}
-
-
-/* inline code words */
-div.dokuwiki code {
-  font-size: 120%;
-}
-
-/* inline tables */
-div.dokuwiki table.inline {
-  background-color: __background__;
-  border-spacing: 0px;
-  border-collapse: collapse;
-}
-
-div.dokuwiki table.inline th {
-  padding: 3px;
-  border: 1px solid __border__;
-  background-color: __background_alt__;
-}
-
-div.dokuwiki table.inline td {
-  padding: 3px;
-  border: 1px solid __border__;
-}
-
-/* ---------- table of contents ------------------- */
-
-div.dokuwiki div.toc {
-  float: right;
-  font-size: 90%;
-  clear: both;
-  opacity: 0.8;
-}
-
-div.dokuwiki div.tocheader {
-  visibility: hidden;
-  height: 0;
-  margin: 0;
-  padding: 0;
-}
-
-div.dokuwiki span.toc_open,
-div.dokuwiki span.toc_close {
-    border: 0.4em solid __background_alt__;
-    float: right;
-    display: block;
-    margin: 0.4em 3px 0 0;
-}
-
-div.dokuwiki span.toc_open span,
-div.dokuwiki span.toc_close span {
-    display: none;
-}
-
-div.dokuwiki span.toc_open {
-    margin-top: 0.4em;
-    border-top: 0.4em solid __text__;
-}
-
-div.dokuwiki span.toc_close {
-    margin-top: 0;
-    border-bottom: 0.4em solid __text__;
-}
-
-div.dokuwiki #toc__inside {
-  border: 1px solid __border__;
-  background-color: __background_alt__;
-  text-align: left;
-  padding: 0.6em 0;
-}
-
-div.dokuwiki ul.toc {
-  list-style-type: none;
-  list-style-image: none;
-  line-height: 1.6em;
-  padding: 0 0.8em;
-  margin: 0;
-}
-
-div.dokuwiki ul.toc li.level1 > div.li span.li {
-  font-weight: bold;
-  color: __text_alt__;
-}
-div.dokuwiki ul.toc li.level1 > div.li span.li:before {
-  content: "\25B6\2002";
-  font-size: 0.73em;
-  vertical-align: top;
-}
-
-div.dokuwiki ul.toc li.level1 > div.li {
-  padding: 2px 0;
-}
-
-div.dokuwiki ul.toc li.clear {
-  background-image: none;
-  padding-left: 0.4em;
-}
-
-div.dokuwiki a.toc:link,
-div.dokuwiki a.toc:visited {
-  color: __text_alt__;
-}
-
-div.dokuwiki a.toc:hover,
-div.dokuwiki a.toc:active {
-  color: __existing__;
-}
-
-/* ---------------------------- Diff rendering --------------------------*/
-div.dokuwiki table.diff {
-  background-color: __background__;
-  width: 100%;
-}
-div.dokuwiki td.diff-blockheader {
-  font-weight: bold;
-}
-div.dokuwiki table.diff th {
-  border-bottom: 1px solid __border__;
-  font-size: 110%;
-  width: 50%;
-  font-weight: normal;
-  text-align: left;
-}
-div.dokuwiki table.diff th a {
-    font-weight: bold;
-}
-div.dokuwiki table.diff th span.user {
-    color: __text__;
-    font-size: 80%;
-}
-div.dokuwiki table.diff th span.sum {
-    font-size: 80%;
-    font-weight: bold;
-}
-div.dokuwiki table.diff th.minor {
-  font-style: italic;
-}
-div.dokuwiki table.diff td {
-  font-family: monospace;
-  font-size: 100%;
-}
-div.dokuwiki td.diff-addedline {
-  background-color: #ddffdd;
-}
-div.dokuwiki td.diff-deletedline {
-    background-color: #ffffbb;
-}
-div.dokuwiki td.diff-context {
-    background-color: __background_neu__;
-}
-div.dokuwiki table.diff td.diff-addedline strong,
-div.dokuwiki table.diff td.diff-deletedline strong {
-    color: red;
-}
-
-/* --------------------- footnotes -------------------------------- */
-
-div.dokuwiki div.footnotes {
-  clear: both;
-  border-top: 1px solid __border__;
-  padding-left: 1em;
-  margin-top: 1em;
-}
-
-div.dokuwiki div.fn {
-  font-size: 90%;
-}
-
-div.dokuwiki a.fn_bot {
-  font-weight: bold;
-}
-
-/* insitu-footnotes */
-div.insitu-footnote {
-  font-size: 80%;
-  line-height: 1.2em;
-  border: 1px solid __border__;
-  background-color: __background_other__;
-  text-align: left;
-  padding: 4px;
-  max-width: 40%;    /* IE's width is handled in javascript */
-  min-width: 5em;
-}
-
-/* overcome IE issue with one line code or file boxes which require h. scrolling */
-* html .insitu-footnote pre.code,
-* html .insitu-footnote pre.file {
-  padding-bottom: 18px;
-}
-
-/* --------------- search result formating --------------- */
-div.dokuwiki .search_result {
-  margin-bottom: 6px;
-  padding: 0 10px 0 30px;
-}
-
-div.dokuwiki .search_snippet {
-  color: __text_other__;
-  font-size: 12px;
-  margin-left: 20px;
-}
-
-div.dokuwiki .search_sep {
-  color: __text__;
-}
-
-div.dokuwiki .search_hit {
-  color: __text__;
-  background-color: __highlight__;
-}
-div.dokuwiki strong.search_hit {
-  font-weight: normal;
-}
-
-div.dokuwiki div.search_quickresult {
-  margin: 0 0 15px 30px;
-  padding: 0 10px 10px 0;
-  border-bottom: 1px dashed __border__;
-}
-div.dokuwiki div.search_quickresult h3 {
-  margin: 0 0 1.0em 0;
-  font-size: 1em;
-  font-weight: bold;
-}
-
-div.dokuwiki ul.search_quickhits {
-  margin: 0 0 0.5em 1.0em;
-}
-
-div.dokuwiki ul.search_quickhits li {
-  margin: 0 1.0em 0 1.0em;
-  float: left;
-  width: 30%;
-}
-
-div.dokuwiki .section_highlight {
-  background-color: __background_neu__ !important;
-}
-
-/* ------------------ Additional ---------------------- */
-
-div.footerinc {
-    text-align: center;
-}
-.footerinc a img {
-    opacity: 0.5;
-    border: 0;
-}
-
-.footerinc a:hover img {
-    opacity: 1;
-}
-
-/* ---------- AJAX quicksearch ----------- */
-
-div.dokuwiki div.ajax_qsearch {
-  position: absolute;
-  right: 237px;;
-  width: 200px;
-  opacity: 0.9;
-  display: none;
-  font-size: 80%;
-  line-height: 1.2em;
-  border: 1px solid __border__;
-  background-color: __background_other__;
-  text-align: left;
-  padding: 4px;
-}
-
-/* --------- Toolbar -------------------- */
-button.toolbutton {
-  background-color: __background__;
-  padding: 0px;
-  margin: 0 1px 0 0;
-  border: 1px solid __border__;
-  cursor: pointer;
-}
-
-/* nice alphatransparency background except for IE <7 */
-html>body button.toolbutton {
-  background:  __background__ url(images/buttonshadow.png) repeat-x bottom;
-}
-
-div.picker {
-  width: 250px;
-  border: 1px solid __border__;
-  background-color: __background_alt__;
-}
-
-div.pk_hl {
-  width: 125px;
-}
-
-button.pickerbutton {
-  padding: 0px;
-  margin: 0 1px 1px 0;
-  border: 0;
-  background-color: transparent;
-  font-size: 80%;
-  cursor: pointer;
-}
-
-/* ---------------  Image Details  ----------------- */
-
-div.dokuwiki div.img_big {
-  float: left;
-  padding: 1.5em;
-  margin-right: 0.5em;
-  background-color: __background__;
-}
-
-div.dokuwiki dl.img_tags dt {
-  font-weight: bold;
-}
-div.dokuwiki dl.img_tags dd {
-}
-
-div.dokuwiki div.imagemeta {
-  color: __text_neu__;
-  font-size: 70%;
-  line-height: 95%;
-}
-
-div.dokuwiki div.imagemeta img.thumb {
-  float: left;
-  margin-right: 0.1em;
-}
-
diff --git a/lib/tpl/xfce/detail.php b/lib/tpl/xfce/detail.php
index 18f83b4..a8c5fef 100644
--- a/lib/tpl/xfce/detail.php
+++ b/lib/tpl/xfce/detail.php
@@ -1,84 +1,134 @@
 <?php
 /**
- * Xfce Wiki Template
+ * DokuWiki Image Detail Page
  *
- * This template is based on top of the default DokuWiki template.
- *
- * @author Mike Massonnet <andi at splitbrain.org>
+ * @author   Andreas Gohr <andi at splitbrain.org>
+ * @author   Anika Henke <anika at selfthinker.org>
+ * @license  GPL 2 (http://www.gnu.org/licenses/gpl.html)
  */
 
 // must be run from within DokuWiki
 if (!defined('DOKU_INC')) die();
 
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr">
+?><!DOCTYPE html>
+<html lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
 <head>
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-  <title><?php echo strip_tags($conf['title'])?> - <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?></title>
-
-  <?php tpl_metaheaders()?>
-
-  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.png" />
+    <meta charset="utf-8" />
+    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
+    <title>
+        <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
+        [<?php echo strip_tags($conf['title'])?>]
+    </title>
+    <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
+    <?php tpl_metaheaders()?>
+    <meta name="viewport" content="width=device-width,initial-scale=1" />
+    <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
+    <?php tpl_includeFile('meta.html') ?>
 </head>
 
 <body>
-
-<div class="msgarea"><?php html_msgarea()?></div>
-
-<div class="dokuwiki">
-
-  <div class="page">
-    <?php if($ERROR){ print $ERROR; }else{ ?>
-
-    <h1><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?></h1>
-
-    <div class="img_big">
-      <?php tpl_img(900,700) ?>
-    </div>
-
-    <div class="img_detail">
-      <p class="img_caption">
-        <?php print nl2br(hsc(tpl_img_getTag('simple.title'))); ?>
-      </p>
-
-      <p>← <?php echo $lang['img_backto']?> <?php tpl_pagelink($ID)?></p>
-
-      <dl class="img_tags">
-        <?php
-          $t = tpl_img_getTag('Date.EarliestTime');
-          if($t) print '<dt>'.$lang['img_date'].':</dt><dd>'.dformat($t).'</dd>';
-
-          $t = tpl_img_getTag('File.Name');
-          if($t) print '<dt>'.$lang['img_fname'].':</dt><dd>'.hsc($t).'</dd>';
-
-          $t = tpl_img_getTag(array('Iptc.Byline','Exif.TIFFArtist','Exif.Artist','Iptc.Credit'));
-          if($t) print '<dt>'.$lang['img_artist'].':</dt><dd>'.hsc($t).'</dd>';
-
-          $t = tpl_img_getTag(array('Iptc.CopyrightNotice','Exif.TIFFCopyright','Exif.Copyright'));
-          if($t) print '<dt>'.$lang['img_copyr'].':</dt><dd>'.hsc($t).'</dd>';
-
-          $t = tpl_img_getTag('File.Format');
-          if($t) print '<dt>'.$lang['img_format'].':</dt><dd>'.hsc($t).'</dd>';
-
-          $t = tpl_img_getTag('File.NiceSize');
-          if($t) print '<dt>'.$lang['img_fsize'].':</dt><dd>'.hsc($t).'</dd>';
-
-          $t = tpl_img_getTag('Simple.Camera');
-          if($t) print '<dt>'.$lang['img_camera'].':</dt><dd>'.hsc($t).'</dd>';
-
-          $t = tpl_img_getTag(array('IPTC.Keywords','IPTC.Category','xmp.dc:subject'));
-          if($t) print '<dt>'.$lang['img_keywords'].':</dt><dd>'.hsc($t).'</dd>';
-
-        ?>
-      </dl>
-      <?php //Comment in for Debug// dbg(tpl_img_getTag('Simple.Raw'));?>
-    </div>
-
-  <?php } ?>
-  </div>
-</div>
+    <!--[if lte IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
+    <div id="dokuwiki__site"><div id="dokuwiki__top"
+        class="dokuwiki site mode_<?php echo $ACT ?>">
+
+        <?php include('tpl_header.php') ?>
+
+        <div class="wrapper group" id="dokuwiki__detail">
+
+            <!-- ********** CONTENT ********** -->
+            <div id="dokuwiki__content"><div class="pad group">
+
+                <?php if(!$ERROR): ?>
+                    <div class="pageId"><span><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG)); ?></span></div>
+                <?php endif; ?>
+
+                <div class="page group">
+                    <?php tpl_flush() ?>
+                    <?php tpl_includeFile('pageheader.html') ?>
+                    <!-- detail start -->
+                    <?php
+                    if($ERROR):
+                        echo '<h1>'.$ERROR.'</h1>';
+                    else: ?>
+
+                        <h1><?php echo nl2br(hsc(tpl_img_getTag('simple.title'))); ?></h1>
+
+                        <?php tpl_img(900,700); /* parameters: maximum width, maximum height (and more) */ ?>
+
+                        <div class="img_detail">
+                            <dl>
+                                <?php
+                                    // @todo: logic should be transferred to backend
+                                    $config_files = getConfigFiles('mediameta');
+                                    foreach ($config_files as $config_file) {
+                                        if(@file_exists($config_file)) {
+                                            include($config_file);
+                                        }
+                                    }
+
+                                    foreach($fields as $key => $tag){
+                                        $t = array();
+                                        if (!empty($tag[0])) {
+                                            $t = array($tag[0]);
+                                        }
+                                        if(is_array($tag[3])) {
+                                            $t = array_merge($t,$tag[3]);
+                                        }
+                                        $value = tpl_img_getTag($t);
+                                        if ($value) {
+                                            echo '<dt>'.$lang[$tag[1]].':</dt><dd>';
+                                            if ($tag[2] == 'date') {
+                                                echo dformat($value);
+                                            } else {
+                                                echo hsc($value);
+                                            }
+                                            echo '</dd>';
+                                        }
+                                    }
+                                ?>
+                            </dl>
+                        </div>
+                        <?php //Comment in for Debug// dbg(tpl_img_getTag('Simple.Raw'));?>
+                    <?php endif; ?>
+                </div>
+                <!-- detail stop -->
+                <?php tpl_includeFile('pagefooter.html') ?>
+                <?php tpl_flush() ?>
+
+                <?php /* doesn't make sense like this; @todo: maybe add tpl_imginfo()?
+                <div class="docInfo"><?php tpl_pageinfo(); ?></div>
+                */ ?>
+
+            </div></div><!-- /content -->
+
+            <hr class="a11y" />
+
+            <!-- PAGE ACTIONS -->
+            <?php if (!$ERROR): ?>
+                <div id="dokuwiki__pagetools">
+                    <h3 class="a11y"><?php echo $lang['page_tools']; ?></h3>
+                    <div class="tools">
+                        <ul>
+                            <?php // View in media manager; @todo: transfer logic to backend
+                                $imgNS = getNS($IMG);
+                                $authNS = auth_quickaclcheck("$imgNS:*");
+                                if (($authNS >= AUTH_UPLOAD) && function_exists('media_managerURL')) {
+                                    $mmURL = media_managerURL(array('ns' => $imgNS, 'image' => $IMG));
+                                    echo '<li><a href="'.$mmURL.'" class="mediaManager"><span>'.$lang['img_manager'].'</span></a></li>';
+                                }
+                            ?>
+                            <?php // Back to [ID]; @todo: transfer logic to backend
+                                echo '<li><a href="'.wl($ID).'" class="back"><span>'.$lang['img_backto'].' '.$ID.'</span></a></li>';
+                            ?>
+                        </ul>
+                    </div>
+                </div>
+            <?php endif; ?>
+        </div><!-- /wrapper -->
+
+        <?php include('tpl_footer.php') ?>
+    </div></div><!-- /site -->
+
+    <!--[if ( lte IE 7 | IE 8 ) ]></div><![endif]-->
 </body>
 </html>
-
diff --git a/lib/tpl/xfce/images/UWEB.png b/lib/tpl/xfce/images/UWEB.png
deleted file mode 100644
index ea03aec..0000000
Binary files a/lib/tpl/xfce/images/UWEB.png and /dev/null differ
diff --git a/lib/tpl/xfce/images/UWEBshadow.png b/lib/tpl/xfce/images/UWEBshadow.png
deleted file mode 100644
index 212444f..0000000
Binary files a/lib/tpl/xfce/images/UWEBshadow.png and /dev/null differ
diff --git a/lib/tpl/xfce/images/apple-touch-icon.png b/lib/tpl/xfce/images/apple-touch-icon.png
new file mode 100644
index 0000000..fb5f108
Binary files /dev/null and b/lib/tpl/xfce/images/apple-touch-icon.png differ
diff --git a/lib/tpl/xfce/images/bar.png b/lib/tpl/xfce/images/bar.png
deleted file mode 100644
index 1ecd4d1..0000000
Binary files a/lib/tpl/xfce/images/bar.png and /dev/null differ
diff --git a/lib/tpl/xfce/images/bottom-right-corner.png b/lib/tpl/xfce/images/bottom-right-corner.png
deleted file mode 100644
index 8e3a050..0000000
Binary files a/lib/tpl/xfce/images/bottom-right-corner.png and /dev/null differ
diff --git a/lib/tpl/xfce/images/bullet.gif b/lib/tpl/xfce/images/bullet.gif
deleted file mode 100644
index b43de48..0000000
Binary files a/lib/tpl/xfce/images/bullet.gif and /dev/null differ
diff --git a/lib/tpl/xfce/images/bullit.gif b/lib/tpl/xfce/images/bullit.gif
deleted file mode 100644
index accbafa..0000000
Binary files a/lib/tpl/xfce/images/bullit.gif and /dev/null differ
diff --git a/lib/tpl/xfce/images/button-cc.gif b/lib/tpl/xfce/images/button-cc.gif
deleted file mode 100644
index 5861d63..0000000
Binary files a/lib/tpl/xfce/images/button-cc.gif and /dev/null differ
diff --git a/lib/tpl/xfce/images/button-dw.png b/lib/tpl/xfce/images/button-dw.png
index 39d5f56..8d6aea8 100644
Binary files a/lib/tpl/xfce/images/button-dw.png and b/lib/tpl/xfce/images/button-dw.png differ
diff --git a/lib/tpl/xfce/images/button-html5.png b/lib/tpl/xfce/images/button-html5.png
new file mode 100644
index 0000000..5885a33
Binary files /dev/null and b/lib/tpl/xfce/images/button-html5.png differ
diff --git a/lib/tpl/xfce/images/button-rss.png b/lib/tpl/xfce/images/button-rss.png
index b036f71..b7cddad 100644
Binary files a/lib/tpl/xfce/images/button-rss.png and b/lib/tpl/xfce/images/button-rss.png differ
diff --git a/lib/tpl/xfce/images/button-xhtml.png b/lib/tpl/xfce/images/button-xhtml.png
deleted file mode 100644
index ec68644..0000000
Binary files a/lib/tpl/xfce/images/button-xhtml.png and /dev/null differ
diff --git a/lib/tpl/xfce/images/buttonshadow.png b/lib/tpl/xfce/images/buttonshadow.png
deleted file mode 100644
index f60be30..0000000
Binary files a/lib/tpl/xfce/images/buttonshadow.png and /dev/null differ
diff --git a/lib/tpl/xfce/images/closed.gif b/lib/tpl/xfce/images/closed.gif
deleted file mode 100644
index 8414d4d..0000000
Binary files a/lib/tpl/xfce/images/closed.gif and /dev/null differ
diff --git a/lib/tpl/xfce/images/favicon.ico b/lib/tpl/xfce/images/favicon.ico
new file mode 100644
index 0000000..dd0c9fc
Binary files /dev/null and b/lib/tpl/xfce/images/favicon.ico differ
diff --git a/lib/tpl/xfce/images/favicon.png b/lib/tpl/xfce/images/favicon.png
deleted file mode 100644
index 0a8044c..0000000
Binary files a/lib/tpl/xfce/images/favicon.png and /dev/null differ
diff --git a/lib/tpl/xfce/images/header-top-left.png b/lib/tpl/xfce/images/header-top-left.png
deleted file mode 100644
index b559d6e..0000000
Binary files a/lib/tpl/xfce/images/header-top-left.png and /dev/null differ
diff --git a/lib/tpl/xfce/images/header-top-right.png b/lib/tpl/xfce/images/header-top-right.png
deleted file mode 100644
index 5ce6d18..0000000
Binary files a/lib/tpl/xfce/images/header-top-right.png and /dev/null differ
diff --git a/lib/tpl/xfce/images/header.png b/lib/tpl/xfce/images/header.png
deleted file mode 100644
index 10d039f..0000000
Binary files a/lib/tpl/xfce/images/header.png and /dev/null differ
diff --git a/lib/tpl/xfce/images/inputshadow.png b/lib/tpl/xfce/images/inputshadow.png
deleted file mode 100644
index d286beb..0000000
Binary files a/lib/tpl/xfce/images/inputshadow.png and /dev/null differ
diff --git a/lib/tpl/xfce/images/license.txt b/lib/tpl/xfce/images/license.txt
new file mode 100644
index 0000000..7d12604
--- /dev/null
+++ b/lib/tpl/xfce/images/license.txt
@@ -0,0 +1,5 @@
+Icons for:  sitetools.png
+Icon set:   Dusseldorf
+Designer:   pc.de
+License:    Creative Commons Attribution License [http://creativecommons.org/licenses/by/3.0/]
+URL:        http://pc.de/icons/#Dusseldorf
diff --git a/lib/tpl/xfce/images/link_icon.gif b/lib/tpl/xfce/images/link_icon.gif
deleted file mode 100644
index 815ccb1..0000000
Binary files a/lib/tpl/xfce/images/link_icon.gif and /dev/null differ
diff --git a/lib/tpl/xfce/images/logo.png b/lib/tpl/xfce/images/logo.png
new file mode 100644
index 0000000..3564027
Binary files /dev/null and b/lib/tpl/xfce/images/logo.png differ
diff --git a/lib/tpl/xfce/images/mail_icon.gif b/lib/tpl/xfce/images/mail_icon.gif
deleted file mode 100644
index 50a87a9..0000000
Binary files a/lib/tpl/xfce/images/mail_icon.gif and /dev/null differ
diff --git a/lib/tpl/xfce/images/open.gif b/lib/tpl/xfce/images/open.gif
deleted file mode 100644
index f5d5c7e..0000000
Binary files a/lib/tpl/xfce/images/open.gif and /dev/null differ
diff --git a/lib/tpl/xfce/images/page-background.svg b/lib/tpl/xfce/images/page-background.svg
new file mode 100644
index 0000000..086341d
--- /dev/null
+++ b/lib/tpl/xfce/images/page-background.svg
@@ -0,0 +1,8 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
+    <linearGradient id="g" x1="0%" y1="0%" x2="0%" y2="100%">
+        <stop offset="0" stop-color="#dddddd" />
+        <stop offset="0.1" stop-color="#eeeeee" />
+        <stop offset="0.4" stop-color="#fbfaf9" />
+    </linearGradient>
+    <rect x="0" y="0" width="100%" height="100%" fill="url(#g)" />
+</svg>
\ No newline at end of file
diff --git a/lib/tpl/xfce/images/page-gradient.png b/lib/tpl/xfce/images/page-gradient.png
new file mode 100644
index 0000000..8e16a28
Binary files /dev/null and b/lib/tpl/xfce/images/page-gradient.png differ
diff --git a/lib/tpl/xfce/images/pagetools-build.php b/lib/tpl/xfce/images/pagetools-build.php
new file mode 100644
index 0000000..1b7262a
--- /dev/null
+++ b/lib/tpl/xfce/images/pagetools-build.php
@@ -0,0 +1,121 @@
+<?php
+/**
+ * This script generates a sprite from the unprocessed pagetool icons by combining them
+ * and overlaying a color layer for the active state.
+ *
+ * This script requires a current libGD to be available.
+ *
+ * The color for the active state is read from the style.ini's __link__ replacement
+ *
+ * The final sprite is optimized with optipng if available.
+ *
+ * @author Andreas Gohr <andi at splitbrain.org>
+ * @todo   Maybe add some more error checking
+ */
+$GAMMA = 0.8;
+$OPTIPNG = '/usr/bin/optipng';
+
+// load input images
+$input = glob('pagetools/*.png');
+sort($input);
+$cnt   = count($input);
+if(!$cnt){
+    die("No input images found. This script needs to be called from within the image directory!\n");
+}
+
+// create destination image
+$DST = imagecreatetruecolor(30,$cnt*45*2);
+imagesavealpha($DST, true);
+$C_trans = imagecolorallocatealpha($DST, 0, 0, 0, 127);
+imagefill($DST, 0, 0, $C_trans);
+
+// load highlight color from style.ini
+$ini = parse_ini_file('../style.ini',true);
+$COLOR = hex2rgb($ini['replacements']['__link__']);
+$C_active = imagecolorallocate($DST, $COLOR['r'],$COLOR['g'],$COLOR['b']);
+
+// add all the icons to the sprite image
+for($i=0; $i<$cnt; $i++){
+    $base = $i*90;
+
+    $IN = imagecreatefrompng($input[$i]);
+    imagesavealpha($IN, true);
+    imagecolorscale($IN,$GAMMA);
+    imagecopy($DST,$IN, 0,$base, 0,0, 30,30);
+    imagedestroy($IN);
+
+    $IN = imagecreatefrompng($input[$i]);
+    imagesavealpha($IN, true);
+    imagecolorscale($IN,$GAMMA);
+    imagecopy($DST,$IN, 0,$base+45, 0,0, 30,30);
+    imagedestroy($IN);
+
+    imagelayereffect($DST, IMG_EFFECT_OVERLAY);
+    imagefilledrectangle($DST, 0,$base+45, 30,$base+45+30, $C_active);
+    imagelayereffect($DST, IMG_EFFECT_NORMAL);
+}
+
+// output sprite
+imagepng($DST,'pagetools-sprite.png');
+imagedestroy($DST);
+
+// optimize if possible
+if(is_executable($OPTIPNG)){
+    system("$OPTIPNG -o5 'pagetools-sprite.png'");
+}
+
+/**
+ * Convert a hex color code to an rgb array
+ */
+function hex2rgb($hex) {
+    // strip hash
+    $hex = str_replace('#', '', $hex);
+
+    // normalize short codes
+    if(strlen($hex) == 3){
+        $hex = substr($hex,0,1).
+               substr($hex,0,1).
+               substr($hex,1,1).
+               substr($hex,1,1).
+               substr($hex,2,1).
+               substr($hex,2,1);
+    }
+
+    // calc rgb
+    return array(
+       'r' => hexdec(substr($hex, 0, 2)),
+       'g' => hexdec(substr($hex, 2, 2)),
+       'b' => hexdec(substr($hex, 4, 2))
+    );
+}
+
+/**
+ * Scale (darken/lighten) a given image
+ *
+ * @param ressource $img    The truetype GD image to work on
+ * @param float     $scale  Scale the colors by this value ( <1 darkens, >1 lightens)
+ */
+function imagecolorscale(&$img, $scale){
+    $w = imagesx($img);
+    $h = imagesy($img);
+
+    imagealphablending($img, false);
+    for($x = 0; $x < $w; $x++){
+        for($y = 0; $y < $h; $y++){
+            $rgba   = imagecolorat($img, $x, $y);
+            $a = ($rgba >> 24) & 0xFF;
+            $r = ($rgba >> 16) & 0xFF;
+            $g = ($rgba >> 8) & 0xFF;
+            $b = $rgba & 0xFF;
+
+            $r = max(min(round($r*$scale),255),0);
+            $g = max(min(round($g*$scale),255),0);
+            $b = max(min(round($b*$scale),255),0);
+
+            $color = imagecolorallocatealpha($img, $r, $g, $b, $a);
+            imagesetpixel($img, $x, $y, $color);
+        }
+    }
+    imagealphablending($img, true);
+}
+
diff --git a/lib/tpl/xfce/images/pagetools-sprite.png b/lib/tpl/xfce/images/pagetools-sprite.png
new file mode 100644
index 0000000..898f0f4
Binary files /dev/null and b/lib/tpl/xfce/images/pagetools-sprite.png differ
diff --git a/lib/tpl/xfce/images/pagetools/01_edit.png b/lib/tpl/xfce/images/pagetools/01_edit.png
new file mode 100644
index 0000000..ad4a737
Binary files /dev/null and b/lib/tpl/xfce/images/pagetools/01_edit.png differ
diff --git a/lib/tpl/xfce/images/pagetools/02_create.png b/lib/tpl/xfce/images/pagetools/02_create.png
new file mode 100644
index 0000000..e4fc5d3
Binary files /dev/null and b/lib/tpl/xfce/images/pagetools/02_create.png differ
diff --git a/lib/tpl/xfce/images/pagetools/03_draft.png b/lib/tpl/xfce/images/pagetools/03_draft.png
new file mode 100644
index 0000000..a13d8c3
Binary files /dev/null and b/lib/tpl/xfce/images/pagetools/03_draft.png differ
diff --git a/lib/tpl/xfce/images/pagetools/04_show.png b/lib/tpl/xfce/images/pagetools/04_show.png
new file mode 100644
index 0000000..6f64b1b
Binary files /dev/null and b/lib/tpl/xfce/images/pagetools/04_show.png differ
diff --git a/lib/tpl/xfce/images/pagetools/05_source.png b/lib/tpl/xfce/images/pagetools/05_source.png
new file mode 100644
index 0000000..bcc4fa2
Binary files /dev/null and b/lib/tpl/xfce/images/pagetools/05_source.png differ
diff --git a/lib/tpl/xfce/images/pagetools/06_revert.png b/lib/tpl/xfce/images/pagetools/06_revert.png
new file mode 100644
index 0000000..7b8457e
Binary files /dev/null and b/lib/tpl/xfce/images/pagetools/06_revert.png differ
diff --git a/lib/tpl/xfce/images/pagetools/07_revisions.png b/lib/tpl/xfce/images/pagetools/07_revisions.png
new file mode 100644
index 0000000..d918bce
Binary files /dev/null and b/lib/tpl/xfce/images/pagetools/07_revisions.png differ
diff --git a/lib/tpl/xfce/images/pagetools/08_backlink.png b/lib/tpl/xfce/images/pagetools/08_backlink.png
new file mode 100644
index 0000000..2c0823a
Binary files /dev/null and b/lib/tpl/xfce/images/pagetools/08_backlink.png differ
diff --git a/lib/tpl/xfce/images/pagetools/09_subscribe.png b/lib/tpl/xfce/images/pagetools/09_subscribe.png
new file mode 100644
index 0000000..30e039d
Binary files /dev/null and b/lib/tpl/xfce/images/pagetools/09_subscribe.png differ
diff --git a/lib/tpl/xfce/images/pagetools/10_top.png b/lib/tpl/xfce/images/pagetools/10_top.png
new file mode 100644
index 0000000..e4bf1d4
Binary files /dev/null and b/lib/tpl/xfce/images/pagetools/10_top.png differ
diff --git a/lib/tpl/xfce/images/pagetools/11_mediamanager.png b/lib/tpl/xfce/images/pagetools/11_mediamanager.png
new file mode 100644
index 0000000..3611680
Binary files /dev/null and b/lib/tpl/xfce/images/pagetools/11_mediamanager.png differ
diff --git a/lib/tpl/xfce/images/pagetools/12_back.png b/lib/tpl/xfce/images/pagetools/12_back.png
new file mode 100644
index 0000000..d154651
Binary files /dev/null and b/lib/tpl/xfce/images/pagetools/12_back.png differ
diff --git a/lib/tpl/xfce/images/pagetools/license.txt b/lib/tpl/xfce/images/pagetools/license.txt
new file mode 100644
index 0000000..299624c
--- /dev/null
+++ b/lib/tpl/xfce/images/pagetools/license.txt
@@ -0,0 +1,4 @@
+Icon set:   iPhone toolbar icons
+Designer:   TheWorkingGroup.ca
+License:    Creative Commons Attribution-Share Alike License [http://creativecommons.org/licenses/by-sa/3.0/]
+URL:        http://blog.twg.ca/2009/09/free-iphone-toolbar-icons/
diff --git a/lib/tpl/xfce/images/search.png b/lib/tpl/xfce/images/search.png
new file mode 100644
index 0000000..1ab7866
Binary files /dev/null and b/lib/tpl/xfce/images/search.png differ
diff --git a/lib/tpl/xfce/images/toc-arrows.png b/lib/tpl/xfce/images/toc-arrows.png
new file mode 100644
index 0000000..4a353e4
Binary files /dev/null and b/lib/tpl/xfce/images/toc-arrows.png differ
diff --git a/lib/tpl/xfce/images/toc-bullet.png b/lib/tpl/xfce/images/toc-bullet.png
new file mode 100644
index 0000000..fc771b9
Binary files /dev/null and b/lib/tpl/xfce/images/toc-bullet.png differ
diff --git a/lib/tpl/xfce/images/tocdot2.gif b/lib/tpl/xfce/images/tocdot2.gif
deleted file mode 100644
index 3d39c2e..0000000
Binary files a/lib/tpl/xfce/images/tocdot2.gif and /dev/null differ
diff --git a/lib/tpl/xfce/images/usertools.png b/lib/tpl/xfce/images/usertools.png
new file mode 100644
index 0000000..e99b659
Binary files /dev/null and b/lib/tpl/xfce/images/usertools.png differ
diff --git a/lib/tpl/xfce/images/windows.gif b/lib/tpl/xfce/images/windows.gif
deleted file mode 100644
index 4f12acc..0000000
Binary files a/lib/tpl/xfce/images/windows.gif and /dev/null differ
diff --git a/lib/tpl/xfce/layout.css b/lib/tpl/xfce/layout.css
deleted file mode 100644
index 9cb92c6..0000000
--- a/lib/tpl/xfce/layout.css
+++ /dev/null
@@ -1,136 +0,0 @@
-/**
- * Tableless Layout for default template
- *
- * @author Mike Massonnet <mmassonnet at xfce.org>
- * @author Andreas Gohr <andi at splitbrain.org>
- * @author moraes <moraes at tipos.com.br>
- */
-
-div.dokuwiki {
-  margin: 0 auto;
-  padding: 10px 42px;
-  max-width: 1280px;
-  min-width: 650px;
-}
-
-body > div.export {
-  margin-right: 210px;
-}
-
-div.dokuwiki div.page {
-  margin: 4px 210px 4px 0;
-  min-height: 300px;
-}
-
-div.dokuwiki div.toc {
-  margin: 1.2em -210px 0 0;
-  width: 190px;
-}
-
-div.dokuwiki div.stylefoot {
-  margin-right: 210px;
-}
-
-/* ---------------  top and bottom bar ---------------- */
-div.dokuwiki #bar__top {
-  padding: 1px 0 0.22em 0;
-  clear: both;
-}
-
-div.dokuwiki div.header div.clearer {
-  padding-bottom: 8px !important;
-}
-
-div.dokuwiki #bar__top input[type="text"] {
-  width: 160px;
-}
-
-div.dokuwiki #bar__top input[type="submit"] {
-  background: transparent;
-  border: 0;
-  padding: 0 0.3em 0 0;
-  margin: 0 0 0 3px;
-  font-weight: bold;
-  font-size: 110%;
-  color: __text_bar__;
-}
-
-div.dokuwiki #bar__top input[type="submit"]:hover {
-  color: __existing__;
-}
-
-div.dokuwiki .bar a,
-div.dokuwiki div.breadcrumbs a {
-  font-weight: bold;
-  color: __text_bar__ !important;
-  text-decoration: none !important;
-}
-
-div.dokuwiki .bar a:hover,
-div.dokuwiki div.breadcrumbs a:hover {
-  color: __existing__ !important;
-  text-decoration: none;
-}
-
-div.dokuwiki #bar__top ul {
-  list-style: none;
-  display: inline;
-  padding: 0;
-  margin: 0;
-  line-height: 1.8em;
-}
-
-div.dokuwiki #bar__top ul li:first-child {
-  border-left: 0;
-  padding-left: 0;
-}
-
-div.dokuwiki #bar__top ul > li {
-  padding: 4px 0.6em 4px 0.8em;
-  display: inline;
-  vertical-align: middle;
-  border-left: 1px solid __border__;
-}
-
-div.dokuwiki #bar__bottom {
-  margin: 0.8em 0;
-}
-
-div.dokuwiki #bar__bottom div a:first-child {
-  margin-left: 0;
-  padding-left: 0;
-  border-left: 0;
-}
-
-div.dokuwiki #bar__bottom div a {
-  margin-left: 0.8em;
-  padding: 4px 0 4px 0.8em;
-  border-left: 1px solid __border__;
-}
-
-div.dokuwiki .bar-left {
-  float: left;
-}
-
-div.dokuwiki .bar-right {
-  float: right;
-  text-align: right;
-}
-
-/* ------------- File Metadata ----------------------- */
-
-div.dokuwiki div.meta {
-  clear: both;
-  margin: 0 0 0.6em 0;
-  color: __text_alt__;
-  background-color: __background_alt__;
-  font-size: 70%;
-}
-
-div.dokuwiki div.meta div.user {
-}
-
-div.dokuwiki div.meta div.doc {
-  text-align: right;
-  float: right;
-}
diff --git a/lib/tpl/xfce/main.php b/lib/tpl/xfce/main.php
index 0a827b1..1fdd575 100644
--- a/lib/tpl/xfce/main.php
+++ b/lib/tpl/xfce/main.php
@@ -1,141 +1,98 @@
 <?php
 /**
- * Xfce Wiki Template
+ * DokuWiki Default Template 2012
  *
- * This template is based on top of the default DokuWiki template.
- *
- * @author Mike Massonnet <andi at splitbrain.org>
+ * @link     http://dokuwiki.org/template
+ * @author   Anika Henke <anika at selfthinker.org>
+ * @author   Clarence Lee <clarencedglee at gmail.com>
+ * @license  GPL 2 (http://www.gnu.org/licenses/gpl.html)
  */
 
-// must be run from within DokuWiki
-if (!defined('DOKU_INC')) die();
+if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
 
-/**
- * Reverse compatibility for DokuWiki < 2010-10-27
- */
-function __tpl_flush(){
-	if (function_exists('tpl_flush')){
-		tpl_flush();
-	} else {
-		ob_flush();
-		flush();
-	}
-}
-
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
- lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
+$hasSidebar = page_findnearest($conf['sidebar']);
+$showSidebar = $hasSidebar && ($ACT=='show');
+?><!DOCTYPE html>
+<html lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
 <head>
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-  <title><?php echo strip_tags($conf['title'])?> - <?php tpl_pagetitle()?></title>
-
-  <?php tpl_metaheaders()?>
-
-  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.png" />
+    <meta charset="utf-8" />
+    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
+    <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
+    <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
+    <?php tpl_metaheaders() ?>
+    <meta name="viewport" content="width=device-width,initial-scale=1" />
+    <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
+    <?php tpl_includeFile('meta.html') ?>
 </head>
 
 <body>
 
-<?php include "xfce-header.html" ?>
-
-<div class="msgarea"><?php html_msgarea()?></div>
-
-<div class="bottom-right-corner"></div>
-
-<div class="dokuwiki">
-
-  <div class="stylehead">
-
-    <div class="header">
-
-      <div class="hidden">
-        <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top"')?>
-      </div>
-
-      <div class="bar" id="bar__top">
-        <div class="bar-left" id="bar__topleft">
-          <ul>
-            <li><?php tpl_link(wl(), 'Wiki', 'class="action" accesskey="h" rel="nofollow" title="'.$conf['title'].'"')?></li>
-            <li><?php tpl_actionlink('edit')?></li>
-            <li><?php tpl_actionlink('history')?></li>
-            <li><?php tpl_actionlink('recent')?></li>
-            <li><?php tpl_actionlink('index')?></li>
-          </ul>
-        </div>
-        <div class="bar-right" id="bar__topright">
-          <?php tpl_searchform()?>
-        </div>
-      </div>
-
-      <div class="clearer"></div>
-
-      <?php $translation = &plugin_load('helper','translation'); ?>
-      <?php if ($translation != NULL) { ?>
-      <div class="translation">
-        <?php echo $translation->showTranslations(); ?>
-        <?php tpl_link(wl('wiki:translation'), '?', 'class="action" rel="nofollow" title="Wiki Translation"')?>
-      </div>
-      <?php } ?>
-
-      <div class="breadcrumbs">
-        <?php $conf['youarehere'] = true; tpl_youarehere() ?>
-        <?php //tpl_youarehere() ?>
-      </div>
-
-    </div>
-
-  </div>
-  <?php __tpl_flush()?>
-
-  <div class="page">
-    <!-- wikipage start -->
-    <?php tpl_content()?>
-    <!-- wikipage stop -->
-  </div>
-
-  <div class="clearer"> </div>
-
-  <?php __tpl_flush()?>
-
-  <div class="stylefoot">
-
-    <div class="meta">
-      <div class="doc">
-        <?php tpl_pageinfo()?>
-      </div>
-      <div class="user">
-        <?php tpl_userinfo()?> 
-      </div>
-    </div>
-
-    <div class="bar" id="bar__bottom">
-      <div class="bar-left" id="bar__bottomleft">
-        <?php tpl_actionlink('edit')?>
-        <?php tpl_actionlink('history')?>
-        <?php tpl_actionlink('revert')?>
-      </div>
-      <div class="bar-right" id="bar__bottomright">
-        <?php tpl_actionlink('subscribe')?>
-        <?php tpl_actionlink('admin')?>
-        <?php tpl_actionlink('profile')?>
-        <?php tpl_actionlink('login')?>
-        <?php tpl_actionlink('top')?>
-      </div>
-      <div class="clearer"></div>
-    </div>
-
-    <?php tpl_license(false);?>
-
-    <div class="credit">
-      © Xfce 2006-<?php echo date('Y'); ?>
-    </div>
-
-  </div>
-
-</div>
-
-<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
+<?php tpl_includeFile('xfce-header.html') ?>
+
+    <!--[if lte IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
+    <div id="dokuwiki__site"><div id="dokuwiki__top"
+        class="dokuwiki site mode_<?php echo $ACT ?> <?php echo ($showSidebar) ? 'showSidebar' : '';
+        ?> <?php echo ($hasSidebar) ? 'hasSidebar' : ''; ?>">
+
+        <?php include('tpl_header.php') ?>
+
+        <div class="wrapper group">
+
+            <?php if($showSidebar): ?>
+                <!-- ********** ASIDE ********** -->
+                <div id="dokuwiki__aside"><div class="pad include group">
+                    <h3 class="toggle"><?php echo $lang['sidebar'] ?></h3>
+                    <div class="content">
+                        <?php tpl_flush() ?>
+                        <?php tpl_includeFile('sidebarheader.html') ?>
+                        <?php tpl_include_page($conf['sidebar'], 1, 1) ?>
+                        <?php tpl_includeFile('sidebarfooter.html') ?>
+                    </div>
+                </div></div><!-- /aside -->
+            <?php endif; ?>
+
+            <!-- ********** CONTENT ********** -->
+            <div id="dokuwiki__content"><div class="pad group">
+
+                <div class="page group">
+                    <?php tpl_flush() ?>
+                    <?php tpl_includeFile('pageheader.html') ?>
+                    <!-- wikipage start -->
+                    <?php tpl_content() ?>
+                    <!-- wikipage stop -->
+                    <?php tpl_includeFile('pagefooter.html') ?>
+                </div>
+
+                <div class="docInfo"><?php tpl_pageinfo() ?></div>
+
+                <?php tpl_flush() ?>
+            </div></div><!-- /content -->
+
+            <hr class="a11y" />
+
+            <!-- PAGE ACTIONS -->
+            <div id="dokuwiki__pagetools">
+                <h3 class="a11y"><?php echo $lang['page_tools']; ?></h3>
+                <div class="tools">
+                    <ul>
+                        <?php
+                            tpl_action('edit',      1, 'li', 0, '<span>', '</span>');
+                            tpl_action('revert',    1, 'li', 0, '<span>', '</span>');
+                            tpl_action('revisions', 1, 'li', 0, '<span>', '</span>');
+                            tpl_action('backlink',  1, 'li', 0, '<span>', '</span>');
+                            tpl_action('subscribe', 1, 'li', 0, '<span>', '</span>');
+                            tpl_action('top',       1, 'li', 0, '<span>', '</span>');
+                        ?>
+                    </ul>
+                </div>
+            </div>
+        </div><!-- /wrapper -->
+
+        <?php include('tpl_footer.php') ?>
+    </div></div><!-- /site -->
+
+    <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div>
+    <div id="screen__mode" class="no"></div><?php /* helper to detect CSS media query in script.js */ ?>
+    <!--[if ( lte IE 7 | IE 8 ) ]></div><![endif]-->
 </body>
 </html>
diff --git a/lib/tpl/xfce/media.css b/lib/tpl/xfce/media.css
deleted file mode 100644
index 844b481..0000000
--- a/lib/tpl/xfce/media.css
+++ /dev/null
@@ -1,207 +0,0 @@
-/**
- * The CSS in here cotrols the appearance of the media manager
- */
-
-#media__manager {
-    height: 100%;
-    overflow: hidden;
-    margin: 0;
-    padding: 0;
-}
-
-#media__left {
-    width: 30%;
-    border-right: solid 1px __border__;
-
-    height: 100%;
-    overflow: auto;
-    position: absolute;
-    left: 0;
-}
-
-#media__right {
-    width: 69.7%;
-
-    height: 100%;
-    overflow: auto;
-    position: absolute;
-    right: 0;
-}
-
-#media__manager h1 {
-    margin: 0;
-    padding: 0;
-    margin-bottom: 0.5em;
-}
-
-/* --- Tree formatting --- */
-
-#media__tree img {
-    float: left;
-    padding: 0.5em 0.3em 0 0;
-}
-
-#media__tree ul {
-    list-style-type: none;
-    list-style-image: none;
-    margin-left: 1.5em;
-}
-
-#media__tree li {
-    clear: left;
-    list-style-type: none;
-    list-style-image: none;
-}
-*+html #media__tree li,
-* html #media__tree li {
-    border: 1px solid __background__;
-}/* I don't understand this, but this fixes a style bug in IE;
-it's dirty, so any "real" fixes are welcome */
-
-/* --- options --- */
-
-#media__opts {
-    padding-left: 1em;
-    margin-bottom: 0.5em;
-}
-
-#media__opts input {
-    float: left;
-    display: block;
-    margin-top: 4px;
-    position: absolute;
-}
-*+html #media__opts input,
-* html #media__opts input {
-    position: static;
-}
-
-#media__opts label {
-    display: block;
-    float: left;
-    margin-left: 20px;
-    margin-bottom: 4px;
-}
-*+html #media__opts label,
-* html #media__opts label {
-    margin-left: 10px;
-}
-
-#media__opts br {
-    clear: left;
-}
-
-/* --- file list --- */
-
-#media__content img.load {
-    margin: 1em auto;
-}
-
-#media__content #scroll__here {
-    border: 1px dashed __border__;
-}
-
-#media__content .odd {
-    background-color: __background_other__;
-    padding: 0.4em;
-}
-
-#media__content .even {
-    padding: 0.4em;
-}
-
-#media__content a.mediafile {
-    margin-right: 1.5em;
-    font-weight: bold;
-}
-
-#media__content div.detail {
-    padding: 0.3em 0 0.3em 2em;
-}
-
-#media__content div.detail div.thumb {
-    float: left;
-    width: 130px;
-    text-align: center;
-    margin-right: 0.4em;
-}
-
-
-#media__content img.btn {
-    vertical-align: text-bottom;
-}
-
-#media__content div.example {
-    color: __text_neu__;
-    margin-left: 1em;
-}
-
-/* --- upload form --- */
-
-#media__content div.upload {
-    font-size: 90%;
-    padding: 0 0.5em 0.5em 0.5em;
-}
-
-#media__content form#dw__upload,
-#media__content div#dw__flashupload {
-    display: block;
-    border-bottom: solid 1px __border__;
-    padding: 0 0.5em 1em 0.5em;
-}
-#media__content form#dw__upload fieldset {
-    padding: 0;
-    margin: 0;
-    border: none;
-    width: auto;
-}
-#media__content form#dw__upload p {
-    text-align: left;
-    padding: 0.25em 0;
-    margin: 0;
-    line-height: 1.0em;
-}
-#media__content form#dw__upload label.check {
-    float: none;
-    width: auto;
-    margin-left: 11.5em;
-}
-
-/* --- meta edit form --- */
-
-#media__content form.meta {
-    display: block;
-    padding: 0 0 1em 0;
-}
-
-#media__content form.meta label {
-    display: block;
-    width: 25%;
-    float: left;
-    font-weight: bold;
-    margin-left: 1em;
-    clear: left;
-}
-
-#media__content form.meta .edit {
-    font: 100% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
-    float: left;
-    width: 70%;
-    padding-right: 0;
-    padding-left: 0.2em;
-    margin: 2px;
-}
-
-#media__content form.meta textarea.edit {
-    height: 8em;
-}
-
-#media__content form.meta div.metafield {
-    clear: left;
-}
-
-#media__content form.meta div.buttons {
-    clear: left;
-    margin-left: 20%;
-    padding-left: 1em;
-}
diff --git a/lib/tpl/xfce/mediamanager.php b/lib/tpl/xfce/mediamanager.php
index 2dd8933..23c9cee 100644
--- a/lib/tpl/xfce/mediamanager.php
+++ b/lib/tpl/xfce/mediamanager.php
@@ -1,39 +1,46 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <?php
 /**
- * Xfce Wiki Template
+ * DokuWiki Media Manager Popup
  *
- * This template is based on top of the default DokuWiki template.
- *
- * @author Mike Massonnet <andi at splitbrain.org>
+ * @author   Andreas Gohr <andi at splitbrain.org>
+ * @license  GPL 2 (http://www.gnu.org/licenses/gpl.html)
  */
-?>
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr">
+// must be run from within DokuWiki
+if (!defined('DOKU_INC')) die();
+
+?><!DOCTYPE html>
+<html lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup no-js">
 <head>
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-  <title><?php echo strip_tags($conf['title'])?> - <?php echo hsc($lang['mediaselect'])?></title>
-  <?php tpl_metaheaders()?>
-  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.png" />
+    <meta charset="utf-8" />
+    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
+    <title>
+        <?php echo hsc($lang['mediaselect'])?>
+        [<?php echo strip_tags($conf['title'])?>]
+    </title>
+    <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
+    <?php tpl_metaheaders()?>
+    <meta name="viewport" content="width=device-width,initial-scale=1" />
+    <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
+    <?php tpl_includeFile('meta.html') ?>
 </head>
 
 <body>
+    <!--[if lte IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
+    <div id="media__manager" class="dokuwiki">
+        <?php html_msgarea() ?>
+        <div id="mediamgr__aside"><div class="pad">
+            <h1><?php echo hsc($lang['mediaselect'])?></h1>
 
-<div class="msgarea"><?php html_msgarea()?></div>
-
-<div id="media__manager" class="dokuwiki">
-    <div id="media__left">
-        <h1><?php echo hsc($lang['mediaselect'])?></h1>
+            <?php /* keep the id! additional elements are inserted via JS here */?>
+            <div id="media__opts"></div>
 
-        <?php /* keep the id! additional elements are inserted via JS here */?>
-        <div id="media__opts"></div>
-
-        <?php tpl_mediaTree() ?>
-    </div>
+            <?php tpl_mediaTree() ?>
+        </div></div>
 
-    <div id="media__right">
-        <?php tpl_mediaContent() ?>
+        <div id="mediamgr__content"><div class="pad">
+            <?php tpl_mediaContent() ?>
+        </div></div>
     </div>
-</div>
+    <!--[if ( lte IE 7 | IE 8 ) ]></div><![endif]-->
 </body>
 </html>
diff --git a/lib/tpl/xfce/print.css b/lib/tpl/xfce/print.css
deleted file mode 100644
index 60c1725..0000000
--- a/lib/tpl/xfce/print.css
+++ /dev/null
@@ -1,246 +0,0 @@
-
-body {
-  font: 10pt "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
-  background-color: White;
-  color: Black;
-}
-
-table {
-  font-size: 100%;
-  padding: 0;
-  margin: 0;
-}
-
-tr,td,th { padding: 0; margin: 0; }
-
-img { border: 0; }
-
-a {
-  color: #000000;
-  text-decoration: none;
-  background: none !important;
-}
-
-a.interwiki {
-  padding-left: 0px !important;
-}
-
-
-div.meta {
-  clear: both;
-  margin-top: 1em;
-  font-size: 70%;
-  text-align: right;
-}
-
-
-div.notify,
-div.info,
-div.success,
-div.error,
-div.breadcrumbs,
-div.secedit {
-  display: none;
-}
-
-/* --------------------- Text formating -------------------------------- */
-
-/* external link */
-a.urlextern:after {
-   content: " [" attr(href) "]";
-   font-size: 90%;
-}
-
-/* interwiki link */
-a.interwiki:after {
-   content: " [" attr(href) "]";
-   font-size: 90%;
-}
-
-/* email link */
-a.mail:after {
-   content: " [" attr(href) "]";
-   font-size: 90%;
-}
-
-/* existing wikilink */
-a.wikilink1    { text-decoration: underline; }
-
-/* the document */
-div.page {
-  text-align: justify;
-}
-
-/* general headline setup */
-h1, h2, h3, h4, h5 {
-    color: Black;
-    background-color: transparent;
-    font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
-    font-size: 100%;
-    font-weight: normal;
-    margin-left:    0;
-    margin-right:   0;
-    margin-top:     0;
-    margin-bottom:  1em;
-    padding-left:   0;
-    padding-right:  0;
-    padding-top:    0.5em;
-    padding-bottom: 0;
-    border-bottom: 1px solid #000000;
-    clear: left;
-}
-
-/* special headlines */
-h1 { font-size: 160%; font-weight: bold; }
-h2 { font-size: 150%; }
-h3 { font-size: 140%; border-bottom: none; }
-h4 { font-size: 120%; border-bottom: none; }
-h5 { font-size: 100%; border-bottom: none; }
-
-/* embedded images */
-img.media {
-  margin: 3px;
-}
-
-img.medialeft {
-  border: 0;
-  float: left;
-  margin: 0 1.5em 0 0;
-}
-
-img.mediaright {
-  border: 0;
-  float: right;
-  margin: 0 0 0 1.5em;
-}
-
-/* unordered lists */
-ul {
-    line-height: 1.5em;
-    list-style-type: square;
-    margin: 0 0 1em 3.5em;
-    padding: 0;
-}
-
-/* ordered lists */
-ol {
-    line-height: 1.5em;
-    margin: 0 0 1em 3.5em;
-    padding: 0;
-    font-weight: normal;
-}
-
-div.dokuwiki li ul {
-  margin-bottom: 0;
-}
-div.dokuwiki li ol {
-  margin-bottom: 0;
-}
-
-div.dokuwiki ol { list-style-type: decimal; }
-div.dokuwiki ol ol { list-style-type: upper-roman; }
-div.dokuwiki ol ol ol { list-style-type: lower-alpha; }
-div.dokuwiki ol ol ol ol { list-style-type: lower-greek; }
-
-/* the list items overriding the ol definition */
-span.li {
-    font-weight: normal;
-}
-
-pre {
-  font-family: monospace;
-}
-
-/* code blocks by indention */
-pre.pre {
-  font-size: 8pt;
-  padding: 0.5em;
-  border: 1px dashed #000000;
-  color: Black;
-  overflow: visible;
-}
-
-/* code blocks by code tag */
-pre.code {
-  font-size: 8pt;
-  padding: 0.5em;
-  border: 1px dashed #000000;
-  color: Black;
-  overflow: visible;
-}
-
-/* inline code words */
-code {
-  font-size: 120%;
-}
-
-/* code blocks by file tag */
-pre.file {
-  font-size: 8pt;
-  padding: 0.5em;
-  border: 1px dotted #000000;
-  color: Black;
-  overflow: visible;
-}
-
-/* footnotes */
-div.footnotes {
-  clear: both;
-  border-top: 1px solid #000000;
-  padding-left: 1em;
-  margin-top: 1em;
-}
-
-div.fn {
-  font-size: 90%;
-}
-
-a.fn_top {
-  vertical-align: super;
-  font-size: 80%;
-}
-
-a.fn_bot {
-  vertical-align: super;
-  font-size: 80%;
-  font-weight: bold;
-}
-
-acronym {
-  border: 0;
-}
-
-/* ---------- inline tables ------------------- */
-
-table.inline {
-  font-size: 80%;
-  background-color: #ffffff;
-  border-spacing: 0px;
-  border-collapse: collapse;
-}
-
-table.inline th {
-  padding: 3px;
-  border: 1px solid #000000;
-  border-bottom: 2px solid #000000;
-}
-
-table.inline td {
-  padding: 3px;
-  border: 1px solid #000000;
-}
-
-.leftalign {
-  text-align: left;
-}
-
-.centeralign {
-  text-align: center;
-}
-
-.rightalign {
-  text-align: right;
-}
-
-.toc, .footerinc, .header, .bar, .user { display: none; }
-
diff --git a/lib/tpl/xfce/rtl.css b/lib/tpl/xfce/rtl.css
deleted file mode 100644
index 6c2d1fb..0000000
--- a/lib/tpl/xfce/rtl.css
+++ /dev/null
@@ -1,147 +0,0 @@
-/**
- * Layout and dedsign corrections for right-to-left languages
- *
- * @author Andreas Gohr <andi at splitbrain.org>
- * @author Dotan Kamber <kamberd at yahoo.com>
- */
-
-.bar-left {
-  float: right;
-  text-align: right;
-}
-
-.bar-right {
-  float: left;
-  text-align: left;
-}
-
-.pagename {
-  float: right;
-  text-align: right;
-}
-
-.logo {
-  float: left;
-  text-align: left;
-}
-
-label {
-  text-align: left;
-}
-
-label.simple {
-  text-align: right;
-}
-
-div.meta div.user {
-  float: right;
-}
-
-div.meta div.doc {
-  text-align: left;
-}
-
-/* ------------------  Design corrections  --------------------------------- */
-
-div.dokuwiki ul,
-div.dokuwiki ol {
-  margin: 0.5em 3.5em 0.5em 0;
-}
-div.dokuwiki li ul,
-div.dokuwiki li ol {
-  margin: 0.5em 1.5em 0.5em 0;
-}
-
-div.dokuwiki a.urlextern,
-div.dokuwiki a.interwiki,
-div.dokuwiki a.windows,
-div.dokuwiki a.mail,
-div.dokuwiki a.mail.JSnocheck {
-  /* should work but doesn't - so we just disable icons here*/
-  /*
-  background-position: right 1px;
-  padding-right: 16px;
-  */
-  background-image: none !important;
-  padding: 0px 0px 0px 0px;
-}
-
-div.dokuwiki div.secedit input.button {
-  float: left;
-}
-
-/* headlines */
-div.dokuwiki h1, div.dokuwiki h2, div.dokuwiki h3, div.dokuwiki h4, div.dokuwiki h5 {
-  clear: right;
-}
-
-/* special headlines */
-div.dokuwiki h1 { margin-left: 0px; margin-right: 0px; }
-div.dokuwiki h2 { margin-left: 0px; margin-right: 20px; }
-div.dokuwiki h3 { margin-left: 0px; margin-right: 40px; }
-div.dokuwiki h4 { margin-left: 0px; margin-right: 60px; }
-div.dokuwiki h5 { margin-left: 0px; margin-right: 80px; }
-
-/* indent different sections */
-div.dokuwiki div.level1 { margin-left: 0px; margin-right: 3px; }
-div.dokuwiki div.level2 { margin-left: 0px; margin-right: 23px; }
-div.dokuwiki div.level3 { margin-left: 0px; margin-right: 43px; }
-div.dokuwiki div.level4 { margin-left: 0px; margin-right: 63px; }
-div.dokuwiki div.level5 { margin-left: 0px; margin-right: 83px; }
-
-/* TOC control */
-div.dokuwiki div.toc {
-  float: left;
-}
-
-div.dokuwiki div.tocheader {
-  text-align: right;
-}
-
-div.dokuwiki #toc__inside {
-  text-align: right;
-}
-
-div.dokuwiki ul.toc {
-  padding: 0;
-  padding-right: 1em;
-}
-
-div.dokuwiki ul.toc li {
-  background-position: right 0.6em;
-  padding-right: 0.4em;
-  direction: rtl;
-}
-
-div.dokuwiki ul.toc li.clear {
-  padding-right: 0.4em;
-}
-
-div.dokuwiki .code {
-  direction: ltr;
-  text-align: left;
-}
-div.dokuwiki blockquote {
-  border-left: 0;
-  padding-left: 0;
-  border-right: 2px solid  __border__;
-  padding-right: 3px;
-}
-
-/* Admin corrections */
-#admin__version {
-    clear: right;
-    float: left;
-}
-
-.dokuwiki ul.admin_tasks {
-    float: right;
-}
-
-.dokuwiki ul.admin_tasks li {
-    padding-left: 0px;
-    padding-right: 35px;
-    background: transparent none no-repeat scroll right 0;
-    text-align: right;
-}
-
diff --git a/lib/tpl/xfce/script.js b/lib/tpl/xfce/script.js
new file mode 100644
index 0000000..3ed8dba
--- /dev/null
+++ b/lib/tpl/xfce/script.js
@@ -0,0 +1,80 @@
+/**
+ *  We handle several device classes based on browser width.
+ *  see http://twitter.github.com/bootstrap/scaffolding.html#responsive
+ *
+ *  - desktop:   980+
+ *  - mobile:    < 980
+ *    - tablet   481 - 979   (ostensibly for tablets in portrait mode)
+ *    - phone    <= 480
+ */
+var device_class = ''; // not yet known
+var device_classes = 'desktop mobile tablet phone';
+
+function tpl_dokuwiki_mobile(){
+
+    // the z-index in mobile.css is (mis-)used purely for detecting the screen mode here
+    var screen_mode = jQuery('#screen__mode').css('z-index');
+
+    // determine our device pattern
+    // TODO: consider moving into dokuwiki core
+    switch (screen_mode) {
+        case '1':
+            if (device_class.match(/tablet/)) return;
+            device_class = 'mobile tablet';
+            break;
+        case '2':
+            if (device_class.match(/phone/)) return;
+            device_class = 'mobile phone';
+            break;
+        default:
+            if (device_class == 'desktop') return;
+            device_class = 'desktop';
+    }
+
+    jQuery('html').removeClass(device_classes).addClass(device_class);
+
+    // handle some layout changes based on change in device
+    var $handle = jQuery('#dokuwiki__aside h3.toggle');
+    var $toc = jQuery('#dw__toc h3');
+
+    if (device_class == 'desktop') {
+        // reset for desktop mode
+        if($handle.length) {
+            $handle[0].setState(1);
+            $handle.hide();
+        }
+        if($toc.length) {
+            $toc[0].setState(1);
+        }
+    }
+    if (device_class.match(/mobile/)){
+        // toc and sidebar hiding
+        if($handle.length) {
+            $handle.show();
+            $handle[0].setState(-1);
+        }
+        if($toc.length) {
+            $toc[0].setState(-1);
+        }
+    }
+}
+
+jQuery(function(){
+    var resizeTimer;
+    dw_page.makeToggle('#dokuwiki__aside h3.toggle','#dokuwiki__aside div.content');
+
+    tpl_dokuwiki_mobile();
+    jQuery(window).bind('resize',
+        function(){
+            if (resizeTimer) clearTimeout(resizeTimer);
+            resizeTimer = setTimeout(tpl_dokuwiki_mobile,200);
+        }
+    );
+
+    // increase sidebar length to match content (desktop mode only)
+    var $sidebar = jQuery('.desktop #dokuwiki__aside');
+    if($sidebar.length) {
+        var $content = jQuery('#dokuwiki__content div.page');
+        $content.css('min-height', $sidebar.height());
+    }
+});
diff --git a/lib/tpl/xfce/style.ini b/lib/tpl/xfce/style.ini
index 00e6621..2aafbfb 100644
--- a/lib/tpl/xfce/style.ini
+++ b/lib/tpl/xfce/style.ini
@@ -1,60 +1,79 @@
 ; Please see http://www.php.net/manual/en/function.parse-ini-file.php
 ; for limitations of the ini format used here
 
+; To extend this file or make changes to it, it is recommended to create
+; a style.local.ini file to prevent losing any changes after an upgrade.
+; Please don't forget to copy the section your changes should be under
+; (i.e. [stylesheets] or [replacements]) into that file as well.
+
 ; Define the stylesheets your template uses here. The second value
 ; defines for which output media the style should be loaded. Currently
-; print, screen and rtl are supported. rtl styles are loaded additionally
-; to screen styles if a right-to-left language is selected (eg. hebrew)
+; print, screen and all are supported.
+
 [stylesheets]
-layout.css     = screen
-design.css     = screen
-style.css      = screen
 
-media.css         = screen
-_mediaoptions.css = screen
-_admin.css        = screen
-_linkwiz.css      = screen
-_subscription.css = screen
-_xfceheader.css   = screen
+css/basic.css             = screen
+css/_imgdetail.css        = screen
+css/_media_popup.css      = screen
+css/_media_fullscreen.css = screen
+css/_fileuploader.css     = screen
+css/_tabs.css             = screen
+css/_links.css            = screen
+css/_toc.css              = screen
+css/_footnotes.css        = screen
+css/_search.css           = screen
+css/_recent.css           = screen
+css/_diff.css             = screen
+css/_edit.css             = screen
+css/_modal.css            = screen
+css/_forms.css            = screen
+css/_admin.css            = screen
+css/structure.css         = screen
+css/design.css            = screen
+css/pagetools.css         = screen
+css/content.css           = screen
+css/includes.css          = screen
+css/_translation.css      = all
+_xfceheader.css           = screen
+
+css/mobile.css            = all
+css/print.css             = print
 
-rtl.css        = rtl
-print.css      = print
 
 ; This section is used to configure some placeholder values used in
 ; the stylesheets. Changing this file is the simplest method to
 ; give your wiki a new look.
+
 [replacements]
 
 ;--------------------------------------------------------------------------
 ;------ guaranteed dokuwiki color placeholders that every plugin can use
+
 ; main text and background colors
-__text__           = "#000"
-__background__     = "#fff"
+__text__            = "#333"
+__background__      = "#fff"
 ; alternative text and background colors
-__text_alt__       = "#666"
-__background_alt__ = "#eee"
+__text_alt__        = "#999"
+__background_alt__  = "#eee"
 ; neutral text and background colors
-__text_neu__       = "#666"
-__background_neu__ = "#f5f5f5"
+__text_neu__        = "#666"
+__background_neu__  = "#ddd"
 ; border color
-;__border__         = "#e0e0e0"
-__border__         = "#ccc"
+__border__          = "#ccc"
+
+; highlighted text (e.g. search snippets)
+__highlight__       = "#ff9"
+
 ;--------------------------------------------------------------------------
 
-; other text and background colors
-__text_other__       = "#ccc"
-__background_other__ = "#f7f9fa"
+__background_site__ = "#eee"
 
 ; these are used for links
-__meta__      = "#505050"
-__extern__    = "#0C6AD4"
-__existing__  = "#0C6AD4"
-__missing__   = "#f30"
-__hover__     = "#f00"
-
-; highlighting search snippets
-__highlight__ = "#ff9"
-
-; colors for bar
-__text_bar__ = "#666"
-__background_bar__ = "#e9e9e9"
+__link__            = "#06c"
+__linkhover__       = "#f00"
+__existing__        = "#06c"
+__missing__         = "#d30"
+
+; site and sidebar widths
+__site_width__      = "1080px"
+__sidebar_width__   = "16em"
diff --git a/lib/tpl/xfce/template.info.txt b/lib/tpl/xfce/template.info.txt
new file mode 100644
index 0000000..43af9d4
--- /dev/null
+++ b/lib/tpl/xfce/template.info.txt
@@ -0,0 +1,7 @@
+base     dokuwiki
+author   Mike Massonnet
+email    mmassonnet at xfce.org
+date     2012-10-12
+name     Xfce
+desc     Xfce's default template since 2013
+url      http://git.xfce.org/www/wiki.xfce.org/
diff --git a/lib/tpl/xfce/tpl_footer.php b/lib/tpl/xfce/tpl_footer.php
new file mode 100644
index 0000000..338921c
--- /dev/null
+++ b/lib/tpl/xfce/tpl_footer.php
@@ -0,0 +1,41 @@
+<?php
+/**
+ * Template footer, included in the main and detail files
+ */
+
+// must be run from within DokuWiki
+if (!defined('DOKU_INC')) die();
+?>
+
+<!-- ********** FOOTER ********** -->
+<div id="dokuwiki__footer">
+
+    <div class="bar" id="footertools">
+      <div class="bar-left">
+        <?php tpl_button('edit')?>
+        <?php tpl_button('history')?>
+        <?php tpl_button('recent')?>
+        <?php tpl_button('index')?>
+        <?php tpl_button('revert')?>
+      </div>
+      <div class="bar-right">
+        <?php tpl_button('subscribe')?>
+        <?php tpl_button('admin')?>
+        <?php tpl_button('profile')?>
+        <?php tpl_button('login')?>
+        <?php tpl_button('top')?>
+      </div>
+      <hr class="a11y" />
+    </div>
+
+    <div class="pad">
+        <?php tpl_license(''); // license text ?>
+
+        <div class="credit">
+            Copyright 2003-<?php echo date('Y'); ?> Xfce Development Team.
+        </div>
+    </div>
+
+</div><!-- /footer -->
+
+<?php tpl_includeFile('footer.html') ?>
diff --git a/lib/tpl/xfce/tpl_header.php b/lib/tpl/xfce/tpl_header.php
new file mode 100644
index 0000000..a634a26
--- /dev/null
+++ b/lib/tpl/xfce/tpl_header.php
@@ -0,0 +1,49 @@
+<?php
+/**
+ * Template header, included in the main and detail files
+ */
+
+// must be run from within DokuWiki
+if (!defined('DOKU_INC')) die();
+?>
+
+<!-- ********** HEADER ********** -->
+<div id="dokuwiki__header"><div class="pad group">
+
+    <?php tpl_includeFile('header.html') ?>
+
+    <div class="tools group">
+
+        <div id="dokuwiki__sitetools">
+            <h3 class="a11y"><?php echo $lang['site_tools']; ?></h3>
+
+            <?php $translation = &plugin_load('helper','translation'); ?>
+            <?php if ($translation != NULL) : ?>
+            <div class="translation">
+                <?php echo $translation->showTranslations(); ?>
+            </div>
+            <?php endif ?>
+            <?php tpl_searchform(); ?>
+            <div class="mobileTools">
+                <?php tpl_actiondropdown($lang['tools']); ?>
+            </div>
+
+            <?php if($conf['breadcrumbs'] || $conf['youarehere']): ?>
+                <div class="breadcrumbs">
+                    <?php if($conf['youarehere']): ?>
+                        <div class="youarehere"><?php tpl_youarehere() ?></div>
+                    <?php endif ?>
+                    <?php if($conf['breadcrumbs']): ?>
+                        <div class="trace"><?php tpl_breadcrumbs() ?></div>
+                    <?php endif ?>
+                </div>
+            <?php endif ?>
+
+        </div>
+
+    </div>
+
+    <?php html_msgarea() ?>
+
+    <hr class="a11y" />
+</div></div><!-- /header -->


More information about the Xfce4-commits mailing list