[Trad] [svn:pgfr] r1371 - in materials/themes/dokuwiki: . makemyday makemyday/images

admin at listes.postgresql.fr admin at listes.postgresql.fr
Sam 15 Aou 18:16:33 CEST 2009


Author: daamien
Date: 2009-08-15 18:16:33 +0200 (Sat, 15 Aug 2009)
New Revision: 1371

Added:
   materials/themes/dokuwiki/makemyday/
   materials/themes/dokuwiki/makemyday/README
   materials/themes/dokuwiki/makemyday/UWEB.css
   materials/themes/dokuwiki/makemyday/design.css
   materials/themes/dokuwiki/makemyday/detail.php
   materials/themes/dokuwiki/makemyday/footer.html
   materials/themes/dokuwiki/makemyday/images/
   materials/themes/dokuwiki/makemyday/images/UWEB.png
   materials/themes/dokuwiki/makemyday/images/UWEBshadow.png
   materials/themes/dokuwiki/makemyday/images/bullet.gif
   materials/themes/dokuwiki/makemyday/images/button-cc.gif
   materials/themes/dokuwiki/makemyday/images/button-css.png
   materials/themes/dokuwiki/makemyday/images/button-donate.gif
   materials/themes/dokuwiki/makemyday/images/button-dw.png
   materials/themes/dokuwiki/makemyday/images/button-php.gif
   materials/themes/dokuwiki/makemyday/images/button-rss.png
   materials/themes/dokuwiki/makemyday/images/button-xhtml.png
   materials/themes/dokuwiki/makemyday/images/buttonshadow.png
   materials/themes/dokuwiki/makemyday/images/closed.gif
   materials/themes/dokuwiki/makemyday/images/favicon.ico
   materials/themes/dokuwiki/makemyday/images/favicon.ico.orig
   materials/themes/dokuwiki/makemyday/images/hdr_fill.png
   materials/themes/dokuwiki/makemyday/images/hdr_left.png
   materials/themes/dokuwiki/makemyday/images/hdr_right.png
   materials/themes/dokuwiki/makemyday/images/inputshadow.png
   materials/themes/dokuwiki/makemyday/images/link_icon.gif
   materials/themes/dokuwiki/makemyday/images/mail_icon.gif
   materials/themes/dokuwiki/makemyday/images/nav_lft.png
   materials/themes/dokuwiki/makemyday/images/nav_rgt.png
   materials/themes/dokuwiki/makemyday/images/open.gif
   materials/themes/dokuwiki/makemyday/images/tocdot2.gif
   materials/themes/dokuwiki/makemyday/images/windows.gif
   materials/themes/dokuwiki/makemyday/layout.css
   materials/themes/dokuwiki/makemyday/main.php
   materials/themes/dokuwiki/makemyday/media.css
   materials/themes/dokuwiki/makemyday/mediamanager.php
   materials/themes/dokuwiki/makemyday/print.css
   materials/themes/dokuwiki/makemyday/rtl.css
   materials/themes/dokuwiki/makemyday/style.ini
   materials/themes/dokuwiki/makemyday/tplfn_sidebar.php
Log:
MakeMyDay : Dokuwiki Theme for pgday.fr 2008


Added: materials/themes/dokuwiki/makemyday/README
===================================================================
--- materials/themes/dokuwiki/makemyday/README	                        (rev 0)
+++ materials/themes/dokuwiki/makemyday/README	2009-08-15 16:16:33 UTC (rev 1371)
@@ -0,0 +1,19 @@
+====== README ======
+
+  * Name : MakeMyDay
+  * Desc : Dokuwiki template for PGDay.fr 2008
+  * Author : damien.clochard at dalibo.com
+  * License : BSD
+  * Date : september 2008 
+
+===== REQUIREMENT =====
+
+This theme was used with the following plug-ins. They might not be mandatory, but they're very useful :
+
+  * Formular : http://www.dokuwiki.org/plugin:form 
+  * GoogleMaps : http://www.dokuwiki.org/plugin:googlemaps 
+
+===== INSTALL =====
+ 
+  - Just copy this directory in dokuwiki's lib/tpl/ folder
+  - Go to the admin page and select this template

Added: materials/themes/dokuwiki/makemyday/UWEB.css
===================================================================
--- materials/themes/dokuwiki/makemyday/UWEB.css	                        (rev 0)
+++ materials/themes/dokuwiki/makemyday/UWEB.css	2009-08-15 16:16:33 UTC (rev 1371)
@@ -0,0 +1,17 @@
+/**
+ * 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;
+}
+

Added: materials/themes/dokuwiki/makemyday/design.css
===================================================================
--- materials/themes/dokuwiki/makemyday/design.css	                        (rev 0)
+++ materials/themes/dokuwiki/makemyday/design.css	2009-08-15 16:16:33 UTC (rev 1371)
@@ -0,0 +1,181 @@
+body {
+  font-family: verdana, sans-serif;
+  color: #000000;
+  background-color: #ffffff;
+  margin: 0 0 0 0;
+  padding: 0 0 0 0;
+  font-size: 11px;
+  text-align : left;
+}
+
+h1 {
+  font-size: 26px;
+}
+
+
+img {
+   border:0;
+}
+
+div.dokuwiki {
+  width: 800px;
+  border: none;
+}
+
+div.header {
+  width: 800px;
+  background: url(/lib/tpl/makemyday/images/hdr_fill.png);
+  background-repeat : none;
+  margin-top: 5px;
+}
+
+div#nav {
+  background: #b6b6b6;
+  margin-top: 2px;
+  color: #fff;
+  font-size: 12px;
+}
+
+div#nav a, div#nav a:link, div#nav a:active, div#nav a:visited, div#nav a:hover {
+  color: #ffffff;
+  text-decoration: none; 
+  font-size: 12px;
+  font-weight: bold;
+}
+
+div#nav ul {
+  display : inline;
+  border: none;
+}
+
+div#nav ul li {
+  display : inline;
+  list-style : none;
+  border: none;
+}
+
+div#nav ul li:before {
+  content: none;
+}
+
+div#nav ul li div {
+  float : left;
+  padding-left: 5px; 
+  padding-top: 0px; 
+  border: none;
+}
+
+div#content, table, td {
+  font-size: 11px;
+  margin-top: 10px;
+  text-align: left;
+}
+
+h1 {
+  font-size: 28px;
+  font-weight: bold;
+  color: #286aaf;
+  text-align: left;
+}
+
+h2 {
+  text-align: left;
+}
+
+
+div.fl { float: left; border: none; text-align: left; }
+div.flc { float: left; margin-left: 5px; border: none; text-align: left; }
+div.fls { float: left; padding-left: 5px; padding-right: 5px; border: none; text-align: left; background: #F5F5F5; }
+div.flp { float: left; padding-left: 10px; padding-top: 4px;  }
+div.fr { float: right; }
+div.cb { clear: both;  }
+
+/*
+ul {list-style: none;}
+
+li:before {content: "\00BB \0020";}
+*/
+.title { font-weight: bold; font-size: 13px; };
+.person { font-weight: bold; }
+
+div.wikipage {
+	text-align: left;
+	margin-left : 190px; 
+  	font-size: 1.1em;
+}
+
+div.wikipage h1 {
+        text-align: center;
+}
+
+div.sponsors {
+	float: left; 
+	padding-left: 5px; 
+	padding-right: 5px; 
+	border: none; 
+	text-align: center; 
+	background: #F5F5F5; 
+        width : 170px; 
+}
+
+div.sponsors h1 {
+ 	text-align : left;
+  	font-size: 13px;
+  	font-weight: bold;
+  	color: #286aaf;
+}
+
+}
+
+div.sponsors div p {
+	text-align : center;
+}
+
+div#bar__bottomleft {
+    margin-top : 30px;
+    margin-right:auto;
+    margin-left:0;
+    margin-bottom : 0;
+    text-align: left;
+    font-size: 0.8em;
+    padding: 3px;
+    color: #999;
+}
+
+div#bar__bottomright a {
+    color: #999;
+}
+
+
+
+div#bar__bottomright {
+    margin-top : 30px;
+    margin-left:auto;
+    margin-right:0;
+    margin-bottom : 0;
+    clear: both;
+    text-align: right;
+    font-size: 0.8em;
+    padding: 3px;
+}
+
+
+div#bar__bottomright a {
+    color: #999;
+}
+
+div.secedit {
+    display : none;
+    visible : 0;
+}
+
+.toc {
+    display : none;
+    visible : 0;
+}
+
+/* Ajout JCA */
+iframe{
+    border-style: none;
+    //border: 1px solid black;
+}

Added: materials/themes/dokuwiki/makemyday/detail.php
===================================================================
--- materials/themes/dokuwiki/makemyday/detail.php	                        (rev 0)
+++ materials/themes/dokuwiki/makemyday/detail.php	2009-08-15 16:16:33 UTC (rev 1371)
@@ -0,0 +1,92 @@
+<?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://wiki.splitbrain.org/wiki:tpl:templates
+ * @author Andreas Gohr <andi at 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(array('IPTC.Caption',
+                                               'EXIF.UserComment',
+                                               'EXIF.TIFFImageDescription',
+                                               'EXIF.TIFFUserComment')))); ?>
+      </p>
+
+      <p>&larr; <?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>
+

Added: materials/themes/dokuwiki/makemyday/footer.html
===================================================================
--- materials/themes/dokuwiki/makemyday/footer.html	                        (rev 0)
+++ materials/themes/dokuwiki/makemyday/footer.html	2009-08-15 16:16:33 UTC (rev 1371)
@@ -0,0 +1,65 @@
+<?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>
+
+  <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>
+
+  <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.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>
+
+-->
+
+<?php
+if ($conf['allowdebug']) {
+    echo '<!-- page made in '.round(delta_time(DOKU_START_TIME), 3).' seconds -->';
+}
+?>
+
+</div>

Added: materials/themes/dokuwiki/makemyday/images/UWEB.png
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/UWEB.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/UWEBshadow.png
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/UWEBshadow.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/bullet.gif
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/bullet.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/button-cc.gif
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/button-cc.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/button-css.png
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/button-css.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/button-donate.gif
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/button-donate.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/button-dw.png
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/button-dw.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/button-php.gif
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/button-php.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/button-rss.png
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/button-rss.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/button-xhtml.png
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/button-xhtml.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/buttonshadow.png
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/buttonshadow.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/closed.gif
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/closed.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/favicon.ico
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/favicon.ico
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/favicon.ico.orig
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/favicon.ico.orig
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/hdr_fill.png
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/hdr_fill.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/hdr_left.png
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/hdr_left.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/hdr_right.png
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/hdr_right.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/inputshadow.png
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/inputshadow.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/link_icon.gif
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/link_icon.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/mail_icon.gif
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/mail_icon.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/nav_lft.png
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/nav_lft.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/nav_rgt.png
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/nav_rgt.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/open.gif
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/open.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/tocdot2.gif
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/tocdot2.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/images/windows.gif
===================================================================
(Binary files differ)


Property changes on: materials/themes/dokuwiki/makemyday/images/windows.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: materials/themes/dokuwiki/makemyday/layout.css
===================================================================
--- materials/themes/dokuwiki/makemyday/layout.css	                        (rev 0)
+++ materials/themes/dokuwiki/makemyday/layout.css	2009-08-15 16:16:33 UTC (rev 1371)
@@ -0,0 +1,87 @@
+/**
+ * Tableless Layout for default template
+ *
+ * @author Andreas Gohr <andi at splitbrain.org>
+ * @author moraes <moraes at 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;
+}
+
+
+/* Ajout JCA */
+ifame{  
+    border: 1px solid __border__;
+}
+

Added: materials/themes/dokuwiki/makemyday/main.php
===================================================================
--- materials/themes/dokuwiki/makemyday/main.php	                        (rev 0)
+++ materials/themes/dokuwiki/makemyday/main.php	2009-08-15 16:16:33 UTC (rev 1371)
@@ -0,0 +1,107 @@
+<?php
+
+// must be run from within DokuWiki
+if (!defined('DOKU_INC')) die();
+require_once(dirname(__FILE__).'/tplfn_sidebar.php');
+?>
+<!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 tpl_pagetitle()?>
+    [<?php echo strip_tags($conf['title'])?>]
+  </title>
+
+  <?php tpl_metaheaders()?>
+
+  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
+
+  <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
+</head>
+
+<body>
+<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
+<div align="center">
+
+<div class="dokuwiki">
+  <?php html_msgarea()?>
+
+  <div class="stylehead">
+
+    <div class="header">
+	<div class="fl">
+	<a href="http://www.postgresql.fr/"><img src="<?php echo DOKU_TPL?>/images/hdr_left.png" alt="PostgreSQL"></a>
+	</div>
+    	<div class="fr">
+    	<img src="<?php echo DOKU_TPL?>/images/hdr_right.png" alt="The world's most advanced open source database" height="80" width="210">
+	</div>
+	<div class="cb"></div>
+    </div>
+
+<div id="nav">
+	<div class="fl">
+	<img src="<?php echo DOKU_TPL?>/images/nav_lft.png" alt="">
+	</div>
+	<div class="flp">
+<?php tpl_sidebar('nav') ?>
+	</div>
+	<div class="fr">
+	<img src="<?php echo DOKU_TPL?>/images/nav_rgt.png" alt="">
+	</div>
+	<div class="cb"></div>
+</div>
+
+  </div>
+  <?php flush()?>
+
+  <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
+
+  <div class="page content">
+  <div class="sponsors" >
+<?php tpl_sidebar('sponsors') ?>
+  </div>
+
+    <!-- wikipage start -->
+    <div class="wikipage">
+    <?php tpl_content()?>
+    </div>
+    <!-- wikipage stop -->
+  </div>
+
+  <div class="clearer">&nbsp;</div>
+
+  <?php flush()?>
+
+  <div class="foot">
+
+    <div  id="bar__bottom">
+      <div class="bar-left" id="bar__bottomleft">
+        &copy; Copyright 2008 <a href="http://www.postgresql.fr" alt="PostgreSQLfr">PostgreSQLFr</a>
+      </div>
+      <div  id="bar__bottomright">
+        <?php tpl_actionlink('edit')?>
+        <?php tpl_actionlink('admin')?>
+        <?php tpl_actionlink('login')?>
+      </div>
+      <div class="clearer"></div>
+    </div>
+   
+  </div>
+
+</div>
+</div>
+<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
+</body>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+var pageTracker = _gat._getTracker("UA-3921927-6");
+pageTracker._initData();
+pageTracker._trackPageview();
+</script>
+</html>

Added: materials/themes/dokuwiki/makemyday/media.css
===================================================================
--- materials/themes/dokuwiki/makemyday/media.css	                        (rev 0)
+++ materials/themes/dokuwiki/makemyday/media.css	2009-08-15 16:16:33 UTC (rev 1371)
@@ -0,0 +1,200 @@
+/**
+ * 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;
+}
+
+#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;
+    position: absolute;
+}
+*+html #media__opts input,
+* html #media__opts input {
+    position: static;
+}
+
+#media__opts label {
+    display: block;
+    float: left;
+    margin-left: 30px;
+}
+*+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 {
+    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;
+}

Added: materials/themes/dokuwiki/makemyday/mediamanager.php
===================================================================
--- materials/themes/dokuwiki/makemyday/mediamanager.php	                        (rev 0)
+++ materials/themes/dokuwiki/makemyday/mediamanager.php	2009-08-15 16:16:33 UTC (rev 1371)
@@ -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://wiki.splitbrain.org/wiki:tpl:templates
+ * @author Andreas Gohr <andi at 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>

Added: materials/themes/dokuwiki/makemyday/print.css
===================================================================
--- materials/themes/dokuwiki/makemyday/print.css	                        (rev 0)
+++ materials/themes/dokuwiki/makemyday/print.css	2009-08-15 16:16:33 UTC (rev 1371)
@@ -0,0 +1,235 @@
+
+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 0.5em 1.5em;
+    padding: 0;
+
+}
+
+/* ordered lists */
+ol {
+    line-height: 1.5em;
+    margin: 0 0 0.5em 2.5em;
+    padding: 0;
+    font-weight: normal;
+}
+ol ol {
+    margin: 0 0 0.5em 1.5em;
+}
+
+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}
+

Added: materials/themes/dokuwiki/makemyday/rtl.css
===================================================================
--- materials/themes/dokuwiki/makemyday/rtl.css	                        (rev 0)
+++ materials/themes/dokuwiki/makemyday/rtl.css	2009-08-15 16:16:33 UTC (rev 1371)
@@ -0,0 +1,119 @@
+/**
+ * Layout and dedsign corrections for right-to-left languages
+ *
+ * @author Andreas Gohr <andi at splitbrain.org>
+ * @author Dotan Kamber <kamberd at 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;
+}
+

Added: materials/themes/dokuwiki/makemyday/style.ini
===================================================================
--- materials/themes/dokuwiki/makemyday/style.ini	                        (rev 0)
+++ materials/themes/dokuwiki/makemyday/style.ini	2009-08-15 16:16:33 UTC (rev 1371)
@@ -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
+
+UWEB.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"

Added: materials/themes/dokuwiki/makemyday/tplfn_sidebar.php
===================================================================
--- materials/themes/dokuwiki/makemyday/tplfn_sidebar.php	                        (rev 0)
+++ materials/themes/dokuwiki/makemyday/tplfn_sidebar.php	2009-08-15 16:16:33 UTC (rev 1371)
@@ -0,0 +1,104 @@
+<?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 at jalakai.co.uk>
+ */
+
+// sidebar configuration settings
+$conf['sidebar']['enable'] = 1;               // 1 or true to enable sidebar functionality, 0 or false to disable it
+$conf['sidebar']['page'] = tpl_getConf('btl_sidebar_name');         // name of sidebar page
+$conf['sidebar']['layout'] = 'inside';        // inside (between button bars) or outside (full height of dokuwiki)
+$conf['sidebar']['orientation'] = 'right';     // left or right
+
+// determine the sidebar class
+$sidebar_class = "sidebar_{$conf['sidebar']['layout']}_{$conf['sidebar']['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);
+}
+
+// display the sidebar
+function tpl_sidebar($user_defined_page_name="") {
+	global $ID, $REV, $conf;
+	
+	// save globals
+	$saveID = $ID;
+	$saveREV = $REV;
+
+	// discover file to be displayed in navigation sidebar	
+	$fileSidebar = '';
+	
+	// damien
+	$pagename="";
+	if ($user_defined_page_name!="") {
+		$pagename = $user_defined_page_name;
+	}else if (isset($conf['sidebar']['page'])) {
+		$pagename = $conf['sidebar']['page'];
+	}
+	if ($pagename != "") {
+		$fileSidebar = getSidebarFN(getNS($ID), $pagename);
+	}
+
+	// determine what to display
+	if ($fileSidebar) {
+		$ID = $fileSidebar;
+		$REV = '';
+		print p_wiki_xhtml($ID,$REV,false);
+	}
+	else {
+        global $IDX;
+        html_index($IDX);
+	}
+		
+	// restore globals
+	$ID = $saveID;
+	$REV = $saveREV;
+}
+
+if (!function_exists('tpl_pagename')) {
+
+	require_once(DOKU_INC.'inc/parserutils.php');
+
+    /**
+     * Returns the name of the given page (current one if none given).
+     *
+     * If useheading is enabled this will use the first headline else
+     * the given ID is printed.
+     *
+     * based on tpl_pagetitle in inc/template.php
+     */
+    function tpl_pagename($id=null){
+      global $conf;
+      if(is_null($id)){
+        global $ID;
+        $id = $ID;
+      }
+    
+      $name = $id;
+      if ($conf['useheading']) {
+        $title = p_get_first_heading($id);
+        if ($title) $name = $title;
+      }
+      return hsc($name);
+    }
+
+}
+
+?>



Plus d'informations sur la liste de diffusion Trad