From 9de555450931ca264628c7b4528a01adc4779439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ctibor=20Bran=C4=8D=C3=ADk?= Date: Wed, 23 Mar 2016 20:36:47 +0100 Subject: Add template for the site to repo. --- lib/tpl/nowawes/COPYING | 340 ++++++++ lib/tpl/nowawes/Makefile | 121 +++ lib/tpl/nowawes/README | 7 + lib/tpl/nowawes/VERSION | 1 + lib/tpl/nowawes/_admin.css | 48 ++ lib/tpl/nowawes/_fileuploader.css | 111 +++ lib/tpl/nowawes/_linkwiz.css | 40 + lib/tpl/nowawes/_mediamanager.css | 432 ++++++++++ lib/tpl/nowawes/_mediaoptions.css | 18 + lib/tpl/nowawes/_subscription.css | 21 + lib/tpl/nowawes/_tabs.css | 37 + lib/tpl/nowawes/arctic_design.css | 693 ++++++++++++++++ lib/tpl/nowawes/arctic_layout.css | 150 ++++ lib/tpl/nowawes/arctic_media.css | 9 + lib/tpl/nowawes/arctic_print.css | 9 + lib/tpl/nowawes/arctic_rtl.css | 28 + lib/tpl/nowawes/conf/default.php | 25 + lib/tpl/nowawes/conf/metadata.php | 24 + lib/tpl/nowawes/design.css | 899 +++++++++++++++++++++ lib/tpl/nowawes/detail.php | 89 ++ lib/tpl/nowawes/footer.html | 23 + lib/tpl/nowawes/images/backgrounds/hlavicka.png | Bin 0 -> 215119 bytes lib/tpl/nowawes/images/backgrounds/menu.png | Bin 0 -> 16652 bytes lib/tpl/nowawes/images/backgrounds/pruh.png | Bin 0 -> 42524 bytes .../nowawes/images/backgrounds/str\303\241nka.png" | Bin 0 -> 247253 bytes lib/tpl/nowawes/images/bullet.gif | Bin 0 -> 50 bytes lib/tpl/nowawes/images/button-apache.png | Bin 0 -> 279 bytes lib/tpl/nowawes/images/button-as.gif | Bin 0 -> 669 bytes lib/tpl/nowawes/images/button-bash.png | Bin 0 -> 251 bytes lib/tpl/nowawes/images/button-cc.gif | Bin 0 -> 1231 bytes lib/tpl/nowawes/images/button-chimeric-de.png | Bin 0 -> 296 bytes lib/tpl/nowawes/images/button-css.png | Bin 0 -> 299 bytes lib/tpl/nowawes/images/button-debian.png | Bin 0 -> 281 bytes lib/tpl/nowawes/images/button-donate.gif | Bin 0 -> 200 bytes lib/tpl/nowawes/images/button-dw.png | Bin 0 -> 427 bytes lib/tpl/nowawes/images/button-email.png | Bin 0 -> 473 bytes lib/tpl/nowawes/images/button-firefox.png | Bin 0 -> 1063 bytes lib/tpl/nowawes/images/button-gimp.png | Bin 0 -> 486 bytes lib/tpl/nowawes/images/button-gpg.gif | Bin 0 -> 256 bytes lib/tpl/nowawes/images/button-icq.gif | Bin 0 -> 1121 bytes lib/tpl/nowawes/images/button-php.gif | Bin 0 -> 269 bytes lib/tpl/nowawes/images/button-rss.png | Bin 0 -> 280 bytes lib/tpl/nowawes/images/button-vim.png | Bin 0 -> 321 bytes lib/tpl/nowawes/images/button-xhtml.png | Bin 0 -> 321 bytes lib/tpl/nowawes/images/buttonshadow.png | Bin 0 -> 257 bytes lib/tpl/nowawes/images/closed.gif | Bin 0 -> 54 bytes lib/tpl/nowawes/images/favicon.ico | Bin 0 -> 7406 bytes lib/tpl/nowawes/images/inputshadow.png | Bin 0 -> 155 bytes lib/tpl/nowawes/images/interwiki.png | Bin 0 -> 1089 bytes lib/tpl/nowawes/images/link_icon.gif | Bin 0 -> 942 bytes lib/tpl/nowawes/images/mail_icon.gif | Bin 0 -> 918 bytes lib/tpl/nowawes/images/mediamanager.png | Bin 0 -> 507 bytes lib/tpl/nowawes/images/open.gif | Bin 0 -> 54 bytes lib/tpl/nowawes/images/resizecol.png | Bin 0 -> 225 bytes lib/tpl/nowawes/images/tocdot2.gif | Bin 0 -> 810 bytes lib/tpl/nowawes/images/tool-admin.png | Bin 0 -> 611 bytes lib/tpl/nowawes/images/tool-backlink.png | Bin 0 -> 540 bytes lib/tpl/nowawes/images/tool-edit.png | Bin 0 -> 574 bytes lib/tpl/nowawes/images/tool-index.png | Bin 0 -> 935 bytes lib/tpl/nowawes/images/tool-login.png | Bin 0 -> 650 bytes lib/tpl/nowawes/images/tool-logout.png | Bin 0 -> 799 bytes lib/tpl/nowawes/images/tool-profile.png | Bin 0 -> 628 bytes lib/tpl/nowawes/images/tool-recent.png | Bin 0 -> 464 bytes lib/tpl/nowawes/images/tool-revert.png | Bin 0 -> 991 bytes lib/tpl/nowawes/images/tool-revisions.png | Bin 0 -> 603 bytes lib/tpl/nowawes/images/tool-source.png | Bin 0 -> 617 bytes lib/tpl/nowawes/images/tool-subscribe.png | Bin 0 -> 681 bytes lib/tpl/nowawes/images/tool-top.png | Bin 0 -> 636 bytes lib/tpl/nowawes/images/urlextern.png | Bin 0 -> 980 bytes lib/tpl/nowawes/images/windows.gif | Bin 0 -> 223 bytes lib/tpl/nowawes/lang/cs/settings.php | 22 + lib/tpl/nowawes/lang/da/settings.php | 21 + lib/tpl/nowawes/lang/de/settings.php | 22 + lib/tpl/nowawes/lang/en/nosidebar.txt | 13 + lib/tpl/nowawes/lang/en/settings.php | 24 + lib/tpl/nowawes/lang/eo/settings.php | 21 + lib/tpl/nowawes/lang/es/settings.php | 21 + lib/tpl/nowawes/lang/fr/settings.php | 21 + lib/tpl/nowawes/lang/it/settings.php | 21 + lib/tpl/nowawes/lang/pl/settings.php | 19 + lib/tpl/nowawes/lang/pt/settings.php | 21 + lib/tpl/nowawes/lang/ru/nosidebar.txt | 13 + lib/tpl/nowawes/lang/ru/settings.php | 21 + lib/tpl/nowawes/layout.css | 79 ++ lib/tpl/nowawes/main.php | 254 ++++++ lib/tpl/nowawes/media.css | 213 +++++ lib/tpl/nowawes/mediamanager.php | 44 + lib/tpl/nowawes/print.css | 228 ++++++ lib/tpl/nowawes/rtl.css | 154 ++++ lib/tpl/nowawes/script.js | 127 +++ lib/tpl/nowawes/sidebars/_dummy | 0 lib/tpl/nowawes/style.ini | 97 +++ lib/tpl/nowawes/style.ini.dist | 95 +++ lib/tpl/nowawes/tpl_functions.php | 377 +++++++++ 94 files changed, 5053 insertions(+) create mode 100644 lib/tpl/nowawes/COPYING create mode 100644 lib/tpl/nowawes/Makefile create mode 100644 lib/tpl/nowawes/README create mode 100644 lib/tpl/nowawes/VERSION create mode 100644 lib/tpl/nowawes/_admin.css create mode 100644 lib/tpl/nowawes/_fileuploader.css create mode 100644 lib/tpl/nowawes/_linkwiz.css create mode 100644 lib/tpl/nowawes/_mediamanager.css create mode 100644 lib/tpl/nowawes/_mediaoptions.css create mode 100644 lib/tpl/nowawes/_subscription.css create mode 100644 lib/tpl/nowawes/_tabs.css create mode 100644 lib/tpl/nowawes/arctic_design.css create mode 100644 lib/tpl/nowawes/arctic_layout.css create mode 100644 lib/tpl/nowawes/arctic_media.css create mode 100644 lib/tpl/nowawes/arctic_print.css create mode 100644 lib/tpl/nowawes/arctic_rtl.css create mode 100644 lib/tpl/nowawes/conf/default.php create mode 100644 lib/tpl/nowawes/conf/metadata.php create mode 100644 lib/tpl/nowawes/design.css create mode 100644 lib/tpl/nowawes/detail.php create mode 100644 lib/tpl/nowawes/footer.html create mode 100644 lib/tpl/nowawes/images/backgrounds/hlavicka.png create mode 100644 lib/tpl/nowawes/images/backgrounds/menu.png create mode 100644 lib/tpl/nowawes/images/backgrounds/pruh.png create mode 100644 "lib/tpl/nowawes/images/backgrounds/str\303\241nka.png" create mode 100644 lib/tpl/nowawes/images/bullet.gif create mode 100644 lib/tpl/nowawes/images/button-apache.png create mode 100644 lib/tpl/nowawes/images/button-as.gif create mode 100644 lib/tpl/nowawes/images/button-bash.png create mode 100644 lib/tpl/nowawes/images/button-cc.gif create mode 100644 lib/tpl/nowawes/images/button-chimeric-de.png create mode 100644 lib/tpl/nowawes/images/button-css.png create mode 100644 lib/tpl/nowawes/images/button-debian.png create mode 100644 lib/tpl/nowawes/images/button-donate.gif create mode 100644 lib/tpl/nowawes/images/button-dw.png create mode 100644 lib/tpl/nowawes/images/button-email.png create mode 100644 lib/tpl/nowawes/images/button-firefox.png create mode 100644 lib/tpl/nowawes/images/button-gimp.png create mode 100644 lib/tpl/nowawes/images/button-gpg.gif create mode 100644 lib/tpl/nowawes/images/button-icq.gif create mode 100644 lib/tpl/nowawes/images/button-php.gif create mode 100644 lib/tpl/nowawes/images/button-rss.png create mode 100644 lib/tpl/nowawes/images/button-vim.png create mode 100644 lib/tpl/nowawes/images/button-xhtml.png create mode 100644 lib/tpl/nowawes/images/buttonshadow.png create mode 100644 lib/tpl/nowawes/images/closed.gif create mode 100644 lib/tpl/nowawes/images/favicon.ico create mode 100644 lib/tpl/nowawes/images/inputshadow.png create mode 100644 lib/tpl/nowawes/images/interwiki.png create mode 100644 lib/tpl/nowawes/images/link_icon.gif create mode 100644 lib/tpl/nowawes/images/mail_icon.gif create mode 100644 lib/tpl/nowawes/images/mediamanager.png create mode 100644 lib/tpl/nowawes/images/open.gif create mode 100644 lib/tpl/nowawes/images/resizecol.png create mode 100644 lib/tpl/nowawes/images/tocdot2.gif create mode 100644 lib/tpl/nowawes/images/tool-admin.png create mode 100644 lib/tpl/nowawes/images/tool-backlink.png create mode 100644 lib/tpl/nowawes/images/tool-edit.png create mode 100644 lib/tpl/nowawes/images/tool-index.png create mode 100644 lib/tpl/nowawes/images/tool-login.png create mode 100644 lib/tpl/nowawes/images/tool-logout.png create mode 100644 lib/tpl/nowawes/images/tool-profile.png create mode 100644 lib/tpl/nowawes/images/tool-recent.png create mode 100644 lib/tpl/nowawes/images/tool-revert.png create mode 100644 lib/tpl/nowawes/images/tool-revisions.png create mode 100644 lib/tpl/nowawes/images/tool-source.png create mode 100644 lib/tpl/nowawes/images/tool-subscribe.png create mode 100644 lib/tpl/nowawes/images/tool-top.png create mode 100644 lib/tpl/nowawes/images/urlextern.png create mode 100644 lib/tpl/nowawes/images/windows.gif create mode 100644 lib/tpl/nowawes/lang/cs/settings.php create mode 100644 lib/tpl/nowawes/lang/da/settings.php create mode 100644 lib/tpl/nowawes/lang/de/settings.php create mode 100644 lib/tpl/nowawes/lang/en/nosidebar.txt create mode 100644 lib/tpl/nowawes/lang/en/settings.php create mode 100644 lib/tpl/nowawes/lang/eo/settings.php create mode 100644 lib/tpl/nowawes/lang/es/settings.php create mode 100644 lib/tpl/nowawes/lang/fr/settings.php create mode 100644 lib/tpl/nowawes/lang/it/settings.php create mode 100644 lib/tpl/nowawes/lang/pl/settings.php create mode 100644 lib/tpl/nowawes/lang/pt/settings.php create mode 100644 lib/tpl/nowawes/lang/ru/nosidebar.txt create mode 100644 lib/tpl/nowawes/lang/ru/settings.php create mode 100644 lib/tpl/nowawes/layout.css create mode 100644 lib/tpl/nowawes/main.php create mode 100644 lib/tpl/nowawes/media.css create mode 100644 lib/tpl/nowawes/mediamanager.php create mode 100644 lib/tpl/nowawes/print.css create mode 100644 lib/tpl/nowawes/rtl.css create mode 100644 lib/tpl/nowawes/script.js create mode 100644 lib/tpl/nowawes/sidebars/_dummy create mode 100644 lib/tpl/nowawes/style.ini create mode 100644 lib/tpl/nowawes/style.ini.dist create mode 100644 lib/tpl/nowawes/tpl_functions.php diff --git a/lib/tpl/nowawes/COPYING b/lib/tpl/nowawes/COPYING new file mode 100644 index 000000000..d60c31a97 --- /dev/null +++ b/lib/tpl/nowawes/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 Library 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. + + + Copyright (C) + + 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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. + + , 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 Library General +Public License instead of this License. diff --git a/lib/tpl/nowawes/Makefile b/lib/tpl/nowawes/Makefile new file mode 100644 index 000000000..ec5dab8db --- /dev/null +++ b/lib/tpl/nowawes/Makefile @@ -0,0 +1,121 @@ +# Makefile for DokuWiki Template Arctic +# +# @author Michael Klier + +DIST_VERSION=`cat VERSION` +DIST_NAME=template-arctic-$(DIST_VERSION) +DIST_DIR=../arctic + +# {{{ DOCS +DOCS=$(DIST_DIR)/README \ + $(DIST_DIR)/COPYING \ + $(DIST_DIR)/VERSION +# }}} + +# {{{ CSS +CSS=$(DIST_DIR)/arctic_design.css \ + $(DIST_DIR)/arctic_layout.css \ + $(DIST_DIR)/arctic_media.css \ + $(DIST_DIR)/arctic_print.css \ + $(DIST_DIR)/arctic_rtl.css\ + $(DIST_DIR)/design.css \ + $(DIST_DIR)/layout.css \ + $(DIST_DIR)/media.css \ + $(DIST_DIR)/print.css \ + $(DIST_DIR)/rtl.css +# }}} + +# {{{ STYLE_INI +STYLE_INI=$(DIST_DIR)/style.ini \ + $(DIST_DIR)/style.ini.dist +# }}} + +# {{{ PHP +PHP=$(DIST_DIR)/detail.php \ + $(DIST_DIR)/main.php \ + $(DIST_DIR)/mediamanager.php \ + $(DIST_DIR)/tpl_functions.php +# }}} + +# {{{ HTML +HTML=$(DIST_DIR)/footer.html \ + $(DIST_DIR)/left_sidebar.html \ + $(DIST_DIR)/right_sidebar.html +# }}} + +# {{{ SCRIPT +SCRIPT=$(DIST_DIR)/script.js +# }}} + +# {{{ IMAGES +IMAGES=$(DIST_DIR)/images/bullet.gif \ + $(DIST_DIR)/images/button-apache.png \ + $(DIST_DIR)/images/button-as.gif \ + $(DIST_DIR)/images/button-bash.png \ + $(DIST_DIR)/images/button-cc.gif \ + $(DIST_DIR)/images/button-chimeric-de.png \ + $(DIST_DIR)/images/button-css.png \ + $(DIST_DIR)/images/button-debian.png \ + $(DIST_DIR)/images/button-donate.gif \ + $(DIST_DIR)/images/button-dw.png \ + $(DIST_DIR)/images/button-email.png \ + $(DIST_DIR)/images/button-firefox.png \ + $(DIST_DIR)/images/button-gimp.png \ + $(DIST_DIR)/images/button-gpg.gif \ + $(DIST_DIR)/images/button-icq.gif \ + $(DIST_DIR)/images/button-php.gif \ + $(DIST_DIR)/images/button-rss.png \ + $(DIST_DIR)/images/buttonshadow.png \ + $(DIST_DIR)/images/button-vim.png \ + $(DIST_DIR)/images/button-xhtml.png \ + $(DIST_DIR)/images/closed.gif \ + $(DIST_DIR)/images/favicon.ico \ + $(DIST_DIR)/images/inputshadow.png \ + $(DIST_DIR)/images/interwiki.png \ + $(DIST_DIR)/images/link_icon.gif \ + $(DIST_DIR)/images/mail_icon.gif \ + $(DIST_DIR)/images/open.gif \ + $(DIST_DIR)/images/tocdot2.gif \ + $(DIST_DIR)/images/tool-admin.png \ + $(DIST_DIR)/images/tool-backlink.png \ + $(DIST_DIR)/images/tool-edit.png \ + $(DIST_DIR)/images/tool-index.png \ + $(DIST_DIR)/images/tool-login.png \ + $(DIST_DIR)/images/tool-logout.png \ + $(DIST_DIR)/images/tool-profile.png \ + $(DIST_DIR)/images/tool-recent.png \ + $(DIST_DIR)/images/tool-revisions.png \ + $(DIST_DIR)/images/tool-source.png \ + $(DIST_DIR)/images/tool-subscribe.png \ + $(DIST_DIR)/images/tool-top.png \ + $(DIST_DIR)/images/urlextern.png \ + $(DIST_DIR)/images/windows.gif +# }}} + +# {{{ LANG +LANG=$(DIST_DIR)/lang/de/settings.php \ + $(DIST_DIR)/lang/cs/settings.php \ + $(DIST_DIR)/lang/en/settings.php \ + $(DIST_DIR)/lang/eo/settings.php \ + $(DIST_DIR)/lang/es/settings.php \ + $(DIST_DIR)/lang/fr/settings.php \ + $(DIST_DIR)/lang/it/settings.php \ + $(DIST_DIR)/lang/pl/settings.php \ + $(DIST_DIR)/lang/pt/settings.php \ + $(DIST_DIR)/lang/ru/settings.php +# }}} + +# {{{ CONF +CONF=$(DIST_DIR)/conf/default.php \ + $(DIST_DIR)/conf/metadata.php +# }}} + +DIST_FILES= $(DOCS) $(CSS) $(HTML) $(SCRIPT) $(PHP) $(STYLE_INI) $(IMAGES) $(LANG) $(CONF) + +dist: + tar czf $(DIST_NAME).tgz $(DIST_FILES) + +clean: + rm $(DIST_NAME).tgz + +# vim:ts=4:sw=4:fdm=marker: diff --git a/lib/tpl/nowawes/README b/lib/tpl/nowawes/README new file mode 100644 index 000000000..a77d3d5fb --- /dev/null +++ b/lib/tpl/nowawes/README @@ -0,0 +1,7 @@ +Arctic Template for DokuWiki + +All documentation for the Arctic Template is available online at: +http://dokuwiki.org/template:arctic + +(c) 2005 - 2010 by Michael Klier +See COPYING for license info. diff --git a/lib/tpl/nowawes/VERSION b/lib/tpl/nowawes/VERSION new file mode 100644 index 000000000..81c2a215e --- /dev/null +++ b/lib/tpl/nowawes/VERSION @@ -0,0 +1 @@ +2012-01-25-stable diff --git a/lib/tpl/nowawes/_admin.css b/lib/tpl/nowawes/_admin.css new file mode 100644 index 000000000..6c8066ba6 --- /dev/null +++ b/lib/tpl/nowawes/_admin.css @@ -0,0 +1,48 @@ +#admin__version { + clear:left; + float: right; + color: __text_neu__; +} + +.dokuwiki ul.admin_tasks { + font-size: 115%; + float: left; + width: 40%; + list-style-type: none; +} + +.dokuwiki ul.admin_tasks li { + line-height: 22px; + padding-left: 35px; + margin: 1em 0; + background: transparent none no-repeat scroll 0 0; + text-align: left; +} + +.dokuwiki ul.admin_tasks li div.li { + font-weight: bold; +} + +.dokuwiki ul.admin_tasks li.admin_acl { + background-image: url(../../images/admin/acl.png); +} + +.dokuwiki ul.admin_tasks li.admin_usermanager { + background-image: url(../../images/admin/usermanager.png); +} + +.dokuwiki ul.admin_tasks li.admin_plugin { + background-image: url(../../images/admin/plugin.png); +} + +.dokuwiki ul.admin_tasks li.admin_config { + background-image: url(../../images/admin/config.png); +} + +.dokuwiki ul.admin_tasks li.admin_revert { + background-image: url(../../images/admin/revert.png); +} + +.dokuwiki ul.admin_tasks li.admin_popularity { + background-image: url(../../images/admin/popularity.png); +} diff --git a/lib/tpl/nowawes/_fileuploader.css b/lib/tpl/nowawes/_fileuploader.css new file mode 100644 index 000000000..d06bfd519 --- /dev/null +++ b/lib/tpl/nowawes/_fileuploader.css @@ -0,0 +1,111 @@ + +.qq-uploader { + position: relative; + width: 100%; +} + +.qq-uploader .error { + color: #f00; + background-color: #fff; +} + +/* select file button */ + +.qq-upload-button { + display: inline-block; + border: 1px solid __border__; + color: __text__; + background: __background__ url(images/buttonshadow.png) repeat-x bottom; + text-decoration: none; + font-size: 100%; + cursor: pointer; + margin: 1px 1px 5px; + padding: 0.125em 0.4em; +} + +* html .qq-upload-button, +*+html .qq-upload-button { + display: inline; +} + +.qq-upload-button-focus { + outline: 1px dotted; +} + +/* drop area */ + +.qq-upload-drop-area { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + min-height: 70px; + z-index: 2; + background: __background_neu__; + color: __text__; + text-align: center; +} + +.qq-upload-drop-area span { + display: block; + position: absolute; + top: 50%; + width: 100%; + margin-top: -8px; + font-size: 120%; +} + +.qq-upload-drop-area-active { + background: __background_alt__; +} + +/* list of files to upload */ + +div.qq-uploader ul { + margin: 0; + list-style: none; +} + +.qq-uploader li { + margin-bottom: 5px; + color: __text__; +} + +.qq-uploader li span, +.qq-uploader li input, +.qq-uploader li a { + margin-right: 5px; +} + +.qq-upload-file { + display: block; + font-weight: bold; +} + +.qq-upload-spinner { + display: inline-block; + background: url("../../images/throbber.gif"); + width: 15px; + height: 15px; + vertical-align: text-bottom; +} + +.qq-upload-size, +.qq-upload-cancel { + font-size: 85%; +} + +.qq-upload-failed-text { + display: none; +} +.qq-upload-fail .qq-upload-failed-text { + display: inline; +} + +.qq-action-container * { + vertical-align: middle; +} +.qq-overwrite-check input { + margin-left: 10px; +} diff --git a/lib/tpl/nowawes/_linkwiz.css b/lib/tpl/nowawes/_linkwiz.css new file mode 100644 index 000000000..ca8812867 --- /dev/null +++ b/lib/tpl/nowawes/_linkwiz.css @@ -0,0 +1,40 @@ +#link__wiz { +} + +#link__wiz_result { + background-color: __background__; + width: 293px; + height: 193px; + overflow: auto; + border: 1px solid __border__; + margin: 3px auto; + text-align: left; +} + +#link__wiz_result div.type_u { + padding: 3px 3px 3px 22px; + background: transparent url(../../images/up.png) 3px 3px no-repeat; +} + +#link__wiz_result div.type_f { + padding: 3px 3px 3px 22px; + background: transparent url(../../images/page.png) 3px 3px no-repeat; +} + +#link__wiz_result div.type_d { + padding: 3px 3px 3px 22px; + background: transparent url(../../images/ns.png) 3px 3px no-repeat; +} + +#link__wiz_result div.even { + background-color: __background_neu__; +} + +#link__wiz_result div.selected { + background-color: __background_alt__; +} + +#link__wiz_result span { + display: block; + color: __text_neu__; +} diff --git a/lib/tpl/nowawes/_mediamanager.css b/lib/tpl/nowawes/_mediamanager.css new file mode 100644 index 000000000..68fa2e97f --- /dev/null +++ b/lib/tpl/nowawes/_mediamanager.css @@ -0,0 +1,432 @@ + +/*____________ Layout ____________*/ + +#mediamanager__page h1 { + margin: 0 0 .5em; +} + +#mediamanager__page { + min-width: 800px; + width: 100%; + text-align: left; +} + +#mediamanager__page .panel { + float: left; +} + +#mediamanager__page .namespaces { + width: 15%; + min-width: 120px; +} +#mediamanager__page .filelist { + width: 50%; + min-width: 400px; +} +#mediamanager__page .file { + width: 35%; + min-width: 280px; +} + +#mediamanager__page .panelHeader { + background-color: __background_alt__; + margin: 0 10px 10px 0; + padding: 10px 10px 8px; + text-align: left; + min-height: 20px; + overflow: hidden; +} + +#mediamanager__page .panelContent { + overflow-y: auto; + overflow-x: hidden; + padding: 0; + margin: 0 10px 10px 0; + position: relative; +} + +#mediamanager__page .file .panelHeader, +#mediamanager__page .file .panelContent { + margin-right: 0; +} + +#mediamanager__page .ui-resizable-e { + width: 6px; + right: 2px; + background: transparent url(images/resizecol.png) center center no-repeat; +} +#mediamanager__page .ui-resizable-e:hover { + background-color: __background_alt__; +} + + +/*____________ Namespaces tree ____________*/ + +#mediamanager__page .namespaces h2 { + font-size: 1em; + display: inline-block; + border-width: 0; + padding: .3em .8em; + margin: 0 .3em 0 0; + border-radius: .5em .5em 0 0; + font-weight: normal; + background-color: __background_alt__; + color: __text__; + line-height: 1.5em; +} +* html #mediamanager__page .namespaces h2, +*+html #mediamanager__page .namespaces h2 { + display: inline; +} + +#mediamanager__page .namespaces ul { + margin-left: .2em; + list-style: none; +} +#mediamanager__page .namespaces ul ul { + margin-left: 1em; +} + +#mediamanager__page .namespaces ul .selected { + background-color: __highlight__; + font-weight: bold; +} + +/*____________ Panel header ____________*/ + +#mediamanager__page .panelHeader h3 { + float: left; + font-weight: normal; + font-size: 1em; + padding: 0; + margin: 0 0 3px; +} + +#mediamanager__page .panelHeader form.options { + float: right; + margin-top: -3px; +} + +#mediamanager__page .panelHeader ul { + list-style: none; + margin: 0; + padding: 0; +} +#mediamanager__page .panelHeader ul li { + color: __text__; + float: left; + line-height: 1; + padding-left: 3px; +} + +#mediamanager__page .panelHeader ul li.listType { + padding-left: 30px; + background: url('../../images/icon-list.png') 3px 1px no-repeat; +} +#mediamanager__page .panelHeader ul li.sortBy { + padding-left: 30px; + background: url('../../images/icon-sort.png') 3px 1px no-repeat; +} + +#mediamanager__page .panelHeader form.options .ui-buttonset label{ + font-size: 90%; + margin-right: -0.4em; +} +#mediamanager__page .panelHeader form.options .ui-buttonset .ui-button-text { + padding: .4em .7em; + line-height: 1; +} + +/*____________ File list ____________*/ + +#mediamanager__page .filelist ul { + padding: 0; + margin: 0; +} + +#mediamanager__page .filelist .panelContent ul li:hover { + background-color: __background_alt__; +} + +#mediamanager__page .filelist li dt a { + vertical-align: middle; + display: table-cell; + overflow: hidden; +} +* html #mediamanager__page .filelist .thumbs li dt a, +*+html #mediamanager__page .filelist .thumbs li dt a { + display: block; +} +* html #mediamanager__page .filelist .rows li dt a, +*+html #mediamanager__page .filelist .rows li dt a { + display: inline; +} + +/* thumbs */ + +#mediamanager__page .filelist .thumbs li { + width: 100px; + min-height: 130px; + display: inline-block; + display: -moz-inline-stack; + /* the right margin should visually be 10px, but because of its inline-block nature the whitespace inbetween is about 4px more */ + margin: 0 6px 10px 0; + background-color: __background_neu__; + color: __text__; + padding: 5px; + vertical-align: top; + text-align: center; + position: relative; + line-height: 1.2; +} +* html #mediamanager__page .filelist .thumbs li, +*+html #mediamanager__page .filelist .thumbs li { + display: inline; + zoom: 1; +} + +#mediamanager__page .filelist .thumbs li dt a { + width: 100px; + height: 90px; +} + +#mediamanager__page .filelist .thumbs li dt a img { + max-width: 90px; + max-height: 90px; +} + +#mediamanager__page .filelist .thumbs li .name, +#mediamanager__page .filelist .thumbs li .size, +#mediamanager__page .filelist .thumbs li .filesize, +#mediamanager__page .filelist .thumbs li .date { + display: block; + overflow: hidden; + 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; +} + +/* rows */ + +#mediamanager__page .filelist .rows li { + list-style: none; + display: block; + position: relative; + max-height: 50px; + margin: 0; + margin-bottom: 3px; + background-color: __background__; + color: __text__; + overflow: hidden; +} + +#mediamanager__page .filelist .rows li:nth-child(2n+1) { + background-color: __background_neu__; +} + +#mediamanager__page .filelist .rows li dt { + float: left; + width: 10%; + height: 40px; + text-align: center; +} + +#mediamanager__page .filelist .rows li dt a { + width: 100px; + height: 40px; +} + +#mediamanager__page .filelist .rows li dt a img { + max-width: 40px; + max-height: 40px; +} + +#mediamanager__page .filelist .rows li .name, +#mediamanager__page .filelist .rows li .size, +#mediamanager__page .filelist .rows li .filesize, +#mediamanager__page .filelist .rows li .date { + overflow: hidden; + float: left; + margin-left: 1%; + white-space: nowrap; +} + +#mediamanager__page .filelist .rows li .name { + width: 30%; + font-weight: bold; +} +#mediamanager__page .filelist .rows li .size, +#mediamanager__page .filelist .rows li .filesize { + width: 15%; +} +#mediamanager__page .filelist .rows li .date { + width: 20%; + font-style: italic; + white-space: normal; +} + +/*____________ Upload panel ____________*/ + +#mediamanager__page div.upload { + padding-bottom: 0.5em; +} + +#media__content #mediamanager__uploader { + border-bottom: 1px solid __border__; + padding-bottom: 0.5em; +} + +/*____________ File preview ____________*/ + +#mediamanager__page .file ul.actions { + text-align: center; + margin: 0 0 5px; + list-style: none; +} +#mediamanager__page .file ul.actions li { + display: inline; +} + +#mediamanager__page .file div.image { + margin-bottom: 5px; + text-align: center; +} + +#mediamanager__page .file div.image img { + width: 100%; +} + +#mediamanager__page .file dl { +} +#mediamanager__page .file dl dt { + font-weight: bold; + display: block; + background-color: __background_alt__; +} +#mediamanager__page .file dl dd { + display: block; + background-color: __background_neu__; +} + + +/*____________ Meta data edit form ____________*/ + +#mediamanager__page form.meta div.row { + margin-bottom: 5px; +} + +#mediamanager__page form.meta label span { + display: block; +} + +#mediamanager__page form.meta input { + width: 50%; +} + +#mediamanager__page form.meta input.button { + width: auto; +} + +#mediamanager__page form.meta textarea.edit { + height: 6em; + width: 95%; + min-width: 95%; + max-width: 95%; +} + +/*____________ Revisions form ____________*/ + +#mediamanager__page #page__revisions ul { + margin-left: 10px; + list-style-type: none; +} + +#mediamanager__page #page__revisions ul li div.li div { + font-size: 90%; + color: __text_neu__; + padding-left: 18px; +} + +#mediamanager__page #page__revisions ul li div.li input { + position: relative; + top: 1px; +} + +/* File diff */ + +#mediamanager__diff table { + table-layout: fixed; +} + +#mediamanager__diff td, +#mediamanager__diff th { + width: 48%; + margin: 0 5px 10px 0; + padding: 0; + vertical-align: top; + text-align: left; +} + +#mediamanager__diff th { + font-weight: normal; +} +#mediamanager__diff th a { + font-weight: bold; +} +#mediamanager__diff th span { + font-size: 90%; +} + +#mediamanager__diff dl dd strong{ + background-color: __highlight__; + color: __text__; + font-weight: normal; +} + +/* Image diff */ + +#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 .image1, +#mediamanager__diff .imageDiff .image2 { + width: 97%; +} +#mediamanager__diff .imageDiff .image2 { + position: absolute; + top: 0; + left: 0; +} + +#mediamanager__diff .imageDiff.opacity .image2 { + -moz-opacity: 0.5; + -khtml-opacity: 0.5; + opacity: 0.5; +} + +#mediamanager__diff .imageDiff.portions .image2 { + border-right: 1px solid red; + overflow: hidden; +} + +#mediamanager__diff .imageDiff img { + width: 100%; +} + diff --git a/lib/tpl/nowawes/_mediaoptions.css b/lib/tpl/nowawes/_mediaoptions.css new file mode 100644 index 000000000..81e87aa8e --- /dev/null +++ b/lib/tpl/nowawes/_mediaoptions.css @@ -0,0 +1,18 @@ + +#media__popup_content p { + margin: 0 0 .5em; +} + +#media__popup_content label { + float: left; + width: 9em; +} + +#media__popup_content .button { + margin-right: 1px; + cursor: pointer; +} + +#media__popup_content input.button { + margin-left: 9em; +} diff --git a/lib/tpl/nowawes/_subscription.css b/lib/tpl/nowawes/_subscription.css new file mode 100644 index 000000000..0792c8c21 --- /dev/null +++ b/lib/tpl/nowawes/_subscription.css @@ -0,0 +1,21 @@ +/** + * Styles for the subscription page + */ + +form#subscribe__form { + display: block; + width: 300px; + text-align: center; +} + +form#subscribe__form fieldset { + text-align: left; + margin: 0.5em 0; +} + +form#subscribe__form label { + display:block; + margin: 0 0.5em 0.5em; +} + + diff --git a/lib/tpl/nowawes/_tabs.css b/lib/tpl/nowawes/_tabs.css new file mode 100644 index 000000000..8bfb676a0 --- /dev/null +++ b/lib/tpl/nowawes/_tabs.css @@ -0,0 +1,37 @@ + +.dokuwiki ul.tabs { + padding: 0; + margin: 0; + overflow: hidden; +} +.dokuwiki ul.tabs li { + float: left; + padding: 0; + margin: 0; + list-style: none; +} + +.dokuwiki ul.tabs li strong, +.dokuwiki ul.tabs li a { + float: left; + padding: .3em .8em; + margin: 0 .3em 0 0; + background-color: __background_neu__; + color: __text__; + border-radius: .5em .5em 0 0; +} +.dokuwiki ul.tabs li strong { + font-weight: normal; +} + +.dokuwiki ul.tabs li a:link, +.dokuwiki ul.tabs li a:visited { +} +.dokuwiki ul.tabs li a:hover, +.dokuwiki ul.tabs li a:active, +.dokuwiki ul.tabs li a:focus, +.dokuwiki ul.tabs li strong { + background-color: __background_alt__; + color: __text__; + text-decoration: none; +} diff --git a/lib/tpl/nowawes/arctic_design.css b/lib/tpl/nowawes/arctic_design.css new file mode 100644 index 000000000..1b9976f90 --- /dev/null +++ b/lib/tpl/nowawes/arctic_design.css @@ -0,0 +1,693 @@ +/** + * Design Elements - additional CSS for the Arctic template + * + * @author Michael Klier + */ + +/* ----- General Elements ----- */ +body { + font: __font_size__ Verdana, "Lucida Grande", Lucida, Helvetica, Arial, sans-serif; + color: __text__; + margin: __body_margin__; + line-height: __line_height__; + background: __body_background__; + padding: 0; +} + +div#wrapper { + margin: auto; + width: __wiki_width__; +/* border: 10px solid #77d327; */ + background: __background__; + padding: __page_padding__; + border: 1px solid __form_border__; + border-top: none; + border-bottom: none; + box-shadow: 0 0 5px #00b300; + padding-bottom: 1px; +} + +div.dokuwiki div.left_sidebar { + float: left; + width: 20%; + padding: 0.2em 0.5em 0 0; + border-right: none; + text-align: center; +} + +div.dokuwiki div.right_sidebar { + float: right; + width: 21%; + padding: 0.2em 0em 0 0.5em; + border-left: 1px solid __border__; + position: fixed; + left: 0px; +} + +div.dokuwiki div.page { + text-align: justify; + padding-top: 0; +} + +div.dokuwiki div.left_page, +div.dokuwiki div.right_page { + text-align: justify; + margin-top: 10px; + float: left; + width: 574px !important; + padding: 2%; + background: __background_alt__; + border-radius: 10px; + border: 1px solid __form_border__; + -o-border-radius: 10px; + -webkit-border-radius: 10px; + -moz-border-radius: 10px; + /*box-shadow: 0px 0px 10px #00b300; + -webkit-box-shadow: 0px 0px 10px #00b300; + -o-box-shadow: 0px 0px 10px #00b300; + -moz-box-shadow: 0px 0px 10px #00b300;*/ +} + +div.dokuwiki div.center_page { + text-align: justify; + float: left; + text-align: justify; + margin-top: 10px; + float: left; + width: 49% !important; + padding: 2%; + background: __background_alt__; + border-radius: 10px; + border: 1px solid __form_border__; + -o-border-radius: 10px; + -webkit-border-radius: 10px; + -moz-border-radius: 10px; +} + +div.footerinc { + border: none; + border-radius: 10px; + -o-border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + background-color: __footer_background__; + margin-left: 21%; + border: 1px solid __form_border__; + width: 75.5%; +} + +div.dokuwiki .footerinc a img { + padding-top: __footer_padding__; + padding-bottom: __footer_padding__; +} + +/* ----- Sidebar -------------- */ +div.dokuwiki div.left_sidebar div.secedit, +div.dokuwiki div.right_sidebar div.secedit { + text-align: right; +} + +div.dokuwiki div.left_sidebar div.breadcrumbs, +div.dokuwiki div.right_sidebar div.breadcrumbs { + margin-left: 0; +} + + +div.dokuwiki div.left_sidebar div.secedit input.button, +div.dokuwiki div.right_sidebar div.secedit input.button { + float: none; + margin: 0.5em; + padding: 0.3em; + box-shadow: 0 0 5px __background_alt__; +} + +div.dokuwiki div.left_sidebar h1, +div.dokuwiki div.left_sidebar h2, +div.dokuwiki div.left_sidebar h3, +div.dokuwiki div.left_sidebar h4, +div.dokuwiki div.left_sidebar h5, +div.dokuwiki div.left_sidebar h6, +div.dokuwiki div.right_sidebar h1, +div.dokuwiki div.right_sidebar h2, +div.dokuwiki div.right_sidebar h3, +div.dokuwiki div.right_sidebar h4, +div.dokuwiki div.right_sidebar h5, +div.dokuwiki div.right_sidebar h6 { + font-size: 100%; + font-family: Verdana, "Lucida Grande", Lucida, Helvetica, Arial, sans-serif; + font-weight: bold; + padding: 0.1em; + border: none; + margin: 0 0 0.2em 0; +} + +div.dokuwiki div.left_sidebar h1, +div.dokuwiki div.right_sidebar h1 { + background: __background_alt__; + padding-left: 0.2em; + border-radius: 5px; + border: 1px solid #00b300; + box-shadow: 0 0 5px #c3cae0; +} + +div.dokuwiki div.left_sidebar div.level1, +div.dokuwiki div.right_sidebar div.level1, +div.dokuwiki div.left_sidebar div.level2, +div.dokuwiki div.right_sidebar div.level2, +div.dokuwiki div.left_sidebar div.level3, +div.dokuwiki div.right_sidebar div.level3, +div.dokuwiki div.left_sidebar div.level4, +div.dokuwiki div.right_sidebar div.level4, +div.dokuwiki div.left_sidebar div.level5, +div.dokuwiki div.right_sidebar div.level5 { + margin-left: 0px; + padding: 0; +} + +div.dokuwiki div.left_sidebar ul, +div.dokuwiki div.right_sidebar ul { + margin-top: 0; +/* margin-left: 1.5em; */ +} + +div.dokuwiki div.sidebar_box { + border: none; + margin-bottom: 0.2em; + padding: 0.3em; + overflow: hidden; + width: 121px; + margin-left: 12px; +} + +/* ----- Links ---------------- */ +div.dokuwiki a:hover { + color: __extern__; +} + +div.dokuwiki h1 a { + display: block; +} + +div.dokuwiki a.action { + color: __extern__; +} + +div.dokuwiki .bar a.action { + margin: 0 0.3em 0 0.3em; + height: 24px; + padding-top: 3px; + float: left; +} + +div.dokuwiki a.urlextern{ + background: transparent url(images/urlextern.png) 0px 1px no-repeat; + padding-left: 18px; +} + +/* general headline setup */ +div.dokuwiki h1 a, +div.dokuwiki h2 a, +div.dokuwiki h3 a, +div.dokuwiki h4 a, +div.dokuwiki h5 a, +div.dokuwiki a.nolink { + color: __headline_color__ !important; +} + +/* ----- Page Elements -------- */ +div.dokuwiki div.breadcrumbs { + background: none; + margin-left: 165px; + width: 600px; + position: relative; + top: 67px; + background: __background_alt__; + border: 1px solid #00b300; + border-radius: 5px; +} + +/* general headline setup */ +div.dokuwiki h1, +div.dokuwiki h2, +div.dokuwiki h3, +div.dokuwiki h4, +div.dokuwiki h5 { + color: __headline_color__; + border-color: __border__; + border: none; + padding-left: 1em; + padding-right: 2em; + padding-top: 0; +} + +div.dokuwiki h1, +div.dokuwiki h2 { + background-color: __background_alt__; + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; + border: 1px solid #00b300; + box-shadow: 1px 1px 5px __background__; + clear: none; + text-shadow: 0 0 5px white; +} + +div.dokuwiki div.right_page h1::after { + content:""; + position:relative; + top:8px; + left:515px; + float:left; + width:16px; + height:16px; + -moz-border-radius:8px; + -webkit-border-radius:8px; + border-radius:8px; + background: __background_alt__; + -moz-box-shadow: inset 0 0 5px __background__; + -webkit-box-shadow: inset 0 0 5px __background__; + box-shadow: inset 0 0 5px __backgroud__; + border: 1px solid #00b300; + z-index: 98; +} + +div.right_page div.blogtng_list h1::after { + left: 485px; + +} + + +div.right_page div.blogtng_list h1 { + width: 482px; + background: __background_alt__; + text-align: left; + font-size: 140%; +} + +div.right_page div.blogtng_list h1::after { + top: -22px; + left: 490px; +} + +/* special headlines */ +div.dokuwiki h1 {font-size: 180%; font-weight: normal; background-color: __background_other__; text-align: center;} +div.dokuwiki h2 {font-size: 140%; background-color: __background__;} +div.dokuwiki h3 {font-size: 120%; font-weight: normal;} +div.dokuwiki h4 {font-size: 120%; font-weight: normal;} +div.dokuwiki h5 {font-size: 120%; font-weight: bold;} + +/* code blocks by indention */ +div.dokuwiki pre.code, +div.dokuwiki pre.file { + width: auto !important; + width: 98%; + font-size: 100%; +} + +/* Footnotes fix for IE7 */ +* html div.insitu-footnote { + margin: 12em 0 0 38em; +} + +/* ----- Forms ---------------- */ +div.dokuwiki fieldset { + border-color: __form_border__; +} + +div.dokuwiki textarea.edit { + border-color: __form_border__; +} + +div.dokuwiki input.edit, div.dokuwiki select.edit { + border-color: __form_border__; +} + +div.dokuwiki input.missing { + border-color: __form_border__; +} + +div.dokuwiki div.left_sidebar form#dw__search, +div.dokuwiki div.right_sidebar form#dw__search { + margin-bottom: 0.2em; + display: block; + font-size: 100%; + text-align: center; + margin-left: 12px; + width: 130px; +} + +div.dokuwiki div.left_sidebar form#dw__search input.edit, +div.dokuwiki div.right_sidebar form#dw__search input.edit { + font-size: 100%; + display: block; + width: 80%; + margin: auto; +} + +/* Buttons */ +div.dokuwiki input.button, div.dokuwiki button.button{ + border-color: __form_border__; + font-size: 100%; +} + +div.dokuwiki div.secedit input.button { + border-color: __form_border__; + font-size: 100%; + margin: 0.5em; + padding: 0.3em; +} + +div.dokuwiki div.secedit input.button:active { + box-shadow: 0 0 3px #00b300; +} + +div.dokuwiki .bar input.button { + height: 24px; +} + +/* ----- Table of Contents ---- */ +div.dokuwiki div#dw__toc { + width: 200px; + z-index: 99; + position: relative; + float: right; + clear: both; + background-color: __background__; + border: 1px solid __border_alt__; + margin-top: 75px; + padding: 0 0 5px 0; +} + +div.dokuwiki div.toc_sidebar div#dw__toc { + margin: 0; + float: none; + width: 100%; +} + +div.dokuwiki div#dw__toc ul { + margin-left: 0.2em; + margin-right: 0.5em; + text-align: left; +} + + +div.dokuwiki div#dw__toc h3 { + line-height: 110%; + margin: 0 0 5px 0; + background: __background_alt__; + border-bottom: 1px solid __border_alt__; +} + +div.dokuwiki div.toc_sidebar div.tocheader { + font-size: 120%; + line-height: 140%; + border: none; +} + +div.dokuwiki ul.toc { + padding-left: 5px; +} + +div.dokuwiki div.toc_sidebar div#toc__inside { + border: none; + padding: 0; +} + +/* ----- AJAX Quicksearch ----- */ +div.dokuwiki div.left_sidebar div.ajax_qsearch, +div.dokuwiki div.right_sidebar div.ajax_qsearch { + position: relative; + left: 0; + top: 2px; + display: none; + background: __background_neu__; + font-size: 85%; + width: 95.5%; + margin: 0.2em 0 0.5em 0; +} + +div.dokuwiki div#bar__top div.ajax_qsearch { + position: absolute; + right: 100px; + width: 200px; + font-size: 85%; + display: none; + border: 1px solid __border__; + background: __background_neu__; + text-align: left; + padding: 0.2em; + margin-top: 5px; + opacity: 0.9; +} + +div.dokuwiki div.ajax_qsearch strong { + font-size: 115%; + background: __background_alt__; + padding: 0.2em; + display: block; +} + +/* ----- Toolbox -------------- */ +div.dokuwiki div.toolbox_sidebar ul { + list-style: none; + margin: 0; + clear: both; +} + +div.dokuwiki div.toolbox_sidebar a.login, +div.dokuwiki div.toolbox_sidebar a.logout, +div.dokuwiki div.toolbox_sidebar a.index, +div.dokuwiki div.toolbox_sidebar a.recent, +div.dokuwiki div.toolbox_sidebar a.create, +div.dokuwiki div.toolbox_sidebar a.edit, +div.dokuwiki div.toolbox_sidebar a.source, +div.dokuwiki div.toolbox_sidebar a.show, +div.dokuwiki div.toolbox_sidebar a.admin, +div.dokuwiki div.toolbox_sidebar a.revisions, +div.dokuwiki div.toolbox_sidebar a.subscribe, +div.dokuwiki div.toolbox_sidebar a.subscribens, +div.dokuwiki div.toolbox_sidebar a.unsubscribe, +div.dokuwiki div.toolbox_sidebar a.unsubscribens, +div.dokuwiki div.toolbox_sidebar a.backlink, +div.dokuwiki div.toolbox_sidebar a.profile, +div.dokuwiki div.toolbox_sidebar a.revert, +div.dokuwiki div.toolbox_sidebar a.npd { + padding: 1px 0px 1px 18px; +} + +div.dokuwiki div.toolbox_sidebar a.login { + background: transparent url(images/tool-login.png) 0px 1px no-repeat; +} + +div.dokuwiki div.toolbox_sidebar a.logout, +div.dokuwiki div.bar a.logout { + background: transparent url(images/tool-logout.png) 0px 1px no-repeat; +} + +div.dokuwiki div.toolbox_sidebar a.index { + background: transparent url(images/tool-index.png) 1px 1px no-repeat; +} + +div.dokuwiki div.toolbox_sidebar a.recent { + background: transparent url(images/tool-recent.png) 0px 1px no-repeat; +} + +div.dokuwiki div.toolbox_sidebar a.create, +div.dokuwiki div.toolbox_sidebar a.edit, +div.dokuwiki div.toolbox_sidebar a.npd { + background: transparent url(images/tool-edit.png) 0px 1px no-repeat; +} + +div.dokuwiki div.toolbox_sidebar a.source, +div.dokuwiki div.toolbox_sidebar a.show { + background: transparent url(images/tool-source.png) 0px 1px no-repeat; +} + +div.dokuwiki div.toolbox_sidebar a.admin { + background: transparent url(images/tool-admin.png) 0px 1px no-repeat; +} + +div.dokuwiki div.toolbox_sidebar a.revisions { + background: transparent url(images/tool-revisions.png) 0px 1px no-repeat; +} + +div.dokuwiki div.toolbox_sidebar a.subscribe, +div.dokuwiki div.toolbox_sidebar a.subscribens, +div.dokuwiki div.toolbox_sidebar a.unsubscribe, +div.dokuwiki div.toolbox_sidebar a.unsubscribens { + background: transparent url(images/tool-subscribe.png) 0px 1px no-repeat; +} + +div.dokuwiki div.toolbox_sidebar a.backlink { + background: transparent url(images/tool-backlink.png) 0px 1px no-repeat; +} + +div.dokuwiki div.toolbox_sidebar a.profile { + background: transparent url(images/tool-profile.png) 0px 1px no-repeat; +} + +div.dokuwiki div.toolbox_sidebar a.revert { + background: transparent url(images/tool-revert.png) 0px 1px no-repeat; +} + +div.dokuwiki div.bar a.login, +div.dokuwiki div.bar a.logout, +div.dokuwiki div.bar a.index, +div.dokuwiki div.bar a.recent, +div.dokuwiki div.bar a.create, +div.dokuwiki div.bar a.edit, +div.dokuwiki div.bar a.source, +div.dokuwiki div.bar a.show, +div.dokuwiki div.bar a.admin, +div.dokuwiki div.bar a.revisions, +div.dokuwiki div.bar a.subscribe, +div.dokuwiki div.bar a.subscribens, +div.dokuwiki div.bar a.unsubscribe, +div.dokuwiki div.bar a.unsubscribens, +div.dokuwiki div.bar a.backlink, +div.dokuwiki div.bar a.profile, +div.dokuwiki div.bar a.top, +div.dokuwiki div.bar a.revert, +div.dokuwiki div.bar a.npd { + padding-left: 20px; +} + +div.dokuwiki div.bar a.login { + background: transparent url(images/tool-login.png) 0px 5px no-repeat; +} + +div.dokuwiki div.bar a.logout, +div.dokuwiki div.bar a.logout { + background: transparent url(images/tool-logout.png) 0px 5px no-repeat; +} + +div.dokuwiki div.bar a.index { + background: transparent url(images/tool-index.png) 0px 5px no-repeat; +} + +div.dokuwiki div.bar a.recent { + background: transparent url(images/tool-recent.png) 0px 5px no-repeat; +} + +div.dokuwiki div.bar a.create, +div.dokuwiki div.bar a.edit, +div.dokuwiki div.bar a.npd { + background: transparent url(images/tool-edit.png) 0px 5px no-repeat; +} + +div.dokuwiki div.bar a.source, +div.dokuwiki div.bar a.show { + background: transparent url(images/tool-source.png) 0px 5px no-repeat; +} + +div.dokuwiki div.bar a.admin { + background: transparent url(images/tool-admin.png) 0px 5px no-repeat; +} + +div.dokuwiki div.bar a.revisions { + background: transparent url(images/tool-revisions.png) 0px 5px no-repeat; +} + +div.dokuwiki div.bar a.subscribe, +div.dokuwiki div.bar a.subscribens, +div.dokuwiki div.bar a.unsubscribe, +div.dokuwiki div.bar a.unsubscribens { + background: transparent url(images/tool-subscribe.png) 0px 5px no-repeat; +} + +div.dokuwiki div.bar a.backlink { + background: transparent url(images/tool-backlink.png) 0px 5px no-repeat; +} + +div.dokuwiki div.bar a.profile { + background: transparent url(images/tool-profile.png) 0px 5px no-repeat; +} + +div.dokuwiki div.bar a.top { + background: transparent url(images/tool-top.png) 5px 8px no-repeat; +} + +div.dokuwiki div.bar a.revert { + background: transparent url(images/tool-revert.png) 0px 5px no-repeat; +} + +div.left_sidebar ol.blogtng_tagcloud { +} + +div.left_sidebar ol.blogtng_tagcloud li { + display: inline; +} + +div.left_sidebar a.tag { + background: __background_other__; + padding: 1px 10px 1px 5px; + border: 1px solid __background_alt__; + color: __text__; + border-radius: 5px; + box-shadow: 0 0 5px #c3eca0; + margin: 1px; + line-height: 150%; + display: inline-block; + text-shadow: 1px 1px 1px __background_alt__; + +} + +div.left_sidebar a.tag:hover { + background: __background_alt__; + color: __text__; + text-decoration: none; + border-color: #00b300; +} + +div.left_sidebar a.tag::after { + content: ""; + position: relative; + background: __background__; + display: inline-block; + float: none; + width: 4px; + height: 4px; + margin: 0; + padding: 0; + border-radius: 2px; + -webkit-border-radius: 2px; + -moz-border-radius: 2px; + -o-border-radius: 2px; + -ms-border-radius: 2px; + border: 1px solid __background_alt__; + display: block; + left: 103%; +} + +div.left_sidebar a.tag:hover::after { + border-color: #00b300; +} + +div#bar__bottom div.bar-right a.top { + position: fixed; + bottom: 30px; + margin-left: 150px; + background-color: __background_other__; + display: block; + padding: 5px 5px 0px 18px; + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} + +div#bar__bottom div.bar-right a.top::before { + content:""; + float:left; + position:relative; + display: inline-block; + top:-5px; + left: -33px; + width:0; + height:0; + border-color:transparent #fc3 transparent transparent; + border-style:solid; + border-width:15px 15px 15px 0; + +} + +div#bar__bottom div.bar-right a.subscribe { + display: none; +} \ No newline at end of file diff --git a/lib/tpl/nowawes/arctic_layout.css b/lib/tpl/nowawes/arctic_layout.css new file mode 100644 index 000000000..c966a502e --- /dev/null +++ b/lib/tpl/nowawes/arctic_layout.css @@ -0,0 +1,150 @@ +/** + * Tableless Layout - additional CSS for Arctic Template + * + * @author Michael Klier + */ + +div.dokuwiki .header { + height: __header_height__; + border: none; + background: __header_background__ url(images/backgrounds/hlavicka.png) no-repeat; +/* margin-bottom: 0.2em; */ + padding: 0; +} + +div.dokuwiki .pagename { + float: left; + margin-top: 8em; + width: 100%; + text-shadow: 0 0 10px black; + font-size: 200%; + color: __darkgray__; + text-align: center; + padding-left: 0; +} + +div.dokuwiki .logo { + float: left; + margin-top: -1.5em; + width: 100%; + font-size: 350%; + text-align: center; + text-shadow: 0 0 10px black; +} + +div.dokuwiki .pagename a { + color: __pagename_color__ !important; +} + +div.dokuwiki .logo a { + color: __logo_color__ !important; +} + +div.dokuwiki .logo a:hover, div.dokuwiki .pagename a:hover { + text-shadow: 0 0 5px #00b300; +} + +div.dokuwiki .bar { + padding: 0; + float: left; + width: 100%; + +} + +div.dokuwiki #bar__top, +div.dokuwiki #bar__bottom { + background: none; + border: none; + width: 78%; + padding-left: 20%; + padding-right: 3%; +} + +div.dokuwiki #bar__top { + background: url(images/backgrounds/pruh.png) no-repeat; + height: 65px; + margin: 0; + position: relative; + top: -21px; +} + +div.dokuwiki .bar-right, div.dokuwiki .bar-left { + background: __background_other__; + border-radius: 5px; + -moz-border-radius: 5px; + -o-border-radius: 5px; + -webkit-border-radius: 5px; + margin: 1em 0.5em; + border: 1px solid #00b300; + box-shadow: 1px 1px 10px __background_alt__; +} + +div.dokuwiki .left_sidebar { + background: url(images/backgrounds/menu.png) no-repeat; + height: 450px; + position: relative; + top: -21px; +} + +div.dokuwiki div.sidebar_box ul { + list-style-type: none; + width: 90%; + padding: 0; + margin: 0; +} + +div.dokuwiki div.sidebar_box ul li { + text-align: center; + margin: 5px 5%; + width: 100%; +} + + +div.dokuwiki div.sidebar_box ul li ul li { + text-align: center; + margin: 5% 0; + width: 110%; +} + +div.dokuwiki div.sidebar_box ul li a { + display: block; + border-radius: 3px; + -o-border-radius: 3px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + background: __background_other__; + text-decoration: none; + color: #333!important; + border: 1px solid __background_alt__; + box-shadow: 0 0 5px __background_other__; + text-shadow: 0 0 5px white; +} + +div.dokuwiki div.sidebar_box ul li ul li a { + background: __background__; + box-shadow: 0 0 5px __background_alt__; + border-color: #00b300; +} + +div.dokuwiki div.sidebar_box ul li a:hover { + background: __background_alt__; + box-shadow: 0 0 5px __background_alt__; + text-shadow: 0 0 5px __bacground__; + border-color: #00b300; + +} + +div.dokuwiki div.meta { + padding: 0 0.5em 0 0.5em; +} + +div.dokuwiki div.footerinc div.license { + display: inline; + padding: 0; + font-size: 100%; +} + +div.dokuwiki div.footerinc div.license img { + float: none; + margin: 0; +} diff --git a/lib/tpl/nowawes/arctic_media.css b/lib/tpl/nowawes/arctic_media.css new file mode 100644 index 000000000..5a1a9fc57 --- /dev/null +++ b/lib/tpl/nowawes/arctic_media.css @@ -0,0 +1,9 @@ +/** + * Media Manager - additional CSS for the Arctic Template + * @author Michael Klier + */ + +#media__left, +#media__right { + background: __background__; +} diff --git a/lib/tpl/nowawes/arctic_print.css b/lib/tpl/nowawes/arctic_print.css new file mode 100644 index 000000000..07728168e --- /dev/null +++ b/lib/tpl/nowawes/arctic_print.css @@ -0,0 +1,9 @@ +/** + * Print - additional CSS for the Artic Template + * @author Michael Klier + */ + +div.dokuwiki div.left_sidebar, +div.dokuwiki div.right_sidebar { + display:none; +} diff --git a/lib/tpl/nowawes/arctic_rtl.css b/lib/tpl/nowawes/arctic_rtl.css new file mode 100644 index 000000000..8702073b0 --- /dev/null +++ b/lib/tpl/nowawes/arctic_rtl.css @@ -0,0 +1,28 @@ +/** + * additional rtl CSS for DokuWiki Arctic Template + * + * @author Katriel Traum + */ + +div.dokuwiki div.left_sidebar div.ajax_qsearch, +div.dokuwiki div.right_sidebar div.ajax_qsearch { + right: 1px; + left: 0px; + float: right; +} + +div.dokuwiki div.left_sidebar div.ajax_qsearch ul li, +div.dokuwiki div.right_sidebar div.ajax_qsearch ul li { + text-direction: rtl; + text-align: right; +} + +div.dokuwiki div.ajax_qsearch strong { + text-direction: rtl; + text-align: right; +} + +/* +setup vim: ts=2 sw=2: +*/ + diff --git a/lib/tpl/nowawes/conf/default.php b/lib/tpl/nowawes/conf/default.php new file mode 100644 index 000000000..0b2e25f81 --- /dev/null +++ b/lib/tpl/nowawes/conf/default.php @@ -0,0 +1,25 @@ + + */ + +$conf['sidebar'] = 'left'; // enable/disable sidebar +$conf['pagename'] = 'sidebar'; // the pagename for sidebars inside namespaces +$conf['user_sidebar_namespace'] = 'user'; // namespace to look for namespace of logged in users +$conf['group_sidebar_namespace'] = 'group'; // namespace to look for groups-namespaces +$conf['trace'] = 1; // show trace at top of the page +$conf['main_sidebar_always'] = 1; // show main sidebar on all namespaces +$conf['wiki_actionlinks'] = 'links'; // use buttons instead of links +$conf['left_sidebar_content'] = 'main,user,group,namespace'; // defines the content of the left sidebar +$conf['left_sidebar_order'] = 'main,namespace,user,group'; // defines the order of the left sidebar content +$conf['right_sidebar_content'] = 'main,user,group,namespace'; // defines the content of the right sidebar +$conf['right_sidebar_order'] = 'main,namespace,user,group'; // defines the order of the right sidebar content +$conf['search'] = 'left'; // defines the position of the search form when 2 sidebars are used +$conf['closedwiki'] = 0; // don't show sidebars for logged out users at all +$conf['hideactions'] = 0; // hide all wiki related actions for non logged in users + +//Setup vim: ts=2 sw=2: +?> diff --git a/lib/tpl/nowawes/conf/metadata.php b/lib/tpl/nowawes/conf/metadata.php new file mode 100644 index 000000000..8dcdacbf5 --- /dev/null +++ b/lib/tpl/nowawes/conf/metadata.php @@ -0,0 +1,24 @@ + + */ + +$meta['sidebar'] = array('multichoice', '_choices' => array('left', 'right', 'both', 'none')); +$meta['pagename'] = array('string', '_pattern' => '#[a-z0-9]*#'); +$meta['trace'] = array('onoff'); +$meta['main_sidebar_always'] = array('onoff'); +$meta['wiki_actionlinks'] = array('multichoice', '_choices' => array('links', 'buttons')); +$meta['user_sidebar_namespace'] = array('string', '_pattern' => '#^[a-z:]*#'); +$meta['group_sidebar_namespace'] = array('string', '_pattern' => '#^[a-z:]*#'); +$meta['left_sidebar_order'] = array('string', '_pattern' => '#[a-z0-9,]*#'); +$meta['left_sidebar_content'] = array('multicheckbox', '_choices' => array('main','toc','user','group','namespace','toolbox','index','trace','extra')); +$meta['right_sidebar_order'] = array('string', '_pattern' => '#[a-z0-9,]*#'); +$meta['right_sidebar_content'] = array('multicheckbox', '_choices' => array('main','toc','user','group','namespace','toolbox','index','trace','extra')); +$meta['search'] = array('multichoice', '_choices' => array('left', 'right')); +$meta['closedwiki'] = array('onoff'); +$meta['hideactions'] = array('onoff'); +//Setup vim:ts=2:sw=2: +?> diff --git a/lib/tpl/nowawes/design.css b/lib/tpl/nowawes/design.css new file mode 100644 index 000000000..58d0374fa --- /dev/null +++ b/lib/tpl/nowawes/design.css @@ -0,0 +1,899 @@ +/** + * Design elements for default Template + * + * @author Andreas Gohr + * @author Anika Henke + */ + +/* -------------- general elements --------------- */ + +* { padding: 0; margin: 0; } + +body { + font: 80% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + background-color: __background__; + color: __text__; +} + +/* the document */ +div.dokuwiki div.page { + margin: 4px 2em 0 1em; + text-align: justify; +} + +div.dokuwiki table { + font-size: 100%; +} + +div.dokuwiki tr, +div.dokuwiki td, +div.dokuwiki th { +} + +div.dokuwiki img { + +} + +div.dokuwiki p, +div.dokuwiki blockquote, +div.dokuwiki table, +div.dokuwiki pre { + margin: 0 0 1.0em 0; +} + +div.dokuwiki hr { + border: 0px; + border-top: 1px solid __border__; + text-align: center; + height: 0px; +} + +div.dokuwiki div.nothing { + text-align: center; + margin: 2em; +} + +/* ---------------- forms ------------------------ */ + +div.dokuwiki form { + border: none; + display: inline; +} + +div.dokuwiki label.block { + display: block; + text-align: right; + font-weight: bold; +} + +div.dokuwiki label.simple { + display: block; + text-align: left; + font-weight: normal; +} + +div.dokuwiki label.block input.edit { + width: 50%; +} + +div.dokuwiki fieldset { + width: auto; + text-align: center; + border: 1px solid __border__; + padding: 0.5em; + margin: 0.5em auto; + clear: both; +} + +div.dokuwiki textarea.edit { + font-family: monospace; + font-size: 14px; + color: __text__; + background-color: __background_alt__; + border: 1px solid __border__; + padding: 0.3em 0 0 0.3em; + width: 100%; + +} + +/* nice alphatransparency background except for IE <7 */ +html>body div.dokuwiki textarea.edit { + background: __background_other__ url(images/inputshadow.png) repeat-x top; +} + +div.dokuwiki input.edit, +div.dokuwiki select.edit { + font-size: 100%; + border: 1px solid __border__; + color: __text__; + background-color: __background_other__; + vertical-align: middle; + margin: 1px; + padding: 0.20em 0.3em; + display: inline; +} + +/* nice alphatransparency background except for IE <7 */ +html>body div.dokuwiki input.edit, +html>body div.dokuwiki select.edit { + background: __background_other__ url(images/inputshadow.png) repeat-x top; +} + +div.dokuwiki select.edit { + padding: 0.1em 0; +} + +div.dokuwiki input.missing { + font-size: 100%; + border: 1px solid __border__; + color: __text__; + background-color: #ffcccc; + vertical-align: middle; + margin: 1px; + padding: 0.20em 0.3em; + display: inline; +} + +/* disabled style - not understood by IE */ +div.dokuwiki textarea.edit[disabled], +div.dokuwiki textarea.edit[readonly], +div.dokuwiki input.edit[disabled], +div.dokuwiki input.edit[readonly], +div.dokuwiki input.button[disabled], +div.dokuwiki select.edit[disabled] { + background-color: __background_other__!important; + color: __text_neu__!important; +} + +/* edit form */ +div.dokuwiki div.toolbar, +div.dokuwiki div#wiki__editbar { + margin: 2px 0; + text-align: left; +} +div.dokuwiki div#size__ctl { + float: right; + width: 60px; + height: 2.7em; +} +div.dokuwiki #size__ctl img { + cursor: pointer; +} +div.dokuwiki div#wiki__editbar div.editButtons { + float: left; + padding: 0 1.0em 0.7em 0; +} +div.dokuwiki div#wiki__editbar div.summary { + float: left; +} +div.dokuwiki .nowrap { + white-space: nowrap; +} +div.dokuwiki div#draft__status { + float: right; + color: __text_alt__; +} + +div.dokuwiki div.license { + padding: 0.5em; + font-size: 90%; + text-align: center; +} + +div.dokuwiki form#dw__editform div.license { + clear: left; + font-size: 90%; +} + +/* --------- buttons ------------------- */ + +div.dokuwiki input.button, +div.dokuwiki button.button { + border: 1px solid __border__; + color: __text__; + background-color: __background_other__; + vertical-align: middle; + text-decoration: none; + font-size: 100%; + cursor: pointer; + margin: 1px; + padding: 0.125em 0.4em; +} + +/* nice alphatransparency background except for IE <7 */ +html>body div.dokuwiki input.button, +html>body div.dokuwiki button.button { + background: __background_other__ url(images/buttonshadow.png) repeat-x bottom; +} + +* html div.dokuwiki input.button, +* html div.dokuwiki button.button { + height: 1.8em; +} + +div.dokuwiki div.secedit input.button { + border: 1px solid __border__; + color: __text__; + background-color: __background_other__; + vertical-align: middle; + text-decoration: none; + margin: 0; + padding: 0; + font-size: 10px; + cursor: pointer; + display: inline; +} + +/* ----------- page navigator ------------- */ + +div.dokuwiki div.pagenav { + margin: 1em 0 0 0; +} + +div.dokuwiki div.pagenav-prev { + text-align: right; + float: left; + width: 49% +} + +div.dokuwiki div.pagenav-next { + text-align: left; + float: right; + width: 49% +} + +/* --------------- Links ------------------ */ + +div.dokuwiki a:link, +div.dokuwiki a:visited { + color: __extern__; + text-decoration: none; +} +div.dokuwiki a:hover, +div.dokuwiki a:active { + color: __text__; + text-decoration: underline; +} + +div.dokuwiki h1 a, +div.dokuwiki h2 a, +div.dokuwiki h3 a, +div.dokuwiki h4 a, +div.dokuwiki h5 a, +div.dokuwiki a.nolink { + color: __text__ !important; + text-decoration: none !important; +} + +/* external link */ +div.dokuwiki a.urlextern { + background: transparent url(images/link_icon.gif) 0px 1px no-repeat; + padding: 1px 0px 1px 16px; +} + +/* windows share */ +div.dokuwiki a.windows { + background: transparent url(images/windows.gif) 0px 1px no-repeat; + padding: 1px 0px 1px 16px; +} + +/* interwiki link (icon are set by dokuwiki) */ +div.dokuwiki a.interwiki { +} + +/* link to some embedded media */ +div.dokuwiki a.media { +} + +div.dokuwiki a.urlextern:link, +div.dokuwiki a.windows:link, +div.dokuwiki a.interwiki:link { + color: __extern__; +} + +div.dokuwiki a.urlextern:visited, +div.dokuwiki a.windows:visited, +div.dokuwiki a.interwiki:visited { + color: purple; +} +div.dokuwiki a.urlextern:hover, +div.dokuwiki a.urlextern:active, +div.dokuwiki a.windows:hover, +div.dokuwiki a.windows:active, +div.dokuwiki a.interwiki:hover, +div.dokuwiki a.interwiki:active { + color: __text__; +} + +/* email link */ +div.dokuwiki a.mail { + background: transparent url(images/mail_icon.gif) 0px 1px no-repeat; + padding: 1px 0px 1px 16px; +} + +/* existing wikipage */ +div.dokuwiki a.wikilink1 { + color: __existing__ !important; +} + +/* not existing wikipage */ +div.dokuwiki a.wikilink2 { + color: __missing__ !important; + text-decoration: none !important; + border-bottom: dashed 1px __missing__ !important; +} + +/* ------------- Page elements ----------------- */ + +div.dokuwiki div.preview { + background-color: __background_neu__; + margin: 0 0 0 2em; + padding: 4px; + border: 1px dashed __text__; +} + +div.dokuwiki div.breadcrumbs { + background-color: __background_neu__; + color: __text_neu__; + font-size: 80%; + padding: 0 0 0 4px; +} + +div.dokuwiki span.user { + color: __text_other__; + font-size: 90%; +} + +div.dokuwiki li.minor { + color: __text_neu__; + font-style: italic; +} + +/* embedded images */ +div.dokuwiki img.media { + margin: 3px; + border: 1px solid __form_border__; + background: __background__; + padding: 5px; + border-radius: 5px; + box-shadow: -0 -0 -10px #00b300; +} + +div.dokuwiki img.medialeft { + /*border: 0;*/ + float: left; + margin: 0 1.5em 0 0; + clear: left; +} + +div.dokuwiki img.mediaright { + /*border: 0;*/ + float: right; + margin: 0 0 0 0.7em; + clear: right; +} + +div.dokuwiki img.mediacenter { + /*border: 0;*/ + display: block; + margin: 5px auto; + clear: both; +} + +/* smileys */ +div.dokuwiki img.middle { + vertical-align: middle; + border: none; + background: none; + padding: 0; +} + +div.dokuwiki acronym { + cursor: help; + border-bottom: 1px dotted __text__; +} + +/* general headline setup */ +div.dokuwiki h1, +div.dokuwiki h2, +div.dokuwiki h3, +div.dokuwiki h4, +div.dokuwiki h5 { + color: __text__; + background-color: inherit; + font-size: 100%; + font-weight: normal; + margin: 1em 0 1em 0; + padding: 0.5em 0 0 0; + border-bottom: 1px solid __border__; + clear: left; + line-height: 155%; +} + +/* special headlines */ +div.dokuwiki h1 {font-size: 160%; margin-left: 0px; font-weight: bold;} +div.dokuwiki h2 {font-size: 90%; margin-left: 20px;} +div.dokuwiki h3 {font-size: 90%; margin-left: 40px; border-bottom: none; font-weight: bold;} +div.dokuwiki h4 {font-size: 90%; margin-left: 60px; border-bottom: none; font-weight: bold;} +div.dokuwiki h5 {font-size: 100%; margin-left: 80px; border-bottom: none; font-weight: bold;} + +/* indent different sections */ +div.dokuwiki div.level1 { margin-left: 18px; } +div.dokuwiki div.level2 { margin-left: 28px; } +div.dokuwiki div.level3 { margin-left: 38px; } +div.dokuwiki div.level4 { margin-left: 48px; } +div.dokuwiki div.level5 { margin-left: 58px; } + +div.dokuwiki div.level1, +div.dokuwiki div.level2, +div.dokuwiki div.level3, +div.dokuwiki div.level4, +div.dokuwiki div.level5 { + padding-right: 13px; +} +/* unordered lists */ +div.dokuwiki ul { + line-height: 1.5em; + list-style-type: square; + list-style-image: none; + margin: 0 0 1em 3.5em; + color: __text_alt__; +} + +/* ordered lists */ +div.dokuwiki ol { + line-height: 1.5em; + list-style-image: none; + margin: 0 0 1em 3.5em; + color: __text_alt__; + font-weight: bold; +} + +/* no bottom gap in between and smaller left margin for nested lists */ +div.dokuwiki li ul, +div.dokuwiki li ol { + margin: 0 0 0 1.5em; +} + +/* the list items overriding the ul/ol definition */ +div.dokuwiki .li { + color: __text__; + font-weight: normal; +} + +div.dokuwiki ol { list-style-type: decimal; } +div.dokuwiki ol ol { list-style-type: upper-roman; } +div.dokuwiki ol ol ol { list-style-type: lower-alpha; } +div.dokuwiki ol ol ol ol { list-style-type: lower-greek; } + +div.dokuwiki li.open { + list-style-image: url(images/open.gif); + /*list-style-type: circle;*/ +} + +div.dokuwiki li.closed { + list-style-image: url(images/closed.gif); + /*list-style-type: disc;*/ +} + +div.dokuwiki blockquote { + padding-left: 3px; + font-style: italic; + padding: 0.5em; + background-color: __background__; + margin: 0; + padding-bottom: 0.5em; + padding-right: 27px; + padding-left: 2em; + margin-left: -20px; +} + +div.dokuwiki blockquote:last-of-type { + margin-bottom: 1em !important; +} + +div.dokuwiki .level1 blockquote { + width: 539px; +} + +div.dokuwiki .level2 blockquote { + width: 529px; +} + +div.dokuwiki pre { + font-size: 120%; + padding: 0.5em; + border: 1px dashed __border__; + color: __text__; + overflow: auto; +} + +/* code blocks by indention */ +div.dokuwiki pre.pre { + background-color: __background_other__; +} + +/* code blocks by code tag */ +div.dokuwiki pre.code { + background-color: __background_other__; +} + +/* code blocks by file tag */ +div.dokuwiki pre.file { + background-color: __background_alt__; +} + +/* filenames for file and code blocks */ +div.dokuwiki dl.file, +div.dokuwiki dl.code { + margin-top: 2em; + margin-bottom: 2.5em; +} + +div.dokuwiki dl.file dt, +div.dokuwiki dl.code dt { + border: 1px dashed __border__; + display: inline; + padding: 0.1em 1em; + margin-left: 2em; +} + +div.dokuwiki dl.code dt a, +div.dokuwiki dl.file dt a { + color: __text__; +} + +div.dokuwiki dl.code dt { + background-color: __background_other__; + border-bottom: 1px solid __background_other__; +} + +div.dokuwiki dl.file dt { + background-color: __background_alt__; + border-bottom: 1px solid __background_alt__; +} + + +/* inline code words */ +div.dokuwiki code { + font-size: 120%; +} + +/* inline tables */ +div.dokuwiki table.inline { + background-color: __background__; + border-spacing: 0px; + float: left; + margin: 0.5em; + width: 100%; + /*display: block;*/ + /*width: 100%;*/ + font-size: 8pt; +} + +div.dokuwiki table.inline th { + padding: 3px; + border: 1px solid __background_alt__; + background-color: __background_other__; + /*width: 100%;*/ + +} + +div.dokuwiki table.inline td { + padding: 3px; + border: 1px solid __background_alt__; + white-space: normal; + +} + +/* ---------- table of contents ------------------- */ + +div.dokuwiki div#dw__toc { + margin: 1.2em 0 0.85em 2em; + width: 200px; + font-size: 100%; +} + +div.dokuwiki div#dw__toc h3 { + text-align: left; + font-weight: bold; + padding: 3px; + margin-bottom: 2px; +} + +/*div.dokuwiki span.toc_open, +div.dokuwiki span.toc_close { + border: 0.4em solid __background_other__; + float: right; + display: block; + margin: 0.4em 3px 0.4em 0; +} + +div.dokuwiki span.toc_open span, +div.dokuwiki span.toc_close span { + display: none; +} + +div.dokuwiki span.toc_open { + margin-top: 0.4em; + border-top: 0.4em solid __text__; +} + +div.dokuwiki span.toc_close { + margin-top: 0; + border-bottom: 0.4em solid __text__; +}*/ + +div.dokuwiki #toc__inside { + border: 1px solid #00b300; + background-color: __background_alt__; + text-align: left; + padding: 0.5em 0 0.7em 0; + border-radius: 0 0 5px 0px; + box-shadow: 0 0 5px #00b300; +} + +div.dokuwiki ul.toc { + list-style-type: none; + list-style-image: none; + line-height: 1.2em; + padding-left: 1em; + margin: 0; +} + +div.dokuwiki ul.toc li { + background: transparent url(images/tocdot2.gif) 0 0.6em no-repeat; + padding-left: 0.4em; +} + +div.dokuwiki ul.toc li.clear { + background-image: none; + padding-left: 0.4em; +} + +div.dokuwiki a.toc:link, +div.dokuwiki a.toc:visited { + color: #00b300; +} + +div.dokuwiki a.toc:hover, +div.dokuwiki a.toc:active { + color: #00b300; +} + +/* ---------------------------- Diff rendering --------------------------*/ +div.dokuwiki table.diff { + background-color: __background__; + width: 100%; +} +div.dokuwiki td.diff-blockheader { + font-weight: bold; +} +div.dokuwiki table.diff th { + border-bottom: 1px solid __border__; + font-size: 110%; + width: 50%; + font-weight: normal; + text-align: left; +} +div.dokuwiki table.diff th a { + font-weight: bold; +} +div.dokuwiki table.diff th span.user { + color: __text__; + font-size: 80%; +} +div.dokuwiki table.diff th span.sum { + font-size: 80%; + font-weight: bold; +} +div.dokuwiki table.diff th.minor { + font-style: italic; +} +div.dokuwiki table.diff td { + font-family: monospace; + font-size: 100%; +} +div.dokuwiki td.diff-addedline { + background-color: #ddffdd; +} +div.dokuwiki td.diff-deletedline { + background-color: #ffffbb; +} +div.dokuwiki td.diff-context { + background-color: __background_neu__; +} +div.dokuwiki table.diff td.diff-addedline strong, +div.dokuwiki table.diff td.diff-deletedline strong { + color: red; +} + +/* --------------------- footnotes -------------------------------- */ + +div.dokuwiki div.footnotes { + clear: both; + border-top: 1px solid __border__; + padding-left: 1em; + margin-top: 1em; +} + +div.dokuwiki div.fn { + font-size: 90%; +} + +div.dokuwiki a.fn_bot { + font-weight: bold; +} + +/* insitu-footnotes */ +div.insitu-footnote { + font-size: 80%; + line-height: 1.2em; + border: 1px solid __border__; + background-color: __background_other__; + text-align: left; + padding: 4px; + max-width: 40%; /* IE's width is handled in javascript */ +} + +/* overcome IE issue with one line code or file boxes which require h. scrolling */ +* html .insitu-footnote pre.code, +* html .insitu-footnote pre.file { + padding-bottom: 18px; +} + +/* --------------- search result formating --------------- */ +div.dokuwiki .search_result { + margin-bottom: 6px; + padding: 0 10px 0 30px; +} + +div.dokuwiki .search_snippet { + color: __text_other__; + font-size: 12px; + margin-left: 20px; +} + +div.dokuwiki .search_sep { + color: __text__; +} + +div.dokuwiki .search_hit { + color: __text__; + background-color: __highlight__; +} +div.dokuwiki strong.search_hit { + font-weight: normal; +} + +div.dokuwiki div.search_quickresult { + margin: 0 0 15px 30px; + padding: 0 10px 10px 0; + border-bottom: 1px dashed __border__; +} +div.dokuwiki div.search_quickresult h3 { + margin: 0 0 1.0em 0; + font-size: 1em; + font-weight: bold; +} + +div.dokuwiki ul.search_quickhits { + margin: 0 0 0.5em 1.0em; +} + +div.dokuwiki ul.search_quickhits li { + margin: 0 1.0em 0 1.0em; + float: left; + width: 30%; +} + +div.dokuwiki div.section_highlight { + background-color: inherit; +} + +/* ------------------ Additional ---------------------- */ + +div.footerinc { + text-align: center; + margin-bottom: 10px; +} +.footerinc a img { + opacity: 0.5; + border: 0; + padding: 0; + background: none; +} + +.footerinc a:hover img { + opacity: 1; +} + +/* ---------- AJAX quicksearch ----------- */ + +div.dokuwiki div.ajax_qsearch { + position: absolute; + right: 237px;; + width: 200px; + opacity: 0.9; + display: none; + font-size: 80%; + line-height: 1.2em; + border: 1px solid __border__; + background-color: __background_other__; + text-align: left; + padding: 4px; +} + +/* --------- Toolbar -------------------- */ +button.toolbutton { + background-color: __background__; + padding: 0px; + margin: 0 1px 0 0; + border: 1px solid __border__; + cursor: pointer; +} + +/* nice alphatransparency background except for IE <7 */ +html>body button.toolbutton { + background: __background__ url(images/buttonshadow.png) repeat-x bottom; +} + +div.picker { + width: 250px; + border: 1px solid __border__; + background-color: __background_alt__; +} + +div.pk_hl { + width: 125px; +} + +button.pickerbutton { + padding: 0px; + margin: 0 1px 1px 0; + border: 0; + background-color: transparent; + font-size: 80%; + cursor: pointer; +} + +/* --------------- Image Details ----------------- */ + +div.dokuwiki div.img_big { + float: left; + margin-right: 0.5em; +} + +div.dokuwiki dl.img_tags dt { + font-weight: bold; + background-color: __background_alt__; +} +div.dokuwiki dl.img_tags dd { + background-color: __background_neu__; +} + +div.dokuwiki div.imagemeta { + color: __text_neu__; + font-size: 70%; + line-height: 95%; +} + +div.dokuwiki div.imagemeta img.thumb { + float: left; + margin-right: 0.1em; +} + +/** + * BlogTNG styles + * + */ + +div.dokuwiki div.blogtng_list { + margin: 1em; + margin-top: 2em; +} + +div.dokuwiki div.blogtng_footer { + clear: both; + border: none; +} \ No newline at end of file diff --git a/lib/tpl/nowawes/detail.php b/lib/tpl/nowawes/detail.php new file mode 100644 index 000000000..503c0ef71 --- /dev/null +++ b/lib/tpl/nowawes/detail.php @@ -0,0 +1,89 @@ + + */ + +// must be run from within DokuWiki +if (!defined('DOKU_INC')) die(); + +?> + + + + + + <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?> + [<?php echo strip_tags($conf['title'])?>] + + + + + + + + +
+ + +
+ + +

+ +
+ +
+ +
+

+ +

+ +

+ = AUTH_UPLOAD) { + echo '

'.$lang['img_manager'].'

'; + } + ?> + +
+ $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 '
'.$lang[$tag[1]].':
'; + if ($tag[2] == 'date') echo dformat($value); + else echo hsc($value); + echo '
'; + } + } + ?> +
+ +
+ + +
+
+ + + diff --git a/lib/tpl/nowawes/footer.html b/lib/tpl/nowawes/footer.html new file mode 100644 index 000000000..5339cb9cd --- /dev/null +++ b/lib/tpl/nowawes/footer.html @@ -0,0 +1,23 @@ + +
+ + + www.chimeric.de + + Valid CSS + + Driven by DokuWiki + + do yourself a favour and use a real browser - get firefox!! + + Recent changes RSS feed + + Valid XHTML 1.0 +
diff --git a/lib/tpl/nowawes/images/backgrounds/hlavicka.png b/lib/tpl/nowawes/images/backgrounds/hlavicka.png new file mode 100644 index 000000000..623108225 Binary files /dev/null and b/lib/tpl/nowawes/images/backgrounds/hlavicka.png differ diff --git a/lib/tpl/nowawes/images/backgrounds/menu.png b/lib/tpl/nowawes/images/backgrounds/menu.png new file mode 100644 index 000000000..b6c60f4ab Binary files /dev/null and b/lib/tpl/nowawes/images/backgrounds/menu.png differ diff --git a/lib/tpl/nowawes/images/backgrounds/pruh.png b/lib/tpl/nowawes/images/backgrounds/pruh.png new file mode 100644 index 000000000..a4e57b1ab Binary files /dev/null and b/lib/tpl/nowawes/images/backgrounds/pruh.png differ diff --git "a/lib/tpl/nowawes/images/backgrounds/str\303\241nka.png" "b/lib/tpl/nowawes/images/backgrounds/str\303\241nka.png" new file mode 100644 index 000000000..006d5939e Binary files /dev/null and "b/lib/tpl/nowawes/images/backgrounds/str\303\241nka.png" differ diff --git a/lib/tpl/nowawes/images/bullet.gif b/lib/tpl/nowawes/images/bullet.gif new file mode 100644 index 000000000..b43de48a4 Binary files /dev/null and b/lib/tpl/nowawes/images/bullet.gif differ diff --git a/lib/tpl/nowawes/images/button-apache.png b/lib/tpl/nowawes/images/button-apache.png new file mode 100644 index 000000000..de1e2ebcc Binary files /dev/null and b/lib/tpl/nowawes/images/button-apache.png differ diff --git a/lib/tpl/nowawes/images/button-as.gif b/lib/tpl/nowawes/images/button-as.gif new file mode 100644 index 000000000..d4ef8657e Binary files /dev/null and b/lib/tpl/nowawes/images/button-as.gif differ diff --git a/lib/tpl/nowawes/images/button-bash.png b/lib/tpl/nowawes/images/button-bash.png new file mode 100644 index 000000000..2da8b39ee Binary files /dev/null and b/lib/tpl/nowawes/images/button-bash.png differ diff --git a/lib/tpl/nowawes/images/button-cc.gif b/lib/tpl/nowawes/images/button-cc.gif new file mode 100644 index 000000000..5861d637f Binary files /dev/null and b/lib/tpl/nowawes/images/button-cc.gif differ diff --git a/lib/tpl/nowawes/images/button-chimeric-de.png b/lib/tpl/nowawes/images/button-chimeric-de.png new file mode 100644 index 000000000..1742a5024 Binary files /dev/null and b/lib/tpl/nowawes/images/button-chimeric-de.png differ diff --git a/lib/tpl/nowawes/images/button-css.png b/lib/tpl/nowawes/images/button-css.png new file mode 100644 index 000000000..706325e1c Binary files /dev/null and b/lib/tpl/nowawes/images/button-css.png differ diff --git a/lib/tpl/nowawes/images/button-debian.png b/lib/tpl/nowawes/images/button-debian.png new file mode 100644 index 000000000..70a6b000a Binary files /dev/null and b/lib/tpl/nowawes/images/button-debian.png differ diff --git a/lib/tpl/nowawes/images/button-donate.gif b/lib/tpl/nowawes/images/button-donate.gif new file mode 100644 index 000000000..ec682c6b1 Binary files /dev/null and b/lib/tpl/nowawes/images/button-donate.gif differ diff --git a/lib/tpl/nowawes/images/button-dw.png b/lib/tpl/nowawes/images/button-dw.png new file mode 100644 index 000000000..39d5f56a9 Binary files /dev/null and b/lib/tpl/nowawes/images/button-dw.png differ diff --git a/lib/tpl/nowawes/images/button-email.png b/lib/tpl/nowawes/images/button-email.png new file mode 100644 index 000000000..a1a492f16 Binary files /dev/null and b/lib/tpl/nowawes/images/button-email.png differ diff --git a/lib/tpl/nowawes/images/button-firefox.png b/lib/tpl/nowawes/images/button-firefox.png new file mode 100644 index 000000000..5b514e609 Binary files /dev/null and b/lib/tpl/nowawes/images/button-firefox.png differ diff --git a/lib/tpl/nowawes/images/button-gimp.png b/lib/tpl/nowawes/images/button-gimp.png new file mode 100644 index 000000000..1d8ba1807 Binary files /dev/null and b/lib/tpl/nowawes/images/button-gimp.png differ diff --git a/lib/tpl/nowawes/images/button-gpg.gif b/lib/tpl/nowawes/images/button-gpg.gif new file mode 100644 index 000000000..26f58e990 Binary files /dev/null and b/lib/tpl/nowawes/images/button-gpg.gif differ diff --git a/lib/tpl/nowawes/images/button-icq.gif b/lib/tpl/nowawes/images/button-icq.gif new file mode 100644 index 000000000..c3dc4355b Binary files /dev/null and b/lib/tpl/nowawes/images/button-icq.gif differ diff --git a/lib/tpl/nowawes/images/button-php.gif b/lib/tpl/nowawes/images/button-php.gif new file mode 100644 index 000000000..28f329aaa Binary files /dev/null and b/lib/tpl/nowawes/images/button-php.gif differ diff --git a/lib/tpl/nowawes/images/button-rss.png b/lib/tpl/nowawes/images/button-rss.png new file mode 100644 index 000000000..b036f7152 Binary files /dev/null and b/lib/tpl/nowawes/images/button-rss.png differ diff --git a/lib/tpl/nowawes/images/button-vim.png b/lib/tpl/nowawes/images/button-vim.png new file mode 100644 index 000000000..7be23f8ac Binary files /dev/null and b/lib/tpl/nowawes/images/button-vim.png differ diff --git a/lib/tpl/nowawes/images/button-xhtml.png b/lib/tpl/nowawes/images/button-xhtml.png new file mode 100644 index 000000000..ec686442c Binary files /dev/null and b/lib/tpl/nowawes/images/button-xhtml.png differ diff --git a/lib/tpl/nowawes/images/buttonshadow.png b/lib/tpl/nowawes/images/buttonshadow.png new file mode 100644 index 000000000..f60be309f Binary files /dev/null and b/lib/tpl/nowawes/images/buttonshadow.png differ diff --git a/lib/tpl/nowawes/images/closed.gif b/lib/tpl/nowawes/images/closed.gif new file mode 100644 index 000000000..8414d4d69 Binary files /dev/null and b/lib/tpl/nowawes/images/closed.gif differ diff --git a/lib/tpl/nowawes/images/favicon.ico b/lib/tpl/nowawes/images/favicon.ico new file mode 100644 index 000000000..8b9616abb Binary files /dev/null and b/lib/tpl/nowawes/images/favicon.ico differ diff --git a/lib/tpl/nowawes/images/inputshadow.png b/lib/tpl/nowawes/images/inputshadow.png new file mode 100644 index 000000000..d286beb22 Binary files /dev/null and b/lib/tpl/nowawes/images/inputshadow.png differ diff --git a/lib/tpl/nowawes/images/interwiki.png b/lib/tpl/nowawes/images/interwiki.png new file mode 100644 index 000000000..73d6f8d39 Binary files /dev/null and b/lib/tpl/nowawes/images/interwiki.png differ diff --git a/lib/tpl/nowawes/images/link_icon.gif b/lib/tpl/nowawes/images/link_icon.gif new file mode 100644 index 000000000..815ccb1b1 Binary files /dev/null and b/lib/tpl/nowawes/images/link_icon.gif differ diff --git a/lib/tpl/nowawes/images/mail_icon.gif b/lib/tpl/nowawes/images/mail_icon.gif new file mode 100644 index 000000000..50a87a9a0 Binary files /dev/null and b/lib/tpl/nowawes/images/mail_icon.gif differ diff --git a/lib/tpl/nowawes/images/mediamanager.png b/lib/tpl/nowawes/images/mediamanager.png new file mode 100644 index 000000000..822b8458a Binary files /dev/null and b/lib/tpl/nowawes/images/mediamanager.png differ diff --git a/lib/tpl/nowawes/images/open.gif b/lib/tpl/nowawes/images/open.gif new file mode 100644 index 000000000..f5d5c7e56 Binary files /dev/null and b/lib/tpl/nowawes/images/open.gif differ diff --git a/lib/tpl/nowawes/images/resizecol.png b/lib/tpl/nowawes/images/resizecol.png new file mode 100644 index 000000000..f0111507c Binary files /dev/null and b/lib/tpl/nowawes/images/resizecol.png differ diff --git a/lib/tpl/nowawes/images/tocdot2.gif b/lib/tpl/nowawes/images/tocdot2.gif new file mode 100644 index 000000000..3d39c2e73 Binary files /dev/null and b/lib/tpl/nowawes/images/tocdot2.gif differ diff --git a/lib/tpl/nowawes/images/tool-admin.png b/lib/tpl/nowawes/images/tool-admin.png new file mode 100644 index 000000000..9460dfc74 Binary files /dev/null and b/lib/tpl/nowawes/images/tool-admin.png differ diff --git a/lib/tpl/nowawes/images/tool-backlink.png b/lib/tpl/nowawes/images/tool-backlink.png new file mode 100644 index 000000000..3eb6a9ce3 Binary files /dev/null and b/lib/tpl/nowawes/images/tool-backlink.png differ diff --git a/lib/tpl/nowawes/images/tool-edit.png b/lib/tpl/nowawes/images/tool-edit.png new file mode 100644 index 000000000..188e1c12b Binary files /dev/null and b/lib/tpl/nowawes/images/tool-edit.png differ diff --git a/lib/tpl/nowawes/images/tool-index.png b/lib/tpl/nowawes/images/tool-index.png new file mode 100644 index 000000000..fd7f0b07a Binary files /dev/null and b/lib/tpl/nowawes/images/tool-index.png differ diff --git a/lib/tpl/nowawes/images/tool-login.png b/lib/tpl/nowawes/images/tool-login.png new file mode 100644 index 000000000..34fe6a98c Binary files /dev/null and b/lib/tpl/nowawes/images/tool-login.png differ diff --git a/lib/tpl/nowawes/images/tool-logout.png b/lib/tpl/nowawes/images/tool-logout.png new file mode 100644 index 000000000..0010931e2 Binary files /dev/null and b/lib/tpl/nowawes/images/tool-logout.png differ diff --git a/lib/tpl/nowawes/images/tool-profile.png b/lib/tpl/nowawes/images/tool-profile.png new file mode 100644 index 000000000..46573fff6 Binary files /dev/null and b/lib/tpl/nowawes/images/tool-profile.png differ diff --git a/lib/tpl/nowawes/images/tool-recent.png b/lib/tpl/nowawes/images/tool-recent.png new file mode 100644 index 000000000..ab0e8ea37 Binary files /dev/null and b/lib/tpl/nowawes/images/tool-recent.png differ diff --git a/lib/tpl/nowawes/images/tool-revert.png b/lib/tpl/nowawes/images/tool-revert.png new file mode 100644 index 000000000..3db7e3282 Binary files /dev/null and b/lib/tpl/nowawes/images/tool-revert.png differ diff --git a/lib/tpl/nowawes/images/tool-revisions.png b/lib/tpl/nowawes/images/tool-revisions.png new file mode 100644 index 000000000..5c3b8587f Binary files /dev/null and b/lib/tpl/nowawes/images/tool-revisions.png differ diff --git a/lib/tpl/nowawes/images/tool-source.png b/lib/tpl/nowawes/images/tool-source.png new file mode 100644 index 000000000..d072d3cbe Binary files /dev/null and b/lib/tpl/nowawes/images/tool-source.png differ diff --git a/lib/tpl/nowawes/images/tool-subscribe.png b/lib/tpl/nowawes/images/tool-subscribe.png new file mode 100644 index 000000000..de0199b46 Binary files /dev/null and b/lib/tpl/nowawes/images/tool-subscribe.png differ diff --git a/lib/tpl/nowawes/images/tool-top.png b/lib/tpl/nowawes/images/tool-top.png new file mode 100644 index 000000000..70f2c996c Binary files /dev/null and b/lib/tpl/nowawes/images/tool-top.png differ diff --git a/lib/tpl/nowawes/images/urlextern.png b/lib/tpl/nowawes/images/urlextern.png new file mode 100644 index 000000000..f099f7dbb Binary files /dev/null and b/lib/tpl/nowawes/images/urlextern.png differ diff --git a/lib/tpl/nowawes/images/windows.gif b/lib/tpl/nowawes/images/windows.gif new file mode 100644 index 000000000..4f12acce1 Binary files /dev/null and b/lib/tpl/nowawes/images/windows.gif differ diff --git a/lib/tpl/nowawes/lang/cs/settings.php b/lib/tpl/nowawes/lang/cs/settings.php new file mode 100644 index 000000000..3a99ad5d8 --- /dev/null +++ b/lib/tpl/nowawes/lang/cs/settings.php @@ -0,0 +1,22 @@ + + */ + +$lang['sidebar'] = "Nastavení postranní lišty"; +$lang['pagename'] = "Název stránky použité jako postranní lišta"; +$lang['trace'] = "Zobrazit historii nad stránkou"; +$lang['wiki_actionlinks'] = "Styl odkazů"; +$lang['user_sidebar_namespace'] = "Jmenný prostor postranních lišt uživatelů"; +$lang['group_sidebar_namespace'] = "Jmenný prostor postranních lišt skupin"; +$lang['left_sidebar_order'] = "Pořadí v levé postranní liště (odděleno čárkami)"; +$lang['left_sidebar_content'] = "Obsah levé postranní lišty"; +$lang['left_sidebar_content_other'] = "Další postranní lišty (odděleno čárkami)"; +$lang['right_sidebar_order'] = "Pořadí v levé postranní liště (odděleno čárkami)"; +$lang['right_sidebar_content'] = "Obsah levé postranní lišty"; +$lang['right_sidebar_content_other'] = "Další postranní lišty (comma separated)"; +$lang['search'] = "Umístění vyhledávacího pole (pokud jsou zobrazeny obě postranní lišty)"; +?> diff --git a/lib/tpl/nowawes/lang/da/settings.php b/lib/tpl/nowawes/lang/da/settings.php new file mode 100644 index 000000000..537ce1db1 --- /dev/null +++ b/lib/tpl/nowawes/lang/da/settings.php @@ -0,0 +1,21 @@ + + */ + +$lang['sidebar'] = "Sidebar opsætning"; +$lang['pagename'] = "Sidenavn for sidebar"; +$lang['trace'] = "Vis brødkrumme øverst på siderne"; +$lang['main_sidebar_allways'] = "Vis hoved (main) sidebar i hvert navnerum"; +$lang['wiki_actionlinks'] = "Actionlinks type"; +$lang['user_sidebar_namespace'] = "Navnerum for bruger sidebar"; +$lang['group_sidebar_namespace'] = "Navnerum for gruppe sidebar"; +$lang['left_sidebar_order'] = "Venstre sidebar rækkefølge (komma separeret)"; +$lang['left_sidebar_content'] = "Indhold i venstre sidebar"; +$lang['left_sidebar_content_other'] = "Andre sidebarers rækkefølge (komma separeret)"; +$lang['right_sidebar_order'] = "Højre sidebar rækkefølge (komma separeret)"; +$lang['right_sidebar_content'] = "Indhold i højre sidebar"; +$lang['right_sidebar_content_other'] = "Andre sidebarers rækkefølge (komma separeret)"; +$lang['search'] = "Placering af søgefeltet (kun aktuelt hvis der anvendes to sidebarer )"; diff --git a/lib/tpl/nowawes/lang/de/settings.php b/lib/tpl/nowawes/lang/de/settings.php new file mode 100644 index 000000000..fcd28349a --- /dev/null +++ b/lib/tpl/nowawes/lang/de/settings.php @@ -0,0 +1,22 @@ + + */ + +$lang['sidebar'] = 'Sidebar Einstellungen'; +$lang['pagename'] = 'Seitenname der Sidebars'; +$lang['trace'] = '"Krümelpfad" oberhalb der Seite anzeigen'; +$lang['main_sidebar_always'] = 'Haupt Sidebar in allen Namensräumen anzeigen'; +$lang['wiki_actionlinks'] = 'Actionlink Darstellung'; +$lang['user_sidebar_namespace'] = 'Namensraum für Benutzer Sidebars'; +$lang['group_sidebar_namespace'] = 'Namesraum für Gruppen Sidebars'; +$lang['left_sidebar_order'] = 'Reihenfolge der linken Sidebars (Komma getrennt)'; +$lang['left_sidebar_content'] = 'Inhalt der linken Sidebar'; +$lang['left_content_sidebar_other'] = 'Andere Sidebars (Komma getrennt)'; +$lang['right_sidebar_order'] = 'Reihenfolge der rechten Sidebars (Komma getrennt)'; +$lang['right_sidebar_content'] = 'Inhalt der rechten Sidebar'; +$lang['left_content_sidebar_other'] = 'Andere Sidebars (Komma getrennt)'; +$lang['search'] = 'Position des Suchfelds (wenn 2 Sidebars benutzt werden)'; +?> diff --git a/lib/tpl/nowawes/lang/en/nosidebar.txt b/lib/tpl/nowawes/lang/en/nosidebar.txt new file mode 100644 index 000000000..54a261489 --- /dev/null +++ b/lib/tpl/nowawes/lang/en/nosidebar.txt @@ -0,0 +1,13 @@ +:!: Looks like you haven't created the main sidebar yet. Do it now by creating the following page: LINK + +Once you've created the page, just add an unordered list of links to create the navigation i.e.: + + +* [[link 1]] +* [[link 2]] +* [[link 3]] + + +You can also use one of the many available index [[doku>plugins]]. + +For further information about sidebars refer to the template [[doku>template:arctic#first steps|documenation]]. diff --git a/lib/tpl/nowawes/lang/en/settings.php b/lib/tpl/nowawes/lang/en/settings.php new file mode 100644 index 000000000..8a159cabc --- /dev/null +++ b/lib/tpl/nowawes/lang/en/settings.php @@ -0,0 +1,24 @@ + + */ + +$lang['sidebar'] = "Sidebar setup"; +$lang['pagename'] = "Pagename to use for sidebars"; +$lang['trace'] = "Show trace at the top of the page"; +$lang['main_sidebar_always'] = "Show main sidebar in every namespace"; +$lang['wiki_actionlinks'] = "Actionlink style"; +$lang['user_sidebar_namespace'] = "Namespace for user sidebars"; +$lang['group_sidebar_namespace'] = "Namespace for group sidebars"; +$lang['left_sidebar_order'] = "Left sidebar order (comma separated)"; +$lang['left_sidebar_content'] = "Content of the left sidebar"; +$lang['left_sidebar_content_other'] = "Other sidebars (comma separated)"; +$lang['right_sidebar_order'] = "Right sidebar order (comma separated)"; +$lang['right_sidebar_content'] = "Content of the right sidebar"; +$lang['right_sidebar_content_other'] = "Other sidebars (comma separated)"; +$lang['search'] = "Position of the search field (applies only if 2 sidebars are used)"; +$lang['closedwiki'] = "Closed Wiki (Navigation shows only the login link if not logged in)"; +$lang['hideactions'] = "Hide all wiki actions to non logged in users"; +// vim:ts=4:sw=4:et:enc=utf-8: diff --git a/lib/tpl/nowawes/lang/eo/settings.php b/lib/tpl/nowawes/lang/eo/settings.php new file mode 100644 index 000000000..4df124bae --- /dev/null +++ b/lib/tpl/nowawes/lang/eo/settings.php @@ -0,0 +1,21 @@ + + */ + +$lang['sidebar'] = "En kiu(j) flanko(j) estos ligilaroj"; +$lang['pagename'] = "Paĝnomo por flankaj ligilaroj"; +$lang['trace'] = "Ĉu uzi lokigajn ligilojn (Trace)"; +$lang['wiki_actionlinks'] = "Stilo de la agligiloj (Actionlink)"; +$lang['user_sidebar_namespace'] = "Nomspaco por flankaj ligilaroj de uzuloj"; +$lang['group_sidebar_namespace'] = "Nomspaco por flankaj ligilaroj de grupoj"; +$lang['left_sidebar_order'] = "Ordo de la maldekstraj ligilaroj (apartite per komoj)"; +$lang['left_sidebar_content'] = "Kio estos en la maldekstra flanko"; +$lang['left_sidebar_content_other'] = "Aliaj maldekstraj ligilaroj (apartite per komoj)"; +$lang['right_sidebar_order'] = "Ordo de la dekstraj ligilaroj (apartite per komoj)"; +$lang['right_sidebar_content'] = "Kio estos en la dekstra flanko"; +$lang['right_sidebar_content_other'] = "Aliaj dekstraj ligilaroj (apertite per komoj)"; +$lang['search'] = "Pozicio de la serĉskatolo (nur se estas ligilaroj en ambaŭ flankoj)"; +?> diff --git a/lib/tpl/nowawes/lang/es/settings.php b/lib/tpl/nowawes/lang/es/settings.php new file mode 100644 index 000000000..259729477 --- /dev/null +++ b/lib/tpl/nowawes/lang/es/settings.php @@ -0,0 +1,21 @@ + + */ + +$lang['sidebar'] = "Configuración de la barra lateral"; +$lang['pagename'] = "Nombre de página a usar para las barras laterales"; +$lang['trace'] = "Configuración de rastreo (trace)"; +$lang['wiki_actionlinks'] = "Estilo de los vínculos de acción"; +$lang['user_sidebar_namespace'] = "Espacio de nombres para las barras laterales de usuario"; +$lang['group_sidebar_namespace'] = "Espacio de nombres para las barras laterales de grupo"; +$lang['left_sidebar_order'] = "Orden de la barra lateral izquierda (separado por comas)"; +$lang['left_sidebar_content'] = "Contenido de la barra lateral izquierda"; +$lang['left_sidebar_content_other'] = "Otras barras laterales izquierdas (separadas por comas)"; +$lang['right_sidebar_order'] = "Orden de la barra lateral derecha (separado por comas)"; +$lang['right_sidebar_content'] = "Contenido de la barra lateral derecha"; +$lang['right_sidebar_content_other'] = "Otras barras laterales derechas (separadas por comas)"; +$lang['search'] = "Posición del campo de búsqueda (aplica solamente si se usan 2 barras laterales)"; +?> diff --git a/lib/tpl/nowawes/lang/fr/settings.php b/lib/tpl/nowawes/lang/fr/settings.php new file mode 100644 index 000000000..6f6d92d1d --- /dev/null +++ b/lib/tpl/nowawes/lang/fr/settings.php @@ -0,0 +1,21 @@ + + */ + +$lang['sidebar'] = "emplacement des blocs"; +$lang['pagename'] = "nom du fichier contenant le bloc"; +$lang['trace'] = "affichage du chemin parcouru"; +$lang['wiki_actionlinks'] = "style des liens d'action"; +$lang['user_sidebar_namespace'] = "nom du fichier contenant la barre d'outils des utilisateurs"; +$lang['group_sidebar_namespace'] = "nom du fichier contenant la barre d'outils des groupes"; +$lang['left_sidebar_order'] = "ordre dans le bloc de gauche (séparés par une virgule)"; +$lang['left_sidebar_content'] = "contenu du bloc de gauche"; +$lang['left_sidebar_content_other'] = "contenu des autres blocs (séparés par une virgule)"; +$lang['right_sidebar_order'] = "ordre dans le bloc de droite (séparés par une virgule)"; +$lang['right_sidebar_content'] = "contenu du bloc de droite"; +$lang['right_sidebar_content_other'] = "contenu des les autres blocs (séparés par une virgule)"; +$lang['search'] = "position du champ de recherche (s'applique seulement si 2 blocs sont utilisés)"; +?> diff --git a/lib/tpl/nowawes/lang/it/settings.php b/lib/tpl/nowawes/lang/it/settings.php new file mode 100644 index 000000000..c5ff2d330 --- /dev/null +++ b/lib/tpl/nowawes/lang/it/settings.php @@ -0,0 +1,21 @@ + + */ + +$lang['sidebar'] = "Configurazione della barra laterale"; +$lang['pagename'] = "Nome della pagina da usare per le barre laterali"; +$lang['trace'] = "Configurazione della traccia"; +$lang['wiki_actionlinks'] = "Stile dei link delle azioni"; +$lang['user_sidebar_namespace'] = "namespace per le barre laterali degli utenti"; +$lang['group_sidebar_namespace'] = "namespace per le barre laterali dei gruppi"; +$lang['left_sidebar_order'] = "Ordine della barra laterale sinistra (separate da virgola)"; +$lang['left_sidebar_content'] = "Contenuto della barra laterale sinistra"; +$lang['left_sidebar_content_other'] = "Altre barre laterali sinistre (separate da virgola)"; +$lang['right_sidebar_order'] = "Ordine della barra laterale destra (separate da virgola)"; +$lang['right_sidebar_content'] = "Contenuto della barra laterale destra"; +$lang['right_sidebar_content_other'] = "Altre barre laterali destre (separate da virgola)"; +$lang['search'] = "Posizione del campo di ricerca (utilizzato solo se sono usate 2 barre laterali)"; +?> diff --git a/lib/tpl/nowawes/lang/pl/settings.php b/lib/tpl/nowawes/lang/pl/settings.php new file mode 100644 index 000000000..16ed71050 --- /dev/null +++ b/lib/tpl/nowawes/lang/pl/settings.php @@ -0,0 +1,19 @@ + diff --git a/lib/tpl/nowawes/lang/pt/settings.php b/lib/tpl/nowawes/lang/pt/settings.php new file mode 100644 index 000000000..c2ba99f9d --- /dev/null +++ b/lib/tpl/nowawes/lang/pt/settings.php @@ -0,0 +1,21 @@ + + */ + +$lang['sidebar'] = "Configuração das barras laterais"; +$lang['pagename'] = "Página a usar para barras laterais"; +$lang['trace'] = "Configuração links de localização (Tace)"; +$lang['wiki_actionlinks'] = "Estilo dos links de acção (Actionlink)"; +$lang['user_sidebar_namespace'] = "Espaço de nomes para barras laterais de utilizadores"; +$lang['group_sidebar_namespace'] = "Espaço de nomes para barras laterais de grupos"; +$lang['left_sidebar_order'] = "Ordem da barra lateral esquerda (separado por vírgulas)"; +$lang['left_sidebar_content'] = "Conteúdo da barra lateral esquerda"; +$lang['left_sidebar_content_other'] = "Outras barras laterais esquerdas(separadas por vírgulas)"; +$lang['right_sidebar_order'] = "Ordem da barra lateral direita (separado por vírgulas)"; +$lang['right_sidebar_content'] = "Conteúdo da barra lateral direita"; +$lang['right_sidebar_content_other'] = "Outras barras laterais direitas (separadas por vírgulas)"; +$lang['search'] = "Posição da caixa de pesquisa (apenas se aplica se forem usadas mais de duas barras laterais)"; +?> diff --git a/lib/tpl/nowawes/lang/ru/nosidebar.txt b/lib/tpl/nowawes/lang/ru/nosidebar.txt new file mode 100644 index 000000000..b2f60385a --- /dev/null +++ b/lib/tpl/nowawes/lang/ru/nosidebar.txt @@ -0,0 +1,13 @@ +:!: Похоже, Вы ещё не создали боковую панель. Можно сделать это прямо сейчас, проследовав по ссылке: LINK + +Для создания навигационного меню, после создания странички просто добавьте ссылки в желаемом порядке, напр.: + + +* [[link 1]] +* [[link 2]] +* [[link 3]] + + +Также для этого можно использовать один из множества имеющихся плагинов [[doku>ru:plugins]]. + +Для дополнительной информации о боковых панелях см. [[doku>template:arctic#first steps|документацию]] по шаблону. diff --git a/lib/tpl/nowawes/lang/ru/settings.php b/lib/tpl/nowawes/lang/ru/settings.php new file mode 100644 index 000000000..d60b03205 --- /dev/null +++ b/lib/tpl/nowawes/lang/ru/settings.php @@ -0,0 +1,21 @@ + + */ + +$lang['sidebar'] = "Расположение боковых панелей"; +$lang['pagename'] = "Имя страницы для боковых панелей"; +$lang['trace'] = "Показывать \"Вы посетили:\" вверху страницы"; +$lang['wiki_actionlinks'] = "Стиль actionlinks"; +$lang['user_sidebar_namespace'] = "Пространство имен для пользовательских боковых панелей"; +$lang['group_sidebar_namespace'] = "Пространство имен для групповых боковых панелей"; +$lang['left_sidebar_order'] = "Порядок левых боковых панелей (через запятую)"; +$lang['left_sidebar_content'] = "Включенные левые боковые панели"; +$lang['left_sidebar_content_other'] = "Другие боковые панели (через запятую)"; +$lang['right_sidebar_order'] = "Порядок правых боковых панелей (через запятую)"; +$lang['right_sidebar_content'] = "Включенные правые боковые панели"; +$lang['right_sidebar_content_other'] = "Другие боковые панели (через запятую)"; +$lang['search'] = "Расположение поля поиска (только если используются обе боковые панели)"; +?> diff --git a/lib/tpl/nowawes/layout.css b/lib/tpl/nowawes/layout.css new file mode 100644 index 000000000..a3f75e3aa --- /dev/null +++ b/lib/tpl/nowawes/layout.css @@ -0,0 +1,79 @@ +/** + * Tableless Layout for default template + * + * @author Andreas Gohr + * @author moraes + */ + +/* -------------- top row --------------- */ +div.dokuwiki .header { + padding: 3px 0 0 2px; +} + +div.dokuwiki .pagename { + float: none; + font-size: 200%; + font-weight: bolder; + color: __background_alt__; + vertical-align: middle; +} + +div.dokuwiki .pagename a { + color: __extern__ !important; + text-decoration: none !important; +} + +div.dokuwiki .logo { + float: none; + font-size: 220%; + font-weight: bolder; + vertical-align: middle; +} + +div.dokuwiki .logo a { + color: __background_alt__ !important; + text-decoration: none !important; + font-variant: small-caps; + letter-spacing: 2pt; +} + +/* --------------- top and bottom bar ---------------- */ +div.dokuwiki .bar { + border-top: 1px solid __border__; + border-bottom: 1px solid __border__; + background: __background_alt__; + padding: 0.1em 0.15em; + clear: both; +} + +div.dokuwiki .bar-left { + float: left; +} + +div.dokuwiki .bar-right { + float: right; + text-align: right; +} + +div.dokuwiki #bar__bottom { + margin-bottom: 3px; +} + +/* ------------- File Metadata ----------------------- */ + +div.dokuwiki div.meta { + clear: both; + margin-top: 1em; + color: __text_alt__; + font-size: 70%; + margin-left: 21%; + width: 74%; +} + +div.dokuwiki div.meta div.user { + float: left; +} + +div.dokuwiki div.meta div.doc { + text-align: right; +} diff --git a/lib/tpl/nowawes/main.php b/lib/tpl/nowawes/main.php new file mode 100644 index 000000000..7f0fabc4f --- /dev/null +++ b/lib/tpl/nowawes/main.php @@ -0,0 +1,254 @@ + + * @author Michael Klier + * @link http://wiki.splitbrain.org/template:arctic + * @link http://chimeric.de/projects/dokuwiki/template/arctic + */ + +// must be run from within DokuWiki +if (!defined('DOKU_INC')) die(); + +global $ACT; + +// include custom arctic template functions +require_once(dirname(__FILE__).'/tpl_functions.php'); +?> + + + + + + <?php tpl_pagetitle()?> + [<?php echo strip_tags($conf['title'])?>] + + + + + + + + + + + +
+
+ + + +
+
+
+ +
+ +
+ + + + + + +
+ + + +
+
+ html_new_page_button(); + } + tpl_button('edit'); + break; + case('links'): + // check if new page button plugin is available + if(!plugin_isdisabled('npd') && ($npd =& plugin_load('helper', 'npd'))) { + $npd->html_new_page_button(); + } + tpl_actionlink('edit'); + break; + } + } + ?> +
+
+ +
+
+ + + + + + + + + + + +
+ +
+ +
+ +
+ + + + + +
+ +
+ + +
+ +
+ + + + + + +
+ +
+ + +
+ +
+ + + +
+ +
+ + +
+
+
+ +
+
+ +
+
+
+ +
+ + + + + + +
+
+ +
+
+ +
+
+
+ + + + + + +
+
+ +
+ + diff --git a/lib/tpl/nowawes/media.css b/lib/tpl/nowawes/media.css new file mode 100644 index 000000000..37369fe2f --- /dev/null +++ b/lib/tpl/nowawes/media.css @@ -0,0 +1,213 @@ +/** + * The CSS in here controls the appearance of the media manager + */ + +#media__manager { + height: 100%; + overflow: hidden; +} + +#media__left { + width: 30%; + border-right: solid 1px __border__; + + height: 100%; + overflow: auto; + position: absolute; + left: 0; +} + +#media__right { + width: 69.7%; + + height: 100%; + overflow: auto; + position: absolute; + right: 0; +} + +#media__manager h1 { + margin: 0; + padding: 0; + margin-bottom: 0.5em; +} + +#media__manager a.select { + cursor: pointer; +} + +/* --- Tree formatting --- */ + +#media__tree img { + float: left; + padding: 0.5em 0.3em 0 0; +} + +#media__tree ul { + list-style-type: none; + list-style-image: none; + margin-left: 1.5em; +} + +#media__tree li { + clear: left; + list-style-type: none; + list-style-image: none; +} +*+html #media__tree li, +* html #media__tree li { + border: 1px solid __background__; +}/* I don't understand this, but this fixes a style bug in IE; +it's dirty, so any "real" fixes are welcome */ + +/* --- options --- */ + +#media__opts { + padding-left: 1em; + margin-bottom: 0.5em; +} + +#media__opts input { + float: left; + display: block; + margin-top: 4px; + position: absolute; +} +*+html #media__opts input, +* html #media__opts input { + position: static; +} + +#media__opts label { + display: block; + float: left; + margin-left: 20px; + margin-bottom: 4px; +} +*+html #media__opts label, +* html #media__opts label { + margin-left: 10px; +} + +#media__opts br { + clear: left; +} + +/* --- file list --- */ + +#media__content img.load { + margin: 1em auto; +} + +#media__content #scroll__here { + border: 1px dashed __border__; +} + +#media__content .odd { + background-color: __background_other__; + padding: 0.4em; +} + +#media__content .even { + padding: 0.4em; +} + +#media__content a.mediafile { + margin-right: 1.5em; + font-weight: bold; +} + +#media__content div.detail { + padding: 0.3em 0 0.3em 2em; +} + +#media__content div.detail div.thumb { + float: left; + width: 130px; + text-align: center; + margin-right: 0.4em; +} + + +#media__content img.btn { + vertical-align: text-bottom; +} + +#media__content div.example { + color: __text_neu__; + margin-left: 1em; +} + +/* --- upload form --- */ + +#media__content div.upload { + font-size: 90%; + padding: 0 0.5em 0.5em 0.5em; +} + +#media__content #mediamanager__uploader { + display: block; + border-bottom: solid 1px __border__; + padding: 0 0.5em 1em 0.5em; +} + +#media__content form#dw__upload { + border-bottom: 0; +} + +#media__content form#dw__upload fieldset { + padding: 0; + margin: 0; + border: none; + width: auto; +} +#media__content form#dw__upload p { + text-align: left; + padding: 0.25em 0; + margin: 0; + line-height: 1.0em; +} +#media__content form#dw__upload label.check { + float: none; + width: auto; + margin-left: 11.5em; +} + +/* --- meta edit form --- */ + +#media__content form.meta { + display: block; + padding: 0 0 1em 0; +} + +#media__content form.meta label { + display: block; + width: 25%; + float: left; + font-weight: bold; + margin-left: 1em; + clear: left; +} + +#media__content form.meta .edit { + font: 100% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + float: left; + width: 70%; + padding-right: 0; + padding-left: 0.2em; + margin: 2px; +} + +#media__content form.meta textarea.edit { + height: 8em; +} + +#media__content form.meta div.metafield { + clear: left; +} + +#media__content form.meta div.buttons { + clear: left; + margin-left: 20%; + padding-left: 1em; +} diff --git a/lib/tpl/nowawes/mediamanager.php b/lib/tpl/nowawes/mediamanager.php new file mode 100644 index 000000000..7b7fe8675 --- /dev/null +++ b/lib/tpl/nowawes/mediamanager.php @@ -0,0 +1,44 @@ + + + */ +?> + + + + + <?php echo hsc($lang['mediaselect'])?> + [<?php echo strip_tags($conf['title'])?>] + + + + + + +
+
+ +

+ + +
+ + +
+ +
+ +
+
+ + diff --git a/lib/tpl/nowawes/print.css b/lib/tpl/nowawes/print.css new file mode 100644 index 000000000..45b60aad2 --- /dev/null +++ b/lib/tpl/nowawes/print.css @@ -0,0 +1,228 @@ + +body { + font: 10pt "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + background-color: White; + color: Black; +} + +table { + font-size: 100%; + padding: 0; + margin: 0; +} + +tr,td,th { padding: 0; margin: 0; } + +img { border: 0; } + +a { + color: #000000; + text-decoration: none; + background: none !important; +} + +a.interwiki { + padding-left: 0px !important; +} + + +div.meta { + clear: both; + margin-top: 1em; + font-size: 70%; + text-align: right; +} + +div.breadcrumbs { + display: none; +} + + +/* --------------------- Text formating -------------------------------- */ + +/* external link */ +a.urlextern:after { + content: " [" attr(href) "]"; + font-size: 90%; +} + +/* interwiki link */ +a.interwiki:after { + content: " [" attr(href) "]"; + font-size: 90%; +} + +/* email link */ +a.mail:after { + content: " [" attr(href) "]"; + font-size: 90%; +} + +/* existing wikilink */ +a.wikilink1 { text-decoration: underline; } + +/* the document */ +div.page { + text-align: justify; +} + +/* general headline setup */ +h1, h2, h3, h4, h5 { + color: Black; + background-color: transparent; + font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + font-size: 100%; + font-weight: normal; + margin-left: 0; + margin-right: 0; + margin-top: 0; + margin-bottom: 1em; + padding-left: 0; + padding-right: 0; + padding-top: 0.5em; + padding-bottom: 0; + border-bottom: 1px solid #000000; + clear: left; +} + +/* special headlines */ +h1 { font-size: 160%; font-weight: bold; } +h2 { font-size: 150%; } +h3 { font-size: 140%; border-bottom: none; } +h4 { font-size: 120%; border-bottom: none; } +h5 { font-size: 100%; border-bottom: none; } + +/* embedded images */ +img.media { + margin: 3px; +} + +/* the styles for media images are already in + lib/styles/all.css, these are additional styles */ +img.medialeft { + margin: 0 1.5em 0 0; +} +img.mediaright { + margin: 0 0 0 1.5em; +} +img.mediacenter { +} + +/* unordered lists */ +ul { + line-height: 1.5em; + list-style-type: square; + margin: 0 0 1em 3.5em; + padding: 0; +} + +/* ordered lists */ +ol { + line-height: 1.5em; + margin: 0 0 1em 3.5em; + padding: 0; + font-weight: normal; +} + +div.dokuwiki li ul { + margin-bottom: 0; +} +div.dokuwiki li ol { + margin-bottom: 0; +} + +div.dokuwiki ol { list-style-type: decimal; } +div.dokuwiki ol ol { list-style-type: upper-roman; } +div.dokuwiki ol ol ol { list-style-type: lower-alpha; } +div.dokuwiki ol ol ol ol { list-style-type: lower-greek; } + +/* the list items overriding the ol definition */ +span.li { + font-weight: normal; +} + +pre { + font-family: monospace; +} + +/* code blocks by indention */ +pre.pre { + font-size: 8pt; + padding: 0.5em; + border: 1px dashed #000000; + color: Black; + overflow: visible; +} + +/* code blocks by code tag */ +pre.code { + font-size: 8pt; + padding: 0.5em; + border: 1px dashed #000000; + color: Black; + overflow: visible; +} + +/* inline code words */ +code { + font-size: 120%; +} + +/* code blocks by file tag */ +pre.file { + font-size: 8pt; + padding: 0.5em; + border: 1px dotted #000000; + color: Black; + overflow: visible; +} + +/* footnotes */ +div.footnotes { + clear: both; + border-top: 1px solid #000000; + padding-left: 1em; + margin-top: 1em; +} + +div.fn { + font-size: 90%; +} + +a.fn_top { + vertical-align: super; + font-size: 80%; +} + +a.fn_bot { + vertical-align: super; + font-size: 80%; + font-weight: bold; +} + +acronym { + border: 0; +} + +/* ---------- inline tables ------------------- */ + +table.inline { + font-size: 80%; + background-color: #ffffff; + border-spacing: 0px; + border-collapse: collapse; +} + +table.inline th { + padding: 3px; + border: 1px solid #000000; + border-bottom: 2px solid #000000; +} + +table.inline td { + padding: 3px; + border: 1px solid #000000; +} + +.toc, .footerinc, .header, .bar, .user { display: none; } + diff --git a/lib/tpl/nowawes/rtl.css b/lib/tpl/nowawes/rtl.css new file mode 100644 index 000000000..82c85839b --- /dev/null +++ b/lib/tpl/nowawes/rtl.css @@ -0,0 +1,154 @@ +/** + * Layout and design corrections for right-to-left languages + * + * @author Andreas Gohr + * @author Dotan Kamber + */ + +.bar-left { + float: right; + text-align: right; +} + +.bar-right { + float: left; + text-align: left; +} + +.pagename { + float: right; + text-align: right; +} + +.logo { + float: left; + text-align: left; +} + +label { + text-align: left; +} + +label.simple { + text-align: right; +} + +div.meta div.user { + float: right; +} + +div.meta div.doc { + text-align: left; +} + +/* ------------------ Design corrections --------------------------------- */ + +div.dokuwiki ul, +div.dokuwiki ol { + margin: 0.5em 3.5em 0.5em 0; +} +div.dokuwiki li ul, +div.dokuwiki li ol { + margin: 0.5em 1.5em 0.5em 0; +} + +div.dokuwiki a.urlextern, +div.dokuwiki a.interwiki, +div.dokuwiki a.windows, +div.dokuwiki a.mail { + /* should work but doesn't - so we just disable icons here*/ + /* + background-position: right 1px; + padding-right: 16px; + */ + background-image: none !important; + padding: 0px 0px 0px 0px; +} + +div.dokuwiki div.secedit input.button { + float: left; +} + +/* headlines */ +div.dokuwiki h1, div.dokuwiki h2, div.dokuwiki h3, div.dokuwiki h4, div.dokuwiki h5 { + clear: right; +} + +/* special headlines */ +div.dokuwiki h1 { margin-left: 0px; margin-right: 0px; } +div.dokuwiki h2 { margin-left: 0px; margin-right: 20px; } +div.dokuwiki h3 { margin-left: 0px; margin-right: 40px; } +div.dokuwiki h4 { margin-left: 0px; margin-right: 60px; } +div.dokuwiki h5 { margin-left: 0px; margin-right: 80px; } + +/* indent different sections */ +div.dokuwiki div.level1 { margin-left: 0px; margin-right: 3px; } +div.dokuwiki div.level2 { margin-left: 0px; margin-right: 23px; } +div.dokuwiki div.level3 { margin-left: 0px; margin-right: 43px; } +div.dokuwiki div.level4 { margin-left: 0px; margin-right: 63px; } +div.dokuwiki div.level5 { margin-left: 0px; margin-right: 83px; } + +/* TOC control */ +div.dokuwiki div.toc { + float: left; +} + +div.dokuwiki div.tocheader { + text-align: right; +} + +div.dokuwiki #toc__inside { + text-align: right; +} + +div.dokuwiki ul.toc { + padding: 0; + padding-right: 1em; +} + +div.dokuwiki ul.toc li { + background-position: right 0.6em; + padding-right: 0.4em; + direction: rtl; +} + +div.dokuwiki ul.toc li.clear { + padding-right: 0.4em; +} + +div.dokuwiki .code { + direction: ltr; + text-align: left; +} +div.dokuwiki blockquote { + border-left: 0; + padding-left: 0; + border-right: 2px solid __border__; + padding-right: 3px; +} + +/* Admin corrections */ +#admin__version { + clear: right; + float: left; +} + +.dokuwiki ul.admin_tasks { + float: right; +} + +.dokuwiki ul.admin_tasks li { + padding-left: 0px; + padding-right: 35px; + background: transparent none no-repeat scroll right 0; + text-align: right; +} + +/* Search corrections */ +div.dokuwiki ul.search_quickhits li { + float: right; +} + +div#qsearch__out { + text-align: right; +} diff --git a/lib/tpl/nowawes/script.js b/lib/tpl/nowawes/script.js new file mode 100644 index 000000000..d80a97850 --- /dev/null +++ b/lib/tpl/nowawes/script.js @@ -0,0 +1,127 @@ +/** + * javascript functionality for the arctic template + * copies the mothod for dokuwikis TOC functionality + * in order to keep the template XHTML valid + */ + +/** + * Adds the toggle switch to the TOC + */ +function addSbLeftTocToggle() { + if(!document.getElementById) return; + var header = jQuery('#sb__left__toc__header'); + if(!header.length) return; + + var obj = document.createElement('span'); + obj.id = 'sb__left__toc__toggle'; + obj.innerHTML = ''; + obj.className = 'toc_close'; + obj.style.cursor = 'pointer'; + + //prependChild(header,obj); + jQuery( header ).prepend( obj ); + //obj.parentNode.onclick = toggleSbLeftToc; + jQuery( obj.parentNode ).bind( 'click', toggleSbLeftToc ); + try { + obj.parentNode.style.cursor = 'pointer'; + obj.parentNode.style.cursor = 'hand'; + }catch(e){} +} + +/** + * This toggles the visibility of the Table of Contents + */ +function toggleSbLeftToc() { + var toc = jQuery('#sb__left__toc__inside'); + var obj = jQuery('#sb__left__toc__toggle'); + if( toc.css( 'display' ) == 'none' ) { + toc.css( 'display', 'block' ); + obj.innerHTML = ''; + obj.className = 'toc_close'; + } else { + toc.css( 'display', 'none' ); + toc.style.display = 'none'; + obj.innerHTML = '+'; + obj.className = 'toc_open'; + } +} + +/** + * Adds the toggle switch to the TOC + */ +function addSbRightTocToggle() { + if(!document.getElementById) return; + var header = jQuery('#sb__right__toc__header'); + if(!header.length) return; + + var obj = document.createElement('span'); + obj.id = 'sb__right__toc__toggle'; + obj.innerHTML = ''; + obj.className = 'toc_close'; + obj.style.cursor = 'pointer'; + + //prependChild(header,obj); + jQuery( header ).prepend( obj ); + + //obj.parentNode.onclick = toggleSbRightToc; + jQuery( obj.parentNode ).bind( 'click', toggleSbRightToc ); + try { + obj.parentNode.style.cursor = 'pointer'; + obj.parentNode.style.cursor = 'hand'; + }catch(e){} +} + +/** + * This toggles the visibility of the Table of Contents + */ +function toggleSbRightToc() { + var toc = jQuery('#sb__right__toc__inside'); + var obj = jQuery('#sb__right__toc__toggle'); + + if( toc.css( 'display' ) == 'none' ) { + toc.css( 'display', 'block' ); + obj.innerHTML = ''; + obj.className = 'toc_close'; + } else { + toc.css( 'display', 'none' ); + obj.innerHTML = '+'; + obj.className = 'toc_open'; + } +} + +var left_dw_index = jQuery('#left__index__tree').dw_tree({deferInit: true, + load_data: function (show_sublist, $clicky) { + jQuery.post( + DOKU_BASE + 'lib/exe/ajax.php', + $clicky[0].search.substr(1) + '&call=index', + show_sublist, 'html' + ); + } +}); +var right_dw_index = jQuery('#right__index__tree').dw_tree({deferInit: true, + load_data: function (show_sublist, $clicky) { + jQuery.post( + DOKU_BASE + 'lib/exe/ajax.php', + $clicky[0].search.substr(1) + '&call=index', + show_sublist, 'html' + ); + } +}); + +jQuery(function(){ +// from lib/scripts/index.js + var $tree = jQuery('#left__index__tree'); + left_dw_index.$obj = $tree; + left_dw_index.init(); + + var $tree = jQuery('#right__index__tree'); + right_dw_index.$obj = $tree; + right_dw_index.init(); + +// add TOC events + jQuery(addSbLeftTocToggle); + jQuery(addSbRightTocToggle); + +}); + +// vim:ts=4:sw=4:et:enc=utf-8: diff --git a/lib/tpl/nowawes/sidebars/_dummy b/lib/tpl/nowawes/sidebars/_dummy new file mode 100644 index 000000000..e69de29bb diff --git a/lib/tpl/nowawes/style.ini b/lib/tpl/nowawes/style.ini new file mode 100644 index 000000000..e1c4ce1a6 --- /dev/null +++ b/lib/tpl/nowawes/style.ini @@ -0,0 +1,97 @@ +; ARCTIC-TEMPLATE-DEFAULT-STYLE.INI +; @author: Michael Klier + +; Please see http://www.php.net/manual/en/function.parse-ini-file.php +; for limitations of the ini format used here + +; Define the stylesheets your template uses here. The second value +; defines for which output media the style should be loaded. Currently +; print, screen and rtl are supported. rtl styles are loaded additionally +; to screen styles if a right-to-left language is selected (eg. hebrew) +[stylesheets] +layout.css = screen +arctic_layout.css = screen +design.css = screen +arctic_design.css = screen +style.css = screen +_mediamanager.css = screen +_mediaoptions.css = screen +_subscription.css = screen +_tabs.css = screen +_admin.css = screen +_linkwiz.css = screen +_fileuploader.css = screen +rtl.css = rtl +arctic_rtl.css = rtl +print.css = print +arctic_print.css = print + +; This section is used to configure some placeholder values used in +; the stylesheets. Changing this file is the simplest method to +; give your wiki a new look. +[replacements] +; arctic template LAYOUT +__wiki_width__ = "794px" +__header_height__ = "327px" +__body_margin__ = "0px" +__page_padding__ = "0px" +__footer_padding__ = "1em" + +; arctic template FONT-SIZES AND FONT-COLORS +__font_size__ = "0.8125em" +__line_height__ = "150%" +__pagename_color__ = "#f8f8f8" +__logo_color__ = "#f8f8f8" +__headline_color__ = "#333" + +; arctic template LAYOUT-COLORS +__body_background__ = "#c2eca0" +__header_background__ = "#90D359" +__footer_background__ = "#c3eca0" +__form_border__ = "#00b300" + + +;-------------------------------------------------------------------------- +;------ guaranteed dokuwiki color placeholders that every plugin can use +; main text and background colors +__text__ = "#333" +__background__ = "#90d359" +; alternative text and background colors +__text_alt__ = "#638c9c" +__background_alt__ = "#c2eca0" +; neutral text and background colors +__text_neu__ = "#666" +__background_neu__ = "#f5f5f5" +; border color +__border__ = "#aaa" +__border_alt__ = "#00b300" +;-------------------------------------------------------------------------- + +; other text and background colors +__text_other__ = "#ffcc00" +__background_other__ = "#ffcc00" + +; these are used for links +__extern__ = "#4d4da2" +__existing__ = "#00b300" +__missing__ = "#ed5353" + +; highlighting search snippets +__highlight__ = "#ff9" + +;-------------------------------------------------------------------------- +;------ for keeping old templates and plugins compatible to the old pattern +; (to be deleted at the next or after next release) +__white__ = "#fff" +__lightgray__ = "#f5f5f5" +__mediumgray__ = "#ccc" +__darkgray__ = "#666" +__black__ = "#000" + +; these are the shades of blue +__lighter__ = "#f7f9fa" +__light__ = "#eef3f8" +__medium__ = "#dee7ec" +__dark__ = "#8cacbb" +__darker__ = "#638c9c" +; setup vim: ts=2 sw=2: diff --git a/lib/tpl/nowawes/style.ini.dist b/lib/tpl/nowawes/style.ini.dist new file mode 100644 index 000000000..24ffd2d5a --- /dev/null +++ b/lib/tpl/nowawes/style.ini.dist @@ -0,0 +1,95 @@ +; ARCTIC-TEMPLATE-DEFAULT-STYLE.INI +; @author: Michael Klier + +; Please see http://www.php.net/manual/en/function.parse-ini-file.php +; for limitations of the ini format used here + +; Define the stylesheets your template uses here. The second value +; defines for which output media the style should be loaded. Currently +; print, screen and rtl are supported. rtl styles are loaded additionally +; to screen styles if a right-to-left language is selected (eg. hebrew) +[stylesheets] +layout.css = screen +arctic_layout.css = screen +design.css = screen +arctic_design.css = screen +style.css = screen +media.css = screen +arctic_media.css = screen +_admin.css = screen +_linkwiz.css = screen +_mediaoptions.css = screen +_subscription.css = screen +rtl.css = rtl +arctic_rtl.css = rtl +print.css = print +arctic_print.css = print + +; This section is used to configure some placeholder values used in +; the stylesheets. Changing this file is the simplest method to +; give your wiki a new look. +[replacements] +; arctic template LAYOUT +__wiki_width__ = "84%" +__header_height__ = "5em" +__body_margin__ = "1.5em" +__page_padding__ = "0.5em;" +__footer_padding__ = "2em" + +; arctic template FONT-SIZES AND FONT-COLORS +__font_size__ = "0.8125em" +__line_height__ = "150%" +__pagename_color__ = "#f8f8f8" +__logo_color__ = "#f8f8f8" +__headline_color__ = "#333" + +; arctic template LAYOUT-COLORS +__body_background__ = "#f8f8f8" +__header_background__ = "#436976" +__footer_background__ = "#436976" +__form_border__ = "#c3c3c3" + + +;-------------------------------------------------------------------------- +;------ guaranteed dokuwiki color placeholders that every plugin can use +; main text and background colors +__text__ = "#333" +__background__ = "#fff" +; alternative text and background colors +__text_alt__ = "#638c9c" +__background_alt__ = "#dee7ec" +; neutral text and background colors +__text_neu__ = "#666" +__background_neu__ = "#f5f5f5" +; border color +__border__ = "#ccc" +;-------------------------------------------------------------------------- + +; other text and background colors +__text_other__ = "#ccc" +__background_other__ = "#f7f9fa" + +; these are used for links +__extern__ = "#436976" +__existing__ = "#56b04f" +__missing__ = "#ed5353" + +; highlighting search snippets +__highlight__ = "#ff9" + +;-------------------------------------------------------------------------- +;------ for keeping old templates and plugins compatible to the old pattern +; (to be deleted at the next or after next release) +__white__ = "#fff" +__lightgray__ = "#f5f5f5" +__mediumgray__ = "#ccc" +__darkgray__ = "#666" +__black__ = "#000" + +; these are the shades of blue +__lighter__ = "#f7f9fa" +__light__ = "#eef3f8" +__medium__ = "#dee7ec" +__dark__ = "#8cacbb" +__darker__ = "#638c9c" +; setup vim: ts=2 sw=2: diff --git a/lib/tpl/nowawes/tpl_functions.php b/lib/tpl/nowawes/tpl_functions.php new file mode 100644 index 000000000..1147e5afb --- /dev/null +++ b/lib/tpl/nowawes/tpl_functions.php @@ -0,0 +1,377 @@ + + */ + +// must be run from within DokuWiki +if (!defined('DOKU_INC')) die(); +if (!defined('DOKU_LF')) define('DOKU_LF',"\n"); + +// load sidebar contents +$sbl = explode(',',tpl_getConf('left_sidebar_content')); +$sbr = explode(',',tpl_getConf('right_sidebar_content')); +$sbpos = tpl_getConf('sidebar'); + +// set notoc option and toolbar regarding the sitebar setup +switch($sbpos) { + case 'both': + $notoc = (in_array('toc',$sbl) || in_array('toc',$sbr)) ? true : false; + $toolb = (in_array('toolbox',$sbl) || in_array('toolbox',$sbr)) ? true : false; + break; + case 'left': + $notoc = (in_array('toc',$sbl)) ? true : false; + $toolb = (in_array('toolbox',$sbl)) ? true : false; + break; + case 'right': + $notoc = (in_array('toc',$sbr)) ? true : false; + $toolb = (in_array('toolbox',$sbr)) ? true : false; + break; + case 'none': + $notoc = false; + $toolb = false; + break; +} + +/** + * Prints the sidebars + * + * @author Michael Klier + */ +function tpl_sidebar($pos) { + + $sb_order = ($pos == 'left') ? explode(',', tpl_getConf('left_sidebar_order')) : explode(',', tpl_getConf('right_sidebar_order')); + $sb_content = ($pos == 'left') ? explode(',', tpl_getConf('left_sidebar_content')) : explode(',', tpl_getConf('right_sidebar_content')); + + // process contents by given order + foreach($sb_order as $sb) { + if(in_array($sb,$sb_content)) { + $key = array_search($sb,$sb_content); + unset($sb_content[$key]); + tpl_sidebar_dispatch($sb,$pos); + } + } + + // check for left content not specified by order + if(is_array($sb_content) && !empty($sb_content) > 0) { + foreach($sb_content as $sb) { + tpl_sidebar_dispatch($sb,$pos); + } + } +} + +/** + * Dispatches the given sidebar type to return the right content + * + * @author Michael Klier + */ +function tpl_sidebar_dispatch($sb,$pos) { + global $lang; + global $conf; + global $ID; + global $REV; + global $INFO; + global $TOC; + + $svID = $ID; // save current ID + $svREV = $REV; // save current REV + $svTOC = $TOC; // save current TOC + + $pname = tpl_getConf('pagename'); + + switch($sb) { + + case 'main': + if(tpl_getConf('closedwiki') && !isset($_SERVER['REMOTE_USER'])) return; + $main_sb = $pname; + if(@page_exists($main_sb) && auth_quickaclcheck($main_sb) >= AUTH_READ) { + $always = tpl_getConf('main_sidebar_always'); + if($always or (!$always && !getNS($ID))) { + print '' . DOKU_LF; + } + } elseif(!@page_exists($main_sb) && auth_quickaclcheck($main_sb) >= AUTH_CREATE) { + if(@file_exists(DOKU_TPLINC.'lang/'. $conf['lang'].'/nosidebar.txt')) { + $out = p_render('xhtml', p_get_instructions(io_readFile(DOKU_TPLINC.'lang/'.$conf['lang'].'/nosidebar.txt')), $info); + } else { + $out = p_render('xhtml', p_get_instructions(io_readFile(DOKU_TPLINC.'lang/en/nosidebar.txt')), $info); + } + $link = '' . $pname . '' . DOKU_LF; + print '' . DOKU_LF; + } + break; + + case 'namespace': + if(tpl_getConf('closedwiki') && !isset($_SERVER['REMOTE_USER'])) return; + $user_ns = tpl_getConf('user_sidebar_namespace'); + $group_ns = tpl_getConf('group_sidebar_namespace'); + if(!preg_match("/^".$user_ns.":.*?$|^".$group_ns.":.*?$/", $svID)) { // skip group/user sidebars and current ID + $ns_sb = _getNsSb($svID); + if($ns_sb && auth_quickaclcheck($ns_sb) >= AUTH_READ) { + print '' . DOKU_LF; + } + } + break; + + case 'user': + if(tpl_getConf('closedwiki') && !isset($_SERVER['REMOTE_USER'])) return; + $user_ns = tpl_getConf('user_sidebar_namespace'); + if(isset($INFO['userinfo']['name'])) { + $user = $_SERVER['REMOTE_USER']; + $user_sb = $user_ns . ':' . $user . ':' . $pname; + if(@page_exists($user_sb)) { + $subst = array('pattern' => array('/@USER@/'), 'replace' => array($user)); + print ''; + } + // check for namespace sidebars in user namespace too + if(preg_match('/'.$user_ns.':'.$user.':.*/', $svID)) { + $ns_sb = _getNsSb($svID); + if($ns_sb && $ns_sb != $user_sb && auth_quickaclcheck($ns_sb) >= AUTH_READ) { + print '' . DOKU_LF; + } + } + + } + break; + + case 'group': + if(tpl_getConf('closedwiki') && !isset($_SERVER['REMOTE_USER'])) return; + $group_ns = tpl_getConf('group_sidebar_namespace'); + if(isset($INFO['userinfo']['name'], $INFO['userinfo']['grps'])) { + foreach($INFO['userinfo']['grps'] as $grp) { + $group_sb = $group_ns.':'.$grp.':'.$pname; + if(@page_exists($group_sb) && auth_quickaclcheck(cleanID($group_sb)) >= AUTH_READ) { + $subst = array('pattern' => array('/@GROUP@/'), 'replace' => array($grp)); + print '' . DOKU_LF; + } + } + } + break; + + case 'index': + if(tpl_getConf('closedwiki') && !isset($_SERVER['REMOTE_USER'])) return; + print '' . DOKU_LF; + break; + + case 'toc': + if(tpl_getConf('closedwiki') && !isset($_SERVER['REMOTE_USER'])) return; + if(auth_quickaclcheck($svID) >= AUTH_READ) { + $toc = tpl_toc(true); + // replace ids to keep XHTML compliance + if(!empty($toc)) { + $toc = preg_replace('/id="(.*?)"/', 'id="sb__' . $pos . '__\1"', $toc); + print '' . DOKU_LF; + } + } + break; + + case 'toolbox': + + if(tpl_getConf('hideactions') && !isset($_SERVER['REMOTE_USER'])) return; + + if(tpl_getConf('closedwiki') && !isset($_SERVER['REMOTE_USER'])) { + print '' . DOKU_LF; + } else { + $actions = array('admin', + 'revert', + 'edit', + 'history', + 'recent', + 'backlink', + 'media', + 'subscription', + 'index', + 'login', + 'profile', + 'top'); + + print '' . DOKU_LF; + } + + break; + + case 'trace': + if(tpl_getConf('closedwiki') && !isset($_SERVER['REMOTE_USER'])) return; + print '' . DOKU_LF; + break; + + case 'extra': + if(tpl_getConf('closedwiki') && !isset($_SERVER['REMOTE_USER'])) return; + print '' . DOKU_LF; + break; + + default: + if(tpl_getConf('closedwiki') && !isset($_SERVER['REMOTE_USER'])) return; + // check for user defined sidebars + if(@file_exists(DOKU_TPLINC.'sidebars/'.$sb.'/sidebar.php')) { + print '' . DOKU_LF; + } + break; + } + + // restore ID, REV and TOC + $ID = $svID; + $REV = $svREV; + $TOC = $svTOC; +} + +/** + * Removes the TOC of the sidebar pages and + * shows a edit button if the user has enough rights + * + * TODO sidebar caching + * + * @author Michael Klier + */ +function p_sidebar_xhtml($sb,$pos,$subst=array()) { + $data = p_wiki_xhtml($sb,'',false); + if(!empty($subst)) { + $data = preg_replace($subst['pattern'], $subst['replace'], $data); + } + if(auth_quickaclcheck($sb) >= AUTH_EDIT) { + $data .= '
'.html_btn('secedit',$sb,'',array('do'=>'edit','rev'=>'','post')).'
'; + } + // strip TOC + $data = preg_replace('/
.*?(<\/div>\n<\/div>)/s', '', $data); + // replace headline ids for XHTML compliance + $data = preg_replace('/(.*?<\/a><\/h.*?>)/','\1sb_'.$pos.'_\2\3sb_'.$pos.'_\4\5', $data); + return ($data); +} + +/** + * Renders the Index + * + * copy of html_index located in /inc/html.php + * + * TODO update to new AJAX index possible? + * + * @author Andreas Gohr + * @author Michael Klier + */ +function p_index_xhtml($ns,$pos) { + require_once(DOKU_INC.'inc/search.php'); + global $conf; + global $ID; + $dir = $conf['datadir']; + $ns = cleanID($ns); + #fixme use appropriate function + if(empty($ns)){ + $ns = dirname(str_replace(':','/',$ID)); + if($ns == '.') $ns =''; + } + $ns = utf8_encodeFN(str_replace(':','/',$ns)); + + // extract only the headline + preg_match('/

.*?<\/h1>/', p_locale_xhtml('index'), $match); + print preg_replace('##', '', $match[0]); + + $data = array(); + search($data,$conf['datadir'],'search_index',array('ns' => $ns)); + + print '
' . DOKU_LF; + print html_buildlist($data,'idx','html_list_index','html_li_index'); + print '
' . DOKU_LF; +} + +/** + * searches for namespace sidebars + * + * @author Michael Klier + */ +function _getNsSb($id) { + $pname = tpl_getConf('pagename'); + $ns_sb = ''; + $path = explode(':', $id); + $found = false; + + while(count($path) > 0) { + $ns_sb = implode(':', $path).':'.$pname; + if(@page_exists($ns_sb)) return $ns_sb; + array_pop($path); + } + + // nothing found + return false; +} + +/** + * Checks wether the sidebar should be hidden or not + * + * @author Michael Klier + */ +function tpl_sidebar_hide() { + global $ACT; + $act_hide = array( 'edit', 'preview', 'admin', 'conflict', 'draft', 'recover', 'media' ); + if(in_array($ACT, $act_hide)) { + return true; + } else { + return false; + } +} + +// vim:ts=4:sw=4:et:enc=utf-8: +?> -- cgit v1.2.3