summaryrefslogtreecommitdiff
path: root/platform/www/lib/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'platform/www/lib/tpl')
-rw-r--r--platform/www/lib/tpl/acervus/COPYING339
-rw-r--r--platform/www/lib/tpl/acervus/README.md3
-rw-r--r--platform/www/lib/tpl/acervus/conf/default.php11
-rw-r--r--platform/www/lib/tpl/acervus/conf/metadata.php11
-rw-r--r--platform/www/lib/tpl/acervus/css/basic.less506
-rw-r--r--platform/www/lib/tpl/acervus/css/content.less361
-rw-r--r--platform/www/lib/tpl/acervus/css/design.less301
-rw-r--r--platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.eotbin0 -> 13538 bytes
-rw-r--r--platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.ttfbin0 -> 13268 bytes
-rw-r--r--platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.woffbin0 -> 7228 bytes
-rw-r--r--platform/www/lib/tpl/acervus/css/hacks.css187
-rw-r--r--platform/www/lib/tpl/acervus/css/mobile.less136
-rw-r--r--platform/www/lib/tpl/acervus/css/print.less94
-rw-r--r--platform/www/lib/tpl/acervus/css/responsive.css13
-rw-r--r--platform/www/lib/tpl/acervus/css/structure.less64
-rw-r--r--platform/www/lib/tpl/acervus/detail.php93
-rw-r--r--platform/www/lib/tpl/acervus/images/apple-touch-icon.pngbin0 -> 23590 bytes
-rw-r--r--platform/www/lib/tpl/acervus/images/bg.pngbin0 -> 2948 bytes
-rw-r--r--platform/www/lib/tpl/acervus/images/bg2.pngbin0 -> 9103 bytes
-rw-r--r--platform/www/lib/tpl/acervus/images/bg3.pngbin0 -> 10549 bytes
-rw-r--r--platform/www/lib/tpl/acervus/images/favicon.icobin0 -> 371 bytes
-rw-r--r--platform/www/lib/tpl/acervus/images/ipari-simpleline.pngbin0 -> 11135 bytes
-rw-r--r--platform/www/lib/tpl/acervus/images/top.pngbin0 -> 4105 bytes
-rw-r--r--platform/www/lib/tpl/acervus/lang/de/lang.php15
-rw-r--r--platform/www/lib/tpl/acervus/lang/de/settings.php6
-rw-r--r--platform/www/lib/tpl/acervus/lang/de/style.txt1
-rw-r--r--platform/www/lib/tpl/acervus/lang/en/lang.php13
-rw-r--r--platform/www/lib/tpl/acervus/lang/en/settings.php7
-rw-r--r--platform/www/lib/tpl/acervus/lang/en/style.txt1
-rw-r--r--platform/www/lib/tpl/acervus/lang/es/lang.php5
-rw-r--r--platform/www/lib/tpl/acervus/lang/ko/lang.php15
-rw-r--r--platform/www/lib/tpl/acervus/lang/ko/settings.php7
-rw-r--r--platform/www/lib/tpl/acervus/lang/ko/style.txt1
-rw-r--r--platform/www/lib/tpl/acervus/lang/ru/lang.php12
-rw-r--r--platform/www/lib/tpl/acervus/lang/ru/settings.php3
-rw-r--r--platform/www/lib/tpl/acervus/lang/ru/style.txt1
-rw-r--r--platform/www/lib/tpl/acervus/main.php265
-rw-r--r--platform/www/lib/tpl/acervus/manager.dat2
-rw-r--r--platform/www/lib/tpl/acervus/mediamanager.php46
-rw-r--r--platform/www/lib/tpl/acervus/script.js81
-rw-r--r--platform/www/lib/tpl/acervus/style.ini86
-rw-r--r--platform/www/lib/tpl/acervus/template.info.txt6
-rw-r--r--platform/www/lib/tpl/acervus/tpl_functions.php91
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_admin.less64
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_diff.css137
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_edit.css141
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_fileuploader.css107
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_footnotes.css31
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_forms.css106
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_imgdetail.css38
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_links.css69
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_media_fullscreen.css541
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_media_popup.css208
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_modal.css94
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_recent.css75
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_search.less204
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_tabs.css84
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/_toc.css93
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/basic.less464
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/content.less393
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/design.less354
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/mobile.less332
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/pagetools.less124
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/print.css177
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/structure.less89
-rw-r--r--platform/www/lib/tpl/dokuwiki/css/usertools.less50
-rw-r--r--platform/www/lib/tpl/dokuwiki/detail.php105
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/apple-touch-icon.pngbin0 -> 6336 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/button-css.pngbin0 -> 297 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/button-donate.gifbin0 -> 187 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/button-dw.pngbin0 -> 398 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/button-html5.pngbin0 -> 305 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/button-php.gifbin0 -> 207 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/button-rss.pngbin0 -> 178 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/favicon.icobin0 -> 7406 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/license.txt5
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/logo.pngbin0 -> 3744 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/page-background.svg8
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/page-gradient.pngbin0 -> 209 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools-build.php125
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools-sprite.pngbin0 -> 7759 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools/00_default.pngbin0 -> 494 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools/01_edit.pngbin0 -> 519 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools/02_create.pngbin0 -> 580 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools/03_draft.pngbin0 -> 592 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools/04_show.pngbin0 -> 321 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools/05_source.pngbin0 -> 478 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools/06_revert.pngbin0 -> 462 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools/07_revisions.pngbin0 -> 769 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools/08_backlink.pngbin0 -> 527 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools/09_subscribe.pngbin0 -> 374 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools/10_top.pngbin0 -> 297 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools/11_mediamanager.pngbin0 -> 320 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools/12_back.pngbin0 -> 288 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/pagetools/license.txt4
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/search.pngbin0 -> 307 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/toc-arrows.pngbin0 -> 225 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/toc-bullet.pngbin0 -> 113 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/images/usertools.pngbin0 -> 1428 bytes
-rw-r--r--platform/www/lib/tpl/dokuwiki/lang/en/lang.php13
-rw-r--r--platform/www/lib/tpl/dokuwiki/lang/en/style.txt4
-rw-r--r--platform/www/lib/tpl/dokuwiki/main.php87
-rw-r--r--platform/www/lib/tpl/dokuwiki/mediamanager.php44
-rw-r--r--platform/www/lib/tpl/dokuwiki/script.js89
-rw-r--r--platform/www/lib/tpl/dokuwiki/style.ini89
-rw-r--r--platform/www/lib/tpl/dokuwiki/template.info.txt7
-rw-r--r--platform/www/lib/tpl/dokuwiki/tpl_footer.php34
-rw-r--r--platform/www/lib/tpl/dokuwiki/tpl_header.php84
-rw-r--r--platform/www/lib/tpl/index.php71
109 files changed, 7527 insertions, 0 deletions
diff --git a/platform/www/lib/tpl/acervus/COPYING b/platform/www/lib/tpl/acervus/COPYING
new file mode 100644
index 0000000..d159169
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/COPYING
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff --git a/platform/www/lib/tpl/acervus/README.md b/platform/www/lib/tpl/acervus/README.md
new file mode 100644
index 0000000..63ba921
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/README.md
@@ -0,0 +1,3 @@
+# gta-dokuwiki-theme
+
+GTA's dokuwiki theme code, based in White Theme.
diff --git a/platform/www/lib/tpl/acervus/conf/default.php b/platform/www/lib/tpl/acervus/conf/default.php
new file mode 100644
index 0000000..089c8d1
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/conf/default.php
@@ -0,0 +1,11 @@
+<?php
+/*
+ * default configuration settings
+ *
+ * @author Lee, Kwangyoung <ipari@leaflette.com>
+ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ */
+
+$conf['numberedHeading'] = 0;
+$conf['tocPosition'] = 'wikipedia';
+$conf['footer'] = '';
diff --git a/platform/www/lib/tpl/acervus/conf/metadata.php b/platform/www/lib/tpl/acervus/conf/metadata.php
new file mode 100644
index 0000000..e85feee
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/conf/metadata.php
@@ -0,0 +1,11 @@
+<?php
+/*
+ * default configuration settings
+ *
+ * @author Lee, Kwangyoung <ipari@leaflette.com>
+ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ */
+
+$meta['numberedHeading'] = array('onoff');
+$meta['tocPosition'] = array('multichoice', '_choices' => array('dokuwiki', 'wikipedia'));
+$meta['footer'] = array('string');
diff --git a/platform/www/lib/tpl/acervus/css/basic.less b/platform/www/lib/tpl/acervus/css/basic.less
new file mode 100644
index 0000000..9bce960
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/css/basic.less
@@ -0,0 +1,506 @@
+
+// @font-face {
+// font-family: 'Norwester';
+// src: url('css/fonts/Norwester-Regular.eot');
+// src: url('css/fonts/Norwester-Regular.eot?#iefix') format('embedded-opentype'),
+// url('css/fonts/Norwester-Regular.woff') format('woff'),
+// url('css/fonts/Norwester-Regular.ttf') format('truetype');
+// font-weight: normal;
+// font-style: normal;
+// }
+
+
+/**
+ * This file provides the most basic styles.
+ */
+
+html,
+body {
+ margin: 0;
+ padding: 0;
+ background-color: @ini_background;
+ color: @ini_text;
+}
+
+body {
+ font: normal @ini_font_size/@ini_line_height 'EB Garamond','Segoe UI', Roboto, Helvetica, Arial, sans-serif;
+ /* default font size: 100% => 16px; 93.75% => 15px; 87.5% => 14px; 81.25% => 13px; 75% => 12px */
+ -webkit-text-size-adjust: 100%;
+ -moz-text-size-adjust: 100%;
+ -ms-text-size-adjust: 100%;
+ text-size-adjust: 100%;
+}
+
+/* headers */
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ font: normal @ini_font_size/@ini_line_height 'EB Garamond','Segoe UI', Roboto, Helvetica, Arial, sans-serif;
+ padding: 0;
+ clear: left;
+ font-weight: 600;
+}
+
+
+[dir=rtl] h1,
+[dir=rtl] h2,
+[dir=rtl] h3,
+[dir=rtl] h4,
+[dir=rtl] h5,
+[dir=rtl] h6 {
+ clear: right;
+}
+
+h1 {
+ font-size: 2em;
+ margin: 0 0 0.444em;
+}
+h2 {
+ font-size: 1.666em;
+ margin: 0 0 0.5em;
+ border-bottom: 1px solid @ini_border;
+}
+h3 {
+ font-size: 1.4em;
+ margin: 0 0 0.5em;
+ border-bottom: 1px solid @ini_border;
+}
+h4 {
+ font-size: 1.2em;
+ margin: 0 0 0.4em;
+}
+h5 {
+ font-size: 1em;
+ margin: 0 0 0.4em;
+}
+h6 {
+ font-size: 0.8em;
+ margin: 0 0 0.4em;
+}
+
+/* basic bargins and paddings */
+p,
+ul,
+ol,
+dl,
+pre,
+table,
+hr,
+blockquote,
+figure,
+details,
+fieldset,
+address {
+ margin: 0 0 1.4em 0; /* bottom margin = line-height */
+ padding: 0;
+}
+
+blockquote blockquote {
+ margin: 0;
+ padding: 0 0.5em;
+}
+
+div,
+video,
+audio {
+ margin: 0;
+ padding: 0;
+}
+
+/* lists */
+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 @ini_border;
+}
+
+caption {
+ caption-side: top;
+ text-align: left;
+}
+[dir=rtl] caption {
+ text-align: right;
+}
+
+th,
+td {
+ padding: .3em .5em;
+ margin: 0;
+ vertical-align: top;
+ border: 1px solid @ini_border;
+}
+th {
+ font-weight: bold;
+ background-color: @ini_background_alt;
+ text-align: left;
+}
+[dir=rtl] th {
+ text-align: right;
+}
+
+
+/*____________ links ____________*/
+
+a {
+ outline: none;
+ word-wrap: break-word;
+}
+a:link,
+a:visited {
+ text-decoration: none;
+ color: @ini_link;
+}
+a:link:hover,
+a:visited:hover,
+a:link:focus,
+a:visited:focus,
+a:link:active,
+a:visited:active {
+ text-decoration: underline;
+}
+
+
+/* misc */
+img {
+ border-width: 0;
+ vertical-align: bottom;
+ height: auto;
+}
+
+img,
+object,
+iframe,
+video,
+audio,
+select {
+ max-width: 100%;
+}
+
+hr {
+ border-top: solid @ini_border;
+ border-bottom: solid @ini_background;
+ border-width: 1px 0;
+ height: 0;
+ text-align: center;
+ clear: both;
+}
+
+del {
+ color: @ini_text_alt;
+}
+
+pre {
+ overflow: auto;
+ word-wrap: normal;
+ direction: ltr;
+ unicode-bidi: bidi-override;
+ text-align: left;
+}
+
+
+acronym,
+abbr {
+ cursor: help;
+ border-bottom: 1px dotted;
+ font-style: normal;
+ text-decoration: none;
+}
+em acronym,
+em abbr {
+ font-style: italic;
+}
+
+mark {
+ background-color: @ini_highlight;
+ color: inherit;
+}
+
+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;
+ padding: 0 4px;
+ border: 1px solid @ini_border;
+ direction: ltr;
+ text-align: left;
+ background-color: @ini_background_alt;
+ color: @ini_text
+}
+pre {
+ overflow: auto;
+ word-wrap: normal;
+ border: 1px solid @ini_border;
+ padding: .7em 1em;
+}
+
+blockquote {
+ padding: 0.5em;
+ border: solid @ini_border;
+ background-color: @ini_background_alt;
+ 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;
+}
+
+small {
+ font-size: .8em;
+}
+
+/*____________ 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: .7em 1em 0;
+ padding: .7rem 1rem; /* for those browsers understanding :last-child */
+ border: 1px solid @ini_text_alt;
+}
+fieldset > :last-child {
+ margin-bottom: 0;
+}
+legend {
+ margin: 0;
+ padding: 0 .1em;
+}
+label {
+ vertical-align: middle;
+ cursor: pointer;
+}
+
+input,
+textarea,
+button,
+select,
+optgroup,
+option,
+keygen,
+output,
+meter,
+progress {
+ font: inherit;
+ font-weight: normal;
+ color: #333;
+ background-color: #fff;
+ line-height: normal;
+ margin: 0;
+ vertical-align: middle;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+select {
+ max-width: 100%;
+}
+optgroup {
+ font-style: italic;
+ font-weight: bold;
+}
+option {
+ font-style: normal;
+ font-weight: normal;
+}
+
+input,
+textarea,
+select,
+keygen {
+ 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,
+keygen:active,
+keygen:focus {
+ border-color: #999;
+}
+input[type=radio],
+input[type=checkbox],
+input[type=image] {
+ padding: 0;
+ border-style: none;
+ box-shadow: none;
+}
+
+/* all types of buttons */
+input[type=submit],
+input[type=button],
+input[type=reset],
+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-image: linear-gradient(to bottom, #ffffff 0%, #f4f4f4 30%, #eeeeee 99%, #cccccc 99%);
+ border: 1px solid #ccc;
+ border-radius: 2px;
+ padding: .1em .5em;
+ cursor: pointer;
+}
+
+input[type=submit]:hover,
+input[type=submit]:active,
+input[type=submit]:focus,
+input[type=button]:hover,
+input[type=button]:active,
+input[type=button]:hover,
+input[type=reset]:hover,
+input[type=reset]:active,
+input[type=reset]:hover,
+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-image: linear-gradient(to bottom, #ffffff 0%, #f4f4f4 30%, #dddddd 99%, #bbbbbb 99%);
+}
+
+input::-moz-focus-inner,
+button::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+
+input[disabled],
+button[disabled],
+select[disabled],
+textarea[disabled],
+option[disabled],
+input[readonly],
+button[readonly],
+select[readonly],
+textarea[readonly] {
+ cursor: auto;
+ opacity: .5;
+ background-color: #eee;
+}
+
+
+.img-reporte {
+ width: 30%;
+ float: right;
+ margin: 0 0 10px 10px;
+ padding: 5px;
+ border: #ccc 1px solid;
+ /*background: #E2E1E0;*/
+}
+
+@media (max-width: 600px) {
+.img-reporte {
+ width: 100%;
+ float: right;
+ margin: 0 0 10px 10px;
+ padding: 5px;
+ border: #ccc 1px solid;
+ /*background: #E2E1E0;*/
+}
+
+
+}
+
+
+/* CAMBIOS VARIOS */
+
+.dokuwiki textarea.edit, textarea.widearea-fullscreen {
+ font-family: monospace !important;
+ font-size: 1em !important;
+}
+
+#dokuwiki__content {
+ text-align: justify;
+}
+
+.footnotes {
+ font-size: 80%;
+}
+
+.fn {
+ border-bottom: 1px #e9e9e9 solid;
+ padding: 5px;
+ opacity: 0.8;
+}
+
+li.level1, li.level2, li.level3, li.level4, li.level5 {
+ text-align: left;
+}
diff --git a/platform/www/lib/tpl/acervus/css/content.less b/platform/www/lib/tpl/acervus/css/content.less
new file mode 100644
index 0000000..4d72c5d
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/css/content.less
@@ -0,0 +1,361 @@
+/* content */
+#dokuwiki__content {
+ /* existing wikipage */
+ a.wikilink1 {
+ color: @ini_existing;
+ }
+ /* not existing wikipage */
+ a.wikilink2 {
+ border-bottom: 1px dashed @ini_missing;
+ color: @ini_missing !important;
+ }
+ /*a.wikilink2:link,
+ a.wikilink2:visited {
+ border-bottom: none;
+ }*/
+ a.wikilink2:hover,
+ a.wikilink2:active,
+ a.wikilink2:focus {
+ /* border-bottom-width: 0; */
+ text-decoration: none;
+ color: #31363B !important;
+ border-bottom: 1px dashed #31363B;
+
+ }
+
+ /*____________ Numbered Headings ____________*/
+
+ .page.numbered_heading {
+ /* TOC */
+
+ // counter-reset: toc-level0;
+ // #dw__toc ul {
+ //
+ // }
+ //
+ //
+ // #dw__toc li.level1 > div > a:before {
+ // color: @ini_numbered_heading;
+ // content: counter(toc-level0) ". ";
+ // counter-increment: toc-level0;
+ // }
+ //
+ // #dw__toc li.level1 {
+ // counter-reset: toc-level1;
+ // }
+ //
+ // #dw__toc li.level2 > div > a:before {
+ // color: @ini_numbered_heading;
+ // content: counter(toc-level0) "." counter(toc-level1) ". ";
+ // counter-increment: toc-level1;
+ // }
+ // #dw__toc li.level2 {
+ // counter-reset: toc-level2;
+ // }
+ // #dw__toc li.level3 > div > a:before {
+ // color: @ini_numbered_heading;
+ // content: counter(toc-level0) "." counter(toc-level1) "." counter(toc-level2) ". ";
+ // counter-increment: toc-level2;
+ // }
+ // #dw__toc li.level3 {
+ // counter-reset: toc-level3;
+ // }
+ // #dw__toc li.level4 > div > a:before {
+ // color: @ini_numbered_heading;
+ // content: counter(toc-level0) "." counter(toc-level1) "." counter(toc-level2) "." counter(toc-level3) ". ";
+ // counter-increment: toc-level3;
+ // }
+
+ /* Contents */
+ counter-reset: level1;
+ h2:before {
+ color: @ini_numbered_heading;
+ content: counter(level1) ". ";
+ counter-increment: level1;
+ }
+ h2 {
+ counter-reset: level2;
+ }
+ h3:before {
+ color: @ini_numbered_heading;
+ content: counter(level1) "." counter(level2) ". ";
+ counter-increment: level2;
+ }
+ h3 {
+ counter-reset: level3;
+ }
+ h4:before {
+ color: @ini_numbered_heading;
+ content: counter(level1) "." counter(level2) "." counter(level3) ". ";
+ counter-increment: level3;
+ }
+ h2:before,
+ h3:before,
+ h4:before {
+ font-size: 90%;
+ }
+
+ #dw__toc h3:before {
+ content: '';
+ }
+ }
+
+ div.license {
+ margin: 0 -1em;
+ padding: .4em 1em;
+ background-color: @ini_background_alt;
+ }
+ .medialeft {
+ margin-right: .6em;
+ }
+ .mediaright {
+ margin-left: .6em;
+ }
+}
+
+/* table of contents */
+#dw__toc {
+ float: inherit;
+ display: inline-block;
+ width: auto;
+ margin: 0 0 1.4em 0;
+ border: 1px solid @ini_border;
+ background-color: @ini_background;
+
+ span {
+ float: right;
+ }
+ h3,
+ div {
+ padding: .4em .8em;
+ }
+ h3.toggle {
+ margin: 0;
+ font-size: 1em;
+ }
+ h3.closed {
+ border: none;
+ }
+ a {
+ color: @ini_text;
+ }
+}
+
+/* any link to current page */
+.dokuwiki span.curid a {
+ font-weight: bold;
+}
+
+/* undo "clever" styling from fileuploader.js */
+.qq-upload-button {
+ cursor: inherit !important;
+ direction: inherit !important;
+}
+.qq-upload-button input {
+ font-family: inherit !important;
+ font-size: 1em !important;
+ margin: inherit !important;
+ opacity: 1 !important;
+ padding: inherit !important;
+ position: static !important;
+}
+
+.JSpopup {
+ padding: 0.2em 0.4em;
+ border: 1px solid @ini_border;
+}
+
+/* editor */
+.dokuwiki .editBar {
+ .editButtons,
+ .summary {
+ display: block !important;
+ margin-bottom: .6em;
+ }
+}
+
+
+/* fields */
+.dokuwiki fieldset {
+ width: auto;
+ text-align:left;
+ margin: 0 0 1em 0;
+ padding: 1em;
+ border: none;
+ background: @ini_background_alt;
+
+ legend {
+ display: block;
+ padding: 0;
+ font-weight: bold;
+ font-size: 1.4em;
+ }
+
+ span {
+ display: inline-block;
+ margin: 0 0 .2em 0;
+ vertical-align: top;
+ }
+
+ label.block {
+ text-align: left;
+
+ span {
+ display: block;
+ }
+
+ input.edit {
+ width: 100%;
+ max-width: 400px;
+ }
+ }
+}
+
+/* login */
+#dw__login,
+#dw__register {
+ label.simple {
+ margin-left: 0;
+ }
+}
+
+/* admin */
+/* _admin.less in default template */
+
+/* main task grouped in two columns */
+.dokuwiki div.ui-admin {
+ ul.admin_tasks,
+ ul.admin_plugins {
+ float: left;
+ width: 40%;
+ list-style-type: none;
+
+ /* general menu item styling */
+ li {
+ margin: 0 0 0.5em 0;
+ white-space: nowrap;
+
+ a span {
+ display: inline-block;
+
+ &.icon {
+ vertical-align: top;
+ margin-right: 0.5em;
+
+ svg {
+ width: 1.5em;
+ height: 1.5em;
+ }
+ }
+
+ &.prompt {
+ white-space: normal;
+ }
+ }
+ }
+ }
+ [dir=rtl] & ul.admin_tasks,
+ [dir=rtl] & ul.admin_plugins {
+ float: right;
+ }
+}
+
+
+/* DokuWiki version */
+#admin__version {
+ clear: left;
+ margin-bottom: 2em;
+ color: @ini_text_alt;
+}
+[dir=rtl] & #admin__version {
+ clear: right;
+ float: left;
+}
+
+
+/* config */
+#config__manager {
+ fieldset {
+ margin: 0 0 2em 0;
+ padding: 0;
+ border: none;
+ background: none;
+
+ legend {
+ text-align: left;
+ font-size: 1.666em; // same as h3
+ }
+ div.table {
+ width: 100%;
+ padding: 0;
+ background: @ini_background_alt;
+ }
+ table {
+ width: 100%;
+ }
+ td.label {
+ padding: .4em .4em 1em;
+ span.outkey {
+ margin-top: -1.2em;
+ }
+ }
+ td {
+ div.input {
+ width: auto;
+ padding: 2px 4px;
+ }
+ input.edit {
+ padding: 4px 6px;
+ }
+ input.edit,
+ select.edit,
+ textarea.edit {
+ width: 100%;
+ border: none;
+ }
+ }
+ div.selection {
+ width: 40%;
+ padding: 2px 4px;
+
+ label {
+ width: 90%;
+ }
+ }
+ div.other {
+ background: none;
+ }
+ }
+}
+
+/* media manager */
+#mediamanager__page {
+ min-width: 0 !important;
+
+ .namespaces {
+ min-width: 0;
+ }
+ .filelist {
+ min-width: 0;
+ .rows li {
+ dt a {
+ vertical-align: top;
+ }
+ dt a img {
+ max-width: 100%;
+ }
+ .name,
+ .size,
+ .filesize,
+ .date {
+ white-space: normal;
+ word-wrap: break-word;
+ }
+ }
+ }
+ .file {
+ min-width: 0;
+ }
+}
+
+pre {white-space: pre-wrap;}
diff --git a/platform/www/lib/tpl/acervus/css/design.less b/platform/www/lib/tpl/acervus/css/design.less
new file mode 100644
index 0000000..182721a
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/css/design.less
@@ -0,0 +1,301 @@
+/* general */
+.btn_icon {
+ text-indent: -9999px;
+}
+
+.sidebar,
+.breadcrumbs {
+ a,
+ a.wikilink1 {
+ color: @ini_text;
+ }
+ a:hover,
+ a.wikilink1:hover {
+ color: @ini_existing;
+ text-decoration: none;
+ }
+ a.wikilink2,
+ a.wikilink2:link {
+ color: @ini_missing;
+ border: none;
+ }
+}
+
+/* header */
+#dokuwiki__header {
+ background: @ini_background;
+ border-bottom: 1px solid @ini_border;
+
+ h1 {
+ margin: 2px 0 0 0;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ font: 1.6em 'Source Sans Pro', 'Segoe UI', 'Times new roman', Times, serif;
+ white-space: nowrap;
+ font-weight: 600;
+ }
+ a,
+ a:link,
+ a:hover,
+ a:active {
+ color: @ini_text;
+ text-decoration: none;
+ }
+ button {
+ width: 30px;
+ height: 30px;
+ margin: 5px 0;
+ border: 0 none;
+ outline: none;
+ background: transparent url('images/ipari-simpleline.png') no-repeat;
+ background-size: 30px;
+ text-indent: -9999px;
+ }
+ div.left {
+ button:first-child {
+ margin-left: 16px;
+ }
+ button {
+ margin-left: 8px;
+ }
+ }
+ div.right {
+ button:last-child {
+ margin-right: 16px;
+ }
+ button {
+ margin-right: 4px;
+ }
+ }
+ div.search {
+ display: none;
+ padding: 6px 10px;
+
+ button {
+ display: none;
+ }
+ input[type=text] {
+ padding: 4px 6px;
+ }
+ }
+ .btn_left {
+ background-position: 0 0;
+ }
+ .btn_right {
+ background-position: 0 -90px;
+ }
+ .btn_search {
+ background-position: 0 -45px;
+ }
+}
+
+/* nav */
+#dokuwiki__aside,
+#dokuwiki__tools {
+ display: none;
+ background-color: @ini_background;
+}
+#sidebar_bg {
+ display: none;
+ background-color: rgba(0, 0, 0, .75);
+}
+
+#dokuwiki__aside {
+ > h1,
+ > h2,
+ > div.level1,
+ > div.level2 {
+ padding-left: 8px;
+ padding-right: 8px;
+ margin: 0 0 8px;
+ }
+ p,
+ pre,
+ table,
+ hr,
+ blockquote,
+ figure,
+ details,
+ fieldset,
+ address {
+ margin: 0 0 .4em 0;
+ }
+ p + p {
+ margin-top: 1em;
+ }
+}
+
+.sidebar {
+ overflow-x: hidden;
+ overflow-y: auto;
+ h3 {
+ font-size: 16px;
+ margin-bottom: 0;
+ padding: 9px 12px;
+ border-bottom: 1px solid @ini_border;
+ }
+ ul {
+ list-style-type: none;
+ margin: 0 0 .4em 0;
+ }
+ li {
+ margin: 0;
+ }
+ li li {
+ margin-left: 1em;
+ }
+ li a {
+ display: block;
+ padding: 8px 10px;
+ }
+ li a.urlextern {
+ padding: 10px 12px 10px 30px;
+ background-position: 10px 10px;
+ }
+ li a:hover {
+ background-color: @ini_background_alt !important;
+ }
+
+ div.user {
+ padding: 6px 12px;
+ }
+}
+
+#dokuwiki__tools {
+ li a {
+ height: 30px;
+ overflow: hidden;
+ white-space: nowrap;
+ }
+ li a:before {
+ content: url('images/ipari-simpleline.png');
+ display: inline-block;
+ font-size: 0;
+ line-height: 0;
+ }
+ li a span {
+ display: inline-block;
+ vertical-align: top;
+ padding: .2em .6em;
+ }
+ li a,
+ li a:hover,
+ li a:active,
+ li a:visited {
+ background-image: none !important;
+ }
+ a.action.admin:before {
+ margin-top: -720px;
+ }
+ a.action.profile:before {
+ margin-top: -540px;
+ }
+ a.action.login:before {
+ margin-top: -630px;
+ }
+ a.action.logout:before {
+ margin-top: -675px;
+ }
+ a.action.register:before {
+ margin-top: -585px;
+ }
+ a.action.create:before {
+ margin-top: -135px;
+ }
+ a.action.show:before {
+ margin-top: -225px;
+ }
+ a.action.source:before {
+ margin-top: -180px;
+ }
+ a.action.edit:before {
+ margin-top: -90px;
+ }
+ a.action.revs:before {
+ margin-top: -495px;
+ }
+ a.action.backlink:before {
+ margin-top: -450px;
+ }
+ a.action.top:before {
+ margin-top: -405px;
+ }
+ a.action.recent:before {
+ margin-top: -270px;
+ }
+ a.action.media:before {
+ margin-top: -315px;
+ }
+ a.action.index:before {
+ margin-top: -360px;
+ }
+ // icons for plugins
+ a.action.plugin_export_pdf:before {
+ margin-top: -765px;
+ }
+}
+
+
+#to_top {
+ input.button {
+ width: 48px;
+ height: 48px;
+ border: 0;
+ background: transparent url('images/top.png') no-repeat;
+ opacity: 0.2;
+ text-indent: -9999px;
+ }
+}
+
+/* content */
+#dokuwiki__content {
+ margin-top: 40px;
+
+ div.breadcrumbs {
+ margin-bottom: 1em;
+ padding: 0.4em 1em;
+ opacity: 0.4;
+ }
+ div.breadcrumbs:hover {
+ opacity: 1.0;
+ }
+ div.page {
+ padding: 1em;
+ }
+}
+
+/* footer */
+#dokuwiki__footer {
+ border-top: 1px solid @ini_border;
+ padding: 0.5em 1em;
+
+ div.doc {
+ margin-bottom: 1em;
+ }
+ div.license {
+ margin-bottom: 1em;
+ font-size: 85%;
+
+ > a {
+ float: left;
+ margin-right: .5em;
+ padding-top: .3em;
+ }
+ a.urlextern {
+ float: left;
+ display: block;
+ background-position: 0 0.2em;
+ }
+ :after {
+ content: '';
+ display: block;
+ clear: both;
+ }
+ }
+ div.footer {
+ margin: 0 -1em;
+ padding: 0.5em 1em;
+ }
+}
+
+/* icons */
diff --git a/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.eot b/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.eot
new file mode 100644
index 0000000..95bb006
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.eot
Binary files differ
diff --git a/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.ttf b/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.ttf
new file mode 100644
index 0000000..091f756
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.ttf
Binary files differ
diff --git a/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.woff b/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.woff
new file mode 100644
index 0000000..4a52852
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.woff
Binary files differ
diff --git a/platform/www/lib/tpl/acervus/css/hacks.css b/platform/www/lib/tpl/acervus/css/hacks.css
new file mode 100644
index 0000000..3349974
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/css/hacks.css
@@ -0,0 +1,187 @@
+#dokuwiki__site {
+ background: #f8f8f8cc;
+}
+
+#dokuwiki__header {
+ background: #fff;
+ border-bottom: 1px solid #ddd;
+ box-shadow: 1px 1px 24px #dadada94;
+}
+
+#dokuwiki__header strong {
+ color: darkred;
+}
+
+#dokuwiki__header em {
+ font-weight: 400;
+}
+
+#dokuwiki__content div.breadcrumbs {
+ margin-bottom: 1em;
+ padding: 2em 1em 0em;
+ opacity: 0.4;
+}
+
+#dokuwiki__content div.download {
+ /* margin-bottom: 1em; */
+ padding: 0.6em 1em 0em;
+ opacity: 0.6;
+}
+
+
+#dokuwiki__content div.page a:link, a:visited {
+ color: #A00;
+}
+
+h1#sitetitle:hover {
+ text-shadow: 0px 0px 5px #ccc;
+}
+
+#dokuwiki__footer div.doc {
+ margin-bottom: 1em;
+ text-align: center;
+ font-size: 80%;
+ color: #5a5a5a;
+}
+
+.dokuwiki form.bureaucracy__plugin fieldset {
+ width: 100%;
+}
+
+.dokuwiki form.bureaucracy__plugin label input[type=checkbox] {
+ width: 5%;
+ margin-right: 45%;
+ vertical-align: -webkit-baseline-middle;
+}
+
+.dokuwiki form.bureaucracy__plugin label>span {
+ vertical-align: middle;
+ padding-right: 5px;
+}
+
+.dokuwiki form.bureaucracy__plugin {
+ margin: 0;
+}
+
+.dokuwiki div.bureaucracy__plugin {
+ width: 100%;
+ font-size: 100%;
+ padding: 0em;
+ border-radius: 3px;
+ animation: highlight 10000ms ease-in;
+}
+
+.dokuwiki div.bureaucracy__plugin:target {
+
+}
+@keyframes highlight {
+ 0% {
+ background-color: white;
+ }
+ 50% {
+ background-color: yellow;
+ }
+ 100% {
+ background-color: white;
+ }
+}
+
+
+input[type=text], textarea {
+ -webkit-transition: all 0.30s ease-in-out;
+ -moz-transition: all 0.30s ease-in-out;
+ -ms-transition: all 0.30s ease-in-out;
+ -o-transition: all 0.30s ease-in-out;
+ outline: none;
+ padding: 3px 0px 3px 3px;
+ margin: 5px 1px 3px 0px;
+ border: 1px solid #DDDDDD;
+}
+
+input[type=text]:focus, textarea:focus {
+ box-shadow: 0 0 5px rgba(81, 203, 238, 1);
+ padding: 3px 0px 3px 3px;
+ margin: 5px 1px 3px 0px;
+ border: 1px solid rgba(81, 203, 238, 1);
+}
+
+.anchorjs-link{
+color: #c5c5c5 !important;
+ transition: all .25s linear;
+}
+p a.anchorjs-link:hover {
+ margin-left: -1.125em !important;
+color: red !important;
+text-decoration:none !important;
+}
+
+h2 a.anchorjs-link, h3 a.anchorjs-link, h4 a.anchorjs-link, h5 a.anchorjs-link, li a.anchorjs-link {
+ margin-left: -1.8em !important;
+}
+
+h2 a.anchorjs-link:hover, h3 a.anchorjs-link:hover, h4 a.anchorjs-link:hover, h5 a.anchorjs-link:hover {
+ margin-left: -1.9em !important;
+color: red !important;
+text-decoration:none !important;
+}
+
+.dw__toc .anchorjs-link {
+ display: none;
+}
+
+#dokuwiki__content {
+ counter-reset: paragraph;
+}
+
+.page p a.anchorjs-link:before {
+ position: absolute;
+ right: 22px;
+ color: #c5c5c5;
+ content: counter(paragraph);
+ counter-increment: paragraph;
+ text-align: right;
+ font-size: 12pt;
+ top: 1px;
+}
+
+
+
+.numbered_heading .page {counter-reset: level1;}
+.numbered_heading #dw__toc:before,
+.numbered_heading #dw__toc:after {counter-reset: level1; content: "";}
+.numbered_heading #dw__toc h3:before{content: ""}
+
+.numbered_heading ul.toc li.level1 {counter-reset: level2;}
+.numbered_heading ul.toc li.level2 {counter-reset: level3;}
+.numbered_heading ul.toc li.level3 {counter-reset: level4;}
+.numbered_heading ul.toc li.level4 {counter-reset: level5;}
+.numbered_heading ul.toc li.level5 {}
+
+.numbered_heading ul.toc li.level1 a:before {
+ content: counter(level1) ". ";
+ counter-increment: level1;
+}
+
+.numbered_heading ul.toc li.level1:first-child a:before {
+ /* content: none; */
+}
+
+.numbered_heading ul.toc li.level2 a:before {
+ content: counter(level1) "." counter(level2) ". ";
+ counter-increment: level2;
+}
+
+.numbered_heading ul.toc li.level3 a:before {
+ content: counter(level1) "." counter(level2) "." counter(level3) ". ";
+ counter-increment: level3;
+}
+
+.numbered_heading ul.toc li.level4 a:before {
+ content: counter(level1) "." counter(level2) "." counter(level3) "." counter(level4) ". ";
+ counter-increment: level4;
+}
+
+.numbered_heading ul.toc li.level5 a:before {
+ content: counter(level1) "." counter(level2) "." counter(level3) "." counter(level4) "." counter(level5) ". ";
+ counter-increment: level5;
+}
diff --git a/platform/www/lib/tpl/acervus/css/mobile.less b/platform/www/lib/tpl/acervus/css/mobile.less
new file mode 100644
index 0000000..79f5888
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/css/mobile.less
@@ -0,0 +1,136 @@
+@media only screen and (max-width: 760px) {
+
+/* admin */
+.dokuwiki div.ui-admin {
+ ul.admin_tasks,
+ ul.admin_plugins {
+ float: none;
+ width: 90%;
+ margin: 0;
+ }
+}
+// before "Frusterick Manners"
+.dokuwiki ul.admin_tasks {
+ float: none;
+ width: auto;
+ margin: 0;
+}
+
+/* config */
+#config__manager {
+ fieldset {
+ legend {
+ padding: 0;
+ }
+ td.label,
+ td.value {
+ display: block;
+ width: auto !important;
+ }
+ td.label {
+ padding: .2em .4em;
+ border: none;
+ }
+ td.value {
+ padding: .4em .4em 1.2em;
+ border: none;
+ background: @ini_background;
+ }
+ div.selection {
+ float: none;
+ width: auto;
+ margin-right: 0;
+ }
+ }
+}
+
+/* media manager */
+#mediamanager__page {
+ .panel {
+ float: none;
+ }
+ .namespaces {
+ width: auto;
+ }
+ .filelist {
+ width: auto;
+ min-width: 0;
+ ul {
+ margin: 0;
+ }
+ ul.rows li {
+ display: inline-block;
+ float: left;
+ width: 50%;
+ max-height: none !important;
+
+ dt,
+ dd {
+ float: none !important;
+ width: auto !important;
+ }
+ dt {
+ height: 60px;
+ }
+ dt a {
+ text-align: left;
+ vertical-align: top;
+ width: auto;
+ height: 60px;
+ padding: 0;
+ }
+ dt a img {
+ max-width: none;
+ max-height: 60px;
+ }
+ }
+ ul.rows li:nth-child(2n+1) {
+ background: none;
+ }
+ ul.rows li:hover {
+ background: @ini_background_alt;
+ }
+ }
+ .panelHeader {
+ margin-right: 0;
+ h3 {
+ float: none;
+ }
+ form.options {
+ float: none;
+ }
+ ul li.listType {
+ margin-left: -2px;
+ }
+ }
+ .panelContent {
+ margin: 0 0 20px 0;
+ }
+ .file {
+ width: auto;
+
+ }
+ .ui-resizable-e {
+ display: none !important;
+ }
+}
+
+} /* @media for 760px */
+
+
+@media only screen and (max-width: 480px) {
+ /* TOC */
+ #dw__toc {
+ display: block;
+ }
+
+ /* WRAP plugin */
+ .dokuwiki .wrap_left,
+ .dokuwiki .wrap_right,
+ .dokuwiki .wrap_center,
+ .dokuwiki .wrap_column {
+ float: inherit;
+ width: 100% !important;
+ margin: 0;
+ }
+} /* @media for 480px */
diff --git a/platform/www/lib/tpl/acervus/css/print.less b/platform/www/lib/tpl/acervus/css/print.less
new file mode 100644
index 0000000..6fe15d4
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/css/print.less
@@ -0,0 +1,94 @@
+/**
+ * This file provides the styles for printing.
+ */
+
+/* hide certain sections */
+audio,
+video,
+.sidebar,
+.breadcrumbs,
+#dokuwiki__header .left,
+#dokuwiki__header .right,
+#dokuwiki__header .search,
+#dw__toc span,
+#dokuwiki__footer .doc,
+#to_top {
+ display: none;
+}
+
+a:link,
+a:visited {
+ text-decoration: none;
+ border-bottom: 1pt dotted;
+ color: #333;
+ background-color: inherit;
+}
+
+#dokuwiki__header,
+#dw__toc {
+ a:link,
+ a:visited {
+ border: none;
+ }
+}
+
+/* code blocks */
+pre {
+ font-family: monospace;
+}
+dl.code dt,
+dl.file dt {
+ font-weight: bold;
+}
+
+/* images */
+img {
+ border-width: 0;
+ vertical-align: middle;
+}
+.medialeft {
+ margin-right: .6em;
+}
+.mediaright {
+ margin-left: .6em;
+}
+
+/* tables */
+table {
+ border-collapse: collapse;
+}
+th,
+td {
+ text-align: left;
+ border-bottom: 1px solid #999;
+}
+
+
+/*____________ a bit of layout ____________*/
+
+#dokuwiki__header {
+ border-bottom: 1pt solid #999;
+
+ h1 {
+ font-size: 1.5em;
+ }
+}
+
+#dokuwiki__footer {
+ border-top: 1pt solid #999;
+ div.license {
+ padding-top: .5em;
+ > a {
+ display: inline-block;
+ float: left;
+ margin: .2em .5em 0 0;
+ }
+ }
+}
+
+.dokuwiki div.footnotes {
+ clear: both;
+ border-top: 1pt solid #000;
+ margin-top: 10pt;
+ padding: 1em 0;
+}
diff --git a/platform/www/lib/tpl/acervus/css/responsive.css b/platform/www/lib/tpl/acervus/css/responsive.css
new file mode 100644
index 0000000..ecb8db4
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/css/responsive.css
@@ -0,0 +1,13 @@
+h1#sitetitle-short p, h1#sitetitle p {margin: 0;}
+
+@media (min-width: 768px) {
+ h1#sitetitle-short {display:none;}
+ h1#sitetitle {display:inline-block;}
+
+}
+
+@media (max-width: 768px) {
+ h1#sitetitle-short {display:inline-block;}
+ h1#sitetitle {display:none;}
+
+}
diff --git a/platform/www/lib/tpl/acervus/css/structure.less b/platform/www/lib/tpl/acervus/css/structure.less
new file mode 100644
index 0000000..9b8dab4
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/css/structure.less
@@ -0,0 +1,64 @@
+/* header */
+#dokuwiki__header {
+ position: fixed;
+ z-index: 102;
+ top: 0;
+ width: 100%;
+ max-height: 40px;
+
+ h1 {
+ display: inline-block;
+ width: 50%;
+ text-align: center;
+ }
+ div.left {
+ width: 25%;
+ float: left;
+ /* trick for keep width when aside is deactivated */
+ min-height: 1px;
+ }
+ div.right {
+ width: 25%;
+ float: right;
+ text-align: right;
+ }
+ div.search {
+ float: right;
+ }
+}
+
+/* nav */
+.sidebar {
+ position: fixed;
+ z-index: 104;
+ width: @ini_sidebar_width;
+ max-width: 66%;
+ height: 100%;
+}
+
+#dokuwiki__aside {
+ left: 0;
+}
+#dokuwiki__tools {
+ right: 0;
+}
+#sidebar_bg {
+ position: fixed;
+ z-index: 103;
+ width: 100%;
+ height: 100%;
+}
+#to_top {
+ position: fixed;
+ z-index: 101;
+ right: 10px;
+ bottom: 10px;
+}
+
+/* content */
+.wrapper {
+ margin: 0 auto;
+ max-width: @ini_body_width;
+}
+
+/* footer */
diff --git a/platform/www/lib/tpl/acervus/detail.php b/platform/www/lib/tpl/acervus/detail.php
new file mode 100644
index 0000000..e1b4900
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/detail.php
@@ -0,0 +1,93 @@
+<?php
+/**
+ * DokuWiki Image Detail Page
+ *
+ * @author Andreas Gohr <andi@splitbrain.org>
+ * @author Anika Henke <anika@selfthinker.org>
+ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ */
+
+// must be run from within DokuWiki
+if (!defined('DOKU_INC')) die();
+@require_once(dirname(__FILE__).'/tpl_functions.php');
+header('X-UA-Compatible: IE=edge,chrome=1');
+
+?><!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
+ lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
+<head>
+ <meta charset="UTF-8" />
+ <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 id="dokuwiki__detail" class="<?php echo tpl_classes(); ?>">
+ <?php html_msgarea() ?>
+
+ <?php if($ERROR): print $ERROR; ?>
+ <?php else: ?>
+
+ <?php if($REV) echo p_locale_xhtml('showrev');?>
+ <h1><?php echo hsc(tpl_img_getTag('IPTC.Headline', $IMG))?></h1>
+
+ <div class="content group">
+ <?php tpl_img(900, 700); ?>
+
+ <div class="img_detail">
+ <h2><?php print nl2br(hsc(tpl_img_getTag('simple.title'))); ?></h2>
+
+ <?php if(function_exists('tpl_img_meta')): ?>
+ <?php tpl_img_meta(); ?>
+ <?php else: /* deprecated since Release 2014-05-05 */ ?>
+ <dl>
+ <?php
+ $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>
+ <?php endif; ?>
+ <?php //Comment in for Debug// dbg(tpl_img_getTag('Simple.Raw')); ?>
+ </div>
+ </div><!-- /.content -->
+
+ <p class="back">
+ <?php tpl_action('mediaManager', 1) ?><br />
+ &larr; <?php tpl_action('img_backto', 1) ?>
+ </p>
+
+ <?php endif; ?>
+ </div>
+</body>
+</html>
diff --git a/platform/www/lib/tpl/acervus/images/apple-touch-icon.png b/platform/www/lib/tpl/acervus/images/apple-touch-icon.png
new file mode 100644
index 0000000..73d2601
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/images/apple-touch-icon.png
Binary files differ
diff --git a/platform/www/lib/tpl/acervus/images/bg.png b/platform/www/lib/tpl/acervus/images/bg.png
new file mode 100644
index 0000000..007b812
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/images/bg.png
Binary files differ
diff --git a/platform/www/lib/tpl/acervus/images/bg2.png b/platform/www/lib/tpl/acervus/images/bg2.png
new file mode 100644
index 0000000..4b1f61e
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/images/bg2.png
Binary files differ
diff --git a/platform/www/lib/tpl/acervus/images/bg3.png b/platform/www/lib/tpl/acervus/images/bg3.png
new file mode 100644
index 0000000..1ea6e1e
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/images/bg3.png
Binary files differ
diff --git a/platform/www/lib/tpl/acervus/images/favicon.ico b/platform/www/lib/tpl/acervus/images/favicon.ico
new file mode 100644
index 0000000..ecbf22f
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/images/favicon.ico
Binary files differ
diff --git a/platform/www/lib/tpl/acervus/images/ipari-simpleline.png b/platform/www/lib/tpl/acervus/images/ipari-simpleline.png
new file mode 100644
index 0000000..e48025e
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/images/ipari-simpleline.png
Binary files differ
diff --git a/platform/www/lib/tpl/acervus/images/top.png b/platform/www/lib/tpl/acervus/images/top.png
new file mode 100644
index 0000000..1d43e0c
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/images/top.png
Binary files differ
diff --git a/platform/www/lib/tpl/acervus/lang/de/lang.php b/platform/www/lib/tpl/acervus/lang/de/lang.php
new file mode 100644
index 0000000..7a8b91b
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/lang/de/lang.php
@@ -0,0 +1,15 @@
+<?php
+
+/**
+ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ *
+ * @author LarsDW223
+ */
+$lang['__link__'] = 'Allgemeine Linkfarbe';
+$lang['__existing__'] = 'Farbe für Links zu existierenden Seiten';
+$lang['__missing__'] = 'Farbe für Links zu nicht-existierenden Seiten';
+$lang['__numbered_heading__'] = 'Farbe für nummerierte Überschriften';
+$lang['__font_size__'] = 'Globale Schriftgröße (%, px, pt)';
+$lang['__line_height__'] = 'Globale Zeilenhöhe (x.x, %)';
+$lang['__body_width__'] = 'Breite der Seite (%, px, em, ...)';
+$lang['__sidebar_width__'] = 'Breite der Sidebar, falls vorhanden (%, px, em, ...)';
diff --git a/platform/www/lib/tpl/acervus/lang/de/settings.php b/platform/www/lib/tpl/acervus/lang/de/settings.php
new file mode 100644
index 0000000..671f49e
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/lang/de/settings.php
@@ -0,0 +1,6 @@
+<?php
+
+$lang['numberedHeading'] = 'Überschriften nummerieren';
+$lang['tocPosition'] = 'Position des Inhaltsverzeichnisses';
+$lang['tocPosition_o_dokuwiki'] = 'DokuWiki';
+$lang['tocPosition_o_wikipedia'] = 'Wikipedia';
diff --git a/platform/www/lib/tpl/acervus/lang/de/style.txt b/platform/www/lib/tpl/acervus/lang/de/style.txt
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/lang/de/style.txt
@@ -0,0 +1 @@
+
diff --git a/platform/www/lib/tpl/acervus/lang/en/lang.php b/platform/www/lib/tpl/acervus/lang/en/lang.php
new file mode 100644
index 0000000..1583452
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/lang/en/lang.php
@@ -0,0 +1,13 @@
+<?php
+
+// style.ini values
+
+$lang['download'] = 'Download';
+$lang['__link__'] = 'The general link color';
+$lang['__existing__'] = 'The color for links to existing pages';
+$lang['__missing__'] = 'The color for links to non-existing pages';
+$lang['__numbered_heading__'] = 'The color for numbered heading';
+$lang['__font_size__'] = 'The global font size (%, px, pt)';
+$lang['__line_height__'] = 'The global line height (x.x, %)';
+$lang['__body_width__'] = 'The width of the body (%, px, em, ...)';
+$lang['__sidebar_width__'] = 'The width of the sidebar, if any (%, px, em, ...)';
diff --git a/platform/www/lib/tpl/acervus/lang/en/settings.php b/platform/www/lib/tpl/acervus/lang/en/settings.php
new file mode 100644
index 0000000..18fa82c
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/lang/en/settings.php
@@ -0,0 +1,7 @@
+<?php
+
+$lang['numberedHeading'] = 'Numbering headings';
+$lang['tocPosition'] = 'Position of TOC';
+$lang['tocPosition_o_dokuwiki'] = 'DokuWiki';
+$lang['tocPosition_o_wikipedia'] = 'Wikipedia';
+$lang['footer'] = 'Footer page name, empty field disables the footer';
diff --git a/platform/www/lib/tpl/acervus/lang/en/style.txt b/platform/www/lib/tpl/acervus/lang/en/style.txt
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/lang/en/style.txt
@@ -0,0 +1 @@
+
diff --git a/platform/www/lib/tpl/acervus/lang/es/lang.php b/platform/www/lib/tpl/acervus/lang/es/lang.php
new file mode 100644
index 0000000..c0e1f6f
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/lang/es/lang.php
@@ -0,0 +1,5 @@
+<?php
+
+// style.ini values
+
+$lang['download'] = 'Descargar';
diff --git a/platform/www/lib/tpl/acervus/lang/ko/lang.php b/platform/www/lib/tpl/acervus/lang/ko/lang.php
new file mode 100644
index 0000000..09e149a
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/lang/ko/lang.php
@@ -0,0 +1,15 @@
+<?php
+
+/**
+ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ *
+ * @author Myeongjin <aranet100@gmail.com>
+ */
+$lang['__link__'] = '일반 링크 색';
+$lang['__existing__'] = '문서가 존재하는 링크의 색';
+$lang['__missing__'] = '문서가 존재하지 않는 링크의 색';
+$lang['__numbered_heading__'] = '제목 번호 색';
+$lang['__font_size__'] = '전체 사이트 글자 크기 (%, px, pt)';
+$lang['__line_height__'] = '전체 사이트 줄 간격 (x.x, %)';
+$lang['__body_width__'] = '본문 너비 (%, px, em, ...)';
+$lang['__sidebar_width__'] = '사이드바가 있다면, 그것의 너비 (%, px, em, ...)';
diff --git a/platform/www/lib/tpl/acervus/lang/ko/settings.php b/platform/www/lib/tpl/acervus/lang/ko/settings.php
new file mode 100644
index 0000000..089d158
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/lang/ko/settings.php
@@ -0,0 +1,7 @@
+<?php
+
+$lang['numberedHeading'] = '제목 수준에 번호를 붙힙니다.';
+$lang['tocPosition'] = '목차의 위치';
+$lang['tocPosition_o_dokuwiki'] = '도쿠위키 기본';
+$lang['tocPosition_o_wikipedia'] = '위키백과 스타일';
+$lang['footer'] = '바닥글 문서 이름, 필드를 비우면 바닥글 비활성화';
diff --git a/platform/www/lib/tpl/acervus/lang/ko/style.txt b/platform/www/lib/tpl/acervus/lang/ko/style.txt
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/lang/ko/style.txt
@@ -0,0 +1 @@
+
diff --git a/platform/www/lib/tpl/acervus/lang/ru/lang.php b/platform/www/lib/tpl/acervus/lang/ru/lang.php
new file mode 100644
index 0000000..2cec63d
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/lang/ru/lang.php
@@ -0,0 +1,12 @@
+<?php
+
+// style.ini values
+
+$lang['__link__'] = 'Основной цвет ссылок';
+$lang['__existing__'] = 'Цвет ссылок на существующие страницы';
+$lang['__missing__'] = 'Цвет ссылок на не существующие страницы';
+$lang['__numbered_heading__'] = 'Цвет для нумерованного заголовка';
+$lang['__font_size__'] = 'Основной размер шрифта (%, px, pt)';
+$lang['__line_height__'] = 'Основная высота строки (x.x, %)';
+$lang['__body_width__'] = 'Ширина страницы (%, px, em, ...)';
+$lang['__sidebar_width__'] = 'Ширина боковой панели, если она есть (%, px, em, ...)';
diff --git a/platform/www/lib/tpl/acervus/lang/ru/settings.php b/platform/www/lib/tpl/acervus/lang/ru/settings.php
new file mode 100644
index 0000000..0be18f8
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/lang/ru/settings.php
@@ -0,0 +1,3 @@
+<?php
+
+$lang['numberedHeading'] = 'Нумерация заголовков';
diff --git a/platform/www/lib/tpl/acervus/lang/ru/style.txt b/platform/www/lib/tpl/acervus/lang/ru/style.txt
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/lang/ru/style.txt
@@ -0,0 +1 @@
+
diff --git a/platform/www/lib/tpl/acervus/main.php b/platform/www/lib/tpl/acervus/main.php
new file mode 100644
index 0000000..c4dfd1c
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/main.php
@@ -0,0 +1,265 @@
+<?php
+/**
+ * DokuWiki Starter Template
+ *
+ * @link http://dokuwiki.org/template:ipari
+ * @author Kwangyoung Lee <ipari@leaflette.com>
+ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ */
+
+if (!defined('DOKU_INC')) die();
+@require_once(dirname(__FILE__).'/tpl_functions.php');
+header('X-UA-Compatible: IE=edge,chrome=1');
+$showSidebar = page_findnearest($conf['sidebar']);
+?>
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>"
+ lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
+<head>
+ <meta charset="UTF-8" />
+ <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') ?>
+
+<script src="https://cdn.jsdelivr.net/npm/anchor-js/anchor.min.js"></script>
+<!-- <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap" rel="stylesheet"> -->
+
+<link rel="preconnect" href="https://fonts.googleapis.com">
+<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+<link href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap" rel="stylesheet">
+
+<?php
+$translation = plugin_load('helper','translation');
+global $ID;
+$startpage = $conf['start'];
+$lang2 = $translation->getLangPart($ID);
+if ($lang2 != '') {
+ $startpage = $lang2 .':'.$startpage;
+}
+?>
+
+</head>
+
+<body id="dokuwiki__top">
+ <div id="dokuwiki__site" class="<?php echo tpl_classes(); ?> <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>">
+ <?php html_msgarea() ?>
+ <?php tpl_includeFile('header.html') ?>
+
+ <!-- ********** HEADER ********** -->
+ <div id="dokuwiki__header">
+ <div class="group">
+ <!-- <h1 id="sitetitle"><?php tpl_link('/'.$startpage,$title_text,'accesskey="h" title="[H]"') ?></h1> -->
+ <h1><?php tpl_link('/'.$startpage,$conf['title'],'accesskey="h" title="[H]"') ?></h1>
+ <div class="left">
+ <?php if ($showSidebar): ?>
+ <button class="btn_left" accesskey="s", title="[S]">Nav</button>
+ <?php endif; ?>
+ </div>
+ <div class="right">
+ <button class="btn_search">Search</button>
+ <button class="btn_right" accesskey="m", title="[M]">Edit</button>
+ </div>
+ </div>
+ <div class="search">
+ <?php tpl_searchform(); ?>
+ </div>
+
+
+ </div><!-- /header -->
+
+ <!-- ********** sidebar ********** -->
+ <div id="sidebar_wrapper">
+ <!-- ********** ASIDE ********** -->
+ <?php if ($showSidebar): ?>
+ <div id="dokuwiki__aside" class="sidebar">
+ <?php tpl_includeFile('sidebarheader.html') ?>
+ <?php tpl_include_page($conf['sidebar'], 1, 1) ?>
+ <?php tpl_includeFile('sidebarfooter.html') ?>
+ </div><!-- /dokuwiki__aside -->
+ <?php endif; ?>
+
+ <div id="dokuwiki__tools" class="sidebar left">
+ <!-- PAGE TOOLS -->
+ <div id="dokuwiki__pagetools">
+ <h3><?php echo $lang['page_tools'] ?></h3>
+ <ul>
+ <?php white_toolsevent('pagetools', array(
+ 'edit' => tpl_action('edit', 1, 'li', 1, '<span>', '</span>'),
+ 'revisions' => tpl_action('revisions', 1, 'li', 1, '<span>', '</span>'),
+ 'backlink' => tpl_action('backlink', 1, 'li', 1, '<span>', '</span>'),
+ 'subscribe' => tpl_action('subscribe', 1, 'li', 1, '<span>', '</span>'),
+ 'revert' => tpl_action('revert', 1, 'li', 1, '<span>', '</span>'),
+ )); ?>
+ </ul>
+ </div><!-- /dokuwiki__pagetools -->
+
+ <!-- SITE TOOLS -->
+ <div id="dokuwiki__sitetools">
+ <h3><?php echo $lang['site_tools'] ?></h3>
+ <ul>
+ <?php white_toolsevent('sitetools', array(
+ 'recent' => tpl_action('recent', 1, 'li', 1, '<span>', '</span>'),
+ 'media' => tpl_action('media', 1, 'li', 1, '<span>', '</span>'),
+ 'index' => tpl_action('index', 1, 'li', 1, '<span>', '</span>'),
+ )); ?>
+ </ul>
+ </div><!-- /dokuwiki__sitetools -->
+
+ <!-- USER TOOLS -->
+ <?php if ($conf['useacl']): ?>
+ <div id="dokuwiki__usertools">
+ <h3><?php echo $lang['user_tools'] ?></h3>
+ <ul>
+ <?php white_toolsevent('usertools', array(
+ 'admin' => tpl_action('admin', 1, 'li', 1, '<span>', '</span>'),
+ 'profile' => tpl_action('profile', 1, 'li', 1, '<span>', '</span>'),
+ 'register' => tpl_action('register', 1, 'li', 1, '<span>', '</span>'),
+ 'login' => tpl_action('login', 1, 'li', 1, '<span>', '</span>'),
+ )); ?>
+ </ul>
+ <?php
+ if (!empty($_SERVER['REMOTE_USER'])) {
+ echo '<div class="user">';
+ tpl_userinfo();
+ echo '</div>';
+ }
+ ?>
+ </div><!-- /dokuwiki__usertools -->
+ <?php endif ?>
+ </div><!-- /dokuwiki__tools -->
+
+ <div id="sidebar_bg">
+ </div>
+
+ <div id="to_top">
+ <?php tpl_action('top') ?>
+ </div>
+ </div><!-- /sidebar_wrapper -->
+
+ <div class="wrapper group">
+ <!-- ********** CONTENT ********** -->
+ <div id="dokuwiki__content"><div class="group">
+ <?php tpl_flush() ?>
+ <?php tpl_includeFile('pageheader.html') ?>
+
+ <!-- BREADCRUMBS -->
+ <?php if($conf['breadcrumbs']){ ?>
+ <div class="breadcrumbs"><?php tpl_breadcrumbs($ret='›') ?></div>
+ <?php } ?>
+ <?php if($conf['youarehere']){ ?>
+ <div class="breadcrumbs"><?php tpl_youarehere() ?></div>
+ <?php } ?>
+
+ <?php
+ $filepath = $INFO['filepath'];
+ $file_markdown = $filepath;
+ $file_pdf = str_replace('.txt','.pdf',$filepath);
+ $file_epub = str_replace('.txt','.epub',$filepath);
+
+ if (file_exists($file_pdf)) {
+ $file_pdf_url = str_replace('/srv/acerv.us/platform/www','',$file_pdf);
+ $download_link .= '<a href="'. $file_pdf_url .'">pdf</a> | ';
+ }
+
+ if (file_exists($file_epub)) {
+ $file_epub_url = str_replace('/srv/acerv.us/platform/www','',$file_epub);
+ $download_link .= '<a href="'. $file_epub_url .'">epub</a> | ';
+ }
+
+ if ($download_link) {
+ $file_markdown_url = str_replace('/srv/acerv.us/platform','',$file_markdown);
+ echo '<div class="download">' . tpl_getLang('download') . ': ' . $download_link . '</div>';
+ $download_link .= '<a href="'. $file_markdown_url .'">markdown</a>';
+ }
+
+
+ ?>
+
+
+ <div class="page group
+ <?php if(tpl_getConf('numberedHeading')): ?> numbered_heading<?php endif ?>
+ <?php if(tpl_getConf('tocPosition')): ?> toc_<?php echo tpl_getConf('tocPosition') ?><?php endif ?>
+ ">
+ <!-- wikipage start -->
+ <?php tpl_content() ?>
+ <!-- wikipage stop -->
+ </div>
+
+ <?php tpl_flush() ?>
+ <?php tpl_includeFile('pagefooter.html') ?>
+ </div></div><!-- /content -->
+
+ <!-- ********** FOOTER ********** -->
+ <div id="dokuwiki__footer">
+ <?php if($INFO['exists']): ?>
+ <div class="doc"><?php white_pageinfo() ?></div>
+ <?php endif ?>
+ <?php tpl_includeFile('sidebarfooter.html') ?>
+ <?php tpl_license('badge', false, false) ?>
+ <div class="footer">
+ <?php tpl_include_page(tpl_getConf('footer'), 1, 1) ?>
+ </div>
+
+ <center><?php
+ if ($translation) echo $translation->showTranslations();
+ ?></center>
+ </div><!-- /footer -->
+
+ <?php tpl_includeFile('footer.html') ?>
+ </div><!-- /wrapper -->
+
+ </div><!-- /site -->
+
+ <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div>
+
+<script>
+
+function getAnchor() {
+ // alert(decodeURI(document.URL));
+ return (decodeURI(document.URL).split('#').length > 1) ? decodeURI(document.URL).split('#')[1] : null;
+}
+
+if (document.URL.toLowerCase().indexOf("index") === -1) { // not show on index
+ if (document.URL.includes(':en') ||
+ document.URL.includes(':es') ||
+ document.URL.includes(':fr') ||
+ document.URL.includes(':script') ||
+ document.URL.includes(':article')
+ ) { // only shows number of paragraph in books, articles and scripts pages
+ anchors.options = {
+ placement: 'left',
+ visible: 'always',
+ icon: '¶'
+ };
+ //anchors.add('');
+ anchors.add('#dokuwiki__content p');
+ anchors.add('#dokuwiki__content li');
+ anchors.add('#dokuwiki__content tr');
+
+ // highlight referenced paragraph
+ anchor = getAnchor();
+ if (anchor !== null) {
+ var anchor_element = document.getElementById(anchor);
+ anchor_element.style.backgroundColor = "#ffff0033";
+ (function($) {
+ $([document.documentElement, document.body]).animate({
+ scrollTop: $("#" + anchor).offset().top-50
+ }, 2000);
+ })(jQuery);
+
+
+ }
+
+ }
+
+}
+
+
+</script>
+
+
+</body>
+</html>
diff --git a/platform/www/lib/tpl/acervus/manager.dat b/platform/www/lib/tpl/acervus/manager.dat
new file mode 100644
index 0000000..7a94e4b
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/manager.dat
@@ -0,0 +1,2 @@
+downloadurl=https://github.com/ipari/dokuwiki-template-white/zipball/master
+installed=Thu, 07 Jun 2018 20:52:40 -0400
diff --git a/platform/www/lib/tpl/acervus/mediamanager.php b/platform/www/lib/tpl/acervus/mediamanager.php
new file mode 100644
index 0000000..d6faf42
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/mediamanager.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * DokuWiki Media Manager Popup
+ *
+ * @author Andreas Gohr <andi@splitbrain.org>
+ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ */
+// must be run from within DokuWiki
+if (!defined('DOKU_INC')) die();
+@require_once(dirname(__FILE__).'/tpl_functions.php');
+header('X-UA-Compatible: IE=edge,chrome=1');
+
+?><!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
+ lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup no-js">
+<head>
+ <meta charset="UTF-8" />
+ <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>
+ <div id="media__manager" class="<?php echo tpl_classes(); ?>">
+ <?php html_msgarea() ?>
+ <div id="mediamgr__aside"><div class="group">
+ <h1><?php echo hsc($lang['mediaselect'])?></h1>
+
+ <?php /* keep the id! additional elements are inserted via JS here */?>
+ <div id="media__opts"></div>
+
+ <?php tpl_mediaTree() ?>
+ </div></div>
+
+ <div id="mediamgr__content"><div class="group">
+ <?php tpl_mediaContent() ?>
+ </div></div>
+ </div>
+</body>
+</html>
diff --git a/platform/www/lib/tpl/acervus/script.js b/platform/www/lib/tpl/acervus/script.js
new file mode 100644
index 0000000..503b135
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/script.js
@@ -0,0 +1,81 @@
+(function($) {
+ var fadeOption = {duration: 150};
+
+ function toggleLeft() {
+ $('#sidebar_bg').show('fade', fadeOption);
+ $('#dokuwiki__aside').show();
+ }
+
+ function toggleRight() {
+ $('#sidebar_bg').show('fade', fadeOption);
+ $('#dokuwiki__tools').show();
+ }
+
+ function preventParentWheel(e) {
+ var curScrollPos = $(this).scrollTop();
+ var scrollableDist = $(this).prop('scrollHeight') - $(this).outerHeight();
+ var wheelEvent = e.originalEvent;
+ var dY = wheelEvent.deltaY;
+
+ if (dY < 0 && curScrollPos <= 0) {
+ return false;
+ }
+ if (dY > 0 && curScrollPos >= scrollableDist) {
+ return false;
+ }
+ }
+
+ function showSearch() {
+ $('div.search').toggle();
+ $('div.search').find('input.edit').select();
+ }
+
+ function bindEvents() {
+ $('.sidebar').on('wheel scroll', preventParentWheel);
+ $('.btn_left').click(function() {
+ toggleLeft();
+ });
+ $('.btn_right').click(function() {
+ toggleRight();
+ });
+ $('#sidebar_bg').click(function() {
+ $(this).hide('fade', fadeOption);
+ $('#dokuwiki__aside').hide();
+ $('#dokuwiki__tools').hide();
+ });
+ $('.btn_search').click(function() {
+ showSearch();
+ });
+ $(document).keydown(function(e) {
+ if (e.which == 70 && e.altKey) {
+ showSearch();
+ e.preventDefault();
+ }
+ });
+ }
+
+ function initUI() {
+ // Move TOC
+ if ($('.page h2').length > 0) {
+ $('.toc_wikipedia').find('#dw__toc').insertBefore($('.page h2:first'));
+ } else {
+ $('.toc_wikipedia').find('#dw__toc').insertAfter($('.page h1:first').next('.level1'));
+ }
+ if ($('.page > .level1 > blockquote').length > 0) {
+ $('.toc_dokuwiki').find('#dw__toc').insertAfter($('.page > .level1 > blockquote'));
+ } else {
+ $('.toc_dokuwiki').find('#dw__toc').insertAfter($('.page h1:first'));
+ }
+ // $('.toc_dokuwiki').find('blockquote:first').insertAfter($('.page h1:first'));
+
+ // Anchor link should be shifted by header pixel
+ $(window).on("hashchange", function () {
+ window.scrollTo(window.scrollX, window.scrollY - 48);
+ });
+ }
+
+ $(function() {
+ initUI();
+ bindEvents();
+ });
+})(jQuery);
diff --git a/platform/www/lib/tpl/acervus/style.ini b/platform/www/lib/tpl/acervus/style.ini
new file mode 100644
index 0000000..48e316d
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/style.ini
@@ -0,0 +1,86 @@
+; 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 local conf/tpl/<template-folder-name>/style.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 all are supported.
+; You can reference CSS and LESS files here. Files referenced here will
+; be checked for updates when considering a cache rebuild while files
+; included through LESS' @import statements are not
+
+[stylesheets]
+
+../dokuwiki/css/_imgdetail.css = screen
+../dokuwiki/css/_media_popup.css = screen
+../dokuwiki/css/_media_fullscreen.css = screen
+../dokuwiki/css/_fileuploader.css = screen
+../dokuwiki/css/_tabs.css = screen
+../dokuwiki/css/_links.css = screen
+../dokuwiki/css/_toc.css = screen
+../dokuwiki/css/_footnotes.css = screen
+../dokuwiki/css/_search.less = screen
+../dokuwiki/css/_recent.css = screen
+../dokuwiki/css/_diff.css = screen
+../dokuwiki/css/_edit.css = screen
+../dokuwiki/css/_modal.css = screen
+../dokuwiki/css/_forms.css = screen
+../dokuwiki/css/_admin.less = screen
+
+css/basic.less = screen
+css/structure.less = screen
+css/design.less = screen
+css/content.less = screen
+css/responsive.css = screen
+css/hacks.css = screen
+
+css/mobile.less = all
+css/print.less = 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.
+; Placeholders defined here will also be made available as LESS variables
+; (with surrounding underscores removed, and the prefix @ini_ added)
+
+[replacements]
+
+;--------------------------------------------------------------------------
+;------ guaranteed dokuwiki color placeholders that every plugin can use
+
+; main text and background colors
+__text__ = "#333" ; @ini_text
+__background__ = "#fff" ; @ini_background
+; alternative text and background colors
+__text_alt__ = "#999" ; @ini_text_alt
+__background_alt__ = "#f6f6f6" ; @ini_background_alt
+; neutral text and background colors
+__text_neu__ = "#666" ; @ini_text_neu
+__background_neu__ = "#ddd" ; @ini_background_neu
+; border color
+__border__ = "#ddd" ; @ini_border
+
+; highlighted text (e.g. search snippets)
+__highlight__ = "#ff9" ; @ini_highlight
+
+; these are used for links
+__link__ = "#AA0000" ; @ini_link
+__existing__ = "#800000" ; @ini_existing
+__missing__ = "#858585" ; @ini_missing
+
+__numbered_heading__ = "#ff00cc" ; @ini_numbered_heading
+
+;--------------------------------------------------------------------------
+; fonts
+__font_size__ = "13pt" ; @ini_font_size
+__line_height__ = "1.6" ; @ini_line_height
+
+; widths
+__body_width__ = "56em" ; @ini_body_width
+__sidebar_width__ = "16em" ; @ini_sidebar_width
diff --git a/platform/www/lib/tpl/acervus/template.info.txt b/platform/www/lib/tpl/acervus/template.info.txt
new file mode 100644
index 0000000..7c68a3e
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/template.info.txt
@@ -0,0 +1,6 @@
+base acervus
+author Franco Augusto
+email franco@reevo.org
+date 2022
+name Illich theme
+desc Theme for Acervus platform. Simple, minimal and responsive template, based in 'White Template'
diff --git a/platform/www/lib/tpl/acervus/tpl_functions.php b/platform/www/lib/tpl/acervus/tpl_functions.php
new file mode 100644
index 0000000..ae82ea5
--- /dev/null
+++ b/platform/www/lib/tpl/acervus/tpl_functions.php
@@ -0,0 +1,91 @@
+<?php
+/**
+ * Template Functions
+ *
+ * This file provides template specific custom functions that are
+ * not provided by the DokuWiki core.
+ * It is common practice to start each function with an underscore
+ * to make sure it won't interfere with future core functions.
+ */
+
+// must be run from within DokuWiki
+if (!defined('DOKU_INC')) die();
+
+/**
+ * copied to core (available since Detritus)
+ */
+function white_toolsevent($toolsname, $items, $view='main') {
+ $data = array(
+ 'view' => $view,
+ 'items' => $items
+ );
+
+ $hook = 'TEMPLATE_'.strtoupper($toolsname).'_DISPLAY';
+ $evt = new Doku_Event($hook, $data);
+ if($evt->advise_before()){
+ $actions = array('export_pdf');
+ foreach($evt->data['items'] as $k => $html) {
+ if (in_array($k, $actions)) {
+ $html = str_replace(' '.$k, ' plugin_'.$k, $html);
+ }
+ echo $html;
+ }
+ }
+ $evt->advise_after();
+}
+
+function white_breadcrumbs() {
+ global $lang;
+ global $conf;
+
+ //check if enabled
+ if(!$conf['breadcrumbs']) return false;
+
+ $crumbs = breadcrumbs(); //setup crumb trace
+
+ $crumbs_sep = ' <span class="bcsep">'.$sep.'</span> ';
+
+ //render crumbs, highlight the last one
+ print '<h3>'.$lang['breadcrumb'].'</h3>';
+ $last = count($crumbs);
+ $i = 0;
+ print '<ul>';
+ foreach($crumbs as $id => $name) {
+ $i++;
+ print '<li>';
+ if($i == $last) print '<span class="curid">';
+ tpl_link(wl($id), hsc($name), 'class="breadcrumbs" title="'.$id.'"');
+ if($i == $last) print '</span>';
+ print '</li>';
+ }
+ print '</ul>';
+ return true;
+}
+
+function white_pageinfo($ret = false) {
+ global $conf;
+ global $lang;
+ global $INFO;
+ global $ID;
+
+ // return if we are not allowed to view the page
+ if(!auth_quickaclcheck($ID)) {
+ return false;
+ }
+ $date = dformat($INFO['lastmod']);
+
+ // print it
+ if($INFO['exists']) {
+ $out = '';
+ $out .= $lang['lastmod'];
+ $out .= ' ';
+ $out .= $date;
+ if($ret) {
+ return $out;
+ } else {
+ echo $out;
+ return true;
+ }
+ }
+ return false;
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/_admin.less b/platform/www/lib/tpl/dokuwiki/css/_admin.less
new file mode 100644
index 0000000..38ca4bc
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/_admin.less
@@ -0,0 +1,64 @@
+.dokuwiki div.ui-admin {
+
+ /* main task grouped in two columns */
+ ul.admin_tasks {
+ float: left;
+ width: 40%;
+ list-style-type: none;
+ font-size: 1.125em;
+ }
+ [dir=rtl] & ul.admin_tasks {
+ float: right;
+ }
+
+ /* general menu item styling */
+ ul {
+ padding: 0;
+ li {
+ margin: 0 0 1em 0;
+ font-weight: bold;
+ list-style-type: none;
+ white-space: nowrap;
+
+ a {
+ display: flex;
+ span {
+ display: inline-block;
+
+ &.icon {
+ width: 1.5em;
+ min-height: 1.5em;
+ margin: 0 0.5em;
+ vertical-align: top;
+
+ svg {
+ width: 1.5em;
+ height: 1.5em;
+ fill: @ini_link;
+ display: inline-block;
+ path {
+ fill: @ini_link;
+ }
+ }
+ }
+
+ &.prompt {
+ white-space: normal;
+ }
+ }
+ }
+ }
+ }
+
+ /* DokuWiki version */
+ #admin__version {
+ clear: left;
+ float: right;
+ color: @ini_text_neu;
+ background-color: inherit;
+ }
+ [dir=rtl] & #admin__version {
+ clear: right;
+ float: left;
+ }
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/_diff.css b/platform/www/lib/tpl/dokuwiki/css/_diff.css
new file mode 100644
index 0000000..bc56a37
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/_diff.css
@@ -0,0 +1,137 @@
+/**
+ * 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 @ini_border;
+ font-size: 110%;
+ 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;
+}
+.dokuwiki table.diff_sidebyside th {
+ width: 50%;
+}
+
+/* table body */
+.dokuwiki table.diff .diff-lineheader {
+ width: .7em;
+ text-align: right;
+}
+[dir=rtl] .dokuwiki table.diff .diff-lineheader {
+ text-align: left;
+}
+.dokuwiki table.diff .diff-lineheader,
+.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 options */
+
+.dokuwiki .diffoptions form {
+ float: left;
+}
+.dokuwiki .diffoptions p {
+ float: right;
+}
+
+/* diff nav */
+
+.dokuwiki table.diff_sidebyside td.diffnav {
+ padding-bottom: .7em;
+}
+.dokuwiki .diffnav a {
+ display: inline-block;
+ vertical-align: middle;
+}
+.dokuwiki .diffnav a span {
+ display: none;
+}
+
+.dokuwiki .diffnav a:hover,
+.dokuwiki .diffnav a:active,
+.dokuwiki .diffnav a:focus {
+ background-color: @ini_background_alt;
+ text-decoration: none;
+}
+
+.dokuwiki .diffnav a:before {
+ display: inline-block;
+ line-height: 1;
+ padding: .2em .4em;
+ border: 1px solid @ini_border;
+ border-radius: 2px;
+ color: @ini_text;
+}
+
+.dokuwiki .diffnav a.diffprevrev:before {
+ content: '\25C0'; /* left triangle */
+}
+.dokuwiki .diffnav a.diffnextrev:before,
+.dokuwiki .diffnav a.difflastrev:before {
+ content: '\25B6'; /* right triangle */
+}
+.dokuwiki .diffnav a.diffbothprevrev:before {
+ content: '\25C0\25C0';
+}
+.dokuwiki .diffnav a.diffbothnextrev:before {
+ content: '\25B6\25B6';
+}
+
+.dokuwiki .diffnav select {
+ width: 60%;
+ min-width: 9em;
+ height: 1.5em; /* height is necessary for longer options in Webkit */
+}
+
+.dokuwiki .diffnav select option[selected] {
+ font-weight: bold;
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/_edit.css b/platform/www/lib/tpl/dokuwiki/css/_edit.css
new file mode 100644
index 0000000..30926be
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/_edit.css
@@ -0,0 +1,141 @@
+/**
+ * This file provides styles for the edit view (?do=edit), preview
+ * and section edit buttons.
+ */
+
+/* edit view
+********************************************************************/
+
+.dokuwiki div.editBox {
+}
+
+/*____________ toolbar ____________*/
+
+.dokuwiki div.toolbar {
+ display: inline-block;
+ margin-bottom: .5em;
+}
+#draft__status {
+ float: right;
+ color: @ini_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 @ini_border;
+ background-color: @ini_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 {
+ 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 button {
+}
+
+/* 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: @ini_text;
+ background-color: #ffcccc;
+}
+
+/* preview
+********************************************************************/
+
+.dokuwiki div.preview {
+ border: dotted @ini_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 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 @ini_background_alt;
+ border-width: 0 .5em;
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/_fileuploader.css b/platform/www/lib/tpl/dokuwiki/css/_fileuploader.css
new file mode 100644
index 0000000..f300396
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/_fileuploader.css
@@ -0,0 +1,107 @@
+/**
+ * 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;
+}
+
+.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: @ini_background_neu;
+ color: @ini_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: @ini_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: @ini_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/platform/www/lib/tpl/dokuwiki/css/_footnotes.css b/platform/www/lib/tpl/dokuwiki/css/_footnotes.css
new file mode 100644
index 0000000..a57dfb9
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/_footnotes.css
@@ -0,0 +1,31 @@
+/**
+ * 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 @ini_border;
+ padding: .5em 0 0 0;
+ margin: 1em 0 0 0;
+ clear: both;
+}
+.dokuwiki div.footnotes div.fn {
+}
+.dokuwiki div.footnotes div.fn div.content {
+ display: inline;
+}
+.dokuwiki div.footnotes div.fn sup a.fn_bot {
+ font-weight: bold;
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/_forms.css b/platform/www/lib/tpl/dokuwiki/css/_forms.css
new file mode 100644
index 0000000..bf70fa2
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/_forms.css
@@ -0,0 +1,106 @@
+/* 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 @ini_border;
+ padding: 0.5em;
+ margin: auto;
+}
+
+
+.dokuwiki input.edit,
+.dokuwiki select.edit {
+ vertical-align: middle;
+}
+.dokuwiki select.edit {
+ padding: 0.1em 0;
+}
+
+
+.dokuwiki button {
+ vertical-align: middle;
+}
+/**
+ * Styles for auth forms
+ */
+#dw__login label[for="remember__me"] {
+ margin-left: 50%;
+ margin-bottom: 1.4em;
+}
+#dw__login fieldset,
+#dw__resendpwd fieldset,
+#dw__register fieldset {
+ padding-bottom: 0.7em;
+}
+#dw__profiledelete {
+ display: block;
+ margin-top: 2.8em;
+}
+
+/**
+ * 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/platform/www/lib/tpl/dokuwiki/css/_imgdetail.css b/platform/www/lib/tpl/dokuwiki/css/_imgdetail.css
new file mode 100644
index 0000000..a074000
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/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/platform/www/lib/tpl/dokuwiki/css/_links.css b/platform/www/lib/tpl/dokuwiki/css/_links.css
new file mode 100644
index 0000000..695f4b8
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/_links.css
@@ -0,0 +1,69 @@
+/**
+ * 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 {
+ border-bottom: 1px dashed;
+}
+.dokuwiki a.wikilink2:hover,
+.dokuwiki a.wikilink2:active,
+.dokuwiki a.wikilink2:focus {
+ border-bottom-width: 0;
+}
+
+/* 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;
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/_media_fullscreen.css b/platform/www/lib/tpl/dokuwiki/css/_media_fullscreen.css
new file mode 100644
index 0000000..9a00d4d
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/_media_fullscreen.css
@@ -0,0 +1,541 @@
+/**
+ * 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;
+}
+[dir=rtl] #mediamanager__page {
+ text-align: right;
+}
+#mediamanager__page .panel {
+ float: left;
+}
+[dir=rtl] #mediamanager__page .panel {
+ float: right;
+}
+
+#mediamanager__page .namespaces {
+ width: 20%;
+ min-width: 10em; /* @change */
+ left:0 !important; /* overrules jQuery UI resizable in rtl */
+}
+#mediamanager__page .filelist {
+ width: 50%;
+ min-width: 25em; /* @change */
+ left:0 !important; /* overrules jQuery UI resizable in rtl */
+}
+#mediamanager__page .file {
+ width: 30%;
+ min-width: 15em; /* @change */
+}
+
+#mediamanager__page .tabs li {
+ white-space: nowrap;
+}
+
+#mediamanager__page .panelHeader {
+ background-color: @ini_background_alt;
+ margin: 0 10px 10px 0;
+ padding: 10px 10px 8px;
+ text-align: left;
+ min-height: 20px;
+ overflow: hidden;
+}
+[dir=rtl] #mediamanager__page .panelHeader {
+ text-align: right;
+ margin: 0 0 10px 10px;
+}
+#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;
+ margin: 0 0 10px 10px;
+}
+
+#mediamanager__page .file .panelHeader,
+#mediamanager__page .file .panelContent {
+ margin-right: 0;
+}
+[dir=rtl] #mediamanager__page .file .panelHeader,
+[dir=rtl] #mediamanager__page .file .panelContent {
+ margin-left: 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: @ini_background_alt;
+}
+[dir=rtl] #mediamanager__page .ui-resizable-w {
+ width: 6px;
+ left: 2px;
+ background: transparent url(../../images/resizecol.png) center center no-repeat;
+}
+[dir=rtl] #mediamanager__page .ui-resizable-w:hover {
+ background-color: @ini_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;
+}
+[dir=rtl] #mediamanager__page .panelHeader h3 {
+ float : right
+}
+
+
+/*____________ 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: @ini_background_alt;
+ color: @ini_text;
+ border: 1px solid @ini_border;
+ border-bottom-color: @ini_background_alt;
+ line-height: 1.4em;
+ position: relative;
+ bottom: -1px;
+ z-index: 2;
+}
+[dir=rtl] #mediamanager__page .namespaces h2 {
+ margin: 0 .3em 0 0;
+ position: relative;
+ right: 10px;
+}
+#mediamanager__page .namespaces .panelHeader {
+ border-top: 1px solid @ini_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;
+}
+[dir=rtl] #mediamanager__page .panelHeader form.options {
+ float : left
+}
+#mediamanager__page .panelHeader ul {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+#mediamanager__page .panelHeader ul li {
+ color: @ini_text;
+ float: left;
+ line-height: 1;
+ padding-left: 3px;
+}
+[dir=rtl] #mediamanager__page .panelHeader ul li {
+ padding-right: 3px;
+ padding-left: 0;
+ float: right;
+}
+
+#mediamanager__page .panelHeader ul li.ui-controlgroup-horizontal {
+ padding-left: 30px;
+ margin: 0 0 0 5px;
+}
+#mediamanager__page .panelHeader ul li.listType {
+ background: url('../../images/icon-list.png') 3px 1px no-repeat;
+}
+#mediamanager__page .panelHeader ul li.sortBy {
+ background: url('../../images/icon-sort.png') 3px 1px no-repeat;
+}
+[dir=rtl] #mediamanager__page .panelHeader ul li.ui-controlgroup-horizontal {
+ padding-left: 0;
+ padding-right: 30px;
+ margin: 0 5px 0 0;
+ background-position: right 1px;
+}
+
+#mediamanager__page .panelHeader form.options .ui-controlgroup-horizontal label{
+ font-size: 90%;
+ margin-right: -0.4em;
+ 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 0 0 10px;
+}
+#mediamanager__page .filelist ul.rows {
+ margin: 0;
+}
+#mediamanager__page .filelist .panelContent ul li:hover {
+ background-color: @ini_background_alt;
+}
+
+#mediamanager__page .filelist li dt a {
+ vertical-align: middle;
+ display: table-cell;
+ overflow: hidden;
+}
+
+/* file list as thumbs */
+
+#mediamanager__page .filelist .thumbs li {
+ width: 100px;
+ min-height: 130px;
+ display: inline-block;
+ /* 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: @ini_background_neu;
+ color: @ini_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;
+}
+
+#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 0 3px 0;
+ background-color: @ini_background;
+ color: @ini_text;
+ overflow: hidden;
+}
+
+#mediamanager__page .filelist .rows li:nth-child(2n+1) {
+ background-color: @ini_background_neu;
+}
+
+#mediamanager__page .filelist .rows li dt {
+ float: left;
+ width: 10%;
+ height: 40px;
+ text-align: center;
+}
+[dir=rtl] #mediamanager__page .filelist .rows li dt {
+ float: right;
+}
+#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;
+}
+[dir=rtl] #mediamanager__page .filelist .rows li .name,
+[dir=rtl] #mediamanager__page .filelist .rows li .size,
+[dir=rtl] #mediamanager__page .filelist .rows li .filesize,
+[dir=rtl] #mediamanager__page .filelist .rows li .date {
+ float: right;
+ margin-left: 0;
+ margin-right: 1%;
+}
+
+#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: @ini_background_alt;
+}
+#mediamanager__page .file dl dd {
+ display: block;
+ background-color: @ini_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 button {
+ width: auto;
+}
+
+#mediamanager__page form.meta textarea.edit {
+ height: 6em;
+ width: 95%;
+ min-width: 95%;
+ max-width: 95%;
+}
+
+/* file revisions form */
+
+#mediamanager__page form.changes ul {
+ margin-left: 10px;
+ padding: 0;
+ list-style-type: none;
+}
+[dir=rtl] #mediamanager__page form.changes ul {
+ margin-left: 0;
+ margin-right: 10px;
+}
+
+#mediamanager__page form.changes ul li div.li div {
+ font-size: 90%;
+ color: @ini_text_neu;
+ padding-left: 18px;
+}
+[dir=rtl] #mediamanager__page form.changes ul li div.li div {
+ padding-left: 0;
+ padding-right: 18px;
+}
+#mediamanager__page form.changes 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: @ini_background;
+}
+[dir=rtl] #mediamanager__diff td,
+[dir=rtl] #mediamanager__diff th {
+ margin: 0 0 10px 5px;
+ text-align: right;
+}
+
+#mediamanager__diff th {
+ font-weight: normal;
+ background-color: @ini_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: @ini_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/platform/www/lib/tpl/dokuwiki/css/_media_popup.css b/platform/www/lib/tpl/dokuwiki/css/_media_popup.css
new file mode 100644
index 0000000..0be5c49
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/_media_popup.css
@@ -0,0 +1,208 @@
+/**
+ * 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 @ini_border;
+}
+[dir=rtl] #mediamgr__aside {
+ left: auto;
+ right: 0;
+ border-right-width: 0;
+ border-left: 1px solid @ini_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 @ini_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: @ini_background_alt;
+}
+#media__content .even {
+}
+/* highlight newly uploaded or edited file */
+#media__content #scroll__here {
+ border: 1px dashed @ini_border;
+}
+
+/* link which inserts media file */
+#media__content a.mediafile {
+ margin-right: 1.5em;
+ font-weight: bold;
+ cursor: pointer;
+}
+[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: @ini_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 button {
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/_modal.css b/platform/www/lib/tpl/dokuwiki/css/_modal.css
new file mode 100644
index 0000000..37f6483
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/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: @ini_background;
+ width: 293px;
+ height: 193px;
+ overflow: auto;
+ border: 1px solid @ini_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: @ini_background_neu;
+}
+
+#link__wiz_result div.selected {
+ background-color: @ini_background_alt;
+}
+
+#link__wiz_result span {
+ display: block;
+ color: @ini_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/platform/www/lib/tpl/dokuwiki/css/_recent.css b/platform/www/lib/tpl/dokuwiki/css/_recent.css
new file mode 100644
index 0000000..f1be15f
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/_recent.css
@@ -0,0 +1,75 @@
+/**
+ * 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 {
+}
+
+/*____________ size differences ____________*/
+
+.dokuwiki form.changes li .sizechange {
+ font-size: 80%;
+ border-radius: .2em;
+ padding: .1em .2em;
+ /* cannot use non-guaranteed style.ini colour placeholders, dark templates need to overwrite */
+ background-color: #ddd;
+}
+
+.dokuwiki form.changes li .sizechange.positive {
+ background-color: #cfc;;
+}
+.dokuwiki form.changes li .sizechange.negative {
+ background-color: #fdd;
+}
+
+/*____________ 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/platform/www/lib/tpl/dokuwiki/css/_search.less b/platform/www/lib/tpl/dokuwiki/css/_search.less
new file mode 100644
index 0000000..59400f9
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/_search.less
@@ -0,0 +1,204 @@
+/**
+ * This file provides styles for the search results page (?do=search)
+ * and the AJAX search popup.
+ */
+
+/* general
+********************************************************************/
+
+/* search hit in normal text */
+.dokuwiki .search_hit {
+ color: @ini_text;
+ background-color: __highlight__;
+}
+
+/* "nothing found" at search + media */
+.dokuwiki div.nothing {
+ margin-bottom: 1.4em;
+}
+
+/* search results page
+********************************************************************/
+
+/*____________ advanced search form ____________*/
+.dokuwiki .search-results-form fieldset.search-form {
+ width: 100%;
+ margin: 1em 0;
+
+ input[name="q"] {
+ width: 50%;
+ }
+
+ button.toggleAssistant {
+ float: right;
+ }
+
+ .advancedOptions {
+ padding: 1em 0;
+
+ > div {
+ display: inline-block;
+ position: relative;
+ margin: 0 0.5em;
+ }
+
+ div.toggle {
+ // default closed toggle state
+ div.current {
+ cursor: pointer;
+ max-width: 10em;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+
+ &::after {
+ content: '▼';
+ font-size: smaller;
+ color: @ini_text_alt;
+ }
+ }
+ div.changed {
+ font-weight: bold;
+ }
+ ul {
+ display: none;
+ position: absolute;
+ border: 1px solid @ini_border;
+ background-color: @ini_background;
+ padding: 0.25em 0.5em;
+ text-align: left;
+ min-width: 10em;
+ max-width: 15em;
+ max-height: 50vh;
+ overflow: auto;
+ z-index: 100;
+ li {
+ margin: 0.25em 0;
+ list-style: none;
+
+ a {
+ display: block;
+ }
+ }
+ }
+
+ // open toggle state
+ &.open {
+ div.current::after {
+ content: '▲';
+ }
+
+ ul {
+ display: block;
+ }
+ }
+ }
+ }
+}
+
+[dir=rtl] .search-results-form fieldset.search-form .advancedOptions {
+ div.toggle ul {
+ text-align: right;
+ }
+}
+
+
+/*____________ matching pagenames ____________*/
+
+.dokuwiki div.search_quickresult {
+ margin-bottom: 1.4em;
+
+ ul {
+ padding: 0;
+
+ 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 */
+ dt {
+ font-weight: normal;
+ margin-bottom: .2em;
+ }
+
+ /* last modified line */
+ dd.meta {
+ margin: 0 0 .2em 0;
+ }
+
+ /* search snippet */
+ dd.snippet {
+ color: @ini_text_alt;
+ background-color: inherit;
+ margin: 0 0 1.2em 0;
+
+ /* search hit in search results */
+ strong.search_hit {
+ font-weight: normal;
+ /* color is set in general */
+ }
+
+ /* ellipsis separating snippets */
+ .search_sep {
+ color: @ini_text;
+ background-color: inherit;
+ }
+ }
+}
+
+/* AJAX quicksearch popup
+********************************************************************/
+
+.dokuwiki form.search {
+ div.no {
+ position: relative;
+ }
+
+ /* .JSpopup */
+ 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;
+
+ strong {
+ display: block;
+ margin-bottom: .3em;
+ }
+
+ ul {
+ margin: 0 !important;
+ padding: 0 !important;
+
+ li {
+ margin: 0;
+ padding: 0;
+ display: block !important;
+ }
+ }
+ }
+}
+
+[dir=rtl] .dokuwiki form.search div.ajax_qsearch {
+ left: auto;
+ right: -13.5em;
+ text-align: right;
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/_tabs.css b/platform/www/lib/tpl/dokuwiki/css/_tabs.css
new file mode 100644
index 0000000..507f49e
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/_tabs.css
@@ -0,0 +1,84 @@
+/**
+ * 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 @ini_border;
+}
+
+.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: @ini_background_neu;
+ color: @ini_text;
+ border: 1px solid @ini_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.active a,
+.dokuwiki ul.tabs li strong {
+ background-color: @ini_background_alt;
+ color: @ini_text;
+ text-decoration: none;
+ font-weight: normal;
+}
+
+.dokuwiki .tabs > ul li .curid a,
+.dokuwiki .tabs > ul li .active a,
+.dokuwiki .tabs > ul li .active a,
+.dokuwiki ul.tabs li.active a,
+.dokuwiki ul.tabs li strong {
+ z-index: 2;
+ border-bottom-color: @ini_background_alt;
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/_toc.css b/platform/www/lib/tpl/dokuwiki/css/_toc.css
new file mode 100644
index 0000000..469e927
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/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: @ini_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/platform/www/lib/tpl/dokuwiki/css/basic.less b/platform/www/lib/tpl/dokuwiki/css/basic.less
new file mode 100644
index 0000000..abb330a
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/basic.less
@@ -0,0 +1,464 @@
+/**
+ * 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@selfthinker.org>
+ */
+
+html {
+ overflow-x: auto;
+ overflow-y: scroll;
+}
+html,
+body {
+ color: @ini_text;
+ background: @ini_background_site url(images/page-gradient.png) top left repeat-x;
+ 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 ____________*/
+
+caption,
+figcaption,
+summary,
+legend {
+ padding: 0;
+ margin: 0 0 .35em;
+ line-height: 1.2;
+}
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ font-weight: bold;
+ 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 {
+ clear: right;
+}
+
+h1 {
+ font-size: 2em;
+ margin: 0 0 0.444em;
+}
+h2 {
+ font-size: 1.5em;
+ margin: 0 0 0.666em;
+}
+h3 {
+ font-size: 1.125em;
+ margin: 0 0 0.888em;
+}
+h4 {
+ 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,
+figure,
+details,
+fieldset,
+address {
+ margin: 0 0 1.4em 0; /* bottom margin = line-height */
+ padding: 0;
+}
+
+div,
+video,
+audio {
+ 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 @ini_border;
+}
+
+caption {
+ caption-side: top;
+ text-align: left;
+}
+[dir=rtl] caption {
+ text-align: right;
+}
+
+th,
+td {
+ padding: .3em .5em;
+ margin: 0;
+ vertical-align: top;
+ border: 1px solid @ini_border;
+}
+th {
+ font-weight: bold;
+ background-color: @ini_background_alt;
+ text-align: left;
+}
+[dir=rtl] th {
+ text-align: right;
+}
+
+
+/*____________ links ____________*/
+
+a {
+ outline: none;
+}
+a:link,
+a:visited {
+ text-decoration: none;
+ color: @ini_link;
+}
+a:link:hover,
+a:visited:hover,
+a:link:focus,
+a:visited:focus,
+a:link:active,
+a:visited:active {
+ text-decoration: underline;
+}
+
+
+/*____________ misc ____________*/
+
+img {
+ border-width: 0;
+ vertical-align: middle;
+ color: #666;
+ background-color: transparent;
+ font-style: italic;
+ height: auto;
+}
+video {
+ height: auto;
+}
+img,
+object,
+embed,
+iframe,
+video,
+audio {
+ max-width: 100%;
+}
+button img {
+ max-width: none;
+}
+
+hr {
+ border-top: solid @ini_border;
+ border-bottom: solid @ini_background;
+ border-width: 1px 0;
+ height: 0;
+ text-align: center;
+ clear: both;
+}
+
+acronym,
+abbr {
+ cursor: help;
+ border-bottom: 1px dotted;
+ font-style: normal;
+}
+em acronym,
+em abbr {
+ font-style: italic;
+}
+
+mark {
+ background-color: @ini_highlight;
+ color: inherit;
+}
+
+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: @ini_background_site;
+ color: @ini_text;
+ box-shadow: inset 0 0 .3em @ini_border;
+ border-radius: 2px;
+}
+pre {
+ overflow: auto;
+ word-wrap: normal;
+ border: 1px solid @ini_border;
+ border-radius: 2px;
+ box-shadow: inset 0 0 .5em @ini_border;
+ padding: .7em 1em;
+}
+
+blockquote {
+ padding: 0 .5em;
+ border: solid @ini_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;
+}
+
+small {
+ font-size: .8em;
+}
+
+wbr {
+ display: inline-block; /* for IE 11 */
+}
+
+/*____________ 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: .7em 1em 0;
+ padding: .7rem 1rem; /* for those browsers understanding :last-child */
+ border: 1px solid @ini_text_alt;
+}
+fieldset > :last-child {
+ margin-bottom: 0;
+}
+legend {
+ margin: 0;
+ padding: 0 .1em;
+}
+label {
+ vertical-align: middle;
+ cursor: pointer;
+}
+
+input,
+textarea,
+button,
+select,
+optgroup,
+option,
+keygen,
+output,
+meter,
+progress {
+ font: inherit;
+ font-weight: normal;
+ color: #333;
+ background-color: #fff;
+ line-height: normal;
+ margin: 0;
+ vertical-align: middle;
+ box-sizing: border-box;
+}
+
+select {
+ max-width: 100%;
+}
+optgroup {
+ font-style: italic;
+ font-weight: bold;
+}
+option {
+ font-style: normal;
+ font-weight: normal;
+}
+
+input,
+textarea,
+select,
+keygen {
+ 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,
+keygen:active,
+keygen:focus {
+ border-color: #999;
+}
+input[type=radio],
+input[type=checkbox],
+input[type=image] {
+ padding: 0;
+ border-style: none;
+ box-shadow: none;
+}
+
+/* all types of buttons */
+input[type=submit],
+input[type=button],
+input[type=reset],
+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-image: linear-gradient(to bottom, #ffffff 0%, #f4f4f4 30%, #eeeeee 99%, #cccccc 99%);
+ border: 1px solid #ccc;
+ border-radius: 2px;
+ padding: .1em .5em;
+ cursor: pointer;
+}
+
+input[type=submit]:hover,
+input[type=submit]:active,
+input[type=submit]:focus,
+input[type=button]:hover,
+input[type=button]:active,
+input[type=button]:hover,
+input[type=reset]:hover,
+input[type=reset]:active,
+input[type=reset]:hover,
+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-image: linear-gradient(to bottom, #ffffff 0%, #f4f4f4 30%, #dddddd 99%, #bbbbbb 99%);
+}
+
+input::-moz-focus-inner,
+button::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+
+input[disabled],
+button[disabled],
+select[disabled],
+textarea[disabled],
+option[disabled],
+input[readonly],
+button[readonly],
+select[readonly],
+textarea[readonly] {
+ cursor: auto;
+ opacity: .5;
+ background-color: #eee;
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/content.less b/platform/www/lib/tpl/dokuwiki/css/content.less
new file mode 100644
index 0000000..d300393
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/content.less
@@ -0,0 +1,393 @@
+/**
+ * This file provides the main design styles for the page content.
+ *
+ * @author Anika Henke <anika@selfthinker.org>
+ * @author Andreas Gohr <andi@splitbrain.org>
+ * @author Clarence Lee <clarencedglee@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: @ini_existing;
+ background-color: inherit;
+}
+
+/* not existing wikipage */
+.dokuwiki a.wikilink2 {
+ color: @ini_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 .page,
+.dokuwiki .aside {
+ ul li {
+ color: @ini_text_alt;
+ }
+
+ ol li {
+ color: @ini_text_neu;
+ }
+
+ li .li {
+ color: @ini_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: @ini_background_alt;
+}
+
+.dokuwiki table.inline tr:hover th {
+ background-color: @ini_border;
+}
+
+/*____________ code ____________*/
+
+/* fix if background-color hides underlining */
+.dokuwiki em.u code {
+ text-decoration: underline;
+}
+
+/* filenames for downloadable file and code blocks */
+.dokuwiki dl.code,
+.dokuwiki dl.file {
+ dt {
+ background-color: @ini_background_site;
+ background: linear-gradient(to bottom, @ini_background_alt 0%, @ini_background_site 100%);
+ color: inherit;
+ border: 1px solid @ini_border;
+ border-bottom-color: @ini_background_site;
+ border-top-left-radius: .3em;
+ border-top-right-radius: .3em;
+ padding: .3em .6em .1em;
+ margin-bottom: -1px;
+ float: left;
+
+ a {
+ background-color: transparent;
+ font-size: 0.875em;
+ font-weight: normal;
+ display: block;
+ min-height: 16px;
+ }
+ }
+
+ dd {
+ margin: 0;
+ clear: left;
+ }
+
+ pre {
+ box-shadow: inset -4px -4px .5em -.3em @ini_border;
+ }
+}
+
+[dir=rtl] .dokuwiki dl.code,
+[dir=rtl] .dokuwiki dl.file {
+ dt {
+ float: right;
+ }
+
+ dd {
+ clear: right;
+ }
+}
+
+/* for code in <file> */
+.dokuwiki dl.file {
+ pre,
+ dt {
+ border-style: dashed;
+ }
+ dt {
+ border-bottom-style: solid;
+ }
+}
+
+/*____________ JS popup ____________*/
+
+.JSpopup {
+ background-color: @ini_background;
+ color: @ini_text;
+ border: 1px solid @ini_border;
+ box-shadow: .1em .1em .1em @ini_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;
+ }
+
+ button.toolbutton:first-child {
+ border-top-left-radius: 4px;
+ border-bottom-left-radius: 4px;
+ border-left-width: 1px;
+ }
+
+ 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;
+ }
+
+ 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.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: @ini_sidebar_width solid @ini_background_alt;
+}
+
+[dir=rtl] .dokuwiki.hasSidebar div.preview {
+ border-right-width: 0;
+ border-left: @ini_sidebar_width solid @ini_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: @ini_sidebar_width;
+ border-left: 1px solid @ini_border;
+ background: @ini_background;
+ color: inherit;
+}
+
+[dir=rtl] #dw__toc {
+ margin: -1.556em 1.4em .5em -2em;
+ border-left-width: 0;
+ border-right: 1px solid @ini_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;
+ }
+
+ ul {
+ padding: 0 0 0 1.2em;
+
+ li {
+ list-style-image: url(images/toc-bullet.png);
+ }
+ }
+
+ ul li.clear {
+ list-style: none;
+ }
+
+ ul li div.li {
+ padding: .2em 0;
+ }
+}
+
+[dir=rtl] #dw__toc ul {
+ padding: 0 1.5em 0 0;
+}
+
+/*____________ changes to _imgdetail ____________*/
+
+#dokuwiki__detail {
+ padding: 0;
+
+ img {
+ float: none;
+ margin-bottom: 1.4em;
+ }
+
+ div.img_detail {
+ float: none;
+ }
+
+ div.img_detail dl {
+ overflow: hidden;
+ }
+
+ div.img_detail dl dt {
+ float: left;
+ width: 9em;
+ text-align: right;
+ clear: left;
+ }
+
+ div.img_detail dl dd {
+ margin-left: 9.5em;
+ }
+}
+
+[dir=rtl] #dokuwiki__detail div.img_detail {
+ dl dt {
+ float: right;
+ text-align: left;
+ clear: right;
+ }
+
+ dl dd {
+ margin-left: 0;
+ margin-right: 9.5em;
+ }
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/design.less b/platform/www/lib/tpl/dokuwiki/css/design.less
new file mode 100644
index 0000000..86315d2
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/design.less
@@ -0,0 +1,354 @@
+/**
+ * This file provides the main design styles for the
+ * bits that surround the content.
+ *
+ * @author Anika Henke <anika@selfthinker.org>
+ * @author Andreas Gohr <andi@splitbrain.org>
+ * @author Clarence Lee <clarencedglee@gmail.com>
+ */
+
+/* header
+********************************************************************/
+
+#dokuwiki__header {
+ padding: 2em 0 1.5em;
+
+ .headings,
+ .tools {
+ margin-bottom: 1.5em;
+ width: 49%;
+ }
+ .tools {
+ margin-top: .2em;
+ }
+
+ h1 {
+ margin: 0;
+ font-size: 1.5em;
+ font-weight: normal;
+
+ img {
+ float: left;
+ margin-right: .5em;
+ }
+
+ span {
+ display: block;
+ padding-top: 10px;
+ }
+
+ a {
+ text-decoration: none;
+ color: @ini_text;
+ background-color: inherit;
+ }
+ }
+
+ p.claim {
+ margin-bottom: 0;
+ font-size: 0.875em;
+ }
+
+ /* make all links in header (including breadcrumb and interwiki) same colour as the rest */
+ a {
+ color: @ini_link;
+ background-color: inherit;
+ }
+}
+
+[dir=rtl] #dokuwiki__header h1 img {
+ float: right;
+ margin-left: .5em;
+ margin-right: 0;
+}
+
+/* tools
+********************************************************************/
+
+/* highlight selected tool */
+.mode_admin .action.admin a,
+.mode_login .action.login a,
+.mode_register .action.register a,
+.mode_profile .action.profile a,
+.mode_recent .action.recent a,
+.mode_index .action.index a,
+.mode_media .action.media a,
+.mode_revisions .action.revs a,
+.mode_backlink .action.backlink a,
+.mode_subscribe .action.subscribe a {
+ font-weight: bold;
+}
+
+#dokuwiki__header .tools {
+ ul {
+ padding-left: 0;
+ margin-bottom: 0;
+ }
+
+ li {
+ font-size: 0.875em;
+ margin-left: 1em;
+ list-style: none;
+ display: inline;
+ }
+
+ form.search div.ajax_qsearch li {
+ font-size: 1em;
+ margin-left: 0;
+ display: block;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+}
+
+[dir=rtl] #dokuwiki__header .tools li {
+ margin-right: 1em;
+ margin-left: 0;
+}
+
+#dokuwiki__header .mobileTools {
+ display: none; /* hide mobile tools dropdown to only show in mobile view */
+}
+
+/*____________ site tools ____________*/
+
+#dokuwiki__sitetools {
+ text-align: right;
+
+ form.search {
+ font-size: 0.875em;
+ }
+}
+
+[dir=rtl] #dokuwiki__sitetools {
+ text-align: left;
+}
+
+form.search {
+ display: block;
+ position: relative;
+ margin-bottom: 0.5em;
+
+ input {
+ width: 18em;
+ padding: .35em 22px .35em .1em;
+ }
+
+ 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] form.search {
+ input {
+ padding: .35em .1em .35em 22px;
+ }
+
+ button {
+ background-position: 5px 0;
+ margin-left: 0;
+ margin-right: -20px;
+ position: relative;
+ }
+}
+
+/*____________ breadcrumbs ____________*/
+
+.dokuwiki div.breadcrumbs {
+ border-top: 1px solid @ini_border;
+ border-bottom: 1px solid @ini_background;
+ margin-bottom: .5em;
+ font-size: 0.875em;
+ clear: both;
+
+ div {
+ padding: .1em .35em;
+ }
+
+ div:only-child {
+ border-top: 1px solid @ini_background;
+ border-bottom: 1px solid @ini_border;
+ }
+
+ div:first-child {
+ border-top: 1px solid @ini_background;
+ }
+
+ div:last-child {
+ border-bottom: 1px solid @ini_border;
+ }
+
+ .bcsep {
+ font-size: 0.75em;
+ }
+}
+
+/* sidebar
+********************************************************************/
+
+.dokuwiki .aside {
+ font-size: 0.875em;
+ overflow: hidden;
+ word-wrap: break-word;
+
+ /* make sidebar more condensed */
+
+ h1 {
+ font-size: 1.714em;
+ margin-bottom: .292em;
+ }
+
+ h2 {
+ margin-bottom: .333em;
+ }
+
+ h3 {
+ margin-bottom: .444em;
+ }
+
+ h4 {
+ margin-bottom: .5em;
+ }
+
+ h5 {
+ margin-bottom: .5714em;
+ }
+
+ p,
+ ul,
+ ol,
+ dl,
+ pre,
+ table,
+ fieldset,
+ hr,
+ blockquote,
+ address {
+ margin-bottom: .7em;
+ }
+
+ ul,
+ ol {
+ padding-left: .5em;
+ }
+
+ li ul,
+ li ol {
+ margin-bottom: 0;
+ padding: 0;
+ }
+
+ a:link,
+ a:visited {
+ color: @ini_link;
+ background-color: inherit;
+ }
+}
+
+[dir=rtl] .dokuwiki .aside ul,
+[dir=rtl] .dokuwiki .aside ol {
+ padding-right: .5em;
+}
+
+/* content
+********************************************************************/
+
+.dokuwiki .pageId {
+ float: right;
+ margin-right: -1em;
+ margin-bottom: -1px;
+ margin-top: -1.5em;
+ overflow: hidden;
+ padding: 0.5em 1em 0;
+
+ span {
+ font-size: 0.875em;
+ border: solid @ini_background_alt;
+ border-width: 1px 1px 0;
+ background-color: @ini_background;
+ color: @ini_text_alt;
+ padding: .1em .35em;
+ border-top-left-radius: 2px;
+ border-top-right-radius: 2px;
+ box-shadow: 0 0 .5em @ini_text_alt;
+ display: block;
+ }
+}
+
+.dokuwiki div.page {
+ clear: both;
+ background: @ini_background;
+ color: inherit;
+ border: 1px solid @ini_background_alt;
+ box-shadow: 0 0 .5em @ini_text_alt;
+ border-radius: 2px;
+ padding: 1.556em 2em 2em;
+ margin-bottom: .5em;
+ overflow: hidden;
+ word-wrap: break-word;
+}
+
+.dokuwiki .docInfo {
+ font-size: 0.875em;
+ text-align: right;
+}
+
+/* license note under edit window */
+.dokuwiki div.license {
+ font-size: 93.75%;
+}
+
+[dir=rtl] .dokuwiki .docInfo {
+ text-align: left;
+}
+
+[dir=rtl] .dokuwiki .pageId {
+ float: left;
+ margin-left: -1em;
+ margin-right: 0;
+}
+
+/* footer
+********************************************************************/
+
+.dokuwiki .wrapper {
+ margin-bottom: 1.4em;
+}
+
+#dokuwiki__footer {
+ margin-bottom: 1em;
+ text-align: center;
+
+ > .pad {
+ font-size: 0.875em;
+ }
+
+ div.license {
+ margin-bottom: 0.5em;
+ font-size: 100%;
+ }
+
+ div.buttons a {
+ img {
+ opacity: 0.5;
+ }
+
+ &:hover img,
+ &:active img,
+ &:focus img {
+ opacity: 1;
+ }
+ }
+
+}
+
+[dir=rtl] #dokuwiki__footer .license img {
+ margin: 0 0 0 .5em;
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/mobile.less b/platform/www/lib/tpl/dokuwiki/css/mobile.less
new file mode 100644
index 0000000..a52c723
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/mobile.less
@@ -0,0 +1,332 @@
+/**
+ * This file provides styles for mobile devices
+ * and smaller screens (up to 480px and 768px width).
+ *
+ * @author Anika Henke <anika@selfthinker.org>
+ */
+
+/* for detecting media queries in JavaScript (see script.js): */
+#screen__mode {
+ position: relative;
+ z-index: 0;
+}
+
+/* for screen widths in the tablet range
+********************************************************************/
+@media only screen and (max-width: @ini_tablet_width) {
+
+#screen__mode {
+ z-index: 1; /* for detecting media queries in JavaScript (see script.js) */
+}
+
+/* structure */
+#dokuwiki__aside {
+ width: 100%;
+ float: none;
+ margin-bottom: 1.5em;
+}
+
+#dokuwiki__aside > .pad,
+[dir=rtl] #dokuwiki__aside > .pad {
+ margin: 0 0 .5em;
+ /* style like .page */
+ background: @ini_background;
+ color: inherit;
+ border: 1px solid #eee;
+ box-shadow: 0 0 .5em @ini_text_alt;
+ border-radius: 2px;
+ padding: 1em;
+ margin-bottom: .5em;
+}
+
+#dokuwiki__aside h3.toggle {
+ font-size: 1em;
+
+ &.closed {
+ margin-bottom: 0;
+ padding-bottom: 0;
+ }
+ &.open {
+ border-bottom: 1px solid @ini_border;
+ }
+}
+
+.showSidebar #dokuwiki__content {
+ float: none;
+ margin-left: 0;
+ width: 100%;
+
+ > .pad {
+ margin-left: 0;
+ }
+}
+
+[dir=rtl] .showSidebar #dokuwiki__content,
+[dir=rtl] .showSidebar #dokuwiki__content > .pad {
+ margin-right: 0;
+}
+
+/* preview */
+.dokuwiki.hasSidebar div.preview {
+ border-right: none;
+}
+
+[dir=rtl] .dokuwiki.hasSidebar div.preview {
+ border-left: none;
+}
+
+/* toc */
+#dw__toc {
+ float: none;
+ margin: 0 0 1em 0;
+ width: auto;
+ border-left-width: 0;
+ border-bottom: 1px solid @ini_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;
+}
+/* enable horizontal scrolling in media manager */
+.mode_media div.page {
+ overflow: auto;
+}
+
+/* push pagetools closer to content */
+#dokuwiki__pagetools {
+ top: 0;
+}
+.showSidebar #dokuwiki__pagetools {
+ top: 3.5em;
+}
+
+
+/* _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 */
+
+
+/* for screen widths in the smartphone range
+********************************************************************/
+@media only screen and (max-width: @ini_phone_width) {
+
+#screen__mode {
+ z-index: 2; /* for detecting media queries in JavaScript (see script.js) */
+}
+
+body {
+ font-size: 100%;
+}
+
+/*____________ structure ____________*/
+
+#dokuwiki__site {
+ max-width: 100%;
+
+ > .site {
+ padding: 0 .5em;
+ }
+}
+
+#dokuwiki__aside {
+ margin-bottom: 0;
+}
+
+#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;
+
+ li {
+ margin-left: .35em;
+ display: inline;
+ }
+}
+[dir=rtl] #dokuwiki__header ul.a11y.skip {
+ left: auto !important;
+ right: 0 !important;
+ float: left;
+ padding-right: 0;
+
+ 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 {
+ 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,
+#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 {
+ width: auto !important;
+ max-width: 100% !important;
+}
+.dokuwiki select {
+ max-width: 100% !important;
+}
+#config__manager fieldset {
+ margin-left: 0;
+ margin-right: 0;
+}
+
+.dokuwiki label.block {
+ text-align: left;
+
+ span {
+ display: block;
+ }
+}
+[dir=rtl] .dokuwiki label.block {
+ text-align: right;
+}
+
+/* _edit */
+.dokuwiki div.section_highlight {
+ margin: 0;
+ padding: 0;
+ border-width: 0;
+}
+.dokuwiki div.preview {
+ margin: 0 -.5em;
+ padding: .5em;
+}
+
+
+} /* /@media */
+
+
+/* for screen heights smaller than the pagetools permit
+********************************************************************/
+@media only screen and (max-height: 400px) {
+// 400px is only roughly the required value, this may be wrong under non-standard circumstances
+
+#dokuwiki__pagetools div.tools {
+ position: static;
+}
+
+
+} /* /@media */
diff --git a/platform/www/lib/tpl/dokuwiki/css/pagetools.less b/platform/www/lib/tpl/dokuwiki/css/pagetools.less
new file mode 100644
index 0000000..5473594
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/pagetools.less
@@ -0,0 +1,124 @@
+/**
+ * This file provides the styles for the page tools
+ * (fly out navigation beside the page to edit, etc).
+ *
+ * @author Anika Henke <anika@selfthinker.org>
+ * @author Andreas Gohr <andi@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__pagetools {
+ @ico-width: 28px;
+ @ico-margin: 8px;
+ @item-width: (@ico-width + @ico-margin + @ico-margin);
+ @item-height: (@ico-width + @ico-margin);
+
+ position: absolute;
+ right: (-1 * @item-width);
+ /* on same vertical level as first headline, because .page has 2em padding */
+ top: 2em;
+ width: @item-width;
+
+ div.tools {
+ position: fixed;
+ width: @item-width;
+
+ 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;
+ z-index: 10;
+
+ li {
+ padding: 0;
+ margin: 0;
+ list-style: none;
+ font-size: 0.875em;
+
+ a {
+
+ display: block;
+ /* add transparent border to prevent jumping when proper border is added on focus */
+ border: 1px solid transparent;
+ white-space: nowrap;
+ line-height: @item-height;
+ vertical-align: middle;
+ height: @item-height;
+
+ span {
+ display: none; // hide label until hover
+ margin: 0 @ico-margin;
+ }
+
+ svg {
+ width: @ico-width;
+ height: @ico-width;
+ margin: 0 @ico-margin;
+ display: inline-block;
+ vertical-align: middle;
+ fill: @ini_border;
+ }
+ }
+
+ // on interaction show the full item
+ a:active,
+ a:focus,
+ a:hover {
+ background-color: @ini_background_alt;
+
+ span {
+ display: inline-block;
+ }
+
+ svg {
+ fill: @ini_link;
+ }
+ }
+ }
+ }
+ }
+
+ [dir=rtl] & {
+ right: auto;
+ left: (-1 * @item-width);
+
+ div.tools {
+ ul {
+ right: auto;
+ left: 0;
+ text-align: left;
+ }
+ }
+ }
+}
+
+// on hover or focus show all items
+#dokuwiki__pagetools:hover, #dokuwiki__pagetools:focus-within {
+ div.tools ul {
+ background-color: @ini_background;
+ border-color: @ini_border;
+ border-radius: 2px;
+ box-shadow: 2px 2px 2px @ini_text_alt;
+
+ li a span {
+ display: inline-block;
+ }
+ }
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/print.css b/platform/www/lib/tpl/dokuwiki/css/print.css
new file mode 100644
index 0000000..7197ac1
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/print.css
@@ -0,0 +1,177 @@
+/**
+ * This file provides the styles for printing.
+ *
+ * @todo: improve and finish
+ */
+
+body {
+ font: normal 87.5%/1.3 Garamond, Baskerville, "Hoefler Text", "Nimbus Roman No9 L", serif;
+ background-color: #fff;
+ color: #000;
+}
+
+/* hide certain sections */
+.a11y,
+audio,
+video,
+#dokuwiki__header .tools,
+#dokuwiki__aside,
+.dokuwiki .breadcrumbs,
+.dokuwiki .pageId,
+#dw__toc,
+h3.toggle,
+#dokuwiki__pagetools,
+#dokuwiki__footer {
+ display: none;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+caption,
+legend {
+ clear: both;
+}
+ul {
+ list-style: disc 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;
+}
+
+a:link,
+a:visited {
+ text-decoration: none;
+ border-bottom: 1pt dotted;
+ 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 */
+pre {
+ font-family: monospace;
+}
+dl.code dt,
+dl.file dt {
+ font-weight: bold;
+}
+
+mark {
+ font-weight: bold;
+}
+
+/* images */
+img {
+ border-width: 0;
+ vertical-align: middle;
+}
+img.media {
+ margin: .2em 0;
+}
+img.medialeft {
+ margin: .2em 1em .2em 0;
+}
+img.mediaright {
+ margin: .2em 0 .2em 1em;
+}
+img.mediacenter {
+ margin: .2em auto;
+}
+
+blockquote {
+ padding: 0 10pt;
+ margin: 0;
+ border: solid #ccc;
+ border-width: 0 0 0 2pt;
+}
+[dir=rtl] blockquote {
+ border-width: 0 2pt 0 0;
+}
+
+/* tables */
+.dokuwiki div.table {
+ margin-bottom: 1.4em;
+}
+table {
+ border-collapse: collapse;
+ empty-cells: show;
+ border-spacing: 0;
+ border: 1pt solid #ccc;
+}
+th,
+td {
+ padding: 3pt 5pt;
+ margin: 0;
+ vertical-align: top;
+ border: 1pt solid #666;
+}
+th {
+ font-weight: bold;
+ text-align: left;
+}
+[dir=rtl] th {
+ text-align: right;
+}
+
+
+/*____________ 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;
+ border-width: 0;
+}
+#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 dotted #999;
+ margin-top: 10pt;
+}
+
+.dokuwiki div.docInfo {
+ font-size: 90%;
+ text-align: right;
+ clear: both;
+ padding-top: 2pt;
+ border-top: 1pt solid #999;
+ margin-top: 10pt;
+}
+[dir=rtl] .dokuwiki div.docInfo {
+ text-align: left;
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/structure.less b/platform/www/lib/tpl/dokuwiki/css/structure.less
new file mode 100644
index 0000000..3ea2f83
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/structure.less
@@ -0,0 +1,89 @@
+/**
+ * This file provides styles for the general layout structure.
+ *
+ * @author Anika Henke <anika@selfthinker.org>
+ */
+body {
+ margin: 0 auto;
+}
+
+#dokuwiki__site {
+ margin: 0 auto;
+ max-width: @ini_site_width;
+}
+
+#dokuwiki__site > .site {
+ padding: 0 .5em;
+}
+
+#dokuwiki__header {
+ width: 100%;
+
+ .headings {
+ float: left;
+ }
+
+ .tools {
+ float: right;
+ text-align: right;
+ }
+}
+
+[dir=rtl] #dokuwiki__header {
+ .headings {
+ float: right;
+ text-align: right;
+ }
+
+ .tools {
+ float: left;
+ text-align: left;
+ }
+}
+
+#dokuwiki__site .wrapper {
+ position: relative;
+}
+
+#dokuwiki__aside {
+ width: @ini_sidebar_width;
+ float: left;
+ position: relative;
+ display: block;
+
+ > .pad {
+ margin: 0 1.5em 0 0;
+ }
+}
+
+[dir=rtl] #dokuwiki__aside {
+ float: right;
+ > .pad {
+ margin: 0 0 0 1.5em;
+ }
+}
+
+.showSidebar #dokuwiki__content {
+ float: right;
+ margin-left: (-1 * @ini_sidebar_width);
+ width: 100%;
+
+ > .pad {
+ margin-left: @ini_sidebar_width;
+ }
+}
+
+[dir=rtl] .showSidebar #dokuwiki__content {
+ float: left;
+ margin-left: 0;
+ margin-right: (-1 * @ini_sidebar_width);
+
+ > .pad {
+ margin-left: 0;
+ margin-right: @ini_sidebar_width;
+ }
+}
+
+#dokuwiki__footer {
+ clear: both;
+}
diff --git a/platform/www/lib/tpl/dokuwiki/css/usertools.less b/platform/www/lib/tpl/dokuwiki/css/usertools.less
new file mode 100644
index 0000000..efdf16c
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/css/usertools.less
@@ -0,0 +1,50 @@
+#dokuwiki__usertools {
+ position: absolute;
+ top: .5em;
+ right: 40px; // pagetool width
+ text-align: right;
+ width: 100%;
+
+ ul {
+ margin: 0 auto;
+ padding: 0;
+ max-width: @ini_site_width;
+ }
+
+ li.action a {
+ display: inline-flex;
+ flex-direction: row-reverse;
+ flex-wrap: nowrap;
+
+ svg {
+ height: 1.4em;
+ width: 1.4em;
+ vertical-align: middle;
+ fill: @ini_border;
+ margin-right: 0.2em;
+ }
+ }
+
+ li.action a:hover,
+ li.action a:active {
+ svg {
+ fill: @ini_link;
+ }
+ }
+
+}
+
+[dir=rtl] #dokuwiki__usertools {
+ text-align: left;
+ left: 40px; // pagetool width
+ right: auto;
+
+
+ li.action a {
+
+ svg {
+ margin-right: 0;
+ margin-left: 0.2em;
+ }
+ }
+}
diff --git a/platform/www/lib/tpl/dokuwiki/detail.php b/platform/www/lib/tpl/dokuwiki/detail.php
new file mode 100644
index 0000000..8e65410
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/detail.php
@@ -0,0 +1,105 @@
+<?php
+/**
+ * DokuWiki Image Detail Page
+ *
+ * @author Andreas Gohr <andi@splitbrain.org>
+ * @author Anika Henke <anika@selfthinker.org>
+ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ */
+
+// must be run from within DokuWiki
+if (!defined('DOKU_INC')) die();
+header('X-UA-Compatible: IE=edge,chrome=1');
+
+?><!DOCTYPE html>
+<html lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
+<head>
+ <meta charset="utf-8" />
+ <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 id="dokuwiki__site"><div id="dokuwiki__top" class="site <?php echo tpl_classes(); ?>">
+
+ <?php include('tpl_header.php') ?>
+
+ <div class="wrapper group" id="dokuwiki__detail">
+
+ <!-- ********** CONTENT ********** -->
+ <div id="dokuwiki__content"><div class="pad group">
+ <?php html_msgarea() ?>
+
+ <?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: ?>
+ <?php if($REV) echo p_locale_xhtml('showrev');?>
+ <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">
+ <?php tpl_img_meta(); ?>
+ <dl>
+ <?php
+ echo '<dt>'.$lang['reference'].':</dt>';
+ $media_usage = ft_mediause($IMG,true);
+ if(count($media_usage) > 0){
+ foreach($media_usage as $path){
+ echo '<dd>'.html_wikilink($path).'</dd>';
+ }
+ }else{
+ echo '<dd>'.$lang['nothingfound'].'</dd>';
+ }
+ ?>
+ </dl>
+ <p><?php echo $lang['media_acl_warning']; ?></p>
+ </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 echo (new \dokuwiki\Menu\DetailMenu())->getListItems(); ?>
+ </ul>
+ </div>
+ </div>
+ <?php endif; ?>
+ </div><!-- /wrapper -->
+
+ <?php include('tpl_footer.php') ?>
+ </div></div><!-- /site -->
+</body>
+</html>
diff --git a/platform/www/lib/tpl/dokuwiki/images/apple-touch-icon.png b/platform/www/lib/tpl/dokuwiki/images/apple-touch-icon.png
new file mode 100644
index 0000000..87c99a9
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/apple-touch-icon.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/button-css.png b/platform/www/lib/tpl/dokuwiki/images/button-css.png
new file mode 100644
index 0000000..5c0f5a9
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/button-css.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/button-donate.gif b/platform/www/lib/tpl/dokuwiki/images/button-donate.gif
new file mode 100644
index 0000000..bba284e
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/button-donate.gif
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/button-dw.png b/platform/www/lib/tpl/dokuwiki/images/button-dw.png
new file mode 100644
index 0000000..8d6aea8
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/button-dw.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/button-html5.png b/platform/www/lib/tpl/dokuwiki/images/button-html5.png
new file mode 100644
index 0000000..f7b0688
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/button-html5.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/button-php.gif b/platform/www/lib/tpl/dokuwiki/images/button-php.gif
new file mode 100644
index 0000000..19aefb0
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/button-php.gif
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/button-rss.png b/platform/www/lib/tpl/dokuwiki/images/button-rss.png
new file mode 100644
index 0000000..aa6b7fc
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/button-rss.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/favicon.ico b/platform/www/lib/tpl/dokuwiki/images/favicon.ico
new file mode 100644
index 0000000..8b9616a
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/favicon.ico
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/license.txt b/platform/www/lib/tpl/dokuwiki/images/license.txt
new file mode 100644
index 0000000..7d12604
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/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/platform/www/lib/tpl/dokuwiki/images/logo.png b/platform/www/lib/tpl/dokuwiki/images/logo.png
new file mode 100644
index 0000000..a1f4995
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/logo.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/page-background.svg b/platform/www/lib/tpl/dokuwiki/images/page-background.svg
new file mode 100644
index 0000000..086341d
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/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/platform/www/lib/tpl/dokuwiki/images/page-gradient.png b/platform/www/lib/tpl/dokuwiki/images/page-gradient.png
new file mode 100644
index 0000000..38c7419
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/page-gradient.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools-build.php b/platform/www/lib/tpl/dokuwiki/images/pagetools-build.php
new file mode 100644
index 0000000..e19d750
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools-build.php
@@ -0,0 +1,125 @@
+<?php
+// phpcs:ignoreFile -- deprecated and will be removed
+/**
+ * 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@splitbrain.org>
+ * @deprecated 2018-06-15 we no longer use PNG based icons
+ * @todo Maybe add some more error checking
+ */
+$GAMMA = 0.8;
+$OPTIPNG = '/usr/bin/optipng';
+
+if('cli' != php_sapi_name()) die('please run from commandline');
+
+// 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 resource $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/platform/www/lib/tpl/dokuwiki/images/pagetools-sprite.png b/platform/www/lib/tpl/dokuwiki/images/pagetools-sprite.png
new file mode 100644
index 0000000..8e7f7f8
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools-sprite.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools/00_default.png b/platform/www/lib/tpl/dokuwiki/images/pagetools/00_default.png
new file mode 100644
index 0000000..bcb2de0
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools/00_default.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools/01_edit.png b/platform/www/lib/tpl/dokuwiki/images/pagetools/01_edit.png
new file mode 100644
index 0000000..99f3093
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools/01_edit.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools/02_create.png b/platform/www/lib/tpl/dokuwiki/images/pagetools/02_create.png
new file mode 100644
index 0000000..57fa68d
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools/02_create.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools/03_draft.png b/platform/www/lib/tpl/dokuwiki/images/pagetools/03_draft.png
new file mode 100644
index 0000000..ce1c6cf
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools/03_draft.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools/04_show.png b/platform/www/lib/tpl/dokuwiki/images/pagetools/04_show.png
new file mode 100644
index 0000000..1ced340
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools/04_show.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools/05_source.png b/platform/www/lib/tpl/dokuwiki/images/pagetools/05_source.png
new file mode 100644
index 0000000..dffe193
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools/05_source.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools/06_revert.png b/platform/www/lib/tpl/dokuwiki/images/pagetools/06_revert.png
new file mode 100644
index 0000000..18c6444
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools/06_revert.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools/07_revisions.png b/platform/www/lib/tpl/dokuwiki/images/pagetools/07_revisions.png
new file mode 100644
index 0000000..e599d01
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools/07_revisions.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools/08_backlink.png b/platform/www/lib/tpl/dokuwiki/images/pagetools/08_backlink.png
new file mode 100644
index 0000000..aa34e27
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools/08_backlink.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools/09_subscribe.png b/platform/www/lib/tpl/dokuwiki/images/pagetools/09_subscribe.png
new file mode 100644
index 0000000..36254ff
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools/09_subscribe.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools/10_top.png b/platform/www/lib/tpl/dokuwiki/images/pagetools/10_top.png
new file mode 100644
index 0000000..b930fd2
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools/10_top.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools/11_mediamanager.png b/platform/www/lib/tpl/dokuwiki/images/pagetools/11_mediamanager.png
new file mode 100644
index 0000000..71b5a33
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools/11_mediamanager.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools/12_back.png b/platform/www/lib/tpl/dokuwiki/images/pagetools/12_back.png
new file mode 100644
index 0000000..6d6093e
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/pagetools/12_back.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/pagetools/license.txt b/platform/www/lib/tpl/dokuwiki/images/pagetools/license.txt
new file mode 100644
index 0000000..299624c
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/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/platform/www/lib/tpl/dokuwiki/images/search.png b/platform/www/lib/tpl/dokuwiki/images/search.png
new file mode 100644
index 0000000..a07a721
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/search.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/toc-arrows.png b/platform/www/lib/tpl/dokuwiki/images/toc-arrows.png
new file mode 100644
index 0000000..4a353e4
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/toc-arrows.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/toc-bullet.png b/platform/www/lib/tpl/dokuwiki/images/toc-bullet.png
new file mode 100644
index 0000000..a2dfa47
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/toc-bullet.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/images/usertools.png b/platform/www/lib/tpl/dokuwiki/images/usertools.png
new file mode 100644
index 0000000..6810227
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/images/usertools.png
Binary files differ
diff --git a/platform/www/lib/tpl/dokuwiki/lang/en/lang.php b/platform/www/lib/tpl/dokuwiki/lang/en/lang.php
new file mode 100644
index 0000000..7c890c6
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/lang/en/lang.php
@@ -0,0 +1,13 @@
+<?php
+
+// style.ini values
+
+$lang['__background_site__'] = 'Color for the very background (behind the content box)';
+$lang['__link__'] = 'The general link color';
+$lang['__existing__'] = 'The color for links to existing pages';
+$lang['__missing__'] = 'The color for links to non-existing pages';
+$lang['__site_width__'] = 'The width of the full site (can be any length unit: %, px, em, ...)';
+$lang['__sidebar_width__'] = 'The width of the sidebar, if any (can be any length unit: %, px, em, ...)';
+$lang['__tablet_width__'] = 'Below screensizes of this width, the site switches to tablet mode';
+$lang['__phone_width__'] = 'Below screensizes of this width, the site switches to phone mode';
+$lang['__theme_color__'] = 'Theme color of the web app';
diff --git a/platform/www/lib/tpl/dokuwiki/lang/en/style.txt b/platform/www/lib/tpl/dokuwiki/lang/en/style.txt
new file mode 100644
index 0000000..7bf3e1a
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/lang/en/style.txt
@@ -0,0 +1,4 @@
+If you want to adjust the logo, simply use the Media Manager to upload a ''logo.png'' into the ''wiki'' or the root namespace and it
+will be automatically used. You can also upload a ''favicon.ico'' there. If you use a closed
+wiki it is recommended to make the ''wiki'' (or root) namespace world readable in the ACL settings or
+your logo is not shown to not logged in users.
diff --git a/platform/www/lib/tpl/dokuwiki/main.php b/platform/www/lib/tpl/dokuwiki/main.php
new file mode 100644
index 0000000..67b6e61
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/main.php
@@ -0,0 +1,87 @@
+<?php
+/**
+ * DokuWiki Default Template 2012
+ *
+ * @link http://dokuwiki.org/template
+ * @author Anika Henke <anika@selfthinker.org>
+ * @author Clarence Lee <clarencedglee@gmail.com>
+ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ */
+
+if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
+
+$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 charset="utf-8" />
+ <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>
+ <div id="dokuwiki__site"><div id="dokuwiki__top" class="site <?php echo tpl_classes(); ?> <?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 aside include group">
+ <h3 class="toggle"><?php echo $lang['sidebar'] ?></h3>
+ <div class="content"><div class="group">
+ <?php tpl_flush() ?>
+ <?php tpl_includeFile('sidebarheader.html') ?>
+ <?php tpl_include_page($conf['sidebar'], true, true) ?>
+ <?php tpl_includeFile('sidebarfooter.html') ?>
+ </div></div>
+ </div></div><!-- /aside -->
+ <?php endif; ?>
+
+ <!-- ********** CONTENT ********** -->
+ <div id="dokuwiki__content"><div class="pad group">
+ <?php html_msgarea() ?>
+
+ <div class="pageId"><span><?php echo hsc($ID) ?></span></div>
+
+ <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 echo (new \dokuwiki\Menu\PageMenu())->getListItems(); ?>
+ </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 */ ?>
+</body>
+</html>
diff --git a/platform/www/lib/tpl/dokuwiki/mediamanager.php b/platform/www/lib/tpl/dokuwiki/mediamanager.php
new file mode 100644
index 0000000..53ed062
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/mediamanager.php
@@ -0,0 +1,44 @@
+<?php
+/**
+ * DokuWiki Media Manager Popup
+ *
+ * @author Andreas Gohr <andi@splitbrain.org>
+ * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
+ */
+// must be run from within DokuWiki
+if (!defined('DOKU_INC')) die();
+header('X-UA-Compatible: IE=edge,chrome=1');
+
+?><!DOCTYPE html>
+<html lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup no-js">
+<head>
+ <meta charset="utf-8" />
+ <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>
+ <div id="media__manager" class="dokuwiki">
+ <?php html_msgarea() ?>
+ <div id="mediamgr__aside"><div class="pad">
+ <h1><?php echo hsc($lang['mediaselect'])?></h1>
+
+ <?php /* keep the id! additional elements are inserted via JS here */?>
+ <div id="media__opts"></div>
+
+ <?php tpl_mediaTree() ?>
+ </div></div>
+
+ <div id="mediamgr__content"><div class="pad">
+ <?php tpl_mediaContent() ?>
+ </div></div>
+ </div>
+</body>
+</html>
diff --git a/platform/www/lib/tpl/dokuwiki/script.js b/platform/www/lib/tpl/dokuwiki/script.js
new file mode 100644
index 0000000..88dae90
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/script.js
@@ -0,0 +1,89 @@
+/**
+ * We handle several device classes based on browser width.
+ *
+ * - desktop: > __tablet_width__ (as set in style.ini)
+ * - mobile:
+ * - tablet <= __tablet_width__
+ * - phone <= __phone_width__
+ */
+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).on('resize',
+ function(){
+ if (resizeTimer) clearTimeout(resizeTimer);
+ resizeTimer = setTimeout(tpl_dokuwiki_mobile,200);
+ }
+ );
+
+ // increase sidebar length to match content (desktop mode only)
+ var sidebar_height = jQuery('.desktop #dokuwiki__aside').height();
+ var pagetool_height = jQuery('.desktop #dokuwiki__pagetools ul:first').height();
+ // pagetools div has no height; ul has a height
+ var content_min = Math.max(sidebar_height || 0, pagetool_height || 0);
+
+ var content_height = jQuery('#dokuwiki__content div.page').height();
+ if(content_min && content_min > content_height) {
+ var $content = jQuery('#dokuwiki__content div.page');
+ $content.css('min-height', content_min);
+ }
+
+ // blur when clicked
+ jQuery('#dokuwiki__pagetools div.tools>ul>li>a').on('click', function(){
+ this.blur();
+ });
+});
diff --git a/platform/www/lib/tpl/dokuwiki/style.ini b/platform/www/lib/tpl/dokuwiki/style.ini
new file mode 100644
index 0000000..723e8bc
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/style.ini
@@ -0,0 +1,89 @@
+; Please see http://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 local conf/tpl/<template-folder-name>/style.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 all are supported.
+; You can reference CSS and LESS files here. Files referenced here will
+; be checked for updates when considering a cache rebuild while files
+; included through LESS' @import statements are not
+
+[stylesheets]
+
+css/basic.less = 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.less = screen
+css/_recent.css = screen
+css/_diff.css = screen
+css/_edit.css = screen
+css/_modal.css = screen
+css/_forms.css = screen
+css/_admin.less = screen
+css/structure.less = screen
+css/design.less = screen
+css/usertools.less = screen
+css/pagetools.less = screen
+css/content.less = screen
+
+css/mobile.less = all
+css/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.
+; Placeholders defined here will also be made available as LESS variables
+; (with surrounding underscores removed, and the prefix @ini_ added)
+
+[replacements]
+
+;--------------------------------------------------------------------------
+;------ guaranteed dokuwiki color placeholders that every plugin can use
+
+; main text and background colors
+__text__ = "#333" ; @ini_text
+__background__ = "#fff" ; @ini_background
+; alternative text and background colors
+__text_alt__ = "#999" ; @ini_text_alt
+__background_alt__ = "#eee" ; @ini_background_alt
+; neutral text and background colors
+__text_neu__ = "#666" ; @ini_text_neu
+__background_neu__ = "#ddd" ; @ini_background_neu
+; border color
+__border__ = "#ccc" ; @ini_border
+
+; highlighted text (e.g. search snippets)
+__highlight__ = "#ff9" ; @ini_highlight
+
+; default link color
+__link__ = "#2b73b7" ; @ini_link
+
+;--------------------------------------------------------------------------
+
+__background_site__ = "#fbfaf9" ; @ini_background_site
+
+; these are used for wiki links
+__existing__ = "#080" ; @ini_existing
+__missing__ = "#d30" ; @ini_missing
+
+; site and sidebar widths
+__site_width__ = "75em" ; @ini_site_width
+__sidebar_width__ = "16em" ; @ini_sidebar_width
+; cut off points for mobile devices
+__tablet_width__ = "800px" ; @ini_tablet_width
+__phone_width__ = "480px" ; @ini_phone_width
+
+__theme_color__ = "#008800" ; @_ini_theme_color: theme_color of the web app
diff --git a/platform/www/lib/tpl/dokuwiki/template.info.txt b/platform/www/lib/tpl/dokuwiki/template.info.txt
new file mode 100644
index 0000000..73ad939
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/template.info.txt
@@ -0,0 +1,7 @@
+base dokuwiki
+author Anika Henke
+email anika@selfthinker.org
+date 2015-07-26
+name DokuWiki Template
+desc DokuWiki's default template since 2012
+url http://www.dokuwiki.org/template:dokuwiki
diff --git a/platform/www/lib/tpl/dokuwiki/tpl_footer.php b/platform/www/lib/tpl/dokuwiki/tpl_footer.php
new file mode 100644
index 0000000..c7a04e1
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/tpl_footer.php
@@ -0,0 +1,34 @@
+<?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="pad">
+ <?php tpl_license(''); // license text ?>
+
+ <div class="buttons">
+ <?php
+ tpl_license('button', true, false, false); // license button, no wrapper
+ $target = ($conf['target']['extern']) ? 'target="'.$conf['target']['extern'].'"' : '';
+ ?>
+ <a href="https://www.dokuwiki.org/donate" title="Donate" <?php echo $target?>><img
+ src="<?php echo tpl_basedir(); ?>images/button-donate.gif" width="80" height="15" alt="Donate" /></a>
+ <a href="https://php.net" title="Powered by PHP" <?php echo $target?>><img
+ src="<?php echo tpl_basedir(); ?>images/button-php.gif" width="80" height="15" alt="Powered by PHP" /></a>
+ <a href="//validator.w3.org/check/referer" title="Valid HTML5" <?php echo $target?>><img
+ src="<?php echo tpl_basedir(); ?>images/button-html5.png" width="80" height="15" alt="Valid HTML5" /></a>
+ <a href="//jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS" <?php echo $target?>><img
+ src="<?php echo tpl_basedir(); ?>images/button-css.png" width="80" height="15" alt="Valid CSS" /></a>
+ <a href="https://dokuwiki.org/" title="Driven by DokuWiki" <?php echo $target?>><img
+ src="<?php echo tpl_basedir(); ?>images/button-dw.png" width="80" height="15"
+ alt="Driven by DokuWiki" /></a>
+ </div>
+</div></div><!-- /footer -->
+
+<?php
+tpl_includeFile('footer.html');
diff --git a/platform/www/lib/tpl/dokuwiki/tpl_header.php b/platform/www/lib/tpl/dokuwiki/tpl_header.php
new file mode 100644
index 0000000..bb8732b
--- /dev/null
+++ b/platform/www/lib/tpl/dokuwiki/tpl_header.php
@@ -0,0 +1,84 @@
+<?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="headings group">
+ <ul class="a11y skip">
+ <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content']; ?></a></li>
+ </ul>
+
+ <h1><?php
+ // get logo either out of the template images folder or data/media folder
+ $logoSize = array();
+ $logo = tpl_getMediaFile(array(':wiki:logo.png', ':logo.png', 'images/logo.png'), false, $logoSize);
+
+ // display logo and wiki title in a link to the home page
+ tpl_link(
+ wl(),
+ '<img src="'.$logo.'" '.$logoSize[3].' alt="" /> <span>'.$conf['title'].'</span>',
+ 'accesskey="h" title="[H]"'
+ );
+ ?></h1>
+ <?php if ($conf['tagline']): ?>
+ <p class="claim"><?php echo $conf['tagline']; ?></p>
+ <?php endif ?>
+ </div>
+
+ <div class="tools group">
+ <!-- USER TOOLS -->
+ <?php if ($conf['useacl']): ?>
+ <div id="dokuwiki__usertools">
+ <h3 class="a11y"><?php echo $lang['user_tools']; ?></h3>
+ <ul>
+ <?php
+ if (!empty($_SERVER['REMOTE_USER'])) {
+ echo '<li class="user">';
+ tpl_userinfo(); /* 'Logged in as ...' */
+ echo '</li>';
+ }
+ echo (new \dokuwiki\Menu\UserMenu())->getListItems('action ');
+ ?>
+ </ul>
+ </div>
+ <?php endif ?>
+
+ <!-- SITE TOOLS -->
+ <div id="dokuwiki__sitetools">
+ <h3 class="a11y"><?php echo $lang['site_tools']; ?></h3>
+ <?php tpl_searchform(); ?>
+ <div class="mobileTools">
+ <?php echo (new \dokuwiki\Menu\MobileMenu())->getDropdown($lang['tools']); ?>
+ </div>
+ <ul>
+ <?php echo (new \dokuwiki\Menu\SiteMenu())->getListItems('action ', false); ?>
+ </ul>
+ </div>
+
+ </div>
+
+ <!-- BREADCRUMBS -->
+ <?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 ?>
+
+
+
+ <hr class="a11y" />
+</div></div><!-- /header -->
diff --git a/platform/www/lib/tpl/index.php b/platform/www/lib/tpl/index.php
new file mode 100644
index 0000000..4d48d51
--- /dev/null
+++ b/platform/www/lib/tpl/index.php
@@ -0,0 +1,71 @@
+<?php
+/**
+ * This file reads the style.ini of the used template and displays the
+ * replacements defined in it. Color replacements will be displayed
+ * visually. This should help with adjusting and using the styles
+ * specified in the style.ini
+ *
+ * @author Andreas Gohr <andi@splitbrain.org>
+ * @author Anika Henke <anika@selfthinker.org>
+ */
+// phpcs:disable PSR1.Files.SideEffects
+if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/../../');
+if(!defined('NOSESSION')) define('NOSESSION',1);
+require_once(DOKU_INC.'inc/init.php');
+?>
+<!DOCTYPE html>
+<html lang="en" dir="ltr">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>Template Replacements</title>
+ <style>
+ body {
+ background-color: #fff;
+ color: #000;
+ }
+ caption {
+ font-weight: bold;
+ }
+ td {
+ margin: 0;
+ padding: 0.5em 2em;
+ font-family: monospace;
+ font-size: 120%;
+ border: 1px solid #fff;
+ }
+ tr:hover td {
+ border: 1px solid #ccc;
+ }
+ .color {
+ padding: 0.25em 1em;
+ border: 1px #000 solid;
+ }
+ </style>
+</head>
+<body>
+<?php
+// get merged style.ini
+$styleUtils = new \dokuwiki\StyleUtils($conf['template']);
+$ini = $styleUtils->cssStyleini();
+
+if (!empty($ini)) {
+ echo '<table>';
+ echo "<caption>".hsc($conf['template'])."'s style.ini</caption>";
+ foreach($ini['replacements'] as $key => $val){
+ echo '<tr>';
+ echo '<td>'.hsc($key).'</td>';
+ echo '<td>'.hsc($val).'</td>';
+ echo '<td>';
+ if(preg_match('/^#[0-f]{3,6}$/i',$val)){
+ echo '<div class="color" style="background-color:'.$val.';">&#160;</div>';
+ }
+ echo '</td>';
+ echo '</tr>';
+ }
+ echo '</table>';
+} else {
+ echo "<p>Non-existent or invalid template or style.ini: <strong>".hsc($conf['template'])."</strong></p>";
+}
+?>
+</body>
+</html>