Initial commit
|
@ -0,0 +1,11 @@
|
|||
## Generic ignorable patterns and files
|
||||
*~
|
||||
.*.swp
|
||||
*bak*
|
||||
tags
|
||||
*.vim
|
||||
*.orig
|
||||
*.rej
|
||||
|
||||
## Project-specific files
|
||||
|
|
@ -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);
|
||||
}
|
|
@ -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;
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
$conf['width'] = 'auto';
|
||||
$conf['font-size'] = '1.1em';
|
||||
$conf['title-color'] = '#009DFF';
|
||||
$conf['hide-entry-title'] = false;
|
||||
$conf['footer-text'] = 'Minetest.net (c) 2013 Perttu "celeron55" Ahola and contributors [CC BY-SA 3.0]';
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
$meta['width'] = array('string');
|
||||
$meta['font-size'] = array('string');
|
||||
$meta['title-color'] = array('string');
|
||||
$meta['hide-entry-title'] = array('onoff');
|
||||
$meta['footer-text'] = array('string');
|
|
@ -0,0 +1,6 @@
|
|||
body, a {
|
||||
color:#4E5368;
|
||||
}
|
||||
|
||||
a { color:#4E5368; }
|
||||
a:visited { color:#4E5368; }
|
|
@ -0,0 +1,42 @@
|
|||
/* --------------------------------------------------------------
|
||||
|
||||
H6e Minimal Comments
|
||||
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
/* Sub Sections
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.h6e-comment-section {
|
||||
margin-top:2em;
|
||||
padding:2em 0 0;
|
||||
background:url(img/h-spacer.gif) top left repeat-x;
|
||||
}
|
||||
|
||||
.h6e-comment-section-title {
|
||||
font-size:1.8em;
|
||||
letter-spacing:-0.075em;
|
||||
font-weight:normal;
|
||||
color:#777b88;
|
||||
}
|
||||
|
||||
.h6e-comment-section textarea {
|
||||
width:95%;
|
||||
}
|
||||
|
||||
.h6e-comment-list dt {
|
||||
font-family:Tahoma, Arial, sans-serif;
|
||||
font-weight:normal;
|
||||
padding-left:8px;
|
||||
background:url(img/post-info.gif) left center no-repeat;
|
||||
margin:1em 0 0.5em;
|
||||
}
|
||||
|
||||
.h6e-comment-list dt .avatar {
|
||||
vertical-align:-20%;
|
||||
}
|
||||
|
||||
.h6e-comment-list dd {
|
||||
margin:2em 0 1em 2.5em;
|
||||
margin-top:2em;
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
.loginlink {
|
||||
float:right;
|
||||
}
|
||||
.loginlink a {
|
||||
color:#999;
|
||||
}
|
||||
|
||||
/* Table of Contents */
|
||||
#dw__toc {
|
||||
clear: right;
|
||||
float: right;
|
||||
color: #999;
|
||||
font-size: 80%;
|
||||
}
|
||||
#dw__toc a {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.h6e-page-title {
|
||||
}
|
||||
.h6e-page-title.large {
|
||||
text-align: center;
|
||||
padding-right: 2.5em;
|
||||
}
|
||||
.h6e-page-title.large #dokuwiki__top {
|
||||
/*color:#4E5368;*/
|
||||
}
|
||||
.h6e-page-title.small {
|
||||
float: right;
|
||||
display: inline-block;
|
||||
}
|
||||
.h6e-page-title.small #dokuwiki__top {
|
||||
font-size: 80%;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.h6e-page-title .large_logo {
|
||||
margin-bottom:-0.7em;
|
||||
}
|
||||
.h6e-page-title .small_logo {
|
||||
margin-bottom: -0.4em;
|
||||
margin-top: 0.3em;
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
/* --------------------------------------------------------------
|
||||
|
||||
H6e Minimal Forms
|
||||
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
/* Inputs
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
input[type="text"], input[type="password"], input.text, input.button, textarea {
|
||||
padding:0.2em 0.5em;
|
||||
margin:0.5em 0;
|
||||
border:1px solid #bbb;
|
||||
font-size:1.1em;
|
||||
}
|
||||
|
||||
input[type="text"]:focus, input[type="password"]:focus, input.text:focus, textarea:focus {
|
||||
border:1px solid #666;
|
||||
}
|
||||
|
||||
input.button {
|
||||
border-color:#4E5368;
|
||||
background:#4E5368;
|
||||
color:white;
|
||||
border:0;
|
||||
}
|
|
@ -0,0 +1,181 @@
|
|||
/* --------------------------------------------------------------
|
||||
|
||||
H6e Minimal Layout
|
||||
* handle header, footer & main content
|
||||
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
/* Header
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.h6e-header {
|
||||
background:#464646;
|
||||
padding:1em 2em;
|
||||
border-bottom:2px groove #CCCCCC;
|
||||
padding:1em 1.5em;
|
||||
}
|
||||
|
||||
.h6e-header h1 {
|
||||
margin:0;
|
||||
font-family:Georgia,"Times New Roman",Times,serif;
|
||||
font-size:2.2em;
|
||||
}
|
||||
|
||||
.h6e-header h1,
|
||||
.h6e-header h1 a,
|
||||
.h6e-header h1 a:visited { color:white; text-decoration:none; }
|
||||
.h6e-header h1 a:hover { text-decoration:underline; }
|
||||
|
||||
/* Main & Extra Content
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.h6e-main-content, .h6e-extra-content {
|
||||
width:50em;
|
||||
margin:0 auto;
|
||||
padding:1.5em 2.5em;
|
||||
overflow:hidden;
|
||||
font-size:1.2em;
|
||||
}
|
||||
|
||||
/* Page Title
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.h6e-page-title {
|
||||
color:black;
|
||||
font-size:2.5em;;
|
||||
letter-spacing:-0.05em;
|
||||
}
|
||||
|
||||
.h6e-page-title a { color:black; text-decoration:none; }
|
||||
.h6e-page-title a:hover { text-decoration:underline; }
|
||||
.h6e-page-title a:visited { color:black; }
|
||||
|
||||
/* Footer
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.h6e-footer {
|
||||
background:#535353;
|
||||
padding:1em 2em;
|
||||
}
|
||||
|
||||
.h6e-footer p {
|
||||
margin-bottom:0;
|
||||
font-size:1.4em;
|
||||
font-weight:bold;
|
||||
color:#C4C4C4;
|
||||
}
|
||||
|
||||
.h6e-footer a { color:#C4C4C4; }
|
||||
|
||||
/* Extra Content
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.h6e-extra {
|
||||
background:#F8F9FC url(img/background-ds.gif) top left repeat-x;
|
||||
}
|
||||
|
||||
.h6e-extra-content {
|
||||
background:url(img/v-spacer.gif) 50% 50% repeat-y;
|
||||
margin-top:1.5em;
|
||||
font-family:Tahoma, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.h6e-extra-primary, .h6e-extra-secondary {
|
||||
width:45%;
|
||||
font-size:0.9em;
|
||||
}
|
||||
|
||||
.h6e-extra-primary { float:right; }
|
||||
.h6e-extra-secondary { float:left; }
|
||||
|
||||
.h6e-extra-widget {
|
||||
margin:2.5em 0;
|
||||
font-size:1.2em;
|
||||
}
|
||||
|
||||
.h6e-extra-title {
|
||||
color:#4E5368;
|
||||
font-size:1.6em;
|
||||
margin-bottom:0.75em;
|
||||
text-transform:capitalize;
|
||||
letter-spacing:-0.075em;
|
||||
}
|
||||
|
||||
.h6e-extra-widget ul {
|
||||
margin-left:0;
|
||||
list-style-type:none;
|
||||
}
|
||||
|
||||
.h6e-extra-widget li {
|
||||
margin:0.2em 0;
|
||||
}
|
||||
|
||||
/* Mini Footer
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.h6e-mini-footer {
|
||||
clear:left;
|
||||
}
|
||||
|
||||
.h6e-mini-footer p {
|
||||
width:40%;
|
||||
float:right;
|
||||
margin:2em 0;
|
||||
padding:2%;
|
||||
padding-left:6%;
|
||||
color:white;
|
||||
background:#4E5368 url(img/puce-mini-footer.gif) 5% 50% no-repeat;
|
||||
font-size:0.9em;
|
||||
}
|
||||
|
||||
.h6e-mini-footer p a { color:white; }
|
||||
|
||||
/* Post Info
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.h6e-post-info {
|
||||
background:transparent url(img/post-info.gif) no-repeat scroll left center;
|
||||
margin:0.25em 0 2em;
|
||||
padding-left:8px;
|
||||
}
|
||||
|
||||
/* Post Content
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.h6e-post-content blockquote {
|
||||
margin-left:1em;
|
||||
border-left:0.5em solid #ccc;
|
||||
padding-left:1em;
|
||||
}
|
||||
|
||||
.h6e-post-content blockquote p {
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
/* List
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.h6e-list {
|
||||
margin-left:8px;
|
||||
line-height:1.2em;
|
||||
}
|
||||
|
||||
.h6e-list {
|
||||
list-style-type:none;
|
||||
}
|
||||
|
||||
.h6e-list li {
|
||||
padding-left:1em;
|
||||
background:url(img/cross-blue.gif) 0 0.5em no-repeat;
|
||||
margin-bottom:0.25em;
|
||||
}
|
||||
|
||||
/* Simple Footer
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.h6e-simple-footer {
|
||||
border-top:1px solid #CCCCCC;
|
||||
margin-top:2em;
|
||||
padding-top:0.5em;
|
||||
padding-bottom:2em;
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
/* --------------------------------------------------------------
|
||||
|
||||
H6e Minimal Framework
|
||||
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
@import "h6e-reset.css";
|
||||
|
||||
@import "h6e-typography.css";
|
||||
|
||||
@import "h6e-colors.css";
|
||||
|
||||
@import "h6e-forms.css";
|
||||
|
||||
@import "h6e-layout.css";
|
||||
|
||||
@import "h6e-pagination.css";
|
||||
|
||||
@import "h6e-comments.css";
|
||||
|
||||
@import "h6e-custom.css";
|
|
@ -0,0 +1,19 @@
|
|||
.h6e-page {
|
||||
text-decoration:none;
|
||||
font-weight:bold;
|
||||
float:left;
|
||||
background:white;
|
||||
display:block;
|
||||
text-align:center;
|
||||
padding:0.5em;
|
||||
border:1px solid #999;
|
||||
line-height:1.2em;
|
||||
}
|
||||
|
||||
.h6e-page.next {
|
||||
float:right;
|
||||
}
|
||||
|
||||
.h6e-page:hover {
|
||||
background:#eee;
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
/* --------------------------------------------------------------
|
||||
|
||||
reset.css
|
||||
* Resets default browser CSS.
|
||||
* this code is from the BluePrint CSS framework
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
html, body, div, span, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, code,
|
||||
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td, hr {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-weight: inherit;
|
||||
font-style: inherit;
|
||||
font-size: 100%;
|
||||
font-family: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
body {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* Tables still need 'cellspacing="0"' in the markup. */
|
||||
table { border-collapse: separate; border-spacing: 0; }
|
||||
caption, th, td { text-align: left; font-weight: normal; }
|
||||
table, td, th { vertical-align: middle; }
|
||||
|
||||
/* Remove possible quote marks (") from <q>, <blockquote>. */
|
||||
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
|
||||
blockquote, q { quotes: "" ""; }
|
||||
|
||||
/* Remove annoying border on linked images. */
|
||||
a img { border: none; }
|
||||
|
||||
hr { border-top:1px solid black; }
|
|
@ -0,0 +1,93 @@
|
|||
/* --------------------------------------------------------------
|
||||
|
||||
typography.css
|
||||
* Sets up some sensible default typography.
|
||||
* 90% of this code is from the BluePrint CSS framework
|
||||
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
/* Default font settings.
|
||||
The font-size percentage is of 16px. */
|
||||
body {
|
||||
font-size: 75%;
|
||||
color: #222;
|
||||
background: #fff;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
|
||||
/* Headings
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
h1,h2,h3,h4,h5,h6 { font-weight: normal; }
|
||||
|
||||
h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
|
||||
h2 { font-size: 2em; margin-bottom: 0.75em; }
|
||||
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
|
||||
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
|
||||
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
|
||||
h6 { font-size: 1em; font-weight: bold; }
|
||||
|
||||
h1 img, h2 img, h3 img,
|
||||
h4 img, h5 img, h6 img {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/* Text elements
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
p { margin: 1em 0; }
|
||||
p img.left { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
|
||||
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }
|
||||
|
||||
a:focus,
|
||||
a:hover { color: #000; }
|
||||
a { color: #009; text-decoration: underline; }
|
||||
a:visited { color: purple; }
|
||||
|
||||
blockquote { margin: 1.5em; color: #666; font-style: italic; }
|
||||
strong { font-weight: bold; }
|
||||
em,dfn { font-style: italic; }
|
||||
dfn { font-weight: bold; }
|
||||
sup, sub { line-height: 0; }
|
||||
|
||||
abbr,
|
||||
acronym { border-bottom: 1px dotted #666; }
|
||||
address { margin: 0 0 1.5em; font-style: italic; }
|
||||
del { color:#666; }
|
||||
|
||||
pre { margin: 1.5em 0; white-space: pre; }
|
||||
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }
|
||||
|
||||
|
||||
/* Lists
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
li ul,
|
||||
li ol { margin:0.25em 1.5em; }
|
||||
ul, ol { margin:1em 1.5em; }
|
||||
|
||||
ul { list-style-type: disc; }
|
||||
ol { list-style-type: decimal; }
|
||||
|
||||
dl { margin: 0 0 1.5em 0; }
|
||||
dl dt { font-weight: bold; }
|
||||
dd { margin-left: 1.5em;}
|
||||
|
||||
|
||||
/* Tables
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
table { margin-bottom: 1.4em; width:100%; }
|
||||
th { font-weight: bold; }
|
||||
thead th { background: #c3d9ff; }
|
||||
th,td,caption { padding: 4px 10px 4px 5px; }
|
||||
tr.even td { background: #e5ecf9; }
|
||||
tfoot { font-style: italic; }
|
||||
caption { background: #eee; }
|
||||
|
||||
/* Extra
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
hr { border-color:#CCCCCC; padding-top:1em; margin-top:2em; }
|
After Width: | Height: | Size: 91 B |
After Width: | Height: | Size: 49 B |
After Width: | Height: | Size: 43 B |
After Width: | Height: | Size: 45 B |
After Width: | Height: | Size: 56 B |
After Width: | Height: | Size: 49 B |
After Width: | Height: | Size: 67 B |
After Width: | Height: | Size: 43 B |
|
@ -0,0 +1,104 @@
|
|||
<?php
|
||||
|
||||
if (!defined('DOKU_INC')) die();
|
||||
|
||||
if (!defined('H6E_CSS')) {
|
||||
if (file_exists(dirname(__FILE__) . '/minetest2')) {
|
||||
define('H6E_CSS', DOKU_URL . 'lib/tpl/minimal');
|
||||
} else {
|
||||
define('H6E_CSS', 'http://h6e.net/css');
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
|
||||
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
|
||||
<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>
|
||||
|
||||
<link rel="stylesheet" media="screen" href="<?php echo H6E_CSS ?>/minetest2/minetest2.css" />
|
||||
|
||||
<?php tpl_metaheaders()?>
|
||||
|
||||
<style type="text/css">
|
||||
.h6e-main-content {
|
||||
width:<?php echo tpl_getConf('width') ?>;
|
||||
padding-left:2.5em;
|
||||
padding-right:2.5em;
|
||||
}
|
||||
.h6e-post-content {
|
||||
font-size:<?php echo tpl_getConf('font-size') ?>;
|
||||
}
|
||||
.h6e-entry-title, .h6e-entry-title a, .h6e-entry-title a:visited, .do-page h1, .content-page h2 {
|
||||
color:<?php echo tpl_getConf('title-color') ?>;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="dokuwiki">
|
||||
|
||||
<?php include dirname(__FILE__) . '/top.php' ?>
|
||||
|
||||
<div class="content-page h6e-main-content">
|
||||
|
||||
<?php if($ERROR){ print $ERROR; } else { ?>
|
||||
|
||||
<h2 class="h6e-entry-title"><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?></h2>
|
||||
|
||||
<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(array('IPTC.Caption',
|
||||
'EXIF.UserComment',
|
||||
'EXIF.TIFFImageDescription',
|
||||
'EXIF.TIFFUserComment')))); ?>
|
||||
</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'));
|
||||
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>
|
||||
|
|
@ -0,0 +1,219 @@
|
|||
/* Main */
|
||||
|
||||
pre, code, tt {
|
||||
font-family:monospace;
|
||||
}
|
||||
|
||||
a.wikilink2, a.wikilink2:visited {
|
||||
color:#CC7286;
|
||||
border-bottom:1px dashed #CC7286;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
.h6e-entry-title a { text-decoration:none; }
|
||||
.h6e-entry-title a:hover { text-decoration:underline; }
|
||||
|
||||
/* make the entry-content bigger */
|
||||
.h6e-post-content {
|
||||
font-size:1.1em;
|
||||
line-height:1.2em;
|
||||
}
|
||||
|
||||
.h6e-page-title {
|
||||
margin-bottom:1em;
|
||||
}
|
||||
|
||||
.user-info {
|
||||
text-align:right;
|
||||
font-size:1.2em;
|
||||
padding:0.5em 1em;
|
||||
position:absolute;
|
||||
top:0;
|
||||
right:0;
|
||||
}
|
||||
|
||||
.user-info a {
|
||||
padding-left:0.25em;
|
||||
}
|
||||
|
||||
.actions .a {
|
||||
float:right;
|
||||
}
|
||||
|
||||
.pageinfo {
|
||||
color:#999;
|
||||
padding-top:2em;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
input[type="text"], input[type="password"], input.text, input.button, textarea {
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
thead th {
|
||||
background-color:transparent;
|
||||
}
|
||||
|
||||
.do-page .h6e-entry-title, .do-page .breadcrumbs,
|
||||
.do-page .pageinfo, .do-page .actions-page { display:none; }
|
||||
|
||||
legend { display:none; }
|
||||
|
||||
div.info, div.error, div.success, div.notify {
|
||||
padding:1em 3em;
|
||||
background-position:0.5% 50% ;
|
||||
font-size:1.1em;
|
||||
}
|
||||
|
||||
div.notify { border-color:#FFD324; }
|
||||
|
||||
/* DokuWiki */
|
||||
|
||||
div.dokuwiki form, div.no {
|
||||
display:inline;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
.breadcrumbs {
|
||||
margin-bottom:2em;
|
||||
}
|
||||
|
||||
.footnotes {
|
||||
margin-top:2em;
|
||||
}
|
||||
|
||||
.fn {
|
||||
font-size:0.9em;
|
||||
}
|
||||
|
||||
#toc__header {
|
||||
margin-bottom:1em;
|
||||
}
|
||||
|
||||
#wikipage {
|
||||
min-height:10em;
|
||||
}
|
||||
|
||||
.secedit {
|
||||
margin-bottom:2em;
|
||||
}
|
||||
|
||||
.secedit input.button {
|
||||
font-size:0.65em;
|
||||
float:right;
|
||||
}
|
||||
|
||||
button.toolbutton {
|
||||
border:1px solid #4E5368;
|
||||
background:white;
|
||||
margin-left:0;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
#wikipage h1 a,
|
||||
#wikipage h2 a,
|
||||
#wikipage h3 a,
|
||||
#wikipage h4 a,
|
||||
#wikipage h5 a,
|
||||
#wikipage h6 a {
|
||||
background-color:inherit;
|
||||
color:inherit;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
#wikipage h1 { font-size:1.6em; margin-bottom:1em; margin-top:1em; }
|
||||
#wikipage h2 { font-size:1.6em; margin-bottom:1em; margin-top:1em; }
|
||||
|
||||
#wiki__text {
|
||||
width:98%;
|
||||
font-size:1.1em;
|
||||
font-family:Monospace;
|
||||
}
|
||||
|
||||
#qsearch__in {
|
||||
margin-right:0.5em;
|
||||
}
|
||||
|
||||
#config__manager fieldset {
|
||||
color:#4E5368;
|
||||
font-size:0.9em;
|
||||
border:1px solid #4E5368;
|
||||
background-color:#F8F9FC;
|
||||
margin:1em 0 2em;
|
||||
}
|
||||
|
||||
#config__manager tr.default .input,
|
||||
#config__manager tr.default input,
|
||||
#config__manager tr.default textarea,
|
||||
#config__manager tr.default select,
|
||||
#config__manager .selectiondefault {
|
||||
background:transparent;
|
||||
}
|
||||
|
||||
#plugin__manager .plugins fieldset.protected {
|
||||
background:transparent;
|
||||
}
|
||||
|
||||
#plugin__manager .plugins .button {
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
#user__manager .edit {
|
||||
width:100px;
|
||||
}
|
||||
|
||||
#user__manager tr.disabled {
|
||||
background:none;
|
||||
}
|
||||
|
||||
#user__manager input[type="image"] {
|
||||
background:none;
|
||||
}
|
||||
|
||||
/* Medias */
|
||||
|
||||
div.dokuwiki div.img_big {
|
||||
float:left;
|
||||
margin-right:2em;
|
||||
}
|
||||
|
||||
#media__manager #media__opts label {
|
||||
padding-left:2px;
|
||||
padding-top:2px;
|
||||
}
|
||||
|
||||
#media__manager h2 {
|
||||
padding:0.5em;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
#media__manager #media__content div.upload {
|
||||
font-size:inherit;
|
||||
padding:0;
|
||||
margin-bottom:0.5em;
|
||||
}
|
||||
|
||||
/* Link */
|
||||
|
||||
.h6e-main-content #link__wiz {
|
||||
border-color:#4E5368;
|
||||
}
|
||||
|
||||
.h6e-main-content #link__wiz_header {
|
||||
background:none;
|
||||
}
|
||||
|
||||
.h6e-main-content #link__wiz_result {
|
||||
border-color:#BBBBBB;
|
||||
}
|
||||
|
||||
/* Admin */
|
||||
|
||||
.dokuwiki .h6e-main-content ul.admin_tasks li div.li {
|
||||
font-weight:normal;
|
||||
}
|
||||
|
||||
.dokuwiki .h6e-main-content ul.admin_tasks {
|
||||
margin-left:0;
|
||||
}
|
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 21 KiB |
|
@ -0,0 +1,152 @@
|
|||
<?php
|
||||
|
||||
if (!defined('DOKU_INC')) die();
|
||||
|
||||
if (!defined('H6E_CSS')) {
|
||||
if (file_exists(dirname(__FILE__) . '/css')) {
|
||||
define('H6E_CSS', DOKU_URL . 'lib/tpl/minetest2');
|
||||
} else {
|
||||
//define('H6E_CSS', 'http://h6e.net/css');
|
||||
die("Stylesheets missing");
|
||||
}
|
||||
}
|
||||
|
||||
if (empty($_REQUEST['do']) || in_array($_REQUEST['do'], array('revisions', 'show', 'edit'))) {
|
||||
$page_type = 'content-page';
|
||||
} else {
|
||||
$page_type = 'do-page';
|
||||
}
|
||||
|
||||
$logged_in = !empty($_SERVER['REMOTE_USER']);
|
||||
|
||||
$htmltitle = strip_tags($conf['title']);
|
||||
if ($ID != "start"){$htmltitle = ucfirst($ID) . " - " . $htmltitle;}
|
||||
$htmltitle = str_replace("_", " ", $htmltitle);
|
||||
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
|
||||
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title><?php echo $htmltitle; ?></title>
|
||||
|
||||
<link rel="stylesheet" media="screen" href="<?php echo H6E_CSS ?>/css/h6e-minimal.css" />
|
||||
|
||||
<?php tpl_metaheaders() ?>
|
||||
|
||||
<style type="text/css">
|
||||
<?php if (tpl_getConf('width') != 'auto') : ?>
|
||||
.h6e-main-content {
|
||||
width:<?php echo tpl_getConf('width') ?>;
|
||||
padding-left:2.5em;
|
||||
padding-right:2.5em;
|
||||
}
|
||||
<?php endif ?>
|
||||
.h6e-post-content {
|
||||
font-size:<?php echo tpl_getConf('font-size') ?>;
|
||||
}
|
||||
.h6e-entry-title, .h6e-entry-title a, .h6e-entry-title a:visited, .do-page h1, .content-page h2 {
|
||||
color:<?php echo tpl_getConf('title-color') ?>;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="dokuwiki">
|
||||
|
||||
<?php include dirname(__FILE__) . '/top.php' ?>
|
||||
|
||||
<div class="<?php echo $page_type ?> h6e-main-content">
|
||||
|
||||
<?php if($ID === "start"){ ?>
|
||||
<h1 class="h6e-page-title large">
|
||||
<img src="<?php echo H6E_CSS ?>/images/minetest-icon-90.png" class="large_logo" />
|
||||
<?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"') ?>
|
||||
</h1>
|
||||
<?php } else { ?>
|
||||
<h1 class="h6e-page-title small">
|
||||
<?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"') ?>
|
||||
<img src="<?php echo H6E_CSS ?>/images/minetest-icon-60.png" class="small_logo" />
|
||||
</h1>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (!tpl_getConf('hide-entry-title')){?>
|
||||
<h2 class="h6e-entry-title">
|
||||
<?php
|
||||
$tab_title = ucfirst(hsc($ID));
|
||||
$tab_title = str_replace("_", " ", $tab_title);
|
||||
if ($ID == 'start') {$tab_title = "Minetest";}
|
||||
if ($ID == 'irc') {$tab_title = strtoupper($ID);}
|
||||
if ($ID == 'texturepacks') {$tab_title = "Texture Packs";}
|
||||
tpl_pagetitle($tab_title)
|
||||
?>
|
||||
</h2>
|
||||
<?php }?>
|
||||
|
||||
<?php if($conf['breadcrumbs']){?>
|
||||
<div class="breadcrumbs">
|
||||
<?php tpl_breadcrumbs() ?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if($conf['youarehere']){?>
|
||||
<div class="breadcrumbs">
|
||||
<?php tpl_youarehere() ?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<div id="wikipage" class="h6e-post-content">
|
||||
<?php tpl_content()?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if($logged_in){
|
||||
?>
|
||||
<div class="pageinfo">
|
||||
<?php tpl_pageinfo()?>
|
||||
</div>
|
||||
|
||||
<div class="actions actions-page">
|
||||
<?php tpl_button('edit')?>
|
||||
<?php tpl_button('history')?>
|
||||
<?php tpl_button('revert')?>
|
||||
<?php tpl_button('backlink')?>
|
||||
</div>
|
||||
<?php
|
||||
} // $logged_in
|
||||
?>
|
||||
|
||||
<div class="h6e-simple-footer">
|
||||
|
||||
<?php
|
||||
if($logged_in){
|
||||
?>
|
||||
<div class="actions actions-site">
|
||||
<div class="a">
|
||||
<?php tpl_button('recent')?>
|
||||
<?php tpl_button('index')?>
|
||||
</div>
|
||||
<div class="b">
|
||||
<?php tpl_searchform() ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
} // $logged_in
|
||||
?>
|
||||
<p class="loginlink"><?php tpl_actionlink('login'); ?></p>
|
||||
<p><?php echo tpl_getConf('footer-text') ?></p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -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;
|
||||
}
|
|
@ -0,0 +1,59 @@
|
|||
<?php
|
||||
|
||||
if (!defined('H6E_CSS')) {
|
||||
if (file_exists(dirname(__FILE__) . '/minetest2')) {
|
||||
define('H6E_CSS', DOKU_URL . 'lib/tpl/minimal');
|
||||
} else {
|
||||
define('H6E_CSS', 'http://h6e.net/css');
|
||||
}
|
||||
}
|
||||
|
||||
?><!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($lang['mediaselect']) ?> - <?php echo strip_tags($conf['title']) ?></title>
|
||||
|
||||
<link rel="stylesheet" media="screen" href="<?php echo H6E_CSS ?>/minetest2/minetest2.css" />
|
||||
|
||||
<?php tpl_metaheaders()?>
|
||||
|
||||
<style type="text/css">
|
||||
.h6e-main-content {
|
||||
width:<?php echo tpl_getConf('width') ?>;
|
||||
padding-left:2.5em;
|
||||
padding-right:2.5em;
|
||||
}
|
||||
.h6e-post-content {
|
||||
font-size:<?php echo tpl_getConf('font-size') ?>;
|
||||
}
|
||||
.h6e-entry-title, .h6e-entry-title a, .h6e-entry-title a:visited, .do-page h1, .content-page h2 {
|
||||
color:<?php echo tpl_getConf('title-color') ?>;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="media__manager" class="dokuwiki h6e-main-content">
|
||||
|
||||
<div id="media__left">
|
||||
|
||||
<?php html_msgarea()?>
|
||||
|
||||
<h2 class="h6e-entry-title"><?php echo hsc($lang['mediaselect'])?></h2>
|
||||
|
||||
<?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>
|
After Width: | Height: | Size: 38 KiB |
|
@ -0,0 +1,49 @@
|
|||
; 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]
|
||||
h6e.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"
|
|
@ -0,0 +1,35 @@
|
|||
<?php html_msgarea() ?>
|
||||
|
||||
<?php
|
||||
if (tpl_getConf('topbar') == 'never') {
|
||||
$top_bar = false;
|
||||
} else if (tpl_getConf('topbar') == 'connected' && empty($_SERVER['REMOTE_USER'])) {
|
||||
$top_bar = false;
|
||||
} else {
|
||||
$top_bar = true;
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if (class_exists('Ld_Ui') && method_exists('Ld_Ui', 'top_bar') && $top_bar) : ?>
|
||||
<?php
|
||||
$loginUrl = Ld_Ui::getAdminUrl(array(
|
||||
'module' => 'default', 'controller' => 'auth', 'action' => 'login',
|
||||
));
|
||||
if (empty($loginUrl)) {
|
||||
$loginUrl = wl($ID,'do=login&sectok='.getSecurityToken());
|
||||
}
|
||||
if (empty($logoutUrl)) {
|
||||
$logoutUrl = wl($ID,'do=logout&sectok='.getSecurityToken());
|
||||
}
|
||||
?>
|
||||
<?php Ld_Ui::top_bar(array('loginUrl' => $loginUrl, 'logoutUrl' => $logoutUrl)); ?>
|
||||
<?php else : ?>
|
||||
<div class="user-info">
|
||||
<?php tpl_userinfo()?>
|
||||
<?php tpl_actionlink('subscription') ?>
|
||||
<?php tpl_actionlink('profile') ?>
|
||||
<?php tpl_actionlink('admin') ?>
|
||||
<?php /* Don't show login/logout at top for regular visitors */
|
||||
if($logged_in) tpl_actionlink('login'); ?>
|
||||
</div>
|
||||
<?php endif ?>
|