Permalink
Browse files

Update backpack template to Dokuwiki version 2009-02-14b

Initially, this was posted as a patch on this page:

http://www.dokuwiki.org/template:backpack
  • Loading branch information...
1 parent 544eb72 commit e27bf5f803575a6e3dd0baf8ab91ba93fb97c0ad @wsmith1 committed Jun 5, 2011
Showing with 73 additions and 75 deletions.
  1. +0 −17 UWEB.css
  2. +37 −4 design.css
  3. +3 −6 detail.php
  4. +11 −35 footer.html
  5. +6 −3 main.php
  6. +7 −2 media.css
  7. +1 −1 mediamanager.php
  8. +8 −5 print.css
  9. +0 −2 style.ini
View
@@ -1,17 +0,0 @@
-/**
- * This stylesheet adds the Universal Wiki Edit Button log to the edit page button
- *
- * For more info about this Wiki community project visit http://www.aboutus.org/uweb
-
-
-html>body div.dokuwiki form.btn_edit input.button {
- padding: 0.125em 0.4em 0.125em 2em;
- background: __background__ url(images/UWEB.png) no-repeat 0.2em 0.2em;
-}
-
-/* nice alphatransparency background except for IE <7 */
-html>body div.dokuwiki form.btn_edit input.button {
- padding: 0.125em 0.4em 0.125em 2em;
- background: __background__ url(images/UWEBshadow.png) no-repeat left bottom;
-}
-
View
@@ -2,7 +2,7 @@
* Design elements for default Template
*
* @author Andreas Gohr <andi@splitbrain.org>
- * @author Anika Henke <henke@cosmocode.de>
+ * @author Anika Henke <anika@selfthinker.org>
*/
/* -------------- general elements --------------- */
@@ -175,6 +175,17 @@ div.dokuwiki div#draft__status {
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,
@@ -416,19 +427,27 @@ div.dokuwiki ul {
line-height: 1.5em;
list-style-type: disc;
list-style-image: none;
- margin: 0 0 0.5em 1.5em;
+ margin: 0 0 1em 3.5em;
color: __text__;
}
/* ordered lists */
div.dokuwiki ol {
line-height: 1.5em;
list-style-image: none;
- margin: 0 0 0.5em 1.5em;
+ margin: 0 0 1em 3.5em;
color: __text__;
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__;
@@ -588,11 +607,25 @@ div.dokuwiki td.diff-blockheader {
}
div.dokuwiki table.diff th {
border-bottom: 1px solid __border__;
- font-size: 120%;
+ 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%;
View
@@ -7,7 +7,7 @@
* 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
+ * @link http://dokuwiki.org/templates
* @author Andreas Gohr <andi@splitbrain.org>
*/
@@ -45,10 +45,7 @@
<div class="img_detail">
<p class="img_caption">
- <?php print nl2br(hsc(tpl_img_getTag(array('IPTC.Caption',
- 'EXIF.UserComment',
- 'EXIF.TIFFImageDescription',
- 'EXIF.TIFFUserComment')))); ?>
+ <?php print nl2br(hsc(tpl_img_getTag('simple.title'))); ?>
</p>
<p>&larr; <?php echo $lang['img_backto']?> <?php tpl_pagelink($ID)?></p>
@@ -76,7 +73,7 @@
$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'));
+ $t = tpl_img_getTag(array('IPTC.Keywords','IPTC.Category','xmp.dc:subject'));
if($t) print '<dt>'.$lang['img_keywords'].':</dt><dd>'.hsc($t).'</dd>';
?>
View
@@ -10,56 +10,32 @@
?>
<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>
- <a <?php echo $tgt?> href="http://creativecommons.org/licenses/by-nc-sa/2.0/" rel="license" title="Creative Commons License"><img src="<?php echo DOKU_TPL; ?>images/button-cc.gif" width="80" height="15" alt="Creative Commons License" /></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://wiki.splitbrain.org/wiki: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.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://wiki.splitbrain.org/wiki:dokuwiki" title="Driven by DokuWiki"><img src="<?php echo DOKU_TPL; ?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a>
-
-
-<?php
-/*
- * The following stuff in HTML comments declares a Creative Commons
- * License - remove this if you don't want this license for your Wiki
- */
-?>
-
-<!--
-
-<rdf:RDF xmlns="http://web.resource.org/cc/"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
-<Work rdf:about="">
- <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
- <license rdf:resource="http://creativecommons.org/licenses/by-nc-sa/2.0/" />
-</Work>
-
-<License rdf:about="http://creativecommons.org/licenses/by-nc-sa/2.0/">
- <permits rdf:resource="http://web.resource.org/cc/Reproduction" />
- <permits rdf:resource="http://web.resource.org/cc/Distribution" />
- <requires rdf:resource="http://web.resource.org/cc/Notice" />
- <requires rdf:resource="http://web.resource.org/cc/Attribution" />
- <prohibits rdf:resource="http://web.resource.org/cc/CommercialUse" />
- <permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
- <requires rdf:resource="http://web.resource.org/cc/ShareAlike" />
-</License>
-
-</rdf:RDF>
-
--->
+ <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') ?>
View
@@ -8,7 +8,7 @@
* 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
+ * @link http://dokuwiki.org/templates
* @author Andreas Gohr <andi@splitbrain.org>
*/
@@ -46,7 +46,7 @@
[[<?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="[ALT+H]"')?>
+ <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?>
</div>
<div class="clearer"></div>
@@ -115,7 +115,8 @@
<?php tpl_button('history')?>
</div>
<div class="bar-right" id="bar__bottomright">
- <?php tpl_button('subscription')?>
+ <?php tpl_button('subscribe')?>
+ <?php tpl_button('subscribens')?>
<?php tpl_button('admin')?>
<?php tpl_button('profile')?>
<?php tpl_button('login')?>
@@ -136,6 +137,8 @@
+ <?php tpl_license(false);?>
+
</div>
<div id="copy"><div id="copywrapper">
&copy;2008 Another cool website by <a href="http://80kv.com">80KV</a>
View
@@ -42,6 +42,7 @@
#media__tree ul {
list-style-type: none;
list-style-image: none;
+ margin-left: 1.5em;
}
#media__tree li {
@@ -64,6 +65,8 @@ it's dirty, so any "real" fixes are welcome */
#media__opts input {
float: left;
+ display: block;
+ margin-top: 4px;
position: absolute;
}
*+html #media__opts input,
@@ -74,7 +77,8 @@ it's dirty, so any "real" fixes are welcome */
#media__opts label {
display: block;
float: left;
- margin-left: 30px;
+ margin-left: 20px;
+ margin-bottom: 4px;
}
*+html #media__opts label,
* html #media__opts label {
@@ -137,7 +141,8 @@ it's dirty, so any "real" fixes are welcome */
padding: 0 0.5em 0.5em 0.5em;
}
-#media__content form#dw__upload {
+#media__content form#dw__upload,
+#media__content div#dw__flashupload {
display: block;
border-bottom: solid 1px __border__;
padding: 0 0.5em 1em 0.5em;
View
@@ -9,7 +9,7 @@
* 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
+ * @link http://dokuwiki.org/templates
* @author Andreas Gohr <andi@splitbrain.org>
*/
?>
View
@@ -114,20 +114,23 @@ img.mediaright {
ul {
line-height: 1.5em;
list-style-type: square;
- margin: 0 0 0.5em 1.5em;
+ margin: 0 0 1em 3.5em;
padding: 0;
-
}
/* ordered lists */
ol {
line-height: 1.5em;
- margin: 0 0 0.5em 2.5em;
+ margin: 0 0 1em 3.5em;
padding: 0;
font-weight: normal;
}
-ol ol {
- margin: 0 0 0.5em 1.5em;
+
+div.dokuwiki li ul {
+ margin-bottom: 0;
+}
+div.dokuwiki li ol {
+ margin-bottom: 0;
}
div.dokuwiki ol {list-style-type: decimal}
View
@@ -12,8 +12,6 @@ style.css = screen
media.css = screen
-UWEB.css = screen
-
rtl.css = rtl
print.css = print

0 comments on commit e27bf5f

Please sign in to comment.