initial commit starter template

This commit is contained in:
Jana Deutschländer 2016-10-31 11:48:20 +01:00
commit 9e15017636
80 changed files with 2803 additions and 0 deletions

339
COPYING Executable file
View file

@ -0,0 +1,339 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

2
README Executable file
View file

@ -0,0 +1,2 @@
See template.info.txt for main info
See COPYING for license info

9
conf/default.php Executable file
View file

@ -0,0 +1,9 @@
<?php
/*
* default configuration settings
*
*/
$conf['discussionPage'] = 'discussion:@ID@';
$conf['userPage'] = 'user:@USER@:';
$conf['hideTools'] = 0;

9
conf/metadata.php Executable file
View file

@ -0,0 +1,9 @@
<?php
/*
* configuration metadata
*
*/
$meta['discussionPage'] = array('string');
$meta['userPage'] = array('string');
$meta['hideTools'] = array('onoff');

452
css/basic.css Executable file
View file

@ -0,0 +1,452 @@
/**
* This file provides the most basic styles.
*
* If you integrate DokuWiki into another project, you might either
* want to integrate this file into the other project as well, or use
* the other project's basic CSS for DokuWiki instead of this one.
*
* @author Anika Henke <anika@selfthinker.org>
*/
html {
overflow-x: auto;
overflow-y: scroll;
}
html,
body {
background-color: __background__;
color: __text__;
margin: 0;
padding: 0;
}
body {
font: normal 100%/1.4 Frutiger, Calibri, "Myriad Pro", Myriad, "Nimbus Sans L", Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
/* default font size: 100% => 16px; 93.75% => 15px; 87.5% => 14px; 81.25% => 13px; 75% => 12px */
-webkit-text-size-adjust: 100%;
}
/*____________ headers ____________*/
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: Constantia, Utopia, Lucidabright, Lucida, Georgia, "Nimbus Roman No9 L", serif;
font-weight: bold;
color: __text_neu__;
background-color: inherit;
padding: 0;
line-height: 1.2;
clear: left; /* ideally 'both', but problems with toc */
}
[dir=rtl] h1,
[dir=rtl] h2,
[dir=rtl] h3,
[dir=rtl] h4,
[dir=rtl] h5,
[dir=rtl] h6 {
clear: right;
}
h1 {
font-size: 2.25em;
margin: 0 0 0.444em;
}
h2 {
font-size: 1.5em;
margin: 0 0 0.666em;
}
h3 {
font-size: 1.125em;
margin: 0 0 0.888em;
}
h4 {
font-size: 1em;
margin: 0 0 1.0em;
}
h5 {
font-size: .875em;
margin: 0 0 1.1428em;
}
h6 {
font-size: .75em;
margin: 0 0 1.333em;
}
/* bottom margin = 1 / font-size */
caption,
figcaption,
summary,
legend {
font-style: italic;
font-weight: normal;
line-height: 1.2;
padding: 0;
margin: 0 0 .35em;
}
/*____________ basic margins and paddings ____________*/
p,
ul,
ol,
dl,
pre,
table,
hr,
blockquote,
figure,
details,
fieldset,
address {
margin: 0 0 1.4em 0; /* bottom margin = line-height */
padding: 0;
}
div {
margin: 0;
padding: 0;
}
/*____________ lists ____________*/
ul,
ol {
padding: 0 0 0 1.5em;
}
[dir=rtl] ul,
[dir=rtl] ol {
padding: 0 1.5em 0 0;
}
li,
dd {
padding: 0;
margin: 0 0 0 1.5em;
}
[dir=rtl] li,
[dir=rtl] dd {
margin: 0 1.5em 0 0;
}
dt {
font-weight: bold;
margin: 0;
padding: 0;
}
li ul,
li ol,
li dl,
dl ul,
dl ol,
dl dl {
margin-bottom: 0;
padding: 0;
}
li li {
font-size: 100%;
}
ul {
list-style: disc outside;
}
ol {
list-style: decimal outside;
}
ol ol {
list-style-type: lower-alpha;
}
ol ol ol {
list-style-type: upper-roman;
}
ol ol ol ol {
list-style-type: upper-alpha;
}
ol ol ol ol ol {
list-style-type: lower-roman;
}
/*____________ tables ____________*/
table {
border-collapse: collapse;
empty-cells: show;
border-spacing: 0;
border: 1px solid __border__;
}
caption {
caption-side: top;
text-align: left;
}
[dir=rtl] caption {
text-align: right;
}
th,
td {
padding: .3em .5em;
margin: 0;
vertical-align: top;
border: 1px solid __border__;
}
th {
font-weight: bold;
background-color: __background_alt__;
color: inherit;
text-align: left;
}
[dir=rtl] th {
text-align: right;
}
/*____________ links ____________*/
a {
}
a:link,
a:visited {
text-decoration: none;
color: #00c; /* §colour */
}
a:link:hover,
a:visited:hover,
a:link:focus,
a:visited:focus,
a:link:active,
a:visited:active {
text-decoration: underline;
}
a:link:focus,
a:visited:focus {
outline: 1px dotted;
}
a:link:active,
a:visited:active {
color: #c00; /* §colour */
}
/*____________ misc ____________*/
img {
border-width: 0;
vertical-align: middle;
color: #666;
background-color: transparent;
font-style: italic;
height: auto;
}
img,
object,
embed,
iframe,
video,
audio {
max-width: 100%;
}
iframe {
border-width: 0;
background-color: inherit;
}
/* IE8 and below won't display the images otherwise */
#IE8 img,
button img {
max-width: none;
}
hr {
border-style: solid;
border-width: 1px 0 0;
text-align: center;
height: 0;
width: 100%;
clear: both;
}
acronym,
abbr {
font-style: normal;
}
acronym[title],
abbr[title] {
cursor: help;
border-bottom: 1px dotted;
}
em acronym,
em abbr {
font-style: italic;
}
mark {
background: __highlight__;
color: inherit;
}
pre,
code,
samp,
kbd {
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
/* same font stack should be used for ".dokuwiki table.diff td" in _diff.css */
font-size: 1em;
background-color: __background_alt__;
color: __text__;
direction: ltr;
text-align: left;
}
pre {
border: 1px solid __border__;
padding: 0 .2em;
overflow: auto;
word-wrap: normal;
}
blockquote {
padding: 0 .5em;
border: solid __border__;
border-width: 0 0 0 .25em;
}
[dir=rtl] blockquote {
border-width: 0 .25em 0 0;
}
q:before,
q:after {
content: '';
}
sub,
sup {
font-size: .8em;
line-height: 1;
}
sub {
vertical-align: sub;
}
sup {
vertical-align: super;
}
small {
font-size: .8em;
}
/*____________ forms ____________*/
form {
display: inline;
margin: 0;
padding: 0;
}
fieldset {
padding: .7em 1em 0;
padding: .7rem 1rem; /* for those browsers understanding :last-child */
border: 1px solid #999;
}
fieldset > :last-child {
margin-bottom: 0;
}
legend {
padding: 0 .1em;
}
label {
vertical-align: middle;
cursor: pointer;
}
input,
textarea,
button,
select,
optgroup,
option,
keygen,
output,
meter,
progress {
font: inherit;
color: inherit;
/* background-color destroys button look */
line-height: normal;
margin: 0;
vertical-align: middle;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
input,
button,
select,
keygen,
textarea {
padding: .1em;
}
input[type=radio],
input[type=checkbox],
input[type=image],
input.check {
padding: 0;
}
input[type=submit],
input[type=button],
input[type=reset],
input.button,
button {
cursor: pointer;
overflow: visible;
padding: .1em .4em;
}
input[disabled],
button[disabled],
select[disabled],
textarea[disabled],
option[disabled],
input[readonly],
button[readonly],
select[readonly],
textarea[readonly] {
cursor: auto;
opacity: .5;
}
input:focus,
button:focus,
select:focus,
keygen:focus,
textarea:focus {
box-shadow: 0 0 5px #999;
outline: 0;
}
input::-moz-focus-inner,
button::-moz-focus-inner {
border: 0;
padding: 0;
}
select {
max-width: 100%;
}
optgroup {
font-style: italic;
font-weight: bold;
}
option {
font-style: normal;
font-weight: normal;
}

169
css/content.css Executable file
View file

@ -0,0 +1,169 @@
/**
* This file provides the main design styles for the page content.
*
* @author Anika Henke <anika@selfthinker.org>
* @author Andreas Gohr <andi@splitbrain.org>
*/
/*____________ section indenting ____________
.dokuwiki .page h1 {margin-left: 0;}
.dokuwiki .page h2 {margin-left: .666em;}
.dokuwiki .page h3 {margin-left: 1.776em;}
.dokuwiki .page h4 {margin-left: 3em;}
.dokuwiki .page h5 {margin-left: 4.5712em;}
.dokuwiki .page div.level1 {margin-left: 0;}
.dokuwiki .page div.level2 {margin-left: 1em;}
.dokuwiki .page div.level3 {margin-left: 2em;}
.dokuwiki .page div.level4 {margin-left: 3em;}
.dokuwiki .page div.level5 {margin-left: 4em;}
[dir=rtl] .dokuwiki .page h1 {margin-left: 0; margin-right: 0;}
[dir=rtl] .dokuwiki .page h2 {margin-left: 0; margin-right: .666em;}
[dir=rtl] .dokuwiki .page h3 {margin-left: 0; margin-right: 1.776em;}
[dir=rtl] .dokuwiki .page h4 {margin-left: 0; margin-right: 3em;}
[dir=rtl] .dokuwiki .page h5 {margin-left: 0; margin-right: 4.5712em;}
[dir=rtl] .dokuwiki .page div.level1 {margin-left: 0; margin-right: 0;}
[dir=rtl] .dokuwiki .page div.level2 {margin-left: 0; margin-right: 1em;}
[dir=rtl] .dokuwiki .page div.level3 {margin-left: 0; margin-right: 2em;}
[dir=rtl] .dokuwiki .page div.level4 {margin-left: 0; margin-right: 3em;}
[dir=rtl] .dokuwiki .page div.level5 {margin-left: 0; margin-right: 4em;}
*/
/* hx margin-left = (1 / font-size) * .levelx-margin */
/*____________ links to wiki pages (addition to _links) ____________*/
/* existing wikipage */
.dokuwiki a.wikilink1 {
color: __existing__;
background-color: inherit;
}
/* not existing wikipage */
.dokuwiki a.wikilink2 {
color: __missing__;
background-color: inherit;
}
/*____________ images ____________*/
/* embedded images (styles are already partly set in DokuWiki's lib/styles/all.css) */
.dokuwiki img.media {
margin: .2em 0;
}
.dokuwiki img.medialeft {
margin: .2em 1.5em .2em 0;
}
.dokuwiki img.mediaright {
margin: .2em 0 .2em 1.5em;
}
.dokuwiki img.mediacenter {
margin: .2em auto;
}
/*____________ tables ____________*/
/* div before each table */
.dokuwiki div.table {
}
.dokuwiki table.inline {
min-width: 50%;
}
.dokuwiki table.inline tr:hover td {
background-color: __background_alt__;
}
.dokuwiki table.inline tr:hover th {
background-color: __border__;
}
/*____________ code ____________*/
/* fix if background-color hides underlining */
.dokuwiki em.u code {
text-decoration: underline;
}
/* filenames for downloadable file and code blocks */
.dokuwiki dl.code,
.dokuwiki dl.file {
}
.dokuwiki dl.code dt,
.dokuwiki dl.file dt {
background-color: __background_alt__;
border: solid __border__;
border-width: 1px 1px 0;
color: inherit;
display: inline;
padding: .1em .5em .2em;
margin-left: 1em;
}
[dir=rtl] .dokuwiki dl.code dt,
[dir=rtl] .dokuwiki dl.file dt {
margin-left: 0;
margin-right: 1em;
}
.dokuwiki dl.code dt a,
.dokuwiki dl.file dt a {
}
.dokuwiki dl.code dd,
.dokuwiki dl.file dd {
margin: 0;
}
/* for code in <file> */
.dokuwiki pre.file,
.dokuwiki dl.file pre,
.dokuwiki dl.file dt {
border-color: __text_neu__;
}
/*____________ media manager ____________*/
/* some headings in the media manager should not look like headings */
#mediamanager__page h2,
#mediamanager__page h3 {
font-family: Frutiger, Calibri, Myriad, "Nimbus Sans L", Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
color: __text__;
}
/* to style button-like div in _fileuploader.css to look like other buttons,
please add '.qq-upload-button' to the according styles (which don't really exist in this template) */
.qq-upload-button {
border: 1px solid __border__;
background-color: __background_alt__;
padding: 0.125em 0.4em;
}
/*____________ styling plugin ____________*/
#plugin__styling.ispopup {
padding: 1em;
}
/*____________ JS popup ____________*/
.JSpopup {
background-color: __background__;
color: __text__;
border: 1px solid __border__;
line-height: 1.2;
padding: 0 .2em;
}
.JSpopup ul,
.JSpopup ol {
padding-left: 0;
}
[dir=rtl] .JSpopup ul,
[dir=rtl] .JSpopup ol {
padding-right: 0;
}

248
css/design.css Executable file
View file

@ -0,0 +1,248 @@
/**
* This file provides the main design styles for the
* bits that surround the content.
*
* @author Anika Henke <anika@selfthinker.org>
* @author Andreas Gohr <andi@splitbrain.org>
*/
/* header
********************************************************************/
#dokuwiki__header {
margin: 1em 0 0;
}
#dokuwiki__header .headings {
margin-bottom: 2.1em;
}
#dokuwiki__header h1 {
margin-bottom: 0;
font-size: 1.5em;
}
#dokuwiki__header h1 a {
text-decoration: none;
color: #00c;
background-color: inherit;
}
#dokuwiki__header p.claim {
margin-bottom: 0;
}
#dokuwiki__header h2 {
margin-bottom: 0;
font-size: 1.125em;
}
#dokuwiki__header .tools {
margin-bottom: 2.1em;
}
#dokuwiki__header .tools ul {
margin-bottom: 0;
}
#dokuwiki__header .tools ul li {
display: inline;
}
#dokuwiki__header form.search {
margin: .5em 0 0;
display: block;
}
#dokuwiki__header form.search #qsearch__in {
width: 12em;
margin-right: .5em;
}
[dir=rtl] #dokuwiki__header form.search #qsearch__in {
margin-right: 0;
margin-left: .5em;
}
#dokuwiki__header div.breadcrumbs {
margin-bottom: .3em;
}
#dokuwiki__header div.breadcrumbs a {
color: __existing__;
background-color: inherit;
}
/* tools
********************************************************************/
/* make wiki links look the same as tool links in tool bars */
#dokuwiki__usertools a.wikilink1,
#dokuwiki__pagetools a.wikilink1,
#dokuwiki__usertools a.wikilink2,
#dokuwiki__pagetools a.wikilink2 {
color: #00c;
border-bottom-width: 0;
}
#dokuwiki__usertools a.wikilink2:hover,
#dokuwiki__pagetools a.wikilink2:hover,
#dokuwiki__usertools a.wikilink2:active,
#dokuwiki__pagetools a.wikilink2:active,
#dokuwiki__usertools a.wikilink2:focus,
#dokuwiki__pagetools a.wikilink2:focus {
text-decoration: underline;
}
/* highlight selected tool */
.mode_admin a.action.admin,
.mode_login a.action.login,
.mode_register a.action.register,
.mode_profile a.action.profile,
.mode_recent a.action.recent,
.mode_index a.action.index,
.mode_media a.action.media,
.mode_revisions a.action.revs,
.mode_backlink a.action.backlink,
.mode_subscribe a.action.subscribe {
font-weight: bold;
}
/*____________ user tools ____________*/
#dokuwiki__usertools {
position: absolute;
top: 0;
right: 0;
border-bottom: 1px solid __border__;
background-color: __background_alt__;
width: 100%;
}
#dokuwiki__usertools ul,
#dokuwiki__pagetools ul {
/* imitate #dokuwiki__site */
margin: 0 auto;
max-width: __site_width__;
padding: 0 1em;
}
#dokuwiki__usertools ul li.user {
float: left;
margin-left: 0;
}
[dir=rtl] #dokuwiki__usertools ul li.user {
float: right;
margin-right: 0;
}
/*____________ page tools ____________*/
#dokuwiki__pagetools {
position: fixed;
bottom: 0;
left: 0;
border-top: 1px solid __border__;
background-color: __background_alt__;
width: 100%;
z-index: 10;
}
#dokuwiki__pagetools ul li {
display: inline;
margin: 0 1.5em 0 0;
}
#dokuwiki__pagetools ul li a.action.top {
float: right;
}
[dir=rtl] #dokuwiki__pagetools ul li a.action.top {
float: left;
}
/* sidebar
********************************************************************/
#dokuwiki__aside {
padding-top: .4em;
}
.dokuwiki .aside {
overflow: hidden;
word-wrap: break-word;
line-height: 1.2;
}
/* make sidebar more condensed */
.dokuwiki .aside h1 {
margin-bottom: .222em;
}
.dokuwiki .aside h2 {
margin-bottom: .333em;
}
.dokuwiki .aside h3 {
margin-bottom: .444em;
}
.dokuwiki .aside h4 {
margin-bottom: .5em;
}
.dokuwiki .aside h5 {
margin-bottom: .5714em;
}
.dokuwiki .aside p,
.dokuwiki .aside ul,
.dokuwiki .aside ol,
.dokuwiki .aside dl,
.dokuwiki .aside pre,
.dokuwiki .aside table,
.dokuwiki .aside fieldset,
.dokuwiki .aside hr,
.dokuwiki .aside blockquote,
.dokuwiki .aside address {
margin-bottom: .7em;
}
.dokuwiki .aside ul,
.dokuwiki .aside ol {
padding-left: .5em;
}
[dir=rtl] .dokuwiki .aside ul,
[dir=rtl] .dokuwiki .aside ol {
padding-right: .5em;
}
.dokuwiki .aside li ul,
.dokuwiki .aside li ol {
margin-bottom: 0;
padding: 0;
}
/* content
********************************************************************/
.dokuwiki .page {
word-wrap: break-word;
}
/* license note in footer and under edit window */
.dokuwiki div.license {
font-size: 93.75%;
}
/* footer
********************************************************************/
.dokuwiki .wrapper {
margin-bottom: 2.8em;
}
#dokuwiki__footer {
margin-bottom: 1em;
}
#dokuwiki__footer .doc {
float: left;
}
#dokuwiki__footer .top {
float: right;
}
#dokuwiki__footer .license {
clear: both;
}
#dokuwiki__footer .license img {
margin: 0 .5em 0 0;
float: none;
}

4
css/includes.css Executable file
View file

@ -0,0 +1,4 @@
/**
* This file provides styles for included seperate html files
* (added through "include hooks").
*/

85
css/mobile.css Executable file
View file

@ -0,0 +1,85 @@
/**
* This file provides style changes for small screens.
*
* @author Anika Henke <anika@selfthinker.org>
*/
@media only screen and (max-width: 42em) {
#dokuwiki__aside {
width: 100%;
float: none;
margin-bottom: 1.4em;
}
#dokuwiki__aside > .pad {
margin: 0;
}
.hasSidebar #dokuwiki__content {
float: none;
margin-left: 0;
margin-right: 0;
}
.hasSidebar #dokuwiki__content > .pad {
margin-left: 0;
}
[dir=rtl] .hasSidebar #dokuwiki__content > .pad {
margin-right: 0;
}
#dokuwiki__header .headings {
margin: 2.1em 0 0;
}
#dokuwiki__header .tools {
margin-bottom: .7em;
}
#dokuwiki__header .headings,
#dokuwiki__header .tools,
#dokuwiki__header .tools li {
float: none;
text-align: left;
}
[dir=rtl] #dokuwiki__header .tools,
[dir=rtl] #dokuwiki__header .tools li {
float: none;
text-align: right;
}
[dir=rtl] #dokuwiki__header .headings {
float: none;
text-align: right;
}
#dokuwiki__sitetools ul {
padding: 0;
}
#dokuwiki__sitetools li {
margin: 0 1.5em 0 0;
}
[dir=rtl] #dokuwiki__sitetools li {
margin: 0 0 0 1.5em;
}
#dokuwiki__header div.breadcrumbs {
margin-bottom: .7em;
}
#dokuwiki__header ul.a11y.skip {
left: auto !important;
right: 1em !important;
top: 3.1em !important;
width: auto !important;
height: auto !important;
list-style: none;
padding: 0;
margin: 0;
}
[dir=rtl] #dokuwiki__header ul.a11y.skip {
right: auto !important;
left: 1em !important;
}
} /* /@media */

154
css/print.css Executable file
View file

@ -0,0 +1,154 @@
/**
* This file provides the styles for printing.
*
* @todo: improve and finish
*/
body {
font: normal 87.5%/1.3 Garamond, Baskerville, "Hoefler Text", "Nimbus Roman No9 L", serif;
background-color: #fff;
color: #000;
}
/* hide certain sections */
audio,
video,
#dokuwiki__header .tools,
#dokuwiki__aside,
.dokuwiki .breadcrumbs,
.dokuwiki .toc,
#dw__toc,
#dokuwiki__pagetools,
#dokuwiki__footer {
display: none;
}
h1,
h2,
h3,
h4,
h5,
caption,
legend {
clear: both;
}
ul {
list-style: disc outside;
}
ol {
list-style: decimal outside;
}
ol ol {
list-style-type: lower-alpha;
}
ol ol ol {
list-style-type: upper-roman;
}
ol ol ol ol {
list-style-type: upper-alpha;
}
ol ol ol ol ol {
list-style-type: lower-roman;
}
/* undo icons */
a:link,
a:visited {
text-decoration: none;
border-bottom: 1pt dotted;
color: #333;
background-color: inherit;
background-image: none;
padding: 0;
}
/* display href after link */
a.urlextern:after,
a.interwiki:after,
a.mail:after {
content: " [" attr(href) "]";
font-size: 90%;
}
/* code blocks */
pre {
font-family: monospace;
}
dl.code dt,
dl.file dt {
font-weight: bold;
}
/* images */
img {
border-width: 0;
vertical-align: middle;
}
img.media {
margin: .2em 0;
}
img.medialeft {
margin: .2em 1.5em .2em 0;
}
img.mediaright {
margin: .2em 0 .2em 1.5em;
}
img.mediacenter {
margin: .2em auto;
}
mark {
font-weight: bold;
}
blockquote {
padding: 0 10pt;
margin: 0;
border: solid #ccc;
border-width: 0 0 0 2pt;
}
[dir=rtl] blockquote {
border-width: 0 2pt 0 0;
}
/* tables */
table {
border-collapse: collapse;
empty-cells: show;
border-spacing: 0;
border: 1pt solid #ccc;
}
th,
td {
padding: 3pt 5pt;
margin: 0;
vertical-align: top;
border: 1pt solid #666;
text-align: left;
}
[dir=rtl] th,
[dir=rtl] td {
text-align: right;
}
th {
font-weight: bold;
}
/*____________ a bit of layout ____________*/
#dokuwiki__header {
border-bottom: 2pt solid #ccc;
}
#dokuwiki__header h1 {
font-size: 1.5em;
}
#dokuwiki__header h1 a {
text-decoration: none;
}
.dokuwiki div.footnotes {
clear: both;
border-top: 1pt solid #000;
margin-top: 10pt;
}

81
css/structure.css Executable file
View file

@ -0,0 +1,81 @@
/**
* This file provides styles for the general layout structure.
*
* @author Anika Henke <anika@selfthinker.org>
*/
body {
margin: 0 auto;
}
#dokuwiki__site {
margin: 0 auto;
max-width: __site_width__;
padding: 1.4em 1em;
}
#dokuwiki__site > .site {
}
#dokuwiki__header {
}
#dokuwiki__header > .pad {
}
#dokuwiki__header .headings {
float: left;
}
[dir=rtl] #dokuwiki__header .headings {
float: right;
}
#dokuwiki__header .tools {
float: right;
text-align: right;
}
[dir=rtl] #dokuwiki__header .tools {
float: left;
text-align: left;
}
#dokuwiki__site .wrapper {
position: relative;
}
#dokuwiki__aside {
width: __sidebar_width__;
float: left;
position: relative;
display: block;
}
[dir=rtl] #dokuwiki__aside {
float: right;
}
#dokuwiki__aside > .pad {
margin: 0 1.5em 0 0;
}
[dir=rtl] #dokuwiki__aside > .pad {
margin: 0 0 0 1.5em;
}
/* make content wider when there's no sidebar */
.hasSidebar #dokuwiki__content {
float: right;
margin-left: -__sidebar_width__;
width: 100%;
}
[dir=rtl] .hasSidebar #dokuwiki__content {
float: left;
margin-left: 0;
margin-right: -__sidebar_width__;
}
.hasSidebar #dokuwiki__content > .pad {
margin-left: __sidebar_width__;
}
[dir=rtl] .hasSidebar #dokuwiki__content > .pad {
margin-left: 0;
margin-right: __sidebar_width__;
}
#dokuwiki__footer {
clear: both;
}
#dokuwiki__footer > .pad {
}

95
detail.php Executable file
View file

@ -0,0 +1,95 @@
<?php
/**
* DokuWiki Image Detail Page
*
* @author Andreas Gohr <andi@splitbrain.org>
* @author Anika Henke <anika@selfthinker.org>
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();
@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */
header('X-UA-Compatible: IE=edge,chrome=1');
?><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
<head>
<meta charset="UTF-8" />
<title>
<?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
[<?php echo strip_tags($conf['title'])?>]
</title>
<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
<?php tpl_metaheaders()?>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<?php echo tpl_favicon(array('favicon', 'mobile')) ?>
<?php tpl_includeFile('meta.html') ?>
</head>
<body>
<!--[if lte IE 8 ]><div id="IE8"><![endif]-->
<div id="dokuwiki__detail" class="<?php echo tpl_classes(); ?>">
<?php html_msgarea() ?>
<?php if($ERROR): print $ERROR; ?>
<?php else: ?>
<?php if($REV) echo p_locale_xhtml('showrev');?>
<h1><?php echo hsc(tpl_img_getTag('IPTC.Headline', $IMG))?></h1>
<div class="content group">
<?php tpl_img(900, 700); /* the image; parameters: maximum width, maximum height (and more) */ ?>
<div class="img_detail">
<h2><?php print nl2br(hsc(tpl_img_getTag('simple.title'))); ?></h2>
<?php if(function_exists('tpl_img_meta')): ?>
<?php tpl_img_meta(); ?>
<?php else: /* deprecated since Release 2014-05-05 */ ?>
<dl>
<?php
$config_files = getConfigFiles('mediameta');
foreach ($config_files as $config_file) {
if(@file_exists($config_file)) {
include($config_file);
}
}
foreach($fields as $key => $tag){
$t = array();
if (!empty($tag[0])) {
$t = array($tag[0]);
}
if(is_array($tag[3])) {
$t = array_merge($t,$tag[3]);
}
$value = tpl_img_getTag($t);
if ($value) {
echo '<dt>'.$lang[$tag[1]].':</dt><dd>';
if ($tag[2] == 'date') {
echo dformat($value);
} else {
echo hsc($value);
}
echo '</dd>';
}
}
?>
</dl>
<?php endif; ?>
<?php //Comment in for Debug// dbg(tpl_img_getTag('Simple.Raw')); ?>
</div>
</div><!-- /.content -->
<p class="back">
<?php tpl_action('mediaManager', 1) ?><br />
&larr; <?php tpl_action('img_backto', 1) ?>
</p>
<?php endif; ?>
</div>
<!--[if lte IE 8 ]></div><![endif]-->
</body>
</html>

BIN
images/apple-touch-icon.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
images/favicon.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

12
lang/af/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Afrikaans language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Bespreking';
$lang['back_to_article'] = 'Terug na die artikel';
$lang['userpage'] = 'Gebruikersbladsy';
//Setup VIM: ex: et ts=2 :

13
lang/ar/lang.php Executable file
View file

@ -0,0 +1,13 @@
<?php
/**
* Arabic language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'نقاش';
$lang['back_to_article'] = 'عودة إلى المقالة';
//العودة إلى المقال
$lang['userpage'] = 'صفحة مستخدم';
//Setup VIM: ex: et ts=2 :

12
lang/az/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Azerbaijani language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Müzakirə';
$lang['back_to_article'] = 'Geri makalenin'; // Məqalədə qayıt
$lang['userpage'] = 'İstifadəçi səhifəsi';
//Setup VIM: ex: et ts=2 :

12
lang/bg/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Bulgarian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Беседа';
$lang['back_to_article'] = 'Обратно към статията';
$lang['userpage'] = 'Потребител';
//Setup VIM: ex: et ts=2 :

13
lang/ca/lang.php Executable file
View file

@ -0,0 +1,13 @@
<?php
/**
* Catalan language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Discussió';
$lang['back_to_article'] = 'Tornar al article';
$lang['userpage'] = "Pàgina d'usuari";
//Setup VIM: ex: et ts=2 :

12
lang/cs/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Czech language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Diskuse';
$lang['back_to_article'] = 'Zpet na clánek';
$lang['userpage'] = 'Uživatelova stránka';
//Setup VIM: ex: et ts=2 :

13
lang/da/lang.php Executable file
View file

@ -0,0 +1,13 @@
<?php
/**
* Danish language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Diskussion';
$lang['back_to_article'] = 'Tilbage til artiklen';
$lang['userpage'] = 'Brugerside';
//Setup VIM: ex: et ts=2 :

12
lang/de/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* German language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Diskussion';
$lang['back_to_article'] = 'Zurück zum Artikel';
$lang['userpage'] = 'Benutzer-Seite';
//Setup VIM: ex: et ts=2 :

9
lang/de/settings.php Executable file
View file

@ -0,0 +1,9 @@
<?php
/**
* Deutsche Übersetzung Einstellungen
*
*/
$lang['discussionPage'] = 'Diskussion-Seite (leer lassen, um Funktion zu deaktivieren)';
$lang['userPage'] = 'Benutzer seite (leer lassen, um Funktion zu deaktivieren)';
$lang['hideTools'] = 'Tools abschalten, wenn der Benutzer nicht angemeldet ist?';

12
lang/el/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Greek language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Συζήτηση';
$lang['back_to_article'] = 'Πίσω στα άρθρα';
$lang['userpage'] = 'Σελίδα χρήστη';
//Setup VIM: ex: et ts=2 :

13
lang/en/lang.php Executable file
View file

@ -0,0 +1,13 @@
<?php
/**
* English language file for template
*
*/
$lang['discussion'] = 'Discussion';
$lang['back_to_article'] = 'Back to article';
$lang['userpage'] = 'User page';
$lang['__existing__'] = 'The color for links to existing pages';
$lang['__missing__'] = 'The color for links to non-existing pages';
$lang['__site_width__'] = 'The width of the full site (can be any length unit: %, px, em, ...)';
$lang['__sidebar_width__'] = 'The width of the sidebar, if any (can be any length unit: %, px, em, ...)';

9
lang/en/settings.php Executable file
View file

@ -0,0 +1,9 @@
<?php
/**
* English language file for config
*
*/
$lang['discussionPage'] = 'Discussion page (leave empty to disable discussions)';
$lang['userPage'] = 'User page (leave empty to disable user pages)';
$lang['hideTools'] = 'Hide tools when not logged in?';

1
lang/en/style.txt Executable file
View file

@ -0,0 +1 @@
If you'd like to change the favicon, simply use the Media Manager to upload a ''favicon.ico'' into the ''wiki'' or the root namespace and it will automatically be used. If you use a closed wiki it is recommended to make the ''wiki'' (or root) namespace world readable in the ACL settings or your favicon will not be shown to logged-out users.

11
lang/eo/lang.php Executable file
View file

@ -0,0 +1,11 @@
<?php
/**
* Esperantiga dosiero
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Diskuto';
$lang['userpage'] = 'Pago de uzanto';
//Setup VIM: ex: et ts=2 :

12
lang/es/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Spanish language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Discusión';
$lang['back_to_article'] = 'Volver al artículo';
$lang['userpage'] = 'Página de usuario';
//Setup VIM: ex: et ts=2 :

13
lang/et/lang.php Executable file
View file

@ -0,0 +1,13 @@
<?php
/**
* Estonian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Arutelu';
$lang['back_to_article'] = 'Tagasi artikli';
$lang['userpage'] = 'Kasutaja leht';
//Setup VIM: ex: et ts=2 :

12
lang/eu/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Basque language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Eztabaida';
$lang['back_to_article'] = 'Bueltatu';
$lang['userpage'] = 'Lankide orrialdea';//Erabiltzaile orrialdea
//Setup VIM: ex: et ts=2 :

12
lang/fa/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Persian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'بحث';
$lang['back_to_article'] = 'برگشت به مقاله';
$lang['userpage'] = 'صفحهٔ کاربر';
//Setup VIM: ex: et ts=2 :

13
lang/fi/lang.php Executable file
View file

@ -0,0 +1,13 @@
<?php
/**
* Finnish language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Keskustelu';
$lang['back_to_article'] = 'Takaisin artikkeliin';
$lang['userpage'] = 'Käyttäjäsivu';
//Setup VIM: ex: et ts=2 :

11
lang/fo/lang.php Executable file
View file

@ -0,0 +1,11 @@
<?php
/**
* Faroese language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Kjak';
$lang['userpage'] = 'Brúkarasíða';
//Setup VIM: ex: et ts=2 :

12
lang/fr/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* French language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Discussion';
$lang['back_to_article'] = "Retour à l'article";
$lang['userpage'] = 'Page utilisateur';
//Setup VIM: ex: et ts=2 :

9
lang/fr/settings.php Executable file
View file

@ -0,0 +1,9 @@
<?php
/**
* Fichier de langue française pour la config.
*
*/
$lang['discussionPage'] = 'Page de discussion (effacer désactive les discussions)';
$lang['userPage'] = 'Page utilisateur (effacer désactive les pages utilisateurs)';
$lang['hideTools'] = 'Masquer les outils aux visiteurs anonymes ?';

12
lang/gl/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Galician language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Conversa';
$lang['back_to_article'] = 'Voltar ao artigo';
$lang['userpage'] = 'Páxina de usuario';
//Setup VIM: ex: et ts=2 :

12
lang/he/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Hebrew language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'שיחה';
$lang['back_to_article'] = 'חזור אל המאמר';
$lang['userpage'] = 'דף משתמש';
//Setup VIM: ex: et ts=2 :

12
lang/hi/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Hindi language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'चर्चा';
$lang['back_to_article'] = 'वापस लेख करने के लिए';
$lang['userpage'] = 'सदस्य';
//Setup VIM: ex: et ts=2 :

12
lang/hr/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Croatian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Razgovor';
$lang['back_to_article'] = 'Natrag na clanak';
$lang['userpage'] = 'Stranica suradnika';
//Setup VIM: ex: et ts=2 :

12
lang/hu/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Hungarian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Vitalap';
$lang['back_to_article'] = 'Vissza a cikket';
$lang['userpage'] = 'Szerkesztoi lap';
//Setup VIM: ex: et ts=2 :

11
lang/ia/lang.php Executable file
View file

@ -0,0 +1,11 @@
<?php
/**
* Interlingua language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Discussion';
$lang['userpage'] = 'Pagina de usator';
//Setup VIM: ex: et ts=2 :

12
lang/id/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Indonesian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Pembicaraan';
$lang['back_to_article'] = 'Kembali ke artikel';
$lang['userpage'] = 'Pengguna';
//Setup VIM: ex: et ts=2 :

12
lang/is/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Icelandic language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Spjall';
$lang['back_to_article'] = 'Til baka á greinar';
$lang['userpage'] = 'Notandi';
//Setup VIM: ex: et ts=2 :

12
lang/it/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Italian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Discussione';
$lang['back_to_article'] = 'Torna all\'articolo';
$lang['userpage'] = 'Pagina utente';
//Setup VIM: ex: et ts=2 :

12
lang/ja/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Japanese language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = '議論';
$lang['back_to_article'] = '戻る記事へ';
$lang['userpage'] = '利用者ページ';
//Setup VIM: ex: et ts=2 :

11
lang/km/lang.php Executable file
View file

@ -0,0 +1,11 @@
<?php
/**
* Khmer language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'ការពិភាក្សា';
$lang['userpage'] = 'ទំព័រអ្នកប្រើប្រាស់';
//Setup VIM: ex: et ts=2 :

12
lang/ko/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Korean language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = '토론';
$lang['back_to_article'] = '위로 기사';
$lang['userpage'] = '사용자 문서';
//Setup VIM: ex: et ts=2 :

11
lang/la/lang.php Executable file
View file

@ -0,0 +1,11 @@
<?php
/**
* Latin language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Disputatio';
$lang['userpage'] = 'Pagina usoris';
//Setup VIM: ex: et ts=2 :

11
lang/lb/lang.php Executable file
View file

@ -0,0 +1,11 @@
<?php
/**
* Luxembourgish language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Diskussioun';
$lang['userpage'] = 'Benotzersäit';
//Setup VIM: ex: et ts=2 :

12
lang/lt/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Lithuanian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Aptarimas';
$lang['back_to_article'] = 'Atgal i straipsni';
$lang['userpage'] = 'Naudotojo puslapis';
//Setup VIM: ex: et ts=2 :

12
lang/lv/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Latvian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Diskusija';
$lang['back_to_article'] = 'Atpakaļ uz rakstu';
$lang['userpage'] = 'Lietotāja lapa';
//Setup VIM: ex: et ts=2 :

11
lang/mg/lang.php Executable file
View file

@ -0,0 +1,11 @@
<?php
/**
* Malagasy language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Dinika';
$lang['userpage'] = 'Pejy ny mpikambana';
//Setup VIM: ex: et ts=2 :

12
lang/mk/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Macedonian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Разговор';
$lang['back_to_article'] = 'Назад кон статијата';
$lang['userpage'] = 'Корисник';
//Setup VIM: ex: et ts=2 :

11
lang/mr/lang.php Executable file
View file

@ -0,0 +1,11 @@
<?php
/**
* Marathi language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'चर्चा';
$lang['userpage'] = 'सदस्य पान';
//Setup VIM: ex: et ts=2 :

11
lang/ne/lang.php Executable file
View file

@ -0,0 +1,11 @@
<?php
/**
* Nepali language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'वार्तालाप';
$lang['userpage'] = 'प्रयोगकर्ता पृष्ठ';
//Setup VIM: ex: et ts=2 :

12
lang/nl/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Dutch language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Overleg';
$lang['back_to_article'] = 'Terug naar artikel';
$lang['userpage'] = 'Gebruikerspagina';
//Setup VIM: ex: et ts=2 :

12
lang/no/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Norwegian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Diskusjon';
$lang['back_to_article'] = 'Tilbake til artikkelen';
$lang['userpage'] = 'Brukerside';
//Setup VIM: ex: et ts=2 :

12
lang/pl/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Polish language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Dyskusja';
$lang['back_to_article'] = 'Powrót do artykułu';
$lang['userpage'] = 'Strona użytkownika';
//Setup VIM: ex: et ts=2 :

12
lang/pt-br/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Brazilian Portuguese language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Discussão';
$lang['back_to_article'] = 'Voltar ao artigo';
$lang['userpage'] = 'Página de usuário';
//Setup VIM: ex: et ts=2 :

12
lang/pt/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Portuguese language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Discussão';
$lang['back_to_article'] = 'Voltar ao artigo';
$lang['userpage'] = 'Página de utilizador';
//Setup VIM: ex: et ts=2 :

12
lang/ro/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Romanian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Discuție';
$lang['back_to_article'] = 'Înapoi la articol';
$lang['userpage'] = 'Pagină de utilizator';
//Setup VIM: ex: et ts=2 :

11
lang/ru/lang.php Executable file
View file

@ -0,0 +1,11 @@
<?php
/**
* Russian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Aleksandr Selivanov <alexgearbox@gmail.com>
*/
$lang['discussion'] = 'Обсуждение';
$lang['back_to_article'] = 'Назад к статье';
$lang['userpage'] = 'Участник';

11
lang/ru/settings.php Executable file
View file

@ -0,0 +1,11 @@
<?php
/**
* Russian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Aleksandr Selivanov <alexgearbox@gmail.com>
*/
$lang['discussionPage'] = 'Страница обсуждения (оставьте поле пустым для отключения обсуждений)'; //default -- discussion:@ID@
$lang['userPage'] = 'Страница пользователя (оставьте поле пустым для отключения страниц пользователей)'; //default -- user:@USER@:
$lang['hideTools'] = 'Скрывать инструменты гостям?';

12
lang/sk/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Slovak language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Diskusia';
$lang['back_to_article'] = 'Späť na článok';
$lang['userpage'] = 'Stránka používateľa';
//Setup VIM: ex: et ts=2 :

12
lang/sl/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Slovenian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Pogovor';
$lang['back_to_article'] = 'Nazaj na članek';
$lang['userpage'] = 'Uporabniška stran';
//Setup VIM: ex: et ts=2 :

12
lang/sq/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Albanian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Diskutimet';
$lang['back_to_article'] = 'Kthehu tek artikulli';
$lang['userpage'] = 'Përdoruesi';
//Setup VIM: ex: et ts=2 :

8
lang/sr/lang.php Executable file
View file

@ -0,0 +1,8 @@
<?php
/**
* Serbian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Разговор';

12
lang/sv/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Swedish language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Diskussion';
$lang['back_to_article'] = 'Tillbaka till artikeln';
$lang['userpage'] = 'Användarsida';
//Setup VIM: ex: et ts=2 :

12
lang/th/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Thai language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'อภิปราย';
$lang['back_to_article'] = 'กลับไปที่บทความ';
$lang['userpage'] = 'หน้าผู้ใช้';
//Setup VIM: ex: et ts=2 :

12
lang/tr/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Turkish language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Tartışma';
$lang['back_to_article'] = 'Geri makalenin';
$lang['userpage'] = 'Kullanıcı sayfası';
//Setup VIM: ex: et ts=2 :

12
lang/uk/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Ukrainian language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Обговорення';
$lang['back_to_article'] = 'Назад до статті';
$lang['userpage'] = 'Сторінка користувача';
//Setup VIM: ex: et ts=2 :

12
lang/vi/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Vietnamese language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = 'Thảo luận';
$lang['back_to_article'] = 'Trở lại bài viết';
$lang['userpage'] = 'Thành viên';
//Setup VIM: ex: et ts=2 :

12
lang/zh-tw/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Chinese (Traditional) language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = '討論';
$lang['back_to_article'] = '回到文章';
$lang['userpage'] = '用戶頁面'; // 使用者頁面
//Setup VIM: ex: et ts=2 :

12
lang/zh/lang.php Executable file
View file

@ -0,0 +1,12 @@
<?php
/**
* Chinese (Simplified) language file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
$lang['discussion'] = '讨论';
$lang['back_to_article'] = '回到文章';
$lang['userpage'] = '用户页面';
//Setup VIM: ex: et ts=2 :

178
main.php Executable file
View file

@ -0,0 +1,178 @@
<?php
/**
* DokuWiki Starter Template
*
* @link http://dokuwiki.org/template:starter
* @author Anika Henke <anika@selfthinker.org>
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */
header('X-UA-Compatible: IE=edge,chrome=1');
$showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && !empty($_SERVER['REMOTE_USER']) );
$showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
?><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>"
lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
<head>
<meta charset="UTF-8" />
<title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
<?php tpl_metaheaders() ?>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<?php echo tpl_favicon(array('favicon', 'mobile')) ?>
<?php tpl_includeFile('meta.html') ?>
</head>
<body>
<?php /* with these Conditional Comments you can better address IE issues in CSS files,
precede CSS rules by #IE8 for IE8 (div closes at the bottom) */ ?>
<!--[if lte IE 8 ]><div id="IE8"><![endif]-->
<?php /* the "dokuwiki__top" id is needed somewhere at the top, because that's where the "back to top" button/link links to */ ?>
<?php /* tpl_classes() provides useful CSS classes; if you choose not to use it, the 'dokuwiki' class at least
should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?>
<div id="dokuwiki__site"><div id="dokuwiki__top" class="site <?php echo tpl_classes(); ?> <?php
echo ($showSidebar) ? 'hasSidebar' : ''; ?>">
<?php html_msgarea() /* occasional error and info messages on top of the page */ ?>
<?php tpl_includeFile('header.html') ?>
<!-- ********** HEADER ********** -->
<div id="dokuwiki__header"><div class="pad">
<div class="headings">
<h1><?php tpl_link(wl(),$conf['title'],'accesskey="h" title="[H]"') ?></h1>
<?php /* how to insert logo instead (if no CSS image replacement technique is used):
upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' accordingly:
tpl_link(wl(),'<img src="'.ml('logo.png').'" alt="'.$conf['title'].'" />','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?>
<?php if ($conf['tagline']): ?>
<p class="claim"><?php echo $conf['tagline'] ?></p>
<?php endif ?>
<ul class="a11y skip">
<li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content'] ?></a></li>
</ul>
<div class="clearer"></div>
</div>
<div class="tools">
<!-- USER TOOLS -->
<?php if ($conf['useacl'] && $showTools): ?>
<div id="dokuwiki__usertools">
<h3 class="a11y"><?php echo $lang['user_tools'] ?></h3>
<ul>
<?php
if (!empty($_SERVER['REMOTE_USER'])) {
echo '<li class="user">';
tpl_userinfo(); /* 'Logged in as ...' */
echo '</li>';
}
?>
<?php /* the optional second parameter of tpl_action() switches between a link and a button,
e.g. a button inside a <li> would be: tpl_action('edit', 0, 'li') */
?>
<?php tpl_toolsevent('usertools', array(
'admin' => tpl_action('admin', 1, 'li', 1),
'userpage' => _tpl_action('userpage', 1, 'li', 1),
'profile' => tpl_action('profile', 1, 'li', 1),
'register' => tpl_action('register', 1, 'li', 1),
'login' => tpl_action('login', 1, 'li', 1),
)); ?>
</ul>
</div>
<?php endif ?>
<!-- SITE TOOLS -->
<div id="dokuwiki__sitetools">
<h3 class="a11y"><?php echo $lang['site_tools'] ?></h3>
<?php tpl_searchform() ?>
<ul>
<?php tpl_toolsevent('sitetools', array(
'recent' => tpl_action('recent', 1, 'li', 1),
'media' => tpl_action('media', 1, 'li', 1),
'index' => tpl_action('index', 1, 'li', 1),
)); ?>
</ul>
</div>
</div>
<div class="clearer"></div>
<!-- BREADCRUMBS -->
<?php if($conf['breadcrumbs']){ ?>
<div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div>
<?php } ?>
<?php if($conf['youarehere']){ ?>
<div class="breadcrumbs"><?php tpl_youarehere() ?></div>
<?php } ?>
<div class="clearer"></div>
<hr class="a11y" />
</div></div><!-- /header -->
<div class="wrapper">
<!-- ********** ASIDE ********** -->
<?php if ($showSidebar): ?>
<div id="dokuwiki__aside"><div class="pad aside include group">
<?php tpl_includeFile('sidebarheader.html') ?>
<?php tpl_include_page($conf['sidebar'], 1, 1) /* includes the nearest sidebar page */ ?>
<?php tpl_includeFile('sidebarfooter.html') ?>
<div class="clearer"></div>
</div></div><!-- /aside -->
<?php endif; ?>
<!-- ********** CONTENT ********** -->
<div id="dokuwiki__content"><div class="pad">
<?php tpl_flush() /* flush the output buffer */ ?>
<?php tpl_includeFile('pageheader.html') ?>
<div class="page">
<!-- wikipage start -->
<?php tpl_content() /* the main content */ ?>
<!-- wikipage stop -->
<div class="clearer"></div>
</div>
<?php tpl_flush() ?>
<?php tpl_includeFile('pagefooter.html') ?>
</div></div><!-- /content -->
<div class="clearer"></div>
<hr class="a11y" />
<!-- PAGE ACTIONS -->
<?php if ($showTools): ?>
<div id="dokuwiki__pagetools">
<h3 class="a11y"><?php echo $lang['page_tools'] ?></h3>
<ul>
<?php tpl_toolsevent('pagetools', array(
'edit' => tpl_action('edit', 1, 'li', 1),
'discussion'=> _tpl_action('discussion', 1, 'li', 1),
'revisions' => tpl_action('revisions', 1, 'li', 1),
'backlink' => tpl_action('backlink', 1, 'li', 1),
'subscribe' => tpl_action('subscribe', 1, 'li', 1),
'revert' => tpl_action('revert', 1, 'li', 1),
'top' => tpl_action('top', 1, 'li', 1),
)); ?>
</ul>
</div>
<?php endif; ?>
</div><!-- /wrapper -->
<!-- ********** FOOTER ********** -->
<div id="dokuwiki__footer"><div class="pad">
<div class="doc"><?php tpl_pageinfo() /* 'Last modified' etc */ ?></div>
<?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?>
</div></div><!-- /footer -->
<?php tpl_includeFile('footer.html') ?>
</div></div><!-- /site -->
<div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div>
<!--[if lte IE 8 ]></div><![endif]-->
</body>
</html>

48
mediamanager.php Executable file
View file

@ -0,0 +1,48 @@
<?php
/**
* DokuWiki Media Manager Popup
*
* @author Andreas Gohr <andi@splitbrain.org>
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
*/
// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();
@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */
header('X-UA-Compatible: IE=edge,chrome=1');
?><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup no-js">
<head>
<meta charset="UTF-8" />
<title>
<?php echo hsc($lang['mediaselect'])?>
[<?php echo strip_tags($conf['title'])?>]
</title>
<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
<?php tpl_metaheaders()?>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<?php echo tpl_favicon(array('favicon', 'mobile')) ?>
<?php tpl_includeFile('meta.html') ?>
</head>
<body>
<!--[if IE 8 ]><div id="IE8"><![endif]-->
<div id="media__manager" class="<?php echo tpl_classes(); ?>">
<?php html_msgarea() ?>
<div id="mediamgr__aside"><div class="pad">
<h1><?php echo hsc($lang['mediaselect'])?></h1>
<?php /* keep the id! additional elements are inserted via JS here */?>
<div id="media__opts"></div>
<?php tpl_mediaTree() ?>
</div></div>
<div id="mediamgr__content"><div class="pad">
<?php tpl_mediaContent() ?>
</div></div>
</div>
<!--[if lte IE 8 ]></div><![endif]-->
</body>
</html>

78
style.ini Executable file
View file

@ -0,0 +1,78 @@
; Please see http://www.php.net/manual/en/function.parse-ini-file.php
; for limitations of the ini format used here
; To extend this file or make changes to it, it is recommended to create
; a local conf/tpl/<template-folder-name>/style.ini file to prevent losing
; any changes after an upgrade.
; Please don't forget to copy the section your changes should be under
; (i.e. [stylesheets] or [replacements]) into that file as well.
; Define the stylesheets your template uses here. The second value
; defines for which output media the style should be loaded. Currently
; print, screen and all are supported.
; You can reference CSS and LESS files here. Files referenced here will
; be checked for updates when considering a cache rebuild while files
; included through LESS' @import statements are not
[stylesheets]
css/basic.css = screen
../dokuwiki/css/_imgdetail.css = screen
../dokuwiki/css/_media_popup.css = screen
../dokuwiki/css/_media_fullscreen.css = screen
../dokuwiki/css/_fileuploader.css = screen
../dokuwiki/css/_tabs.css = screen
../dokuwiki/css/_links.css = screen
../dokuwiki/css/_toc.css = screen
../dokuwiki/css/_footnotes.css = screen
../dokuwiki/css/_search.css = screen
../dokuwiki/css/_recent.css = screen
../dokuwiki/css/_diff.css = screen
../dokuwiki/css/_edit.css = screen
../dokuwiki/css/_modal.css = screen
../dokuwiki/css/_forms.css = screen
../dokuwiki/css/_admin.css = screen
css/structure.css = screen
css/design.css = screen
css/content.css = screen
css/includes.css = screen
css/mobile.css = all
css/print.css = print
; This section is used to configure some placeholder values used in
; the stylesheets. Changing this file is the simplest method to
; give your wiki a new look.
; Placeholders defined here will also be made available as LESS variables
; (with surrounding underscores removed, and the prefix @ini_ added)
[replacements]
;--------------------------------------------------------------------------
;------ guaranteed dokuwiki color placeholders that every plugin can use
; main text and background colors
__text__ = "#333" ; @ini_text
__background__ = "#fff" ; @ini_background
; alternative text and background colors
__text_alt__ = "#999" ; @ini_text_alt
__background_alt__ = "#eee" ; @ini_background_alt
; neutral text and background colors
__text_neu__ = "#666" ; @ini_text_neu
__background_neu__ = "#ddd" ; @ini_background_neu
; border color
__border__ = "#ccc" ; @ini_border
; highlighted text (e.g. search snippets)
__highlight__ = "#ff9" ; @ini_highlight
;--------------------------------------------------------------------------
; these are used for links
__existing__ = "#090" ; @ini_existing
__missing__ = "#f30" ; @ini_missing
; widths
__site_width__ = "64em" ; @ini_site_width
__sidebar_width__ = "16em" ; @ini_sidebar_width

7
template.info.txt Executable file
View file

@ -0,0 +1,7 @@
base starter
author Anika Henke
email anika@selfthinker.org
date 2015-08-01
name Starter Template
desc The template that gets you started
url https://www.dokuwiki.org/template:starter

142
tpl_functions.php Executable file
View file

@ -0,0 +1,142 @@
<?php
/**
* Template Functions
*
* This file provides template specific custom functions that are
* not provided by the DokuWiki core.
* It is common practice to start each function with an underscore
* to make sure it won't interfere with future core functions.
*/
// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();
/**
* Create link/button to discussion page and back
*
* @author Anika Henke <anika@selfthinker.org>
*/
function _tpl_discussion($discussionPage, $title, $backTitle, $link=0, $wrapper=0, $return=0) {
global $ID;
$output = '';
$discussPage = str_replace('@ID@', $ID, $discussionPage);
$discussPageRaw = str_replace('@ID@', '', $discussionPage);
$isDiscussPage = strpos($ID, $discussPageRaw) !== false;
$backID = ':'.str_replace($discussPageRaw, '', $ID);
if ($wrapper) $output .= "<$wrapper>";
if ($isDiscussPage) {
if ($link) {
ob_start();
tpl_pagelink($backID, $backTitle);
$output .= ob_get_contents();
ob_end_clean();
} else {
$output .= html_btn('back2article', $backID, '', array(), 'get', 0, $backTitle);
}
} else {
if ($link) {
ob_start();
tpl_pagelink($discussPage, $title);
$output .= ob_get_contents();
ob_end_clean();
} else {
$output .= html_btn('discussion', $discussPage, '', array(), 'get', 0, $title);
}
}
if ($wrapper) $output .= "</$wrapper>";
if ($return) return $output;
echo $output;
}
/**
* Create link/button to user page
*
* @author Anika Henke <anika@selfthinker.org>
*/
function _tpl_userpage($userPage, $title, $link=0, $wrapper=0, $return=0) {
if (empty($_SERVER['REMOTE_USER'])) return;
global $conf;
$output = '';
$userPage = str_replace('@USER@', $_SERVER['REMOTE_USER'], $userPage);
if ($wrapper) $output .= "<$wrapper>";
if ($link) {
ob_start();
tpl_pagelink($userPage, $title);
$output .= ob_get_contents();
ob_end_clean();
} else {
$output .= html_btn('userpage', $userPage, '', array(), 'get', 0, $title);
}
if ($wrapper) $output .= "</$wrapper>";
if ($return) return $output;
echo $output;
}
/**
* Wrapper around custom template actions
*
* @author Anika Henke <anika@selfthinker.org>
*/
function _tpl_action($type, $link=0, $wrapper=0, $return=0) {
switch ($type) {
case 'discussion':
if (tpl_getConf('discussionPage')) {
$output = _tpl_discussion(tpl_getConf('discussionPage'), tpl_getLang('discussion'), tpl_getLang('back_to_article'), $link, $wrapper, 1);
if ($return) return $output;
echo $output;
}
break;
case 'userpage':
if (tpl_getConf('userPage')) {
$output = _tpl_userpage(tpl_getConf('userPage'), tpl_getLang('userpage'), $link, $wrapper, 1);
if ($return) return $output;
echo $output;
}
break;
}
}
/**
* copied to core (available since Detritus)
*/
if (!function_exists('tpl_toolsevent')) {
function tpl_toolsevent($toolsname, $items, $view='main') {
$data = array(
'view' => $view,
'items' => $items
);
$hook = 'TEMPLATE_'.strtoupper($toolsname).'_DISPLAY';
$evt = new Doku_Event($hook, $data);
if($evt->advise_before()){
foreach($evt->data['items'] as $k => $html) echo $html;
}
$evt->advise_after();
}
}
/**
* copied from core (available since Binky)
*/
if (!function_exists('tpl_classes')) {
function tpl_classes() {
global $ACT, $conf, $ID, $INFO;
$classes = array(
'dokuwiki',
'mode_'.$ACT,
'tpl_'.$conf['template'],
!empty($_SERVER['REMOTE_USER']) ? 'loggedIn' : '',
$INFO['exists'] ? '' : 'notFound',
($ID == $conf['start']) ? 'home' : '',
);
return join(' ', $classes);
}
}