slitaz-forge diff doc/lib/tpl/slitaz-grey/main.php @ rev 422

doc: remove old style and prepare for a new one. pangolin: add up-doc
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 15 14:24:29 2014 +0100 (2014-01-15)
parents
children 3f34b2640d12
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/doc/lib/tpl/slitaz-grey/main.php	Wed Jan 15 14:24:29 2014 +0100
     1.3 @@ -0,0 +1,142 @@
     1.4 +<?php
     1.5 +/**
     1.6 + * DokuWiki SliTaz Template - With code from the default theme by
     1.7 + * Andreas Gohr <andi@splitbrain.org>
     1.8 + * 
     1.9 + */
    1.10 +
    1.11 +// must be run from within DokuWiki
    1.12 +if (!defined('DOKU_INC')) die();
    1.13 +
    1.14 +?>
    1.15 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    1.16 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    1.17 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
    1.18 + lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
    1.19 +<head>
    1.20 +  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    1.21 +  <title>
    1.22 +    <?php tpl_pagetitle()?>
    1.23 +    [<?php echo strip_tags($conf['title'])?>]
    1.24 +  </title>
    1.25 +  <?php tpl_metaheaders()?>
    1.26 +  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
    1.27 +</head>
    1.28 +<body>
    1.29 +
    1.30 +<div class="dokuwiki">
    1.31 +
    1.32 +<!-- Header -->
    1.33 +<div id="header">
    1.34 +	<div id="logo"></div>
    1.35 +	<!-- SliTaz Network -->
    1.36 +	<div id="network">
    1.37 +		<a href="http://www.slitaz.org/">
    1.38 +			<img src="<?php echo DOKU_TPL?>images/home.png" alt="[ Home ]" /></a>
    1.39 +		<a href="http://scn.slitaz.org/">Community</a>
    1.40 +		<a href="http://doc.slitaz.org/">Doc</a>
    1.41 +		<a href="http://forum.slitaz.org/">Forum</a>
    1.42 +		<a href="http://slitaz.pro/">Pro</a>
    1.43 +		<a href="http://slitaz.spreadshirt.net/">Shop</a>
    1.44 +		<a href="http://bugs.slitaz.org">Bugs</a>
    1.45 +		<a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
    1.46 +	</div>
    1.47 +	<h1><a href="./">SliTaz Doc</a></h1>
    1.48 +	<!-- <?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?> -->
    1.49 +</div>
    1.50 +
    1.51 +<!-- SliTaz Block -->
    1.52 +<div id="block">
    1.53 +	<?php html_msgarea()?>
    1.54 +	<!-- Languages -->
    1.55 +	<div id="lang">
    1.56 +	<?php
    1.57 +		$translation = &plugin_load('helper','translation');
    1.58 +		echo $translation->showTranslations();
    1.59 +	?>
    1.60 +	</div>
    1.61 +	<div style="text-align: justify; width: 60%; padding: 0 10px 0 0;">
    1.62 +		SliTaz GNU/Linux official and community documentation wiki.
    1.63 +	</div>
    1.64 +	<div class="tools">
    1.65 +		<img src="<?php echo DOKU_TPL?>images/tools.png" alt=".png" />
    1.66 +		
    1.67 +		<div style="float: right; text-align: right;">
    1.68 +			<?php tpl_button('edit')?>
    1.69 +			<?php tpl_searchform()?>
    1.70 +		</div>
    1.71 +		<?php tpl_button('recent')?>
    1.72 +		<?php tpl_button('subscription')?>
    1.73 +		<?php tpl_button('admin')?>
    1.74 +		<?php tpl_button('profile')?>
    1.75 +		<?php tpl_button('login')?>
    1.76 +	</div>
    1.77 +</div>
    1.78 +
    1.79 +<!-- Content -->
    1.80 +<div id="content">
    1.81 +
    1.82 +<?php flush()?>
    1.83 +
    1.84 +<!-- wikipage start -->
    1.85 +<?php tpl_content()?>
    1.86 +<!-- wikipage stop -->
    1.87 +
    1.88 +<div class="clearer">&nbsp;</div>
    1.89 +<?php flush()?>
    1.90 +
    1.91 +<div class="meta">
    1.92 +  <div class="user">
    1.93 +	<?php tpl_userinfo()?>
    1.94 +  </div>
    1.95 +  <div class="doc">
    1.96 +	<?php tpl_pageinfo()?>
    1.97 +  </div>
    1.98 +</div>
    1.99 +
   1.100 +<div style="border-top: 1px solid #eaeaea;">
   1.101 +	<div style="float: right; text-align: right;">
   1.102 +		<?php tpl_button('edit')?>
   1.103 +		<?php tpl_button('history')?>
   1.104 +	</div>
   1.105 +	<?php tpl_button('recent')?>
   1.106 +	<?php tpl_button('index')?>
   1.107 +</div>
   1.108 +
   1.109 +<!-- End of content -->
   1.110 +</div>
   1.111 +
   1.112 +<!-- End of: class="dokuwiki" -->
   1.113 +</div>
   1.114 +
   1.115 +<!-- Footer -->
   1.116 +
   1.117 +<script type="text/javascript" src="<?php echo DOKU_TPL?>qrcode.js"></script>
   1.118 +
   1.119 +<div id="footer">
   1.120 +	Copyright &copy; <?php echo date('Y'); ?>
   1.121 +	<a href="http://www.slitaz.org/">SliTaz</a> - Network:
   1.122 +	<a href="http://scn.slitaz.org/">Community</a>
   1.123 +	<a href="http://doc.slitaz.org/">Doc</a>
   1.124 +	<a href="http://forum.slitaz.org/">Forum</a>
   1.125 +	<a href="http://pkgs.slitaz.org/">Packages</a>
   1.126 +	<a href="http://bugs.slitaz.org">Bugs</a>
   1.127 +	<a href="http://hg.slitaz.org/">Hg</a>
   1.128 +	<p>
   1.129 +		<img src="#" alt="SliTaz @" onmouseover="this.title = location.href"
   1.130 +		 onclick="this.src = QRCode.generatePNG(location.href, {ecclevel: 'H'})" />
   1.131 +		<a href="http://twitter.com/slitaz">Twitter</a>
   1.132 +		<a href="http://www.facebook.com/slitaz">Facebook</a>
   1.133 +		<a href="http://distrowatch.com/slitaz">Distrowatch</a>
   1.134 +		<a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
   1.135 +		<a href="http://flattr.com/profile/slitaz">Flattr</a>
   1.136 +	</p>
   1.137 +</div>
   1.138 +
   1.139 +<div class="no">
   1.140 +	<?php /* provide DokuWiki housekeeping, required in all templates */
   1.141 +	tpl_indexerWebBug() ?>
   1.142 +</div>
   1.143 +
   1.144 +</body>
   1.145 +</html>