diff options
author | sembrestels <sembrestels@riseup.net> | 2011-10-13 15:23:11 +0200 |
---|---|---|
committer | sembrestels <sembrestels@riseup.net> | 2011-10-13 15:23:11 +0200 |
commit | 74bd6999c5e5c23ebbf90dbb6bdaabbddd7594cf (patch) | |
tree | 834c120d692be288f261bcae169eedd3d6b31d74 /vendors/dokuwiki/lib/tpl | |
parent | f8be8643f0faadb2c0ce87d553b7b9d569af5afd (diff) | |
download | elgg-74bd6999c5e5c23ebbf90dbb6bdaabbddd7594cf.tar.gz elgg-74bd6999c5e5c23ebbf90dbb6bdaabbddd7594cf.tar.bz2 |
Rename lib/dokuwiki to vendors/dokuwiki
Diffstat (limited to 'vendors/dokuwiki/lib/tpl')
71 files changed, 4440 insertions, 0 deletions
diff --git a/vendors/dokuwiki/lib/tpl/default/conf/default.php b/vendors/dokuwiki/lib/tpl/default/conf/default.php new file mode 100644 index 000000000..37a6110ec --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/conf/default.php @@ -0,0 +1,8 @@ +<?php +// sidebar configuration settings +$conf['enable'] = 1; // 1 or true to enable sidebar functionality, 0 or false to disable it +$conf['page'] = 'sidebar'; // name of sidebar page +$conf['layout'] = 'inside'; // inside (between button bars) or outside (full height of dokuwiki) +$conf['orientation'] = 'left'; // left or right +$conf['showeditbtn'] = 1; // show a sidebar edit button IF USER HAS EDIT PERMISSION FOR SIDEBAR +$conf['editbtntxt'] = 'edit sidebar'; diff --git a/vendors/dokuwiki/lib/tpl/default/conf/metadata.php b/vendors/dokuwiki/lib/tpl/default/conf/metadata.php new file mode 100644 index 000000000..f37e32c60 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/conf/metadata.php @@ -0,0 +1,9 @@ +<?php +// sidebar configuration settings +$meta['enable'] = array('onoff'); +$meta['page'] = array('string'); +$meta['layout'] = array('multichoice', '_choices' => array('inside','outside')); +$meta['orientation'] = array('multichoice', '_choices' => array('left','right')); +//$meta['showeditbtn'] = array('onoff'); +//$meta['editbtntxt'] = array('string'); + diff --git a/vendors/dokuwiki/lib/tpl/default/design.css b/vendors/dokuwiki/lib/tpl/default/design.css new file mode 100644 index 000000000..2611daad0 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/design.css @@ -0,0 +1,796 @@ +/** + * Design elements for default Template + * + * @author Andreas Gohr <andi@splitbrain.org> + * @author Anika Henke <anika@selfthinker.org> + */ + +/* -------------- 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 { + border: 0; +} + +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: 300px; + text-align: center; + border: 1px solid __border__; + padding: 0.5em; + margin: auto; +} + +div.dokuwiki textarea.edit { + font-family: monospace; + font-size: 14px; + color: __text__; + background-color: __background__; + border: 1px solid __border__; + padding: 0.3em 0 0 0.3em; + width: 100%; +} + +/* nice alphatransparency background except for IE <7 */ +html>body div.dokuwiki textarea.edit { + background: __background__ url(images/inputshadow.png) repeat-x top; +} + +div.dokuwiki input.edit, +div.dokuwiki select.edit { + font-size: 100%; + border: 1px solid __border__; + color: __text__; + background-color: __background__; + vertical-align: middle; + margin: 1px; + padding: 0.20em 0.3em; + display: inline; +} + +/* nice alphatransparency background except for IE <7 */ +html>body div.dokuwiki input.edit, +html>body div.dokuwiki select.edit { + background: __background__ url(images/inputshadow.png) repeat-x top; +} + +div.dokuwiki select.edit { + padding: 0.1em 0; +} + +div.dokuwiki input.missing { + font-size: 100%; + border: 1px solid __border__; + color: __text__; + background-color: #ffcccc; + vertical-align: middle; + margin: 1px; + padding: 0.20em 0.3em; + display: inline; +} + +/* disabled style - not understood by IE */ +div.dokuwiki textarea.edit[disabled], +div.dokuwiki textarea.edit[readonly], +div.dokuwiki input.edit[disabled], +div.dokuwiki input.edit[readonly], +div.dokuwiki select.edit[disabled] { + background-color: __background_neu__!important; + color: __text_neu__!important; +} + +/* edit form */ +div.dokuwiki div.toolbar, +div.dokuwiki div#wiki__editbar { + margin: 2px 0; + text-align: left; +} +div.dokuwiki div#size__ctl { + float: right; + width: 60px; + height: 2.7em; +} +div.dokuwiki #size__ctl img { + cursor: pointer; +} +div.dokuwiki div#wiki__editbar div.editButtons { + float: left; + padding: 0 1.0em 0.7em 0; +} +div.dokuwiki div#wiki__editbar div.summary { + float: left; +} +div.dokuwiki .nowrap { + white-space: nowrap; +} +div.dokuwiki div#draft__status { + float: right; + color: __text_alt__; +} + +div.dokuwiki form#dw__editform div.license { + clear: left; + font-size: 90%; +} + +div.dokuwiki p.license { + font-size: 90%; + text-align: center; +} + +/* --------- buttons ------------------- */ + +div.dokuwiki input.button, +div.dokuwiki button.button { + border: 1px solid __border__; + color: __text__; + background-color: __background__; + 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__ 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__; + vertical-align: middle; + text-decoration: none; + margin: 0; + padding: 0; + font-size: 10px; + cursor: pointer; + float: right; + display: inline; +} + +/* ----------- page navigator ------------- */ + +div.dokuwiki div.pagenav { + margin: 1em 0 0 0; +} + +div.dokuwiki div.pagenav-prev { + text-align: right; + float: left; + width: 49% +} + +div.dokuwiki div.pagenav-next { + text-align: left; + float: right; + width: 49% +} + +/* --------------- Links ------------------ */ + +div.dokuwiki a:link, +div.dokuwiki a:visited { + color: __extern__; + text-decoration: none; +} +div.dokuwiki a:hover, +div.dokuwiki a:active { + color: __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; +} + +div.dokuwiki img.medialeft { + border: 0; + float: left; + margin: 0 1.5em 0 0; +} + +div.dokuwiki img.mediaright { + border: 0; + float: right; + margin: 0 0 0 1.5em; +} + +div.dokuwiki img.mediacenter { + border: 0; + display: block; + margin: 0 auto; +} + +/* smileys */ +div.dokuwiki img.middle { + vertical-align: middle; +} + +div.dokuwiki acronym { + cursor: help; + border-bottom: 1px dotted __text__; +} + +/* general headline setup */ +div.dokuwiki h1, +div.dokuwiki h2, +div.dokuwiki h3, +div.dokuwiki h4, +div.dokuwiki h5 { + color: __text__; + background-color: inherit; + font-size: 100%; + font-weight: normal; + margin: 0 0 1em 0; + padding: 0.5em 0 0 0; + border-bottom: 1px solid __border__; + clear: left; +} + +/* special headlines */ +div.dokuwiki h1 {font-size: 160%; margin-left: 0px; font-weight: bold;} +div.dokuwiki h2 {font-size: 150%; margin-left: 20px;} +div.dokuwiki h3 {font-size: 140%; margin-left: 40px; border-bottom: none; font-weight: bold;} +div.dokuwiki h4 {font-size: 120%; 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: 3px;} +div.dokuwiki div.level2 {margin-left: 23px;} +div.dokuwiki div.level3 {margin-left: 43px;} +div.dokuwiki div.level4 {margin-left: 63px;} +div.dokuwiki div.level5 {margin-left: 83px;} + +/* unordered lists */ +div.dokuwiki ul { + line-height: 1.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 gap in between nested lists */ +div.dokuwiki li ul { + margin-bottom: 0; +} +div.dokuwiki li ol { + margin-bottom: 0; +} + +/* the list items overriding the ul/ol definition */ +div.dokuwiki .li { + color: __text__; + font-weight: normal; +} + +div.dokuwiki ol {list-style-type: decimal} +div.dokuwiki ol ol {list-style-type: upper-roman} +div.dokuwiki ol ol ol {list-style-type: lower-alpha} +div.dokuwiki ol ol ol ol {list-style-type: lower-greek} + +div.dokuwiki li.open { + list-style-image: url(images/open.gif); + /*list-style-type: circle;*/ +} + +div.dokuwiki li.closed { + list-style-image: url(images/closed.gif); + /*list-style-type: disc;*/ +} + +div.dokuwiki blockquote { + border-left: 2px solid __border__; + padding-left: 3px; +} + +div.dokuwiki pre { + font-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__; +} + +/* inline code words */ +div.dokuwiki code { + font-size: 120%; +} + +/* code blocks by file tag */ +div.dokuwiki pre.file { + background-color: __background_alt__; +} + +/* inline tables */ +div.dokuwiki table.inline { + background-color: __background__; + border-spacing: 0px; + border-collapse: collapse; +} + +div.dokuwiki table.inline th { + padding: 3px; + border: 1px solid __border__; + background-color: __background_alt__; +} + +div.dokuwiki table.inline td { + padding: 3px; + border: 1px solid __border__; +} + +/* ---------- table of contents ------------------- */ + +div.dokuwiki div.toc { + margin: 1.2em 0 0 2em; + float: right; + width: 200px; + font-size: 80%; + clear: both; +} + +div.dokuwiki div.tocheader { + border: 1px solid __border__; + background-color: __background_alt__; + 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_alt__; + float: right; + display: block; + margin: 0.4em 3px 0 0; +} + +div.dokuwiki span.toc_open span, +div.dokuwiki span.toc_close span { + display: none; +} + +div.dokuwiki span.toc_open { + margin-top: 0.4em; + border-top: 0.4em solid __text__; +} + +div.dokuwiki span.toc_close { + margin-top: 0; + border-bottom: 0.4em solid __text__; +} + +div.dokuwiki #toc__inside { + border: 1px solid __border__; + background-color: __background__; + text-align: left; + padding: 0.5em 0 0.7em 0; +} + +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: __extern__; +} + +div.dokuwiki a.toc:hover, +div.dokuwiki a.toc:active { + color: __text__; +} + +/* ---------------------------- 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%; +} + +/* ------------------ Additional ---------------------- */ + +div.footerinc { + text-align: center; +} +.footerinc a img { + opacity: 0.5; + border: 0; +} + +.footerinc a:hover img { + opacity: 1; +} + +/* ---------- AJAX quicksearch ----------- */ + +div.dokuwiki div.ajax_qsearch { + position: absolute; + right: 237px;; + width: 200px; + opacity: 0.9; + display: none; + font-size: 80%; + line-height: 1.2em; + border: 1px solid __border__; + background-color: __background_other__; + text-align: left; + padding: 4px; +} + +/* --------- Toolbar -------------------- */ +button.toolbutton { + background-color: __background__; + padding: 0px; + margin: 0 1px 0 0; + border: 1px solid __border__; + cursor: pointer; +} + +/* nice alphatransparency background except for IE <7 */ +html>body button.toolbutton { + background: __background__ url(images/buttonshadow.png) repeat-x bottom; +} + +div.picker { + width: 250px; + border: 1px solid __border__; + background-color: __background_alt__; +} + +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; +} diff --git a/vendors/dokuwiki/lib/tpl/default/detail.php b/vendors/dokuwiki/lib/tpl/default/detail.php new file mode 100644 index 000000000..765358568 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/detail.php @@ -0,0 +1,89 @@ +<?php +/** + * DokuWiki Image Detail Template + * + * This is the template for displaying image details + * + * You should leave the doctype at the very top - It should + * always be the very first line of a document. + * + * @link http://dokuwiki.org/templates + * @author Andreas Gohr <andi@splitbrain.org> + */ + +// must be run from within DokuWiki +if (!defined('DOKU_INC')) die(); + +?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title> + <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?> + [<?php echo strip_tags($conf['title'])?>] + </title> + + <?php tpl_metaheaders()?> + + <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" /> +</head> + +<body> +<div class="dokuwiki"> + <?php html_msgarea()?> + + <div class="page"> + <?php if($ERROR){ print $ERROR; }else{ ?> + + <h1><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?></h1> + + <div class="img_big"> + <?php tpl_img(900,700) ?> + </div> + + <div class="img_detail"> + <p class="img_caption"> + <?php print nl2br(hsc(tpl_img_getTag('simple.title'))); ?> + </p> + + <p>← <?php echo $lang['img_backto']?> <?php tpl_pagelink($ID)?></p> + + <dl class="img_tags"> + <?php + $t = tpl_img_getTag('Date.EarliestTime'); + if($t) print '<dt>'.$lang['img_date'].':</dt><dd>'.strftime($conf['dformat'],$t).'</dd>'; + + $t = tpl_img_getTag('File.Name'); + if($t) print '<dt>'.$lang['img_fname'].':</dt><dd>'.hsc($t).'</dd>'; + + $t = tpl_img_getTag(array('Iptc.Byline','Exif.TIFFArtist','Exif.Artist','Iptc.Credit')); + if($t) print '<dt>'.$lang['img_artist'].':</dt><dd>'.hsc($t).'</dd>'; + + $t = tpl_img_getTag(array('Iptc.CopyrightNotice','Exif.TIFFCopyright','Exif.Copyright')); + if($t) print '<dt>'.$lang['img_copyr'].':</dt><dd>'.hsc($t).'</dd>'; + + $t = tpl_img_getTag('File.Format'); + if($t) print '<dt>'.$lang['img_format'].':</dt><dd>'.hsc($t).'</dd>'; + + $t = tpl_img_getTag('File.NiceSize'); + if($t) print '<dt>'.$lang['img_fsize'].':</dt><dd>'.hsc($t).'</dd>'; + + $t = tpl_img_getTag('Simple.Camera'); + if($t) print '<dt>'.$lang['img_camera'].':</dt><dd>'.hsc($t).'</dd>'; + + $t = tpl_img_getTag(array('IPTC.Keywords','IPTC.Category','xmp.dc:subject')); + if($t) print '<dt>'.$lang['img_keywords'].':</dt><dd>'.hsc($t).'</dd>'; + + ?> + </dl> + <?php //Comment in for Debug// dbg(tpl_img_getTag('Simple.Raw'));?> + </div> + + <?php } ?> + </div> +</div> +</body> +</html> + diff --git a/vendors/dokuwiki/lib/tpl/default/footer.html b/vendors/dokuwiki/lib/tpl/default/footer.html new file mode 100644 index 000000000..38aab7216 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/footer.html @@ -0,0 +1,41 @@ +<?php +/** + * Example footer include + * + * This file shows you how to use the include hooks. However I recommend to + * create your own complete new template instead. + */ + +$tgt = ($conf['target']['extern']) ? 'target="'.$conf['target']['extern'].'"' : ''; +?> + +<div class="footerinc"> + + <a <?php echo $tgt?> href="<?php echo DOKU_BASE; ?>feed.php" title="Recent changes RSS feed"><img src="<?php echo DOKU_TPL; ?>images/button-rss.png" width="80" height="15" alt="Recent changes RSS feed" /></a> + + <?php + $lic = license_img('button'); + if($lic){ + ?> + <a <?php echo $tgt?> href="<?php echo $license[$conf['license']]['url']?>" rel="license" title="<?php echo $license[$conf['license']]['name']?>"><img src="<?php echo DOKU_BASE.$lic ?>" width="80" height="15" alt="" /></a> + <?php } ?> + + <a <?php echo $tgt?> href="http://www.dokuwiki.org/donate" title="Donate"><img src="<?php echo DOKU_TPL; ?>images/button-donate.gif" alt="Donate" width="80" height="15" /></a> + + <a <?php echo $tgt?> href="http://www.php.net" title="Powered by PHP"><img src="<?php echo DOKU_TPL; ?>images/button-php.gif" width="80" height="15" alt="Powered by PHP" /></a> + + <a <?php echo $tgt?> href="http://validator.w3.org/check/referer" title="Valid XHTML 1.0"><img src="<?php echo DOKU_TPL; ?>images/button-xhtml.png" width="80" height="15" alt="Valid XHTML 1.0" /></a> + + <a <?php echo $tgt?> href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS"><img src="<?php echo DOKU_TPL; ?>images/button-css.png" width="80" height="15" alt="Valid CSS" /></a> + + <a <?php echo $tgt?> href="http://dokuwiki.org/" title="Driven by DokuWiki"><img src="<?php echo DOKU_TPL; ?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a> + +<?php +if ($conf['allowdebug']) { + echo '<!-- page made in '.round(delta_time(DOKU_START_TIME), 3).' seconds -->'; +} +?> + + +</div> +<?php include(dirname(__FILE__).'/dwtb.html') ?> diff --git a/vendors/dokuwiki/lib/tpl/default/images/bullet.gif b/vendors/dokuwiki/lib/tpl/default/images/bullet.gif Binary files differnew file mode 100644 index 000000000..b43de48a4 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/bullet.gif diff --git a/vendors/dokuwiki/lib/tpl/default/images/button-cc.gif b/vendors/dokuwiki/lib/tpl/default/images/button-cc.gif Binary files differnew file mode 100644 index 000000000..5861d637f --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/button-cc.gif diff --git a/vendors/dokuwiki/lib/tpl/default/images/button-css.png b/vendors/dokuwiki/lib/tpl/default/images/button-css.png Binary files differnew file mode 100644 index 000000000..706325e1c --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/button-css.png diff --git a/vendors/dokuwiki/lib/tpl/default/images/button-donate.gif b/vendors/dokuwiki/lib/tpl/default/images/button-donate.gif Binary files differnew file mode 100644 index 000000000..bba284e21 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/button-donate.gif diff --git a/vendors/dokuwiki/lib/tpl/default/images/button-dw.png b/vendors/dokuwiki/lib/tpl/default/images/button-dw.png Binary files differnew file mode 100644 index 000000000..39d5f56a9 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/button-dw.png diff --git a/vendors/dokuwiki/lib/tpl/default/images/button-php.gif b/vendors/dokuwiki/lib/tpl/default/images/button-php.gif Binary files differnew file mode 100644 index 000000000..28f329aaa --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/button-php.gif diff --git a/vendors/dokuwiki/lib/tpl/default/images/button-rss.png b/vendors/dokuwiki/lib/tpl/default/images/button-rss.png Binary files differnew file mode 100644 index 000000000..b036f7152 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/button-rss.png diff --git a/vendors/dokuwiki/lib/tpl/default/images/button-xhtml.png b/vendors/dokuwiki/lib/tpl/default/images/button-xhtml.png Binary files differnew file mode 100644 index 000000000..ec686442c --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/button-xhtml.png diff --git a/vendors/dokuwiki/lib/tpl/default/images/buttonshadow.png b/vendors/dokuwiki/lib/tpl/default/images/buttonshadow.png Binary files differnew file mode 100644 index 000000000..f60be309f --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/buttonshadow.png diff --git a/vendors/dokuwiki/lib/tpl/default/images/closed.gif b/vendors/dokuwiki/lib/tpl/default/images/closed.gif Binary files differnew file mode 100644 index 000000000..8414d4d69 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/closed.gif diff --git a/vendors/dokuwiki/lib/tpl/default/images/favicon.ico b/vendors/dokuwiki/lib/tpl/default/images/favicon.ico Binary files differnew file mode 100644 index 000000000..8b9616abb --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/favicon.ico diff --git a/vendors/dokuwiki/lib/tpl/default/images/inputshadow.png b/vendors/dokuwiki/lib/tpl/default/images/inputshadow.png Binary files differnew file mode 100644 index 000000000..d286beb22 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/inputshadow.png diff --git a/vendors/dokuwiki/lib/tpl/default/images/link_icon.gif b/vendors/dokuwiki/lib/tpl/default/images/link_icon.gif Binary files differnew file mode 100644 index 000000000..815ccb1b1 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/link_icon.gif diff --git a/vendors/dokuwiki/lib/tpl/default/images/mail_icon.gif b/vendors/dokuwiki/lib/tpl/default/images/mail_icon.gif Binary files differnew file mode 100644 index 000000000..50a87a9a0 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/mail_icon.gif diff --git a/vendors/dokuwiki/lib/tpl/default/images/open.gif b/vendors/dokuwiki/lib/tpl/default/images/open.gif Binary files differnew file mode 100644 index 000000000..f5d5c7e56 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/open.gif diff --git a/vendors/dokuwiki/lib/tpl/default/images/sidebar-border.gif b/vendors/dokuwiki/lib/tpl/default/images/sidebar-border.gif Binary files differnew file mode 100644 index 000000000..fc4b78e8c --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/sidebar-border.gif diff --git a/vendors/dokuwiki/lib/tpl/default/images/tocdot2.gif b/vendors/dokuwiki/lib/tpl/default/images/tocdot2.gif Binary files differnew file mode 100644 index 000000000..3d39c2e73 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/tocdot2.gif diff --git a/vendors/dokuwiki/lib/tpl/default/images/windows.gif b/vendors/dokuwiki/lib/tpl/default/images/windows.gif Binary files differnew file mode 100644 index 000000000..4f12acce1 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/images/windows.gif diff --git a/vendors/dokuwiki/lib/tpl/default/layout.css b/vendors/dokuwiki/lib/tpl/default/layout.css new file mode 100644 index 000000000..ca4b52756 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/layout.css @@ -0,0 +1,79 @@ +/** + * Tableless Layout for default template + * + * @author Andreas Gohr <andi@splitbrain.org> + * @author moraes <moraes@tipos.com.br> + */ + +/* -------------- top row --------------- */ +div.dokuwiki .header { + padding: 3px 0 0 2px; +} + +div.dokuwiki .pagename { + float: left; + font-size: 200%; + font-weight: bolder; + color: __background_alt__; + text-align: left; + vertical-align: middle; +} + +div.dokuwiki .pagename a { + color: __extern__ !important; + text-decoration: none !important; +} + +div.dokuwiki .logo { + float: right; + font-size: 220%; + font-weight: bolder; + text-align: right; + 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%; +} + +div.dokuwiki div.meta div.user { + float: left; +} + +div.dokuwiki div.meta div.doc { + text-align: right; +} diff --git a/vendors/dokuwiki/lib/tpl/default/main.php b/vendors/dokuwiki/lib/tpl/default/main.php new file mode 100644 index 000000000..11c4ea967 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/main.php @@ -0,0 +1,69 @@ +<?php +/** + * DokuWiki Default Template + * + * This is the template you need to change for the overall look + * of DokuWiki. + * + * You should leave the doctype at the very top - It should + * always be the very first line of a document. + * + * @link http://dokuwiki.org/templates + * @author Andreas Gohr <andi@splitbrain.org> + */ + +// must be run from within DokuWiki +if (!defined('DOKU_INC')) die(); + + +$sidebar_inline = get_input("inline_sidebar"); +$page_inline = get_input("inline_page"); + +if (empty($sidebar_inline)) { +ob_start(); +include(dirname(__FILE__).'/main_index.php'); +$content = ob_get_clean(); +} + +if (empty($page_inline)) { +// include functions that provide sidebar functionality +@require_once(dirname(__FILE__).'/tplfn_sidebar.php'); +ob_start(); +include(dirname(__FILE__).'/sidebar.php'); +$sidebar = ob_get_clean(); +} + +if (empty($sidebar_inline) && empty($page_inline)) { + + elgg_push_breadcrumb(elgg_echo('dokuwiki'), 'dokuwiki/all'); + elgg_push_breadcrumb(sprintf(elgg_echo('dokuwiki:wikifrom'), elgg_get_page_owner_entity()->name)); + + $title = sprintf(elgg_echo('dokuwiki:wikifrom'), elgg_get_page_owner_entity()->name); + + $sidebar = elgg_view_module('aside', elgg_echo('dokuwiki:sidebar'), $sidebar); + + $body = elgg_view_layout('content', array( + 'filter' => '', + 'content' => $content, + 'title' => $title, + 'sidebar' => $sidebar, + )); + + echo elgg_view_page($title, $body); +} +else { + $all_link = elgg_get_site_url().'dokuwiki/'.elgg_get_page_owner_guid(); + $all_text = elgg_echo('link:view:all'); + $all_link = "<a href=\"$all_link\">$all_text</a>"; + + echo elgg_view('groups/profile/module', array( + 'title' => $content ? elgg_echo('dokuwiki:group') : elgg_echo('dokuwiki:sidebar'), + 'content' => $content . $sidebar, + 'all_link' => $all_link, + )); +} + + +//echo $content; + +?> diff --git a/vendors/dokuwiki/lib/tpl/default/main_index.php b/vendors/dokuwiki/lib/tpl/default/main_index.php new file mode 100644 index 000000000..31a7ebafb --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/main_index.php @@ -0,0 +1,135 @@ +<?php +/** + * DokuWiki Sidebar Template + * This template is the Dokuwiki Default Template with + * a configurable sidebar facility. + * + * @link http://wiki.jalakai.co.uk/dokuwiki + * @link http://dokuwiki.org/template/sidebar + * @author Christopher Smith <chris@jalakai.co.uk> + * @date 2009-01-27 + * + * Default template by ... + * + * @link http://dokuwiki.org/templates + * @author Andreas Gohr <andi@splitbrain.org> + */ + +// must be run from within DokuWiki +if (!defined('DOKU_INC')) die(); + +$page_inline = get_input("inline_page"); +// include functions that provide sidebar functionality +//@require_once(dirname(__FILE__).'/tplfn_sidebar.php'); +?> + <?php //tpl_metaheaders()?> + + <?php /*old includehook @include(dirname(__FILE__).'/meta.html') */ ?> + +<?php /*old includehook @include(dirname(__FILE__).'/topheader.html') */ ?> +<div class="dokuwiki"> + <?php html_msgarea()?> + + <div class="stylehead"> + + <?php if (empty($page_inline)) { ?> + <div class="header"> + <div class="pagename"> + [[<?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?>]] + </div> + <div class="logo"> + <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?> + </div> + + <div class="clearer"></div> + </div> + <?php }?> + + <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?> + + <?php if (empty($page_inline)) { ?> + <div class="bar" id="bar__top"> + <div class="bar-left" id="bar__topleft"> + <?php tpl_button('edit')?> + <?php tpl_button('history')?> + </div> + + <div class="bar-right" id="bar__topright"> + <?php tpl_button('recent')?> + <?php tpl_searchform()?> + </div> + + <div class="clearer"></div> + </div> + <?php } ?> + + <?php if($conf['breadcrumbs']){?> + <div class="breadcrumbs"> + <?php tpl_breadcrumbs()?> + <?php //tpl_youarehere() //(some people prefer this)?> + </div> + <?php }?> + + <?php if($conf['youarehere']){?> + <div class="breadcrumbs"> + <?php tpl_youarehere() ?> + </div> + <?php }?> + + </div> + <?php flush()?> + + <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?> + + <div class="page"> + <!-- wikipage start --> + <?php tpl_content()?> + <!-- wikipage stop --> + </div> + + <?php if (empty($page_inline)) { ?> + <div class="clearer"> </div> + + <?php flush()?> + + <div class="stylefoot"> + + <div class="meta"> + <div class="user"> + <?php tpl_userinfo()?> + </div> + <div class="doc"> + <?php tpl_pageinfo()?> + </div> + </div> + + <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?> + + </div> + <?php } ?> + <div class="bar" id="bar__bottom"> + <div class="bar-left" id="bar__bottomleft"> + <?php tpl_button('edit')?> + <?php tpl_button('history')?> + </div> + <div class="bar-right" id="bar__bottomright"> + <?php tpl_button('subscribe')?> + <?php tpl_button('subscribens')?> + <?php tpl_button('admin')?> + <?php tpl_button('profile')?> + <?php tpl_button('login')?> + <?php tpl_button('index')?> + <?php tpl_button('top')?> + </div> + <div class="clearer"></div> + </div> + <?php if (empty($page_inline)) { ?> + + </div> + <?php } ?> + + <?php/* tpl_license(false);*/?> + +<?php /*old includehook @include(dirname(__FILE__).'/footer.html')*/ ?> + +<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div> diff --git a/vendors/dokuwiki/lib/tpl/default/media.css b/vendors/dokuwiki/lib/tpl/default/media.css new file mode 100644 index 000000000..27d0b1d33 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/media.css @@ -0,0 +1,205 @@ +/** + * The CSS in here cotrols 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; +} + +/* --- Tree formatting --- */ + +#media__tree img { + float:left; + padding: 0.5em 0.3em 0 0; +} + +#media__tree ul { + list-style-type: none; + list-style-image: none; + margin-left: 1.5em; +} + +#media__tree li { + clear: left; + list-style-type: none; + list-style-image: none; +} +*+html #media__tree li, +* html #media__tree li { + border: 1px solid __background__; +}/* I don't understand this, but this fixes a style bug in IE; +it's dirty, so any "real" fixes are welcome */ + +/* --- options --- */ + +#media__opts { + padding-left: 1em; + margin-bottom: 0.5em; +} + +#media__opts input { + float: left; + display: block; + margin-top: 4px; + position: absolute; +} +*+html #media__opts input, +* html #media__opts input { + position: static; +} + +#media__opts label { + display: block; + float: left; + margin-left: 20px; + margin-bottom: 4px; +} +*+html #media__opts label, +* html #media__opts label { + margin-left: 10px; +} + +#media__opts br { + clear: left; +} + +/* --- file list --- */ + +#media__content img.load { + margin: 1em auto; +} + +#media__content #scroll__here { + border: 1px dashed __border__; +} + +#media__content .odd { + background-color: __background_other__; + padding: 0.4em; +} + +#media__content .even { + padding: 0.4em; +} + +#media__content a.mediafile { + margin-right: 1.5em; + font-weight: bold; +} + +#media__content div.detail { + padding: 0.3em 0 0.3em 2em; +} + +#media__content div.detail div.thumb { + float: left; + width: 130px; + text-align: center; + margin-right: 0.4em; +} + + +#media__content img.btn { + vertical-align: text-bottom; +} + +#media__content div.example { + color: __text_neu__; + margin-left: 1em; +} + +/* --- upload form --- */ + +#media__content div.upload { + font-size: 90%; + padding: 0 0.5em 0.5em 0.5em; +} + +#media__content form#dw__upload, +#media__content div#dw__flashupload { + display: block; + border-bottom: solid 1px __border__; + padding: 0 0.5em 1em 0.5em; +} +#media__content form#dw__upload fieldset { + padding: 0; + margin: 0; + border: none; + width: auto; +} +#media__content form#dw__upload p { + text-align: left; + padding: 0.25em 0; + margin: 0; + line-height: 1.0em; +} +#media__content form#dw__upload label.check { + float: none; + width: auto; + margin-left: 11.5em; +} + +/* --- meta edit form --- */ + +#media__content form.meta { + display: block; + padding: 0 0 1em 0; +} + +#media__content form.meta label { + display: block; + width: 25%; + float: left; + font-weight: bold; + margin-left: 1em; + clear: left; +} + +#media__content form.meta .edit { + font: 100% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + float: left; + width: 70%; + padding-right: 0; + padding-left: 0.2em; + margin: 2px; +} + +#media__content form.meta textarea.edit { + height: 8em; +} + +#media__content form.meta div.metafield { + clear: left; +} + +#media__content form.meta div.buttons { + clear: left; + margin-left: 20%; + padding-left: 1em; +} diff --git a/vendors/dokuwiki/lib/tpl/default/media.php b/vendors/dokuwiki/lib/tpl/default/media.php new file mode 100644 index 000000000..c464597bb --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/media.php @@ -0,0 +1,54 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<?php +/** + * DokuWiki Default Template + * + * This is the template for the media selection popup. + * + * You should leave the doctype at the very top - It should + * always be the very first line of a document. + * + * @link http://wiki.splitbrain.org/wiki:tpl:templates + * @author Andreas Gohr <andi@splitbrain.org> + */ +?> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr"> +<head> + <title><?php echo hsc($lang['mediaselect'])?> [<?php echo hsc($conf['title'])?>]</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + + <?php tpl_metaheaders()?> + + <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" /> + +</head> + +<body> +<div class="dokuwiki"> + <?php html_msgarea()?> + + <h1><?php echo hsc($lang['mediaselect'])?> <code><?php echo hsc($NS)?></code></h1> + + <div class="mediaselect"> + + <div class="mediaselect-left"> + <strong><a href="<?php echo DOKU_BASE?>lib/exe/media.php?ns="><?php echo hsc($lang['namespaces'])?></a></strong> + + <?php tpl_medianamespaces()?> + </div> + + <div class="mediaselect-right"> + <?php tpl_mediafilelist()?> + + <div class="uploadform"> + <?php tpl_mediauploadform()?> + </div> + </div> + + </div> + +</div> +</body> +</html> + diff --git a/vendors/dokuwiki/lib/tpl/default/mediaedit.php b/vendors/dokuwiki/lib/tpl/default/mediaedit.php new file mode 100644 index 000000000..66d40ad5e --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/mediaedit.php @@ -0,0 +1,88 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<?php +/** + * DokuWiki Default Template + * + * This is the template for editing image meta data. + * It is displayed in the media popup. + * + * You should leave the doctype at the very top - It should + * always be the very first line of a document. + * + * @link http://wiki.splitbrain.org/wiki:tpl:templates + * @author Andreas Gohr <andi@splitbrain.org> + */ +?> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr"> +<head> + <title><?php echo hsc($lang['mediaselect'])?> [<?php echo hsc($conf['title'])?>]</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + + <?php tpl_metaheaders()?> + + <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" /> +</head> + +<body> +<div class="dokuwiki"> + <?php html_msgarea()?> + + <h1><?php echo hsc($lang['metaedit'])?> <code><?php echo hsc(noNS($IMG))?></code></h1> + + <div class="mediaedit"> + <?php/* everything in meta array is tried to save and read */?> + + <div class="data"> + <form action="<?php echo DOKU_BASE?>lib/exe/media.php" accept-charset="utf-8" method="post"> + <input type="hidden" name="edit" value="<?php echo hsc($IMG)?>" /> + <input type="hidden" name="save" value="1" /> + + <label class="block" for="img__title"><?php echo $lang['img_title']?></label> + <input type="text" name="meta[Iptc.Headline]" id="img__title" class="edit" + value="<?php echo hsc(tpl_img_getTag('IPTC.Headline'))?>" /><br /> + + <label class="block" for="img__caption"><?php echo $lang['img_caption']?></label> + <textarea name="meta[Iptc.Caption]" id="img__caption" class="edit" rows="5"><?php + echo hsc(tpl_img_getTag(array('IPTC.Caption', + 'EXIF.UserComment', + 'EXIF.TIFFImageDescription', + 'EXIF.TIFFUserComment'))); + ?></textarea><br /> + + <label class="block" for="img__artist"><?php echo $lang['img_artist']?></label> + <input type="text" name="meta[Iptc.Byline]" id="img__artist" class="edit" + value="<?php echo hsc(tpl_img_getTag(array('Iptc.Byline', + 'Exif.TIFFArtist', + 'Exif.Artist', + 'Iptc.Credit')))?>" /><br /> + + <label class="block" for="img__copy"><?php echo $lang['img_copyr']?></label> + <input type="text" name="meta[Iptc.CopyrightNotice]" id="img__copy" class="edit" + value="<?php echo hsc(tpl_img_getTag(array('Iptc.CopyrightNotice','Exif.TIFFCopyright','Exif.Copyright')))?>" /><br /> + + + <label class="block" for="img__keywords"><?php echo $lang['img_keywords']?></label> + <textarea name="meta[Iptc.Keywords]" id="img__keywords" class="edit"><?php + echo hsc(tpl_img_getTag(array('IPTC.Keywords', + 'EXIF.Category'))); + ?></textarea><br /> + + + <input type="submit" value="<?php echo $lang['btn_save']?>" title="ALT+S" + accesskey="s" class="button" /> + + </form> + </div> + + + <div class="footer"> + <hr> + <?php tpl_button('backtomedia')?> + </div> + </div> + +</div> +</body> +</html> + diff --git a/vendors/dokuwiki/lib/tpl/default/mediamanager.php b/vendors/dokuwiki/lib/tpl/default/mediamanager.php new file mode 100644 index 000000000..7b7fe8675 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/mediamanager.php @@ -0,0 +1,44 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<?php +/** + * DokuWiki Default Template + * + * This is the template for the media manager popup + * + * You should leave the doctype at the very top - It should + * always be the very first line of a document. + * + * @link http://dokuwiki.org/templates + * @author Andreas Gohr <andi@splitbrain.org> + */ +?> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title> + <?php echo hsc($lang['mediaselect'])?> + [<?php echo strip_tags($conf['title'])?>] + </title> + <?php tpl_metaheaders()?> + <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" /> +</head> + +<body> +<div id="media__manager" class="dokuwiki"> + <div id="media__left"> + <?php html_msgarea()?> + <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 id="media__right"> + <?php tpl_mediaContent() ?> + </div> +</div> +</body> +</html> diff --git a/vendors/dokuwiki/lib/tpl/default/mediaref.php b/vendors/dokuwiki/lib/tpl/default/mediaref.php new file mode 100644 index 000000000..4651b5667 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/mediaref.php @@ -0,0 +1,50 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<?php +/** + * DokuWiki Default Template + * + * This is the template for displaying references to a media file. + * It is displayed in the media popup. + * + * You should leave the doctype at the very top - It should + * always be the very first line of a document. + * + * @link http://wiki.splitbrain.org/wiki:tpl:templates + * @author Andreas Gohr <andi@splitbrain.org> + */ +?> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr"> +<head> + <title><?php echo hsc($lang['mediaselect'])?> [<?php echo hsc($conf['title'])?>]</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + + <?php tpl_metaheaders()?> + + <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" /> + +</head> + +<body> +<div class="dokuwiki"> + <?php html_msgarea()?> + + <h1><?php echo hsc($lang['reference'])?> <code><?php echo hsc(noNS($DEL))?></code></h1> + + <div class="mediaref"> + <div class="mediaref_head"> + <p><?php echo hsc($lang['ref_inuse'])?></p> + </div> + + <?php tpl_showreferences($mediareferences)?> + + <div class="mediaref_footer"> + <hr> + <?php tpl_button('backtomedia')?> + </div> + </div> + +</div> +</body> +</html> + diff --git a/vendors/dokuwiki/lib/tpl/default/print.css b/vendors/dokuwiki/lib/tpl/default/print.css new file mode 100644 index 000000000..0491a7ba0 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/print.css @@ -0,0 +1,238 @@ + +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; +} + + +div.meta { + clear:both; + margin-top: 1em; + font-size:70%; + text-align:right; +} + + +div.notify, +div.info, +div.success, +div.error, +div.breadcrumbs, +div.secedit { + display:none; +} + +/* --------------------- Text formating -------------------------------- */ + +/* external link */ +a.urlextern:after { + content: " [" attr(href) "]"; + font-size: 90%; +} + +/* interwiki link */ +a.interwiki:after { + content: " [" attr(href) "]"; + font-size: 90%; +} + +/* email link */ +a.mail:after { + content: " [" attr(href) "]"; + font-size: 90%; +} + +/* existing wikilink */ +a.wikilink1 {text-decoration:underline } + +/* the document */ +div.page { + text-align: justify; +} + +/* general headline setup */ +h1, h2, h3, h4, h5 { + color: Black; + background-color: transparent; + font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + font-size: 100%; + font-weight: normal; + margin-left: 0; + margin-right: 0; + margin-top: 0; + margin-bottom: 1em; + padding-left: 0; + padding-right: 0; + padding-top: 0.5em; + padding-bottom: 0; + border-bottom: 1px solid #000000; + clear:left; +} + +/* special headlines */ +h1 {font-size: 160%; font-weight: bold;} +h2 {font-size: 150%; } +h3 {font-size: 140%; border-bottom: none; } +h4 {font-size: 120%; border-bottom: none; } +h5 {font-size: 100%; border-bottom: none; } + +/* embedded images */ +img.media { + margin: 3px; +} + +img.medialeft { + border: 0; + float: left; + margin: 0 1.5em 0 0; +} + +img.mediaright { + border: 0; + float: right; + margin: 0 0 0 1.5em; +} + +/* unordered lists */ +ul { + line-height: 1.5em; + list-style-type: square; + margin: 0 0 1em 3.5em; + padding: 0; +} + +/* ordered lists */ +ol { + line-height: 1.5em; + margin: 0 0 1em 3.5em; + padding: 0; + font-weight: normal; +} + +div.dokuwiki li ul { + margin-bottom: 0; +} +div.dokuwiki li ol { + margin-bottom: 0; +} + +div.dokuwiki ol {list-style-type: decimal} +div.dokuwiki ol ol {list-style-type: upper-roman} +div.dokuwiki ol ol ol {list-style-type: lower-alpha} +div.dokuwiki ol ol ol ol {list-style-type: lower-greek} + +/* the list items overriding the ol definition */ +span.li { + font-weight: normal; +} + +/* code blocks by indention */ +pre.pre { + font-size: 8pt; + padding: 0.5em; + border: 1px dashed #000000; + color: Black; + overflow: visible; +} + +/* code blocks by code tag */ +pre.code { + font-size: 8pt; + padding: 0.5em; + border: 1px dashed #000000; + color: Black; + overflow: visible; +} + +/* inline code words */ +code { + font-size: 120%; +} + +/* code blocks by file tag */ +pre.file { + font-size: 8pt; + padding: 0.5em; + border: 1px dotted #000000; + color: Black; + overflow: visible; +} + +/* footnotes */ +div.footnotes{ + clear:both; + border-top: 1px solid #000000; + padding-left: 1em; + margin-top: 1em; +} + +div.fn{ + font-size:90%; +} + +a.fn_top{ + vertical-align:super; + font-size:80%; +} + +a.fn_bot{ + vertical-align:super; + font-size:80%; + font-weight:bold; +} + +acronym{ + border: 0; +} + +/* ---------- inline tables ------------------- */ + +table.inline { + font-size: 80%; + background-color: #ffffff; + border-spacing: 0px; + border-collapse: collapse; +} + +table.inline th { + padding: 3px; + border: 1px solid #000000; + border-bottom: 2px solid #000000; +} + +table.inline td { + padding: 3px; + border: 1px solid #000000; +} + +.leftalign{ + text-align: left; +} + +.centeralign{ + text-align: center; +} + +.rightalign{ + text-align: right; +} + +.toc, .footerinc, .header, .bar, .user {display:none} + diff --git a/vendors/dokuwiki/lib/tpl/default/rtl.css b/vendors/dokuwiki/lib/tpl/default/rtl.css new file mode 100644 index 000000000..4678c3059 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/rtl.css @@ -0,0 +1,119 @@ +/** + * Layout and dedsign corrections for right-to-left languages + * + * @author Andreas Gohr <andi@splitbrain.org> + * @author Dotan Kamber <kamberd@yahoo.com> + */ + +.bar-left { + float: right; + text-align: right; +} + +.bar-right { + float: left; + text-align: left; +} + +.pagename { + float: right; + text-align: right; +} + +.logo { + float: left; + text-align: left; +} + +label { + text-align: left; +} + +label.simple { + text-align: right; +} + +div.meta div.user { + float: right +} + +div.meta div.doc { + text-align: left; +} + +/* ------------------ Design corrections --------------------------------- */ + +div.dokuwiki ul, +div.dokuwiki ol { + margin: 0.5em 1.5em 0.5em 0; +} + +div.dokuwiki a.urlextern, +div.dokuwiki a.interwiki, +div.dokuwiki a.windows, +div.dokuwiki a.mail, +div.dokuwiki a.mail.JSnocheck { + /* should work but doesn't - so we just disable icons here*/ + /* + background-position: right 1px; + padding-right: 16px; + */ + background-image: none !important; + padding: 0px 0px 0px 0px; +} + +div.dokuwiki div.secedit input.button { + float: left; +} + +/* headlines */ +div.dokuwiki h1, div.dokuwiki h2, div.dokuwiki h3, div.dokuwiki h4, div.dokuwiki h5 { + clear: right; +} + +/* special headlines */ +div.dokuwiki h1 {margin-left: 0px; margin-right: 0px;} +div.dokuwiki h2 {margin-left: 0px; margin-right: 20px;} +div.dokuwiki h3 {margin-left: 0px; margin-right: 40px;} +div.dokuwiki h4 {margin-left: 0px; margin-right: 60px;} +div.dokuwiki h5 {margin-left: 0px; margin-right: 80px;} + +/* indent different sections */ +div.dokuwiki div.level1 {margin-left: 0px; margin-right: 3px;} +div.dokuwiki div.level2 {margin-left: 0px; margin-right: 23px;} +div.dokuwiki div.level3 {margin-left: 0px; margin-right: 43px;} +div.dokuwiki div.level4 {margin-left: 0px; margin-right: 63px;} +div.dokuwiki div.level5 {margin-left: 0px; margin-right: 83px;} + +/* TOC control */ +div.dokuwiki div.toc { + float: left; +} + +div.dokuwiki div.tocheader { + text-align: right; +} + +div.dokuwiki #toc__inside { + text-align: right; +} + +div.dokuwiki ul.toc { + padding: 0; + padding-right: 1em; +} + +div.dokuwiki ul.toc li { + background-position: right 0.6em; + padding-right:0.4em; + direction: rtl; +} + +div.dokuwiki ul.toc li.clear { + padding-right:0.4em; +} + +div.dokuwiki pre { + text-align: left; +} + diff --git a/vendors/dokuwiki/lib/tpl/default/sidebar.css b/vendors/dokuwiki/lib/tpl/default/sidebar.css new file mode 100644 index 000000000..5af3c95cb --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/sidebar.css @@ -0,0 +1,189 @@ +/** + * Extra styles for sidebar template + * + * @author Christopher Smith <chris@jalakai.co.uk> + */ + +/* dokuwiki containers & styles */ + +/* sidebar orientation and position */ +#sidebar { + width:20%; + margin:0; + padding:0; + position: relative; +} + +#sidebartop { + position: absolute; + top: -1.2em; + width: 100%; + height: 1.2em; + background: __background_neu__; +} + +.sidebar_inside_left #sidebar { + float:left; +} + +.sidebar_inside_right #sidebar { + float:right; +} + +.sidebar_inside_left .dokuwiki div.breadcrumbs { + float: right; + width: 78%; + padding: 0 1% 0 0.9%; +} + +.sidebar_inside_left .dokuwiki .page, .sidebar_inside_left .dokuwiki .meta { + float:right; + width:77%; /* also see IE Win fix below */ + margin-right: 1%; + margin-left:0; +} + +.sidebar_inside_right .dokuwiki .page, .sidebar_inside_right .dokuwiki .meta, .sidebar_inside_right .dokuwiki div.breadcrumbs { + float:left; + width:77%; + margin-left: 1%; + margin-right: 0; +} + +.sidebar_outside_left #sidebar { + position:absolute; + top:0; + left:0; +} + +.sidebar_outside_right #sidebar { + position:absolute; + top:0; + right:0; +} + +.sidebar_outside_left .dokuwiki { + padding-left:21%; +} + +.sidebar_outside_right .dokuwiki { + padding-right:21%; +} + +.sidebar_outside_left .footerinc { + padding-left: 21%; +} + +.sidebar_outside_right .footerinc { + padding-right: 21%; +} + +/* sidebar presentation */ +/* the following three styles use a faux-column image to place a separating line + between the sidebar and dokuwiku */ +.sidebar_outside_left .dokuwiki, .sidebar_inside_left .dokuwiki { + background: url(images/sidebar-border.gif) repeat-y 20%; +} + +.sidebar_outside_right .dokuwiki, .sidebar_inside_right .dokuwiki { + background: url(images/sidebar-border.gif) repeat-y 80%; +} + +/* hide the line where it passes through .stylehead */ +.stylehead { +} + +/* sidebar contents */ +#sidebar { + font-size:10px; +} + +#sidebar a { + color: __existing__; +} + +#sidebar a.wikilink2 { + color: __text_neu__; +} + +#sidebar a.wikilink2:hover { + text-decoration:none; + cursor:default; +} + +#sidebar h1 { + font-size:140%; + margin-left: 0px; + padding-left: 2px; + font-weight:bold; + padding-bottom:0; + background-color: __background_alt__; +} +#sidebar h2 { + font-size:120%; + margin-left: 4px; + font-weight:bold; + padding-bottom:0; +} +#sidebar h3 { + font-size:120%; + margin-left: 8px; + font-weight:normal; + padding-bottom:0; +} +#sidebar h4 { + font-size:100%; + margin-left: 12px; + font-weight:bold; + padding-bottom:0; +} +#sidebar h5 { + font-size:100%; + margin-left: 16px; + font-weight:normal; + padding-bottom:0; +} +#sidebar .toc { + display:none; +} + +#sidebar_content .toc { + display:none; +} +#sidebar .secedit { +} + +/* reduced section indentation */ +#sidebar div.level1 {margin-left: 2px;} +#sidebar div.level2 {margin-left: 6px;} +#sidebar div.level3 {margin-left: 10px;} +#sidebar div.level4 {margin-left: 14px;} +#sidebar div.level5 {margin-left: 18px;} + +/* IE fixes (hide from IE Mac) \*/ + +* html .page .toc {height:1px} /* General Dokuwiki fix. IE needs this to always display TOC contents \*/ +* html pre {width:95%;} /* General Dokuwiki fix - very important for Sidebar. IE needs this to get the overflow:auto style to kick in \*/ +* html .stylehead {height:1px;} /* Get IE in hasLayout mode to ensure the background covers the whole element \*/ + +* html .sidebar_inside_left .page, * html .sidebar_inside_right .page, +* html .sidebar_inside_left .meta, * html .sidebar_inside_right .meta { + width: 77%; /* IE needs extra gap to ensure #sidebar & .page float next to each other \*/ + overflow-x: auto; /* IE proprietary property to prevent wide images in wiki page forcing sidebar down below wiki page \*/ + /* 'overflow-x:auto;' maybe replaced by 'overflow:auto;' to ensure template passes w3c validation \*/ +} + +/* (end IE Mac hiding) */ + +/* duplicate standard DW styles with increased specificity to counter some sidebar styles */ +.sidebar_outside_left .insitu-footnote, .sidebar_inside_left .insitu-footnote { + background-color: __background_other__; +} +/* counteract some inappropriate DW styling */ +.sidebar div.dokuwiki #bar__bottom { + margin-bottom: 0; +} +.sidebar div.dokuwiki p.license { + background-color: __background_other__; + padding-top: 3px; +} diff --git a/vendors/dokuwiki/lib/tpl/default/sidebar.php b/vendors/dokuwiki/lib/tpl/default/sidebar.php new file mode 100644 index 000000000..b5c157b39 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/sidebar.php @@ -0,0 +1,9 @@ +<div id="owner_block"> +<div id="sidebartop"> </div> +<!--<div id="sidebartop"> <?php tpl_sidebar_editbtn(); ?></div>--> + <div id="sidebar_content"> + <?php tpl_sidebar_content(); ?> + </div> + <div class="clearer"> </div> +</div> + diff --git a/vendors/dokuwiki/lib/tpl/default/sidebar_print.css b/vendors/dokuwiki/lib/tpl/default/sidebar_print.css new file mode 100644 index 000000000..42332062b --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/sidebar_print.css @@ -0,0 +1,9 @@ +/** + * Extra styles for sidebar template + * + * @author Christopher Smith <chris@jalakai.co.uk> + */ + +/* prevent the sidebar being included when printing wiki pages */ + #sidebar {display:none;} + diff --git a/vendors/dokuwiki/lib/tpl/default/style.ini b/vendors/dokuwiki/lib/tpl/default/style.ini new file mode 100644 index 000000000..291cfd259 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/style.ini @@ -0,0 +1,67 @@ +; 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 +design.css = screen +style.css = screen + +media.css = screen + +rtl.css = rtl +print.css = print +sidebar.css = screen +sidebar_print.css = print + +; This section is used to configure some placeholder values used in +; the stylesheets. Changing this file is the simplest method to +; give your wiki a new look. +[replacements] + +;-------------------------------------------------------------------------- +;------ guaranteed dokuwiki color placeholders that every plugin can use +; main text and background colors +__text__ = "#000" +__background__ = "#fff" +; 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__ = "#8cacbb" +;-------------------------------------------------------------------------- + +; other text and background colors +__text_other__ = "#ccc" +__background_other__ = "#f7f9fa" + +; these are used for links +__extern__ = "#436976" +__existing__ = "#090" +__missing__ = "#f30" + +; 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" diff --git a/vendors/dokuwiki/lib/tpl/default/tplfn_sidebar.php b/vendors/dokuwiki/lib/tpl/default/tplfn_sidebar.php new file mode 100644 index 000000000..6c378c385 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default/tplfn_sidebar.php @@ -0,0 +1,98 @@ +<?php +/* + * Provide navigation sidebar functionality to Dokuwiki Templates + * + * This is not currently part of the official Dokuwiki release + * + * @link http://wiki.jalakai.co.uk/dokuwiki/doku.php?id=tutorials:dev:navigation_sidebar + * @author Christopher Smith <chris@jalakai.co.uk> + */ + +// sidebar configuration settings +tpl_loadConfig(); + +// determine the sidebar class +$sidebar_class = "sidebar sidebar_".tpl_getConf('layout').'_'.tpl_getConf('orientation'); + +// recursive function to establish best sidebar file to be used +function getSidebarFN($ns, $file) { + + // check for wiki page = $ns:$file (or $file where no namespace) + $nsFile = ($ns) ? "$ns:$file" : $file; + if (file_exists(wikiFN($nsFile)) && auth_quickaclcheck($nsFile)) return $nsFile; + +// remove deepest namespace level and call function recursively + + // no namespace left, exit with no file found + if (!$ns) return ''; + + $i = strrpos($ns, ":"); + $ns = ($i) ? substr($ns, 0, $i) : false; + return getSidebarFN($ns, $file); +} + +// print a sidebar edit button - if appropriate +function tpl_sidebar_editbtn() { + global $ID, $conf, $lang; + + // check sidebar configuration + if (!tpl_getConf('showeditbtn') || !tpl_getConf('page')) return; + + // check sidebar page exists + $fileSidebar = getSidebarFN(getNS($ID), tpl_getConf('page')); + if (!$fileSidebar) return; + + // check user has edit permission for the sidebar page + if (auth_quickaclcheck($fileSidebar) < AUTH_EDIT) return; + +?> + <div class="secedit"> + <form class="button" method="post" action="<?php echo wl($fileSidebar,'do=edit'); ?>" onsubmit="return svchk()"> + <input type="hidden" name="do" value="edit" /> + <input type="hidden" name="rev" value="" /> + <input type="hidden" name="id" value="<?php echo $fileSidebar; ?>" /> + <input type="submit" value="<?php echo $lang['btn_sidebaredit']; ?>" class="button" /> + </form> + </div> +<?php +} + +// display the sidebar +function tpl_sidebar_content() { + global $ID, $REV, $ACT, $conf; + + // save globals + $saveID = $ID; + $saveREV = $REV; + $saveACT = $ACT; + + // discover file to be displayed in navigation sidebar + $fileSidebar = ''; + + if (tpl_getConf('page')) { + $fileSidebar = getSidebarFN(getNS($ID), tpl_getConf('page')); + } + + // determine what to display + if ($fileSidebar) { + $ID = $fileSidebar; + $REV = ''; + $ACT = 'show'; +# print p_wiki_xhtml($fileSidebar,'',false); + tpl_content(); + } + else { +# global $IDX; +# html_index($IDX); +# $ID = getNS($ID); + $REV = ''; + $ACT = 'index'; + + tpl_content(); + } + + // restore globals + $ID = $saveID; + $REV = $saveREV; + $ACT = $saveACT; +} diff --git a/vendors/dokuwiki/lib/tpl/default2/_admin.css b/vendors/dokuwiki/lib/tpl/default2/_admin.css new file mode 100644 index 000000000..f34d8aba3 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/_admin.css @@ -0,0 +1,43 @@ + +.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/vendors/dokuwiki/lib/tpl/default2/_linkwiz.css b/vendors/dokuwiki/lib/tpl/default2/_linkwiz.css new file mode 100644 index 000000000..060707377 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/_linkwiz.css @@ -0,0 +1,68 @@ +#link__wiz { + position: absolute; + display: block; + z-index: 99; + width: 300px; + height: 250px; + padding: 0; + margin: 0; + overflow: hidden; + border: 1px solid __border__; + background-color: __background_neu__; + text-align: center; +} + +#link__wiz_header { + background-color: __background_alt__; + height: 16px; + margin-bottom: 5px; +} + +#link__wiz_close { + cursor: pointer; + margin: 0; +} + +#link__wiz_result { + background-color: __background__; + width: 293px; + height: 193px; + overflow: auto; + border: 1px solid __border__; + margin: 3px auto; + text-align: left; +} + +#link__wiz_result div.type_u { + padding: 3px 3px 3px 22px; + background: transparent url(../../images/up.png) 3px 3px no-repeat; +} + +#link__wiz_result div.type_f { + padding: 3px 3px 3px 22px; + background: transparent url(../../images/page.png) 3px 3px no-repeat; +} + +#link__wiz_result div.type_d { + padding: 3px 3px 3px 22px; + background: transparent url(../../images/ns.png) 3px 3px no-repeat; +} + +#link__wiz_result div.even { + background-color: __background_neu__; +} + +#link__wiz_result div.selected { + background-color: __background_alt__; +} + +#link__wiz_result span { + display: block; + color: __text_neu__; +} + +/*FIXME maybe move to a more general style sheet*/ +.ondrag { + cursor: move; + opacity: 0.8; +} diff --git a/vendors/dokuwiki/lib/tpl/default2/design.css b/vendors/dokuwiki/lib/tpl/default2/design.css new file mode 100644 index 000000000..4830a9e2c --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/design.css @@ -0,0 +1,835 @@ +/** + * Design elements for default Template + * + * @author Andreas Gohr <andi@splitbrain.org> + * @author Anika Henke <anika@selfthinker.org> + */ + +/* -------------- 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 { + border: 0; +} + +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: 300px; + text-align: center; + border: 1px solid __border__; + padding: 0.5em; + margin: auto; +} + +div.dokuwiki textarea.edit { + font-family: monospace; + font-size: 14px; + color: __text__; + background-color: __background__; + border: 1px solid __border__; + padding: 0.3em 0 0 0.3em; + width: 100%; +} + +/* nice alphatransparency background except for IE <7 */ +html>body div.dokuwiki textarea.edit { + background: __background__ url(images/inputshadow.png) repeat-x top; +} + +div.dokuwiki input.edit, +div.dokuwiki select.edit { + font-size: 100%; + border: 1px solid __border__; + color: __text__; + background-color: __background__; + vertical-align: middle; + margin: 1px; + padding: 0.20em 0.3em; + display: inline; +} + +/* nice alphatransparency background except for IE <7 */ +html>body div.dokuwiki input.edit, +html>body div.dokuwiki select.edit { + background: __background__ url(images/inputshadow.png) repeat-x top; +} + +div.dokuwiki select.edit { + padding: 0.1em 0; +} + +div.dokuwiki input.missing { + font-size: 100%; + border: 1px solid __border__; + color: __text__; + background-color: #ffcccc; + vertical-align: middle; + margin: 1px; + padding: 0.20em 0.3em; + display: inline; +} + +/* disabled style - not understood by IE */ +div.dokuwiki textarea.edit[disabled], +div.dokuwiki textarea.edit[readonly], +div.dokuwiki input.edit[disabled], +div.dokuwiki input.edit[readonly], +div.dokuwiki input.button[disabled], +div.dokuwiki select.edit[disabled] { + background-color: __background_neu__!important; + color: __text_neu__!important; +} + +/* edit form */ +div.dokuwiki div.toolbar, +div.dokuwiki div#wiki__editbar { + margin: 2px 0; + text-align: left; +} +div.dokuwiki div#size__ctl { + float: right; + width: 60px; + height: 2.7em; +} +div.dokuwiki #size__ctl img { + cursor: pointer; +} +div.dokuwiki div#wiki__editbar div.editButtons { + float: left; + padding: 0 1.0em 0.7em 0; +} +div.dokuwiki div#wiki__editbar div.summary { + float: left; +} +div.dokuwiki .nowrap { + white-space: nowrap; +} +div.dokuwiki div#draft__status { + float: right; + color: __text_alt__; +} + +div.dokuwiki div.license { + padding: 0.5em; + 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__; + 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__ 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__; + vertical-align: middle; + text-decoration: none; + margin: 0; + padding: 0; + font-size: 10px; + cursor: pointer; + float: right; + display: inline; +} + +/* ----------- page navigator ------------- */ + +div.dokuwiki div.pagenav { + margin: 1em 0 0 0; +} + +div.dokuwiki div.pagenav-prev { + text-align: right; + float: left; + width: 49% +} + +div.dokuwiki div.pagenav-next { + text-align: left; + float: right; + width: 49% +} + +/* --------------- Links ------------------ */ + +div.dokuwiki a:link, +div.dokuwiki a:visited { + color: __extern__; + text-decoration: none; +} +div.dokuwiki a:hover, +div.dokuwiki a:active { + color: __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; +} + +div.dokuwiki img.medialeft { + border: 0; + float: left; + margin: 0 1.5em 0 0; +} + +div.dokuwiki img.mediaright { + border: 0; + float: right; + margin: 0 0 0 1.5em; +} + +div.dokuwiki img.mediacenter { + border: 0; + display: block; + margin: 0 auto; +} + +/* smileys */ +div.dokuwiki img.middle { + vertical-align: middle; +} + +div.dokuwiki acronym { + cursor: help; + border-bottom: 1px dotted __text__; +} + +/* general headline setup */ +div.dokuwiki h1, +div.dokuwiki h2, +div.dokuwiki h3, +div.dokuwiki h4, +div.dokuwiki h5 { + color: __text__; + background-color: inherit; + font-size: 100%; + font-weight: normal; + margin: 0 0 1em 0; + padding: 0.5em 0 0 0; + border-bottom: 1px solid __border__; + clear: left; +} + +/* special headlines */ +div.dokuwiki h1 {font-size: 160%; margin-left: 0px; font-weight: bold;} +div.dokuwiki h2 {font-size: 150%; margin-left: 20px;} +div.dokuwiki h3 {font-size: 140%; margin-left: 40px; border-bottom: none; font-weight: bold;} +div.dokuwiki h4 {font-size: 120%; 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: 3px; } +div.dokuwiki div.level2 { margin-left: 23px; } +div.dokuwiki div.level3 { margin-left: 43px; } +div.dokuwiki div.level4 { margin-left: 63px; } +div.dokuwiki div.level5 { margin-left: 83px; } + +/* unordered lists */ +div.dokuwiki ul { + line-height: 1.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 { + border-left: 2px solid __border__; + padding-left: 3px; +} + +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; + border-collapse: collapse; +} + +div.dokuwiki table.inline th { + padding: 3px; + border: 1px solid __border__; + background-color: __background_alt__; +} + +div.dokuwiki table.inline td { + padding: 3px; + border: 1px solid __border__; +} + +/* ---------- table of contents ------------------- */ + +div.dokuwiki div.toc { + margin: 1.2em 0 0 2em; + float: right; + width: 200px; + font-size: 80%; + clear: both; +} + +div.dokuwiki div.tocheader { + border: 1px solid __border__; + background-color: __background_alt__; + 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_alt__; + float: right; + display: block; + margin: 0.4em 3px 0 0; +} + +div.dokuwiki span.toc_open span, +div.dokuwiki span.toc_close span { + display: none; +} + +div.dokuwiki span.toc_open { + margin-top: 0.4em; + border-top: 0.4em solid __text__; +} + +div.dokuwiki span.toc_close { + margin-top: 0; + border-bottom: 0.4em solid __text__; +} + +div.dokuwiki #toc__inside { + border: 1px solid __border__; + background-color: __background__; + text-align: left; + padding: 0.5em 0 0.7em 0; +} + +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: __extern__; +} + +div.dokuwiki a.toc:hover, +div.dokuwiki a.toc:active { + color: __text__; +} + +/* ---------------------------- 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: __background_alt__; +} + +/* ------------------ Additional ---------------------- */ + +div.footerinc { + text-align: center; +} +.footerinc a img { + opacity: 0.5; + border: 0; +} + +.footerinc a:hover img { + opacity: 1; +} + +/* ---------- AJAX quicksearch ----------- */ + +div.dokuwiki div.ajax_qsearch { + position: absolute; + right: 237px;; + width: 200px; + opacity: 0.9; + display: none; + font-size: 80%; + line-height: 1.2em; + border: 1px solid __border__; + background-color: __background_other__; + text-align: left; + padding: 4px; +} + +/* --------- Toolbar -------------------- */ +button.toolbutton { + background-color: __background__; + padding: 0px; + margin: 0 1px 0 0; + border: 1px solid __border__; + cursor: pointer; +} + +/* nice alphatransparency background except for IE <7 */ +html>body button.toolbutton { + background: __background__ url(images/buttonshadow.png) repeat-x bottom; +} + +div.picker { + width: 250px; + border: 1px solid __border__; + background-color: __background_alt__; +} + +div.pk_hl { + width: 125px; +} + +button.pickerbutton { + padding: 0px; + margin: 0 1px 1px 0; + border: 0; + background-color: transparent; + font-size: 80%; + cursor: pointer; +} + +/* --------------- Image Details ----------------- */ + +div.dokuwiki div.img_big { + float: left; + 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; +} diff --git a/vendors/dokuwiki/lib/tpl/default2/detail.php b/vendors/dokuwiki/lib/tpl/default2/detail.php new file mode 100644 index 000000000..4f42b116e --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/detail.php @@ -0,0 +1,89 @@ +<?php +/** + * DokuWiki Image Detail Template + * + * This is the template for displaying image details + * + * You should leave the doctype at the very top - It should + * always be the very first line of a document. + * + * @link http://dokuwiki.org/templates + * @author Andreas Gohr <andi@splitbrain.org> + */ + +// must be run from within DokuWiki +if (!defined('DOKU_INC')) die(); + +?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title> + <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?> + [<?php echo strip_tags($conf['title'])?>] + </title> + + <?php tpl_metaheaders()?> + + <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" /> +</head> + +<body> +<div class="dokuwiki"> + <?php html_msgarea()?> + + <div class="page"> + <?php if($ERROR){ print $ERROR; }else{ ?> + + <h1><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?></h1> + + <div class="img_big"> + <?php tpl_img(900,700) ?> + </div> + + <div class="img_detail"> + <p class="img_caption"> + <?php print nl2br(hsc(tpl_img_getTag('simple.title'))); ?> + </p> + + <p>← <?php echo $lang['img_backto']?> <?php tpl_pagelink($ID)?></p> + + <dl class="img_tags"> + <?php + $t = tpl_img_getTag('Date.EarliestTime'); + if($t) print '<dt>'.$lang['img_date'].':</dt><dd>'.dformat($t).'</dd>'; + + $t = tpl_img_getTag('File.Name'); + if($t) print '<dt>'.$lang['img_fname'].':</dt><dd>'.hsc($t).'</dd>'; + + $t = tpl_img_getTag(array('Iptc.Byline','Exif.TIFFArtist','Exif.Artist','Iptc.Credit')); + if($t) print '<dt>'.$lang['img_artist'].':</dt><dd>'.hsc($t).'</dd>'; + + $t = tpl_img_getTag(array('Iptc.CopyrightNotice','Exif.TIFFCopyright','Exif.Copyright')); + if($t) print '<dt>'.$lang['img_copyr'].':</dt><dd>'.hsc($t).'</dd>'; + + $t = tpl_img_getTag('File.Format'); + if($t) print '<dt>'.$lang['img_format'].':</dt><dd>'.hsc($t).'</dd>'; + + $t = tpl_img_getTag('File.NiceSize'); + if($t) print '<dt>'.$lang['img_fsize'].':</dt><dd>'.hsc($t).'</dd>'; + + $t = tpl_img_getTag('Simple.Camera'); + if($t) print '<dt>'.$lang['img_camera'].':</dt><dd>'.hsc($t).'</dd>'; + + $t = tpl_img_getTag(array('IPTC.Keywords','IPTC.Category','xmp.dc:subject')); + if($t) print '<dt>'.$lang['img_keywords'].':</dt><dd>'.hsc($t).'</dd>'; + + ?> + </dl> + <?php //Comment in for Debug// dbg(tpl_img_getTag('Simple.Raw'));?> + </div> + + <?php } ?> + </div> +</div> +</body> +</html> + diff --git a/vendors/dokuwiki/lib/tpl/default2/footer.html b/vendors/dokuwiki/lib/tpl/default2/footer.html new file mode 100644 index 000000000..38aab7216 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/footer.html @@ -0,0 +1,41 @@ +<?php +/** + * Example footer include + * + * This file shows you how to use the include hooks. However I recommend to + * create your own complete new template instead. + */ + +$tgt = ($conf['target']['extern']) ? 'target="'.$conf['target']['extern'].'"' : ''; +?> + +<div class="footerinc"> + + <a <?php echo $tgt?> href="<?php echo DOKU_BASE; ?>feed.php" title="Recent changes RSS feed"><img src="<?php echo DOKU_TPL; ?>images/button-rss.png" width="80" height="15" alt="Recent changes RSS feed" /></a> + + <?php + $lic = license_img('button'); + if($lic){ + ?> + <a <?php echo $tgt?> href="<?php echo $license[$conf['license']]['url']?>" rel="license" title="<?php echo $license[$conf['license']]['name']?>"><img src="<?php echo DOKU_BASE.$lic ?>" width="80" height="15" alt="" /></a> + <?php } ?> + + <a <?php echo $tgt?> href="http://www.dokuwiki.org/donate" title="Donate"><img src="<?php echo DOKU_TPL; ?>images/button-donate.gif" alt="Donate" width="80" height="15" /></a> + + <a <?php echo $tgt?> href="http://www.php.net" title="Powered by PHP"><img src="<?php echo DOKU_TPL; ?>images/button-php.gif" width="80" height="15" alt="Powered by PHP" /></a> + + <a <?php echo $tgt?> href="http://validator.w3.org/check/referer" title="Valid XHTML 1.0"><img src="<?php echo DOKU_TPL; ?>images/button-xhtml.png" width="80" height="15" alt="Valid XHTML 1.0" /></a> + + <a <?php echo $tgt?> href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS"><img src="<?php echo DOKU_TPL; ?>images/button-css.png" width="80" height="15" alt="Valid CSS" /></a> + + <a <?php echo $tgt?> href="http://dokuwiki.org/" title="Driven by DokuWiki"><img src="<?php echo DOKU_TPL; ?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a> + +<?php +if ($conf['allowdebug']) { + echo '<!-- page made in '.round(delta_time(DOKU_START_TIME), 3).' seconds -->'; +} +?> + + +</div> +<?php include(dirname(__FILE__).'/dwtb.html') ?> diff --git a/vendors/dokuwiki/lib/tpl/default2/images/UWEB.png b/vendors/dokuwiki/lib/tpl/default2/images/UWEB.png Binary files differnew file mode 100644 index 000000000..ea03aec94 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/UWEB.png diff --git a/vendors/dokuwiki/lib/tpl/default2/images/UWEBshadow.png b/vendors/dokuwiki/lib/tpl/default2/images/UWEBshadow.png Binary files differnew file mode 100644 index 000000000..212444f0e --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/UWEBshadow.png diff --git a/vendors/dokuwiki/lib/tpl/default2/images/bullet.gif b/vendors/dokuwiki/lib/tpl/default2/images/bullet.gif Binary files differnew file mode 100644 index 000000000..b43de48a4 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/bullet.gif diff --git a/vendors/dokuwiki/lib/tpl/default2/images/button-cc.gif b/vendors/dokuwiki/lib/tpl/default2/images/button-cc.gif Binary files differnew file mode 100644 index 000000000..5861d637f --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/button-cc.gif diff --git a/vendors/dokuwiki/lib/tpl/default2/images/button-css.png b/vendors/dokuwiki/lib/tpl/default2/images/button-css.png Binary files differnew file mode 100644 index 000000000..706325e1c --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/button-css.png diff --git a/vendors/dokuwiki/lib/tpl/default2/images/button-donate.gif b/vendors/dokuwiki/lib/tpl/default2/images/button-donate.gif Binary files differnew file mode 100644 index 000000000..bba284e21 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/button-donate.gif diff --git a/vendors/dokuwiki/lib/tpl/default2/images/button-dw.png b/vendors/dokuwiki/lib/tpl/default2/images/button-dw.png Binary files differnew file mode 100644 index 000000000..39d5f56a9 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/button-dw.png diff --git a/vendors/dokuwiki/lib/tpl/default2/images/button-php.gif b/vendors/dokuwiki/lib/tpl/default2/images/button-php.gif Binary files differnew file mode 100644 index 000000000..19aefb08f --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/button-php.gif diff --git a/vendors/dokuwiki/lib/tpl/default2/images/button-rss.png b/vendors/dokuwiki/lib/tpl/default2/images/button-rss.png Binary files differnew file mode 100644 index 000000000..b036f7152 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/button-rss.png diff --git a/vendors/dokuwiki/lib/tpl/default2/images/button-xhtml.png b/vendors/dokuwiki/lib/tpl/default2/images/button-xhtml.png Binary files differnew file mode 100644 index 000000000..ec686442c --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/button-xhtml.png diff --git a/vendors/dokuwiki/lib/tpl/default2/images/buttonshadow.png b/vendors/dokuwiki/lib/tpl/default2/images/buttonshadow.png Binary files differnew file mode 100644 index 000000000..f60be309f --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/buttonshadow.png diff --git a/vendors/dokuwiki/lib/tpl/default2/images/closed.gif b/vendors/dokuwiki/lib/tpl/default2/images/closed.gif Binary files differnew file mode 100644 index 000000000..8414d4d69 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/closed.gif diff --git a/vendors/dokuwiki/lib/tpl/default2/images/favicon.ico b/vendors/dokuwiki/lib/tpl/default2/images/favicon.ico Binary files differnew file mode 100644 index 000000000..8b9616abb --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/favicon.ico diff --git a/vendors/dokuwiki/lib/tpl/default2/images/inputshadow.png b/vendors/dokuwiki/lib/tpl/default2/images/inputshadow.png Binary files differnew file mode 100644 index 000000000..d286beb22 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/inputshadow.png diff --git a/vendors/dokuwiki/lib/tpl/default2/images/link_icon.gif b/vendors/dokuwiki/lib/tpl/default2/images/link_icon.gif Binary files differnew file mode 100644 index 000000000..815ccb1b1 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/link_icon.gif diff --git a/vendors/dokuwiki/lib/tpl/default2/images/mail_icon.gif b/vendors/dokuwiki/lib/tpl/default2/images/mail_icon.gif Binary files differnew file mode 100644 index 000000000..50a87a9a0 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/mail_icon.gif diff --git a/vendors/dokuwiki/lib/tpl/default2/images/open.gif b/vendors/dokuwiki/lib/tpl/default2/images/open.gif Binary files differnew file mode 100644 index 000000000..f5d5c7e56 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/open.gif diff --git a/vendors/dokuwiki/lib/tpl/default2/images/tocdot2.gif b/vendors/dokuwiki/lib/tpl/default2/images/tocdot2.gif Binary files differnew file mode 100644 index 000000000..3d39c2e73 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/tocdot2.gif diff --git a/vendors/dokuwiki/lib/tpl/default2/images/windows.gif b/vendors/dokuwiki/lib/tpl/default2/images/windows.gif Binary files differnew file mode 100644 index 000000000..4f12acce1 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/images/windows.gif diff --git a/vendors/dokuwiki/lib/tpl/default2/layout.css b/vendors/dokuwiki/lib/tpl/default2/layout.css new file mode 100644 index 000000000..ded2d87a2 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/layout.css @@ -0,0 +1,79 @@ +/** + * Tableless Layout for default template + * + * @author Andreas Gohr <andi@splitbrain.org> + * @author moraes <moraes@tipos.com.br> + */ + +/* -------------- top row --------------- */ +div.dokuwiki .header { + padding: 3px 0 0 2px; +} + +div.dokuwiki .pagename { + float: left; + font-size: 200%; + font-weight: bolder; + color: __background_alt__; + text-align: left; + vertical-align: middle; +} + +div.dokuwiki .pagename a { + color: __extern__ !important; + text-decoration: none !important; +} + +div.dokuwiki .logo { + float: right; + font-size: 220%; + font-weight: bolder; + text-align: right; + 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%; +} + +div.dokuwiki div.meta div.user { + float: left; +} + +div.dokuwiki div.meta div.doc { + text-align: right; +} diff --git a/vendors/dokuwiki/lib/tpl/default2/main.php b/vendors/dokuwiki/lib/tpl/default2/main.php new file mode 100644 index 000000000..be03b3be2 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/main.php @@ -0,0 +1,27 @@ +<?php +/** + * DokuWiki Default Template + * + * This is the template you need to change for the overall look + * of DokuWiki. + * + * You should leave the doctype at the very top - It should + * always be the very first line of a document. + * + * @link http://dokuwiki.org/templates + * @author Andreas Gohr <andi@splitbrain.org> + */ + +// must be run from within DokuWiki +if (!defined('DOKU_INC')) die(); + +ob_start(); + +include(dirname(__FILE__).'/main_index.php'); + +$content = ob_get_clean(); + +echo $content; + +?> + diff --git a/vendors/dokuwiki/lib/tpl/default2/main_index.php b/vendors/dokuwiki/lib/tpl/default2/main_index.php new file mode 100644 index 000000000..976d139ce --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/main_index.php @@ -0,0 +1,121 @@ +<?php +/** + * DokuWiki Default Template + * + * This is the template you need to change for the overall look + * of DokuWiki. + * + * You should leave the doctype at the very top - It should + * always be the very first line of a document. + * + * @link http://dokuwiki.org/templates + * @author Andreas Gohr <andi@splitbrain.org> + */ + +// must be run from within DokuWiki +if (!defined('DOKU_INC')) die(); + +?> + <?php tpl_metaheaders()?> + <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?> + +<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?> +<div class="dokuwiki"> + <?php html_msgarea()?> + + <div class="stylehead"> + + <div class="header"> + <div class="pagename"> + [[<?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?>]] + </div> + <div class="logo"> + <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?> + </div> + + <div class="clearer"></div> + </div> + + <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?> + + <div class="bar" id="bar__top"> + <div class="bar-left" id="bar__topleft"> + <?php tpl_button('edit')?> + <?php tpl_button('history')?> + </div> + + <div class="bar-right" id="bar__topright"> + <?php tpl_button('recent')?> + <?php tpl_searchform()?> + </div> + + <div class="clearer"></div> + </div> + + <?php if($conf['breadcrumbs']){?> + <div class="breadcrumbs"> + <?php tpl_breadcrumbs()?> + <?php //tpl_youarehere() //(some people prefer this)?> + </div> + <?php }?> + + <?php if($conf['youarehere']){?> + <div class="breadcrumbs"> + <?php tpl_youarehere() ?> + </div> + <?php }?> + + </div> + <?php flush()?> + + <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?> + + <div class="page"> + <!-- wikipage start --> + <?php tpl_content()?> + <!-- wikipage stop --> + </div> + + <div class="clearer"> </div> + + <?php flush()?> + + <div class="stylefoot"> + + <div class="meta"> + <div class="user"> + <?php tpl_userinfo()?> + </div> + <div class="doc"> + <?php tpl_pageinfo()?> + </div> + </div> + + <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?> + + <div class="bar" id="bar__bottom"> + <div class="bar-left" id="bar__bottomleft"> + <?php tpl_button('edit')?> + <?php tpl_button('history')?> + <?php tpl_button('revert')?> + </div> + <div class="bar-right" id="bar__bottomright"> + <?php tpl_button('subscribe')?> + <?php tpl_button('subscribens')?> + <?php tpl_button('admin')?> + <?php tpl_button('profile')?> + <?php tpl_button('login')?> + <?php tpl_button('index')?> + <?php tpl_button('top')?> + </div> + <div class="clearer"></div> + </div> + + </div> + + <?php tpl_license(false);?> + +</div> +<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?> + +<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div> diff --git a/vendors/dokuwiki/lib/tpl/default2/media.css b/vendors/dokuwiki/lib/tpl/default2/media.css new file mode 100644 index 000000000..2831c984f --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/media.css @@ -0,0 +1,205 @@ +/** + * The CSS in here cotrols 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; +} + +/* --- Tree formatting --- */ + +#media__tree img { + float: left; + padding: 0.5em 0.3em 0 0; +} + +#media__tree ul { + list-style-type: none; + list-style-image: none; + margin-left: 1.5em; +} + +#media__tree li { + clear: left; + list-style-type: none; + list-style-image: none; +} +*+html #media__tree li, +* html #media__tree li { + border: 1px solid __background__; +}/* I don't understand this, but this fixes a style bug in IE; +it's dirty, so any "real" fixes are welcome */ + +/* --- options --- */ + +#media__opts { + padding-left: 1em; + margin-bottom: 0.5em; +} + +#media__opts input { + float: left; + display: block; + margin-top: 4px; + position: absolute; +} +*+html #media__opts input, +* html #media__opts input { + position: static; +} + +#media__opts label { + display: block; + float: left; + margin-left: 20px; + margin-bottom: 4px; +} +*+html #media__opts label, +* html #media__opts label { + margin-left: 10px; +} + +#media__opts br { + clear: left; +} + +/* --- file list --- */ + +#media__content img.load { + margin: 1em auto; +} + +#media__content #scroll__here { + border: 1px dashed __border__; +} + +#media__content .odd { + background-color: __background_other__; + padding: 0.4em; +} + +#media__content .even { + padding: 0.4em; +} + +#media__content a.mediafile { + margin-right: 1.5em; + font-weight: bold; +} + +#media__content div.detail { + padding: 0.3em 0 0.3em 2em; +} + +#media__content div.detail div.thumb { + float: left; + width: 130px; + text-align: center; + margin-right: 0.4em; +} + + +#media__content img.btn { + vertical-align: text-bottom; +} + +#media__content div.example { + color: __text_neu__; + margin-left: 1em; +} + +/* --- upload form --- */ + +#media__content div.upload { + font-size: 90%; + padding: 0 0.5em 0.5em 0.5em; +} + +#media__content form#dw__upload, +#media__content div#dw__flashupload { + display: block; + border-bottom: solid 1px __border__; + padding: 0 0.5em 1em 0.5em; +} +#media__content form#dw__upload fieldset { + padding: 0; + margin: 0; + border: none; + width: auto; +} +#media__content form#dw__upload p { + text-align: left; + padding: 0.25em 0; + margin: 0; + line-height: 1.0em; +} +#media__content form#dw__upload label.check { + float: none; + width: auto; + margin-left: 11.5em; +} + +/* --- meta edit form --- */ + +#media__content form.meta { + display: block; + padding: 0 0 1em 0; +} + +#media__content form.meta label { + display: block; + width: 25%; + float: left; + font-weight: bold; + margin-left: 1em; + clear: left; +} + +#media__content form.meta .edit { + font: 100% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + float: left; + width: 70%; + padding-right: 0; + padding-left: 0.2em; + margin: 2px; +} + +#media__content form.meta textarea.edit { + height: 8em; +} + +#media__content form.meta div.metafield { + clear: left; +} + +#media__content form.meta div.buttons { + clear: left; + margin-left: 20%; + padding-left: 1em; +} diff --git a/vendors/dokuwiki/lib/tpl/default2/mediamanager.php b/vendors/dokuwiki/lib/tpl/default2/mediamanager.php new file mode 100644 index 000000000..7b7fe8675 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/mediamanager.php @@ -0,0 +1,44 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<?php +/** + * DokuWiki Default Template + * + * This is the template for the media manager popup + * + * You should leave the doctype at the very top - It should + * always be the very first line of a document. + * + * @link http://dokuwiki.org/templates + * @author Andreas Gohr <andi@splitbrain.org> + */ +?> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title> + <?php echo hsc($lang['mediaselect'])?> + [<?php echo strip_tags($conf['title'])?>] + </title> + <?php tpl_metaheaders()?> + <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" /> +</head> + +<body> +<div id="media__manager" class="dokuwiki"> + <div id="media__left"> + <?php html_msgarea()?> + <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 id="media__right"> + <?php tpl_mediaContent() ?> + </div> +</div> +</body> +</html> diff --git a/vendors/dokuwiki/lib/tpl/default2/print.css b/vendors/dokuwiki/lib/tpl/default2/print.css new file mode 100644 index 000000000..1d6e0756f --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/print.css @@ -0,0 +1,238 @@ + +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; +} + + +div.meta { + clear: both; + margin-top: 1em; + font-size: 70%; + text-align: right; +} + + +div.notify, +div.info, +div.success, +div.error, +div.breadcrumbs, +div.secedit { + display: none; +} + +/* --------------------- Text formating -------------------------------- */ + +/* external link */ +a.urlextern:after { + content: " [" attr(href) "]"; + font-size: 90%; +} + +/* interwiki link */ +a.interwiki:after { + content: " [" attr(href) "]"; + font-size: 90%; +} + +/* email link */ +a.mail:after { + content: " [" attr(href) "]"; + font-size: 90%; +} + +/* existing wikilink */ +a.wikilink1 { text-decoration: underline; } + +/* the document */ +div.page { + text-align: justify; +} + +/* general headline setup */ +h1, h2, h3, h4, h5 { + color: Black; + background-color: transparent; + font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + font-size: 100%; + font-weight: normal; + margin-left: 0; + margin-right: 0; + margin-top: 0; + margin-bottom: 1em; + padding-left: 0; + padding-right: 0; + padding-top: 0.5em; + padding-bottom: 0; + border-bottom: 1px solid #000000; + clear: left; +} + +/* special headlines */ +h1 { font-size: 160%; font-weight: bold; } +h2 { font-size: 150%; } +h3 { font-size: 140%; border-bottom: none; } +h4 { font-size: 120%; border-bottom: none; } +h5 { font-size: 100%; border-bottom: none; } + +/* embedded images */ +img.media { + margin: 3px; +} + +img.medialeft { + border: 0; + float: left; + margin: 0 1.5em 0 0; +} + +img.mediaright { + border: 0; + float: right; + margin: 0 0 0 1.5em; +} + +/* unordered lists */ +ul { + line-height: 1.5em; + list-style-type: square; + margin: 0 0 1em 3.5em; + padding: 0; +} + +/* ordered lists */ +ol { + line-height: 1.5em; + margin: 0 0 1em 3.5em; + padding: 0; + font-weight: normal; +} + +div.dokuwiki li ul { + margin-bottom: 0; +} +div.dokuwiki li ol { + margin-bottom: 0; +} + +div.dokuwiki ol { list-style-type: decimal; } +div.dokuwiki ol ol { list-style-type: upper-roman; } +div.dokuwiki ol ol ol { list-style-type: lower-alpha; } +div.dokuwiki ol ol ol ol { list-style-type: lower-greek; } + +/* the list items overriding the ol definition */ +span.li { + font-weight: normal; +} + +/* code blocks by indention */ +pre.pre { + font-size: 8pt; + padding: 0.5em; + border: 1px dashed #000000; + color: Black; + overflow: visible; +} + +/* code blocks by code tag */ +pre.code { + font-size: 8pt; + padding: 0.5em; + border: 1px dashed #000000; + color: Black; + overflow: visible; +} + +/* inline code words */ +code { + font-size: 120%; +} + +/* code blocks by file tag */ +pre.file { + font-size: 8pt; + padding: 0.5em; + border: 1px dotted #000000; + color: Black; + overflow: visible; +} + +/* footnotes */ +div.footnotes { + clear: both; + border-top: 1px solid #000000; + padding-left: 1em; + margin-top: 1em; +} + +div.fn { + font-size: 90%; +} + +a.fn_top { + vertical-align: super; + font-size: 80%; +} + +a.fn_bot { + vertical-align: super; + font-size: 80%; + font-weight: bold; +} + +acronym { + border: 0; +} + +/* ---------- inline tables ------------------- */ + +table.inline { + font-size: 80%; + background-color: #ffffff; + border-spacing: 0px; + border-collapse: collapse; +} + +table.inline th { + padding: 3px; + border: 1px solid #000000; + border-bottom: 2px solid #000000; +} + +table.inline td { + padding: 3px; + border: 1px solid #000000; +} + +.leftalign { + text-align: left; +} + +.centeralign { + text-align: center; +} + +.rightalign { + text-align: right; +} + +.toc, .footerinc, .header, .bar, .user { display: none; } + diff --git a/vendors/dokuwiki/lib/tpl/default2/rtl.css b/vendors/dokuwiki/lib/tpl/default2/rtl.css new file mode 100644 index 000000000..af3793f7d --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/rtl.css @@ -0,0 +1,119 @@ +/** + * Layout and dedsign corrections for right-to-left languages + * + * @author Andreas Gohr <andi@splitbrain.org> + * @author Dotan Kamber <kamberd@yahoo.com> + */ + +.bar-left { + float: right; + text-align: right; +} + +.bar-right { + float: left; + text-align: left; +} + +.pagename { + float: right; + text-align: right; +} + +.logo { + float: left; + text-align: left; +} + +label { + text-align: left; +} + +label.simple { + text-align: right; +} + +div.meta div.user { + float: right; +} + +div.meta div.doc { + text-align: left; +} + +/* ------------------ Design corrections --------------------------------- */ + +div.dokuwiki ul, +div.dokuwiki ol { + margin: 0.5em 1.5em 0.5em 0; +} + +div.dokuwiki a.urlextern, +div.dokuwiki a.interwiki, +div.dokuwiki a.windows, +div.dokuwiki a.mail, +div.dokuwiki a.mail.JSnocheck { + /* should work but doesn't - so we just disable icons here*/ + /* + background-position: right 1px; + padding-right: 16px; + */ + background-image: none !important; + padding: 0px 0px 0px 0px; +} + +div.dokuwiki div.secedit input.button { + float: left; +} + +/* headlines */ +div.dokuwiki h1, div.dokuwiki h2, div.dokuwiki h3, div.dokuwiki h4, div.dokuwiki h5 { + clear: right; +} + +/* special headlines */ +div.dokuwiki h1 { margin-left: 0px; margin-right: 0px; } +div.dokuwiki h2 { margin-left: 0px; margin-right: 20px; } +div.dokuwiki h3 { margin-left: 0px; margin-right: 40px; } +div.dokuwiki h4 { margin-left: 0px; margin-right: 60px; } +div.dokuwiki h5 { margin-left: 0px; margin-right: 80px; } + +/* indent different sections */ +div.dokuwiki div.level1 { margin-left: 0px; margin-right: 3px; } +div.dokuwiki div.level2 { margin-left: 0px; margin-right: 23px; } +div.dokuwiki div.level3 { margin-left: 0px; margin-right: 43px; } +div.dokuwiki div.level4 { margin-left: 0px; margin-right: 63px; } +div.dokuwiki div.level5 { margin-left: 0px; margin-right: 83px; } + +/* TOC control */ +div.dokuwiki div.toc { + float: left; +} + +div.dokuwiki div.tocheader { + text-align: right; +} + +div.dokuwiki #toc__inside { + text-align: right; +} + +div.dokuwiki ul.toc { + padding: 0; + padding-right: 1em; +} + +div.dokuwiki ul.toc li { + background-position: right 0.6em; + padding-right: 0.4em; + direction: rtl; +} + +div.dokuwiki ul.toc li.clear { + padding-right: 0.4em; +} + +div.dokuwiki pre { + text-align: left; +} + diff --git a/vendors/dokuwiki/lib/tpl/default2/style.ini b/vendors/dokuwiki/lib/tpl/default2/style.ini new file mode 100644 index 000000000..dfd5500fa --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/default2/style.ini @@ -0,0 +1,67 @@ +; 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 +design.css = screen +style.css = screen + +media.css = screen +_admin.css = screen +_linkwiz.css = screen + +rtl.css = rtl +print.css = print + +; This section is used to configure some placeholder values used in +; the stylesheets. Changing this file is the simplest method to +; give your wiki a new look. +[replacements] + +;-------------------------------------------------------------------------- +;------ guaranteed dokuwiki color placeholders that every plugin can use +; main text and background colors +__text__ = "#000" +__background__ = "#fff" +; 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__ = "#8cacbb" +;-------------------------------------------------------------------------- + +; other text and background colors +__text_other__ = "#ccc" +__background_other__ = "#f7f9fa" + +; these are used for links +__extern__ = "#436976" +__existing__ = "#090" +__missing__ = "#f30" + +; 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" diff --git a/vendors/dokuwiki/lib/tpl/index.php b/vendors/dokuwiki/lib/tpl/index.php new file mode 100644 index 000000000..a55081738 --- /dev/null +++ b/vendors/dokuwiki/lib/tpl/index.php @@ -0,0 +1,68 @@ +<?php +/** + * This file reads the style.ini of the used template and displays the + * replacements defined in it. Color replacements will be displayed + * visually. This should help with adjusting and using the styles + * specified in the style.ini + * + * @author Andreas Gohr <andi@splitbrain.org> + * @author Anika Henke <anika@selfthinker.org> + */ +?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>Template Replacements</title> + <style type="text/css"> + body { + background-color: #fff; + color: #000; + } + caption { + font-weight: bold; + } + td { + margin: 0; + padding: 0.5em 2em; + font-family: monospace; + font-size: 120%; + border: 1px solid #fff; + } + tr:hover td { + border: 1px solid #ccc; + } + .color { + padding: 0.25em 1em; + border: 1px #000 solid; + } + </style> +</head> +<body> +<?php +if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/../../'); +require_once(DOKU_INC.'inc/init.php'); + +$ini = @parse_ini_file($conf['template'].'/style.ini',true); +if ($ini) { + echo '<table>'; + echo "<caption>".htmlspecialchars($conf['template'])."'s style.ini</caption>"; + foreach($ini['replacements'] as $key => $val){ + echo '<tr>'; + echo '<td>'.htmlspecialchars($key).'</td>'; + echo '<td>'.htmlspecialchars($val).'</td>'; + echo '<td>'; + if(preg_match('/^#[0-f]{3,6}$/i',$val)){ + echo '<div class="color" style="background-color:'.$val.';"> </div>'; + } + echo '</td>'; + echo '</tr>'; + } + echo '</table>'; +} else { + echo "<p>Non-existent template: <strong>".htmlspecialchars($conf['template'])."</strong></p>"; +} +?> +</body> +</html> |