slitaz-forge 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 14f50bbc616d
children 3b79031debec
files doc/conf/local.php doc/conf/users.auth.php doc/lib/tpl/slitaz-brown/UWEB.css doc/lib/tpl/slitaz-brown/design.css doc/lib/tpl/slitaz-brown/detail.php doc/lib/tpl/slitaz-brown/images/UWEB.png doc/lib/tpl/slitaz-brown/images/button-dw.png doc/lib/tpl/slitaz-brown/images/button-xhtml.png doc/lib/tpl/slitaz-brown/images/favicon.ico doc/lib/tpl/slitaz-brown/images/header-img.png doc/lib/tpl/slitaz-brown/images/link_icon.gif doc/lib/tpl/slitaz-brown/images/logo.png doc/lib/tpl/slitaz-brown/images/mail_icon.gif doc/lib/tpl/slitaz-brown/images/tools.png doc/lib/tpl/slitaz-brown/layout.css doc/lib/tpl/slitaz-brown/main.php doc/lib/tpl/slitaz-brown/media.css doc/lib/tpl/slitaz-brown/mediamanager.php doc/lib/tpl/slitaz-brown/print.css doc/lib/tpl/slitaz-brown/rtl.css doc/lib/tpl/slitaz-brown/style.ini doc/lib/tpl/slitaz-grey/UWEB.css doc/lib/tpl/slitaz-grey/design.css doc/lib/tpl/slitaz-grey/detail.php doc/lib/tpl/slitaz-grey/images/UWEB.png doc/lib/tpl/slitaz-grey/images/button-css.png doc/lib/tpl/slitaz-grey/images/button-dw.png doc/lib/tpl/slitaz-grey/images/button-rss.png doc/lib/tpl/slitaz-grey/images/button-xhtml.png doc/lib/tpl/slitaz-grey/images/favicon.ico doc/lib/tpl/slitaz-grey/images/header-img.png doc/lib/tpl/slitaz-grey/images/home.png doc/lib/tpl/slitaz-grey/images/link_icon.gif doc/lib/tpl/slitaz-grey/images/logo.png doc/lib/tpl/slitaz-grey/images/mail_icon.gif doc/lib/tpl/slitaz-grey/images/network.png doc/lib/tpl/slitaz-grey/images/tools.png doc/lib/tpl/slitaz-grey/layout.css doc/lib/tpl/slitaz-grey/main.php doc/lib/tpl/slitaz-grey/media.css doc/lib/tpl/slitaz-grey/mediamanager.php doc/lib/tpl/slitaz-grey/print.css doc/lib/tpl/slitaz-grey/qrcode.js doc/lib/tpl/slitaz-grey/rtl.css doc/lib/tpl/slitaz-grey/style.ini pangolin/pangolin
line diff
     1.1 --- a/doc/conf/local.php	Wed Jan 15 11:15:02 2014 +0100
     1.2 +++ b/doc/conf/local.php	Wed Jan 15 14:24:29 2014 +0100
     1.3 @@ -7,7 +7,7 @@
     1.4   */
     1.5  
     1.6  $conf['title'] = 'SliTaz Doc';
     1.7 -$conf['template'] = 'slitaz-orange';
     1.8 +$conf['template'] = 'slitaz-grey';
     1.9  $conf['license'] = 'gnufdl';
    1.10  $conf['tocminheads'] = '4';
    1.11  $conf['maxtoclevel'] = '2';
     2.1 --- a/doc/conf/users.auth.php	Wed Jan 15 11:15:02 2014 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,10 +0,0 @@
     2.4 -# users.auth.php
     2.5 -# <?php exit()?>
     2.6 -# Don't modify the lines above
     2.7 -#
     2.8 -# Userfile
     2.9 -#
    2.10 -# Format:
    2.11 -#
    2.12 -# user:MD5password:Real Name:email:groups,comma,seperated
    2.13 -
     3.1 --- a/doc/lib/tpl/slitaz-brown/UWEB.css	Wed Jan 15 11:15:02 2014 +0100
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,17 +0,0 @@
     3.4 -/**
     3.5 - * This stylesheet adds the Universal Wiki Edit Button log to the edit page button
     3.6 - *
     3.7 - * For more info about this Wiki community project visit http://www.aboutus.org/uweb
     3.8 -
     3.9 -
    3.10 -html>body div.dokuwiki form.btn_edit input.button {
    3.11 -  padding: 0.125em 0.4em 0.125em 2em;
    3.12 -  background:  __background__ url(images/UWEB.png) no-repeat 0.2em 0.2em;
    3.13 -}
    3.14 -
    3.15 -/* nice alphatransparency background except for IE <7 */
    3.16 -html>body div.dokuwiki form.btn_edit input.button {
    3.17 -  padding: 0px 0px 0px 18px;
    3.18 -  background: url(images/UWEB.png) no-repeat left bottom;
    3.19 -}
    3.20 -
     4.1 --- a/doc/lib/tpl/slitaz-brown/design.css	Wed Jan 15 11:15:02 2014 +0100
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,1101 +0,0 @@
     4.4 -/**
     4.5 - * Design elements for default Template
     4.6 - *
     4.7 - * @author Andreas Gohr <andi@splitbrain.org>
     4.8 - * @author Anika Henke <henke@cosmocode.de>
     4.9 - */
    4.10 -
    4.11 -/* -------------- general elements --------------- */
    4.12 -
    4.13 -/* * { padding: 0; margin: 0; } */
    4.14 -
    4.15 -/* SliTaz stuff */
    4.16 -html {
    4.17 -	min-height:  102%;
    4.18 -}
    4.19 -
    4.20 -body {
    4.21 -	background: #ffffff;
    4.22 -	color: black;
    4.23 -	font: 13px sans-serif, vernada, arial;
    4.24 -	margin: 0;
    4.25 -	border-top: 34px solid #f1f1f1;
    4.26 -}
    4.27 -
    4.28 -/* Accessibility */
    4.29 -
    4.30 -#access {
    4.31 -	position: absolute;
    4.32 -	top: 0px;
    4.33 -	right: 0px;
    4.34 -	text-align: right;
    4.35 -	width: auto;
    4.36 -	margin: 0;
    4.37 -	padding: 4px 4px 4px 20px;
    4.38 -	font-size: 11px;
    4.39 -	font-weight: bold;
    4.40 -}
    4.41 -
    4.42 -#access a {
    4.43 -	text-decoration: none;
    4.44 -	font-weight: bold
    4.45 -}
    4.46 -
    4.47 -#access a:hover, div.plugin_translation a:hover {
    4.48 -	background: transparent;
    4.49 -	color: #b64b22;
    4.50 -}
    4.51 -
    4.52 -#access img {
    4.53 -	vertical-align: middle;
    4.54 -}
    4.55 -
    4.56 -/* Header and title */
    4.57 -
    4.58 -#header {
    4.59 -	/*background: #f0ba08 url(pics/website/header.png) repeat-x top;*/
    4.60 -	background: #351a0a url(images/header-img.png) no-repeat top right;
    4.61 -	color: black;
    4.62 -	width: 100%;
    4.63 -	height: 42px;
    4.64 -	border-top: 1px solid black;
    4.65 -	border-bottom: 1px solid #999;
    4.66 -	margin-bottom: 33px;
    4.67 -}
    4.68 -
    4.69 -#titre {
    4.70 -	position: absolute;
    4.71 -	font-size: 14px;
    4.72 -	font-weight: bolder ;
    4.73 -	left: 180px;
    4.74 -	top: 18px;
    4.75 -}
    4.76 -
    4.77 -#logo {
    4.78 -	position: absolute;
    4.79 -	float: left;
    4.80 -	left: 16px;
    4.81 -	top: -10px;
    4.82 -	width: 200px;
    4.83 -	height: 74px;
    4.84 -}
    4.85 -
    4.86 -/* Page content */
    4.87 -
    4.88 -#content {
    4.89 -	background: white;
    4.90 -	color: black;
    4.91 -	text-align: justify;
    4.92 -	height: auto;
    4.93 -	margin: 0;
    4.94 -	padding: 0px 80px 40px 80px;
    4.95 -}
    4.96 -
    4.97 -#content li, #content-full li {
    4.98 -	line-height: 1.5em;
    4.99 -	text-align: left;
   4.100 -}
   4.101 -
   4.102 -/* Box and block. */
   4.103 -
   4.104 -.infobox {
   4.105 -	margin: 20px 60px;
   4.106 -	padding: 12px;
   4.107 -	background: #f8f8f8;
   4.108 -}
   4.109 -
   4.110 -.infobox img { vertical-align: middle; }
   4.111 -/* .infobox:hover { background-color: #f2b21d; } */
   4.112 -.infobox:hover { background-color: #FBFBFB; }
   4.113 -
   4.114 -.block {
   4.115 -	/*padding-bottom: 35%;*/
   4.116 -	color: black;
   4.117 -	min-height: 200px;
   4.118 -	margin-bottom: 20px;
   4.119 -}
   4.120 -
   4.121 -.block ul {
   4.122 -	list-style-type: none;
   4.123 -	margin: 0;
   4.124 -	padding: 0 20px;
   4.125 -}
   4.126 -
   4.127 -.block_left {
   4.128 -	width: 46%;
   4.129 -	float: left;
   4.130 -	background-color: #eaeaea;
   4.131 -	margin: 4px 2px;
   4.132 -	padding: 0 10px 10px 10px;
   4.133 -}
   4.134 -
   4.135 -.block_right {
   4.136 -	width: 46%;
   4.137 -	float: right;
   4.138 -	background-color: #eaeaea;
   4.139 -	margin: 4px 2px;
   4.140 -	padding: 0 10px 10px 10px;
   4.141 -}
   4.142 -
   4.143 -#block_top {
   4.144 -	color: black;
   4.145 -	background-color: #eaeaea;
   4.146 -	min-height: 180px;
   4.147 -	margin-bottom: 0;
   4.148 -	margin-right: 340px;
   4.149 -	padding: 5px 0 0 10px;
   4.150 -}
   4.151 -
   4.152 -#block_nav {
   4.153 -	width: 300px;
   4.154 -	min-height: 180px;
   4.155 -	float: right;
   4.156 -	background-color: #eaeaea;
   4.157 -	margin: 0;
   4.158 -	padding: 5px 0 0 10px;
   4.159 -}
   4.160 -
   4.161 -.infobox, .block_left, .block_right, #block_top, #block_nav, #footer {
   4.162 -	-moz-border-radius: 8px;
   4.163 -	-webkit-border-radius: 8px;
   4.164 -	border-radius: 8px;
   4.165 -	-moz-box-shadow: 0 1px 3px #666;
   4.166 -	-webkit-box-shadow: 0 1px 3px #666;
   4.167 -	box-shadow: 0 1px 3px #666;
   4.168 -	/* CSS3 transition */
   4.169 -	-webkit-transition-property: background-color;
   4.170 -	-webkit-transition-duration: 2s;
   4.171 -	-moz-transition-property: background-color;
   4.172 -	-moz-transition-duration: 2s;
   4.173 -	transition-property: background-color;
   4.174 -	transition-duration: 2s;
   4.175 -}
   4.176 -
   4.177 -#block_nav {
   4.178 -	font-weight: bold;
   4.179 -}
   4.180 -
   4.181 -#block_nav a {
   4.182 -	text-decoration: none;
   4.183 -}
   4.184 -
   4.185 -#block_nav li a:hover {
   4.186 -	color: #b64b22;
   4.187 -}
   4.188 -
   4.189 -#block_nav ul {
   4.190 -	margin: 0;
   4.191 -	list-style-type: none;
   4.192 -}
   4.193 -
   4.194 -#block_nav h3, #block_top h3 {
   4.195 -	font-size: 110%;
   4.196 -}
   4.197 -
   4.198 -.block_left:hover, .block_right:hover, #block_top:hover,
   4.199 -#block_nav:hover, #footer:hover { 
   4.200 -	background-color: #f8f8f8;
   4.201 -}
   4.202 -
   4.203 -.right_box {
   4.204 -	width: 50%;
   4.205 -	float: right;
   4.206 -}
   4.207 -	
   4.208 -/* Button */
   4.209 -
   4.210 -.button { margin-left: 20px; }
   4.211 -
   4.212 -.button a { 
   4.213 -	background-color: #b64b22;
   4.214 -	color: #ffffff;
   4.215 -	margin-right: 6px;
   4.216 -	padding: 6px 10px;
   4.217 -	font-size: 14px;
   4.218 -	-moz-border-radius: 4px;
   4.219 -	-webkit-border-radius: 4px;
   4.220 -	border-radius: 4px;
   4.221 -	-moz-box-shadow: 0 1px 3px #666;
   4.222 -	-webkit-box-shadow: 0 1px 3px #666;
   4.223 -	box-shadow: 0 1px 3px #666;
   4.224 -}
   4.225 -
   4.226 -.button a:hover, input[type=submit]:hover { 
   4.227 -	background-color: #a3431f;
   4.228 -	color: #ffffff;
   4.229 -}
   4.230 -
   4.231 -/* HTML styles */
   4.232 -
   4.233 -h1 {
   4.234 -	color: #444444;
   4.235 -	background: transparent;
   4.236 -	text-align: left;
   4.237 -	margin: 0;
   4.238 -	font-size: 150%;
   4.239 -	font-weight: bold;
   4.240 -	padding: 0;
   4.241 -}
   4.242 -
   4.243 -h2 {
   4.244 -	color: #b64b22;
   4.245 -	padding: 0;
   4.246 -	margin: 20px 0 0 0;
   4.247 -	font-size: 130%;
   4.248 -	font-weight: bold;
   4.249 -}
   4.250 -
   4.251 -h3 {
   4.252 -	font-weight: bold;
   4.253 -	color: #666666;
   4.254 -	background: transparent;
   4.255 -}
   4.256 -	
   4.257 -h3 img { 
   4.258 -	vertical-align: middle;
   4.259 -	width: 20px;
   4.260 -	height: 20px;
   4.261 -	padding-right: 4px; 
   4.262 -}
   4.263 -
   4.264 -a {
   4.265 -	text-decoration: underline;
   4.266 -	color: #103A5E;
   4.267 -	background: inherit;
   4.268 -}
   4.269 -
   4.270 -a:hover {
   4.271 -	text-decoration: none;
   4.272 -	color: blue;
   4.273 -	background: inherit;
   4.274 -}
   4.275 -
   4.276 -code {
   4.277 -	font-size: 12px;
   4.278 -	color: #669900;
   4.279 -	background: inherit;
   4.280 -}
   4.281 -
   4.282 -tt {
   4.283 -	color: #15EE15;
   4.284 -	background: inherit;
   4.285 -}
   4.286 -
   4.287 -img {
   4.288 -	border: 0pt none;
   4.289 -}
   4.290 -
   4.291 -pre {
   4.292 -	padding: 5px;
   4.293 -	color: black;
   4.294 -	background: #E1E0B0;
   4.295 -}
   4.296 -
   4.297 -pre.script {
   4.298 -	padding: 10px;
   4.299 -	color: black;
   4.300 -	background: #E8E8E8;
   4.301 -	border: 1px inset #606060;
   4.302 -}
   4.303 -
   4.304 -textarea {
   4.305 -	background: #E5E5E5;
   4.306 -	margin-top: 12px;
   4.307 -}
   4.308 -
   4.309 -.year:after {
   4.310 -	/* content: "2007-2014"; */
   4.311 -	content: "2014";
   4.312 -}
   4.313 -
   4.314 -/* Footer */
   4.315 -
   4.316 -#footer {
   4.317 -	margin: 0px 80px 80px 80px;
   4.318 -	padding: 10px;
   4.319 -	background: #eaeaea;
   4.320 -	color: #666666;
   4.321 -	height: 180px;
   4.322 -	clear: both;
   4.323 -	border-radius: 8px;
   4.324 -	-moz-border-radius: 8px;
   4.325 -	-webkit-border-radius: 8px;
   4.326 -	-moz-box-shadow: 0 1px 3px #666;
   4.327 -	-webkit-box-shadow: 0 1px 3px #666;
   4.328 -	box-shadow: 0 1px 3px #666;
   4.329 -}
   4.330 -#footer a {
   4.331 -	background: inherit;
   4.332 -	color: #666666;
   4.333 -}
   4.334 -#footer a:hover {
   4.335 -	background: inherit;
   4.336 -	color: #333333;
   4.337 -}
   4.338 -#footer ul {
   4.339 -	list-style-type: none;
   4.340 -}
   4.341 -#footer li {
   4.342 -	padding: 2px;
   4.343 -}
   4.344 -#footer h4 {
   4.345 -	margin: 0 20px;
   4.346 -	font-size: 125%;
   4.347 -}
   4.348 -
   4.349 -/* the document */
   4.350 -div.dokuwiki div.page {
   4.351 -  text-align: justify;
   4.352 -  background: #ffffff;
   4.353 -}
   4.354 -
   4.355 -div.dokuwiki table {
   4.356 -  font-size: 100%;
   4.357 -}
   4.358 -
   4.359 -div.dokuwiki tr,
   4.360 -div.dokuwiki td,
   4.361 -div.dokuwiki th {
   4.362 -}
   4.363 -
   4.364 -div.dokuwiki img {
   4.365 -  border: 0;
   4.366 -}
   4.367 -
   4.368 -div.dokuwiki p,
   4.369 -div.dokuwiki blockquote,
   4.370 -div.dokuwiki table,
   4.371 -div.dokuwiki pre {
   4.372 -  margin: 0 0 1.0em 0;
   4.373 -}
   4.374 -
   4.375 -div.dokuwiki hr {
   4.376 -  border: 0px;
   4.377 -  border-top: 1px solid __border__;
   4.378 -  text-align: center;
   4.379 -  height: 0px;
   4.380 -}
   4.381 -
   4.382 -div.dokuwiki div.nothing {
   4.383 -  text-align: center;
   4.384 -  margin: 2em;
   4.385 -}
   4.386 -
   4.387 -/* ---------------- forms ------------------------ */
   4.388 -
   4.389 -div.dokuwiki form {
   4.390 -  border: none;
   4.391 -  display: inline;
   4.392 -}
   4.393 -
   4.394 -div.dokuwiki label.block {
   4.395 -  display: block;
   4.396 -  text-align: right;
   4.397 -  font-weight: bold;
   4.398 -  min-height: 20px;
   4.399 -  margin: 0;
   4.400 -}
   4.401 -
   4.402 -div.dokuwiki label.simple {
   4.403 -  display: block;
   4.404 -  text-align: left;
   4.405 -  font-weight: normal;
   4.406 -}
   4.407 -
   4.408 -div.dokuwiki label.block input.edit {
   4.409 -  width: 50%;
   4.410 -}
   4.411 -
   4.412 -div.dokuwiki fieldset {
   4.413 -  width: 300px;
   4.414 -  text-align: center;
   4.415 -  border: 1px solid __border__;
   4.416 -  padding: 0.5em;
   4.417 -  margin: auto;
   4.418 -}
   4.419 -
   4.420 -div.dokuwiki textarea.edit {
   4.421 -  font-family: monospace;
   4.422 -  font-size: 14px;
   4.423 -  color: __text__;
   4.424 -  background-color: __background__;
   4.425 -  border: 1px solid __border__;
   4.426 -  padding: 0.3em 0 0 0.3em;
   4.427 -  width: 100%;
   4.428 -}
   4.429 -
   4.430 -div.dokuwiki input.edit,
   4.431 -div.dokuwiki select.edit {
   4.432 -  font-size: 100%;
   4.433 -  border: 1px solid __border__;
   4.434 -  color: __text__;
   4.435 -  background-color: __background__;
   4.436 -  vertical-align: middle;
   4.437 -  margin: 1px;
   4.438 -  padding: 0.20em 0.3em;
   4.439 -  display: inline;
   4.440 -}
   4.441 -
   4.442 -div.dokuwiki select.edit {
   4.443 -  padding: 0.1em 0;
   4.444 -}
   4.445 -
   4.446 -div.dokuwiki input.missing {
   4.447 -  font-size: 100%;
   4.448 -  border: 1px solid __border__;
   4.449 -  color: __text__;
   4.450 -  background-color: #ffcccc;
   4.451 -  vertical-align: middle;
   4.452 -  margin: 1px;
   4.453 -  padding: 0.20em 0.3em;
   4.454 -  display: inline;
   4.455 -}
   4.456 -
   4.457 -/* disabled style - not understood by IE */
   4.458 -div.dokuwiki textarea.edit[disabled],
   4.459 -div.dokuwiki textarea.edit[readonly],
   4.460 -div.dokuwiki input.edit[disabled],
   4.461 -div.dokuwiki input.edit[readonly],
   4.462 -div.dokuwiki select.edit[disabled] {
   4.463 -  background-color: __background_neu__!important;
   4.464 -  color: __text_neu__!important;
   4.465 -}
   4.466 -
   4.467 -/* edit form */
   4.468 -div.dokuwiki div.toolbar,
   4.469 -div.dokuwiki div#wiki__editbar {
   4.470 -   margin: 2px 0;
   4.471 -   text-align: left;
   4.472 -}
   4.473 -div.dokuwiki div#size__ctl {
   4.474 -   float: right;
   4.475 -   width: 60px;
   4.476 -   height: 2.7em;
   4.477 -}
   4.478 -div.dokuwiki #size__ctl img {
   4.479 -   cursor: pointer;
   4.480 -}
   4.481 -div.dokuwiki div#wiki__editbar div.editButtons {
   4.482 -   float: left;
   4.483 -   padding: 0 1.0em 0.7em 0;
   4.484 -}
   4.485 -div.dokuwiki div#wiki__editbar div.summary {
   4.486 -   float: left;
   4.487 -}
   4.488 -div.dokuwiki .nowrap {
   4.489 -   white-space: nowrap;
   4.490 -}
   4.491 -div.dokuwiki div#draft__status {
   4.492 -  float: right;
   4.493 -  color: __text_alt__;
   4.494 -}
   4.495 -
   4.496 -/* --------- buttons ------------------- */
   4.497 -
   4.498 -
   4.499 -div.dokuwiki input.button,
   4.500 -div.dokuwiki button.button {
   4.501 -  border: 0px solid #eaeaea;
   4.502 -  color: #0F314E;
   4.503 -  background-color: transparent;
   4.504 -  vertical-align: middle;
   4.505 -  text-decoration: none;
   4.506 -  font-size: 12px;
   4.507 -  font-weight: bold;
   4.508 -  cursor: pointer;
   4.509 -  padding: 0;
   4.510 -}
   4.511 -
   4.512 -div.dokuwiki input:hover.button {
   4.513 -  color: #DF8F06;
   4.514 -}
   4.515 -
   4.516 -* html div.dokuwiki input.button,
   4.517 -* html div.dokuwiki button.button {
   4.518 -  height: 24px;
   4.519 -}
   4.520 -
   4.521 -div.dokuwiki div.secedit input.button {
   4.522 -  border: 1px solid #eaeaea;
   4.523 -  color: #3E1220;
   4.524 -  background-color: transparent;
   4.525 -  vertical-align: middle;
   4.526 -  text-decoration: none;
   4.527 -  margin: 0;
   4.528 -  padding: 0;
   4.529 -  font-size: 10px;
   4.530 -  cursor: pointer;
   4.531 -  float: right;
   4.532 -  display: inline;
   4.533 -}
   4.534 -
   4.535 -/* ----------- page navigator ------------- */
   4.536 -
   4.537 -div.dokuwiki div.pagenav {
   4.538 -    margin: 1em 0 0 0;
   4.539 -}
   4.540 -
   4.541 -div.dokuwiki div.pagenav-prev {
   4.542 -    text-align: right;
   4.543 -    float: left;
   4.544 -    width: 49%
   4.545 -}
   4.546 -
   4.547 -div.dokuwiki div.pagenav-next {
   4.548 -    text-align: left;
   4.549 -    float: right;
   4.550 -    width: 49%
   4.551 -}
   4.552 -
   4.553 -/* --------------- Links ------------------ */
   4.554 -
   4.555 -div.dokuwiki a:link,
   4.556 -div.dokuwiki a:visited {
   4.557 -  color: __extern__;
   4.558 -  text-decoration: none;
   4.559 -}
   4.560 -div.dokuwiki a:hover,
   4.561 -div.dokuwiki a:active {
   4.562 -  color: __text__;
   4.563 -  text-decoration: underline;
   4.564 -}
   4.565 -
   4.566 -div.dokuwiki h1 a {
   4.567 -  color: #3E1220 !important;
   4.568 -  text-decoration: none !important;
   4.569 -}
   4.570 -
   4.571 -div.dokuwiki h2 a {
   4.572 -  color: #DF8F06 !important;
   4.573 -  text-decoration: none !important;
   4.574 -  border-left: 10px solid #F3F3F3;
   4.575 -  padding: 4px 0px 4px 4px;
   4.576 -}
   4.577 -
   4.578 -div.dokuwiki h3 a,
   4.579 -div.dokuwiki h4 a,
   4.580 -div.dokuwiki h5 a,
   4.581 -div.dokuwiki a.nolink {
   4.582 -  color: #6c0023 !important;
   4.583 -  text-decoration: none !important;
   4.584 -}
   4.585 -
   4.586 -/* external link */
   4.587 -div.dokuwiki a.urlextern {
   4.588 -  background: transparent url(images/link_icon.gif) 0px 1px no-repeat;
   4.589 -  padding: 1px 0px 1px 16px;
   4.590 -}
   4.591 -
   4.592 -/* windows share */
   4.593 -div.dokuwiki a.windows {
   4.594 -  background: transparent url(images/windows.gif) 0px 1px no-repeat;
   4.595 -  padding: 1px 0px 1px 16px;
   4.596 -}
   4.597 -
   4.598 -/* interwiki link (icon are set by dokuwiki) */
   4.599 -div.dokuwiki a.interwiki {
   4.600 -}
   4.601 -
   4.602 -/* link to some embedded media */
   4.603 -div.dokuwiki a.media {
   4.604 -}
   4.605 -
   4.606 -div.dokuwiki a.urlextern:link,
   4.607 -div.dokuwiki a.windows:link,
   4.608 -div.dokuwiki a.interwiki:link {
   4.609 -  color: __extern__;
   4.610 -}
   4.611 -
   4.612 -div.dokuwiki a.urlextern:visited,
   4.613 -div.dokuwiki a.windows:visited,
   4.614 -div.dokuwiki a.interwiki:visited {
   4.615 -  color: purple;
   4.616 -}
   4.617 -div.dokuwiki a.urlextern:hover,
   4.618 -div.dokuwiki a.urlextern:active,
   4.619 -div.dokuwiki a.windows:hover,
   4.620 -div.dokuwiki a.windows:active,
   4.621 -div.dokuwiki a.interwiki:hover,
   4.622 -div.dokuwiki a.interwiki:active {
   4.623 -  color: __text__;
   4.624 -}
   4.625 -
   4.626 -/* email link */
   4.627 -div.dokuwiki a.mail {
   4.628 -  background: transparent url(images/mail_icon.gif) 0px 1px no-repeat;
   4.629 -  padding: 1px 0px 1px 16px;
   4.630 -}
   4.631 -
   4.632 -/* existing wikipage */
   4.633 -div.dokuwiki a.wikilink1 {
   4.634 -  color: #0F314E;
   4.635 -  text-decoration: underline;
   4.636 -}
   4.637 -div.dokuwiki a.wikilink1:hover {
   4.638 -  text-decoration: none;
   4.639 -  color: blue;
   4.640 -}
   4.641 -
   4.642 -/* not existing wikipage */
   4.643 -div.dokuwiki a.wikilink2 {
   4.644 -  color: __missing__ !important;
   4.645 -  text-decoration: none !important;
   4.646 -  border-bottom: dashed 1px __missing__ !important;
   4.647 -}
   4.648 -
   4.649 -/* ------------- Page elements ----------------- */
   4.650 -
   4.651 -div.dokuwiki div.preview {
   4.652 -  background-color: __background_neu__;
   4.653 -  margin: 0 0 0 2em;
   4.654 -  padding: 4px;
   4.655 -  border: 1px dashed __text__;
   4.656 -}
   4.657 -
   4.658 -div.dokuwiki div.breadcrumbs {
   4.659 -  background-color: #f1f1f1;
   4.660 -  color: __text_neu__;
   4.661 -  font-size: 85%;
   4.662 -  padding: 1px 0px 1px 18px;
   4.663 -  margin: 0px 100px 0px 100px;
   4.664 -}
   4.665 -
   4.666 -div.dokuwiki span.user {
   4.667 -  color: __text_other__;
   4.668 -  font-size: 90%;
   4.669 -}
   4.670 -
   4.671 -div.dokuwiki li.minor {
   4.672 -  color: __text_neu__;
   4.673 -  font-style: italic;
   4.674 -}
   4.675 -
   4.676 -/* embedded images */
   4.677 -div.dokuwiki img.media {
   4.678 -  margin: 3px;
   4.679 -}
   4.680 -
   4.681 -div.dokuwiki img.medialeft {
   4.682 -  border: 0;
   4.683 -  float: left;
   4.684 -  margin: 0 1.5em 0 0;
   4.685 -}
   4.686 -
   4.687 -div.dokuwiki img.mediaright {
   4.688 -  border: 0;
   4.689 -  float: right;
   4.690 -  margin: 0 0 0 1.5em;
   4.691 -}
   4.692 -
   4.693 -div.dokuwiki img.mediacenter {
   4.694 -  border: 0;
   4.695 -  display: block;
   4.696 -  margin: 0 auto;
   4.697 -}
   4.698 -
   4.699 -/* smileys */
   4.700 -div.dokuwiki img.middle {
   4.701 -  vertical-align: middle;
   4.702 -}
   4.703 -
   4.704 -div.dokuwiki acronym {
   4.705 -  cursor: help;
   4.706 -  border-bottom: 1px dotted __text__;
   4.707 -}
   4.708 -
   4.709 -/* general headline setup */
   4.710 -div.dokuwiki h1,
   4.711 -div.dokuwiki h2,
   4.712 -div.dokuwiki h3,
   4.713 -div.dokuwiki h4,
   4.714 -div.dokuwiki h5 {
   4.715 -    background-color: transparent;
   4.716 -    clear: left;
   4.717 -}
   4.718 -
   4.719 -/* unordered lists */
   4.720 -div.dokuwiki ul {
   4.721 -  line-height: 1.5em;
   4.722 -  list-style-type: square;
   4.723 -  list-style-image: none;
   4.724 -  margin: 0 0 0.5em 1.5em;
   4.725 -  color: __text_alt__;
   4.726 -}
   4.727 -
   4.728 -/* ordered lists */
   4.729 -div.dokuwiki ol {
   4.730 -  line-height: 1.5em;
   4.731 -  list-style-image: none;
   4.732 -  margin: 0 0 0.5em 1.5em;
   4.733 -  color: __text_alt__;
   4.734 -  font-weight: bold;
   4.735 -}
   4.736 -
   4.737 -/* the list items overriding the ul/ol definition */
   4.738 -div.dokuwiki .li {
   4.739 -  color: __text__;
   4.740 -  font-weight: normal;
   4.741 -}
   4.742 -
   4.743 -div.dokuwiki ol {list-style-type: decimal}
   4.744 -div.dokuwiki ol ol {list-style-type: upper-roman}
   4.745 -div.dokuwiki ol ol ol {list-style-type: lower-alpha}
   4.746 -div.dokuwiki ol ol ol ol {list-style-type: lower-greek}
   4.747 -
   4.748 -div.dokuwiki li.open {
   4.749 -  list-style-image: url(images/open.gif);
   4.750 -    /*list-style-type: circle;*/
   4.751 -}
   4.752 -
   4.753 -div.dokuwiki li.closed {
   4.754 -  list-style-image: url(images/closed.gif);
   4.755 -    /*list-style-type: disc;*/
   4.756 -}
   4.757 -
   4.758 -div.dokuwiki blockquote {
   4.759 -  border-left: 2px solid __border__;
   4.760 -  padding-left: 3px;
   4.761 -}
   4.762 -
   4.763 -div.dokuwiki pre {
   4.764 -  font-size: 100%;
   4.765 -  padding: 5px;
   4.766 -  color: black;
   4.767 -  background: #E1E0B0;
   4.768 -  border: 0;
   4.769 -  overflow: auto;
   4.770 -}
   4.771 -
   4.772 -/* code blocks by indention */
   4.773 -div.dokuwiki pre.pre {
   4.774 -  background-color: __background_other__;
   4.775 -}
   4.776 -
   4.777 -/* code blocks by code tag */
   4.778 -div.dokuwiki pre.code {
   4.779 -  -moz-border-radius: 4px;
   4.780 -  -webkit-border-radius: 4px;
   4.781 -  background-color: #e6e6be;
   4.782 -  color: black;
   4.783 -  padding: 5px ;
   4.784 -  border: 0;
   4.785 -}
   4.786 -
   4.787 -/* inline code words */
   4.788 -div.dokuwiki code {
   4.789 -  font-size: 120%;
   4.790 -   
   4.791 -  
   4.792 -}
   4.793 -
   4.794 -/* code blocks by file tag */
   4.795 -div.dokuwiki pre.file {
   4.796 -  background-color: __background_alt__;
   4.797 -}
   4.798 -
   4.799 -/* inline tables */
   4.800 -div.dokuwiki table.inline {
   4.801 -  background-color: __background__;
   4.802 -  border-spacing: 0px;
   4.803 -  border-collapse: collapse;
   4.804 -}
   4.805 -
   4.806 -div.dokuwiki table.inline th {
   4.807 -  padding: 3px;
   4.808 -  border: 1px solid __border__;
   4.809 -  background-color: __background_alt__;
   4.810 -}
   4.811 -
   4.812 -div.dokuwiki table.inline td {
   4.813 -  padding: 3px;
   4.814 -  border: 1px solid __border__;
   4.815 -}
   4.816 -
   4.817 -/* ---------- table of contents ------------------- */
   4.818 -
   4.819 -div.dokuwiki div.toc {
   4.820 -  margin: 1.2em 0 0 2em;
   4.821 -  float: right;
   4.822 -  width: 200px;
   4.823 -  font-size: 80%;
   4.824 -  clear: both;
   4.825 -}
   4.826 -
   4.827 -div.dokuwiki div.tocheader {
   4.828 -  border: 1px solid __border__;
   4.829 -  background-color: __background_alt__;
   4.830 -  text-align: left;
   4.831 -  font-weight: bold;
   4.832 -  padding: 3px;
   4.833 -  margin-bottom: 2px;
   4.834 -}
   4.835 -
   4.836 -div.dokuwiki span.toc_open,
   4.837 -div.dokuwiki span.toc_close {
   4.838 -    border: 0.4em solid __background_alt__;
   4.839 -    float: right;
   4.840 -    display: block;
   4.841 -    margin: 0.4em 3px 0 0;
   4.842 -}
   4.843 -
   4.844 -div.dokuwiki span.toc_open span,
   4.845 -div.dokuwiki span.toc_close span {
   4.846 -    display: none;
   4.847 -}
   4.848 -
   4.849 -div.dokuwiki span.toc_open {
   4.850 -    margin-top: 0.4em;
   4.851 -    border-top: 0.4em solid __text__;
   4.852 -}
   4.853 -
   4.854 -div.dokuwiki span.toc_close {
   4.855 -    margin-top: 0;
   4.856 -    border-bottom: 0.4em solid __text__;
   4.857 -}
   4.858 -
   4.859 -div.dokuwiki #toc__inside {
   4.860 -  border: 1px solid __border__;
   4.861 -  background-color: __background__;
   4.862 -  text-align: left;
   4.863 -  padding: 0.5em 0 0.7em 0;
   4.864 -}
   4.865 -
   4.866 -div.dokuwiki ul.toc {
   4.867 -  list-style-type: none;
   4.868 -  list-style-image: none;
   4.869 -  line-height: 1.2em;
   4.870 -  padding-left: 1em;
   4.871 -  margin: 0;
   4.872 -}
   4.873 -
   4.874 -div.dokuwiki ul.toc li {
   4.875 -  background: transparent url(images/tocdot2.gif) 0 0.6em no-repeat;
   4.876 -  padding-left: 0.4em;
   4.877 -}
   4.878 -
   4.879 -div.dokuwiki ul.toc li.clear {
   4.880 -  background-image: none;
   4.881 -  padding-left: 0.4em;
   4.882 -}
   4.883 -
   4.884 -div.dokuwiki a.toc:link,
   4.885 -div.dokuwiki a.toc:visited {
   4.886 -  color: __extern__;
   4.887 -}
   4.888 -
   4.889 -div.dokuwiki a.toc:hover,
   4.890 -div.dokuwiki a.toc:active {
   4.891 -  color: __text__;
   4.892 -}
   4.893 -
   4.894 -/* ---------------------------- Diff rendering --------------------------*/
   4.895 -div.dokuwiki table.diff {
   4.896 -  background-color: __background__;
   4.897 -  width: 100%;
   4.898 -}
   4.899 -div.dokuwiki td.diff-blockheader {
   4.900 -  font-weight: bold;
   4.901 -}
   4.902 -div.dokuwiki table.diff th {
   4.903 -  border-bottom: 1px solid __border__;
   4.904 -  font-size: 120%;
   4.905 -  width: 50%;
   4.906 -  font-weight: normal;
   4.907 -  text-align: left;
   4.908 -}
   4.909 -div.dokuwiki table.diff td {
   4.910 -  font-family: monospace;
   4.911 -  font-size: 100%;
   4.912 -}
   4.913 -div.dokuwiki td.diff-addedline {
   4.914 -  background-color: #ddffdd;
   4.915 -}
   4.916 -div.dokuwiki td.diff-deletedline {
   4.917 -    background-color: #ffffbb;
   4.918 -}
   4.919 -div.dokuwiki td.diff-context {
   4.920 -    background-color: __background_neu__;
   4.921 -}
   4.922 -div.dokuwiki table.diff td.diff-addedline strong,
   4.923 -div.dokuwiki table.diff td.diff-deletedline strong {
   4.924 -    color: red;
   4.925 -}
   4.926 -
   4.927 -/* --------------------- footnotes -------------------------------- */
   4.928 -
   4.929 -div.dokuwiki div.footnotes {
   4.930 -  clear: both;
   4.931 -  border-top: 1px solid __border__;
   4.932 -  padding-left: 1em;
   4.933 -  margin-top: 1em;
   4.934 -}
   4.935 -
   4.936 -div.dokuwiki div.fn {
   4.937 -  font-size: 90%;
   4.938 -}
   4.939 -
   4.940 -div.dokuwiki a.fn_bot {
   4.941 -  font-weight: bold;
   4.942 -}
   4.943 -
   4.944 -/* insitu-footnotes */
   4.945 -div.insitu-footnote {
   4.946 -  font-size: 80%;
   4.947 -  line-height: 1.2em;
   4.948 -  border: 1px solid __border__;
   4.949 -  background-color: __background_other__;
   4.950 -  text-align: left;
   4.951 -  padding: 4px;
   4.952 -  max-width: 40%;    /* IE's width is handled in javascript */
   4.953 -}
   4.954 -
   4.955 -/* overcome IE issue with one line code or file boxes which require h. scrolling */
   4.956 -* html .insitu-footnote pre.code,
   4.957 -* html .insitu-footnote pre.file {
   4.958 -  padding-bottom: 18px;
   4.959 -}
   4.960 -
   4.961 -/* --------------- search result formating --------------- */
   4.962 -div.dokuwiki .search_result {
   4.963 -  margin-bottom: 6px;
   4.964 -  padding: 0 10px 0 30px;
   4.965 -}
   4.966 -
   4.967 -div.dokuwiki .search_snippet {
   4.968 -  color: __text_other__;
   4.969 -  font-size: 12px;
   4.970 -  margin-left: 20px;
   4.971 -}
   4.972 -
   4.973 -div.dokuwiki .search_sep {
   4.974 -  color: __text__;
   4.975 -}
   4.976 -
   4.977 -div.dokuwiki .search_hit {
   4.978 -  color: __text__;
   4.979 -  background-color: __highlight__;
   4.980 -}
   4.981 -div.dokuwiki strong.search_hit {
   4.982 -  font-weight: normal;
   4.983 -}
   4.984 -
   4.985 -div.dokuwiki div.search_quickresult {
   4.986 -  margin: 0 0 15px 30px;
   4.987 -  padding: 0 10px 10px 0;
   4.988 -  border-bottom: 1px dashed __border__;
   4.989 -}
   4.990 -div.dokuwiki div.search_quickresult h3 {
   4.991 -  margin: 0 0 1.0em 0;
   4.992 -  font-size: 1em;
   4.993 -  font-weight: bold;
   4.994 -}
   4.995 -
   4.996 -div.dokuwiki ul.search_quickhits {
   4.997 -  margin: 0 0 0.5em 1.0em;
   4.998 -}
   4.999 -
  4.1000 -div.dokuwiki ul.search_quickhits li {
  4.1001 -  margin: 0 1.0em 0 1.0em;
  4.1002 -  float:left;
  4.1003 -  width: 30%;
  4.1004 -}
  4.1005 -
  4.1006 -/* ------------------ Additional ---------------------- */
  4.1007 -
  4.1008 -div.footerinc {
  4.1009 -    text-align: left;
  4.1010 -    margin: 10px 80px;
  4.1011 -}
  4.1012 -.footerinc a img {
  4.1013 -    opacity: 0.5;
  4.1014 -    border: 0;
  4.1015 -}
  4.1016 -
  4.1017 -.footerinc a:hover img {
  4.1018 -    opacity: 1;
  4.1019 -}
  4.1020 -
  4.1021 -/* ---------- AJAX quicksearch ----------- */
  4.1022 -
  4.1023 -div.dokuwiki div.ajax_qsearch {
  4.1024 -  position: absolute;
  4.1025 -  right: 237px;;
  4.1026 -  width: 200px;
  4.1027 -  opacity: 0.9;
  4.1028 -  display: none;
  4.1029 -  font-size: 80%;
  4.1030 -  line-height: 1.2em;
  4.1031 -  border: 1px solid __border__;
  4.1032 -  background-color: __background_other__;
  4.1033 -  text-align: left;
  4.1034 -  padding: 4px;
  4.1035 -}
  4.1036 -
  4.1037 -/* --------- Toolbar -------------------- */
  4.1038 -button.toolbutton {
  4.1039 -  background-color: transparent;
  4.1040 -  padding: 0px;
  4.1041 -  margin: 0 1px 0 0;
  4.1042 -  border: 1px solid __border__;
  4.1043 -  cursor: pointer;
  4.1044 -}
  4.1045 -
  4.1046 -div.picker {
  4.1047 -  width: 250px;
  4.1048 -  border: 1px solid __border__;
  4.1049 -  background-color: __background_alt__;
  4.1050 -}
  4.1051 -
  4.1052 -button.pickerbutton {
  4.1053 -  padding: 0px;
  4.1054 -  margin: 0 1px 1px 0;
  4.1055 -  border: 0;
  4.1056 -  background-color: transparent;
  4.1057 -  font-size: 80%;
  4.1058 -  cursor: pointer;
  4.1059 -}
  4.1060 -
  4.1061 -/* ---------------  Image Details  ----------------- */
  4.1062 -
  4.1063 -div.dokuwiki div.img_big {
  4.1064 -  float: left;
  4.1065 -  margin-right: 0.5em;
  4.1066 -}
  4.1067 -
  4.1068 -div.dokuwiki dl.img_tags dt {
  4.1069 -  font-weight: bold;
  4.1070 -  background-color: __background_alt__;
  4.1071 -}
  4.1072 -div.dokuwiki dl.img_tags dd {
  4.1073 -  background-color: __background_neu__;
  4.1074 -}
  4.1075 -
  4.1076 -div.dokuwiki div.imagemeta {
  4.1077 -  color: __text_neu__;
  4.1078 -  font-size: 70%;
  4.1079 -  line-height: 95%;
  4.1080 -}
  4.1081 -
  4.1082 -div.dokuwiki div.imagemeta img.thumb {
  4.1083 -  float:left;
  4.1084 -  margin-right: 0.1em;
  4.1085 -}
  4.1086 -
  4.1087 -div.notify { 
  4.1088 -	background: #FFCE21;
  4.1089 -	color: #222;
  4.1090 -	border: 1px solid #000;
  4.1091 -	font-size: 90%;
  4.1092 -	margin: 0;
  4.1093 -	padding: 4px;
  4.1094 -	-moz-border-radius: 4px;
  4.1095 -	-webkit-border-radius: 4px;
  4.1096 -	border-radius: 4px;
  4.1097 -	position: absolute;
  4.1098 -	top: 43px;
  4.1099 -	right: 24px;
  4.1100 -	width: 600px;
  4.1101 -}
  4.1102 -
  4.1103 -#access div.notify a { text-decoration: underline; }
  4.1104 -#access div.notify a:hover { text-decoration: none; }
     5.1 --- a/doc/lib/tpl/slitaz-brown/detail.php	Wed Jan 15 11:15:02 2014 +0100
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,92 +0,0 @@
     5.4 -<?php
     5.5 -/**
     5.6 - * DokuWiki Image Detail Template
     5.7 - *
     5.8 - * This is the template for displaying image details
     5.9 - *
    5.10 - * You should leave the doctype at the very top - It should
    5.11 - * always be the very first line of a document.
    5.12 - *
    5.13 - * @link   http://wiki.splitbrain.org/wiki:tpl:templates
    5.14 - * @author Andreas Gohr <andi@splitbrain.org>
    5.15 - */
    5.16 -
    5.17 -// must be run from within DokuWiki
    5.18 -if (!defined('DOKU_INC')) die();
    5.19 -
    5.20 -?>
    5.21 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    5.22 - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    5.23 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr">
    5.24 -<head>
    5.25 -  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    5.26 -  <title>
    5.27 -     <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
    5.28 -    [<?php echo strip_tags($conf['title'])?>]
    5.29 -  </title>
    5.30 -
    5.31 -  <?php tpl_metaheaders()?>
    5.32 -
    5.33 -  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
    5.34 -</head>
    5.35 -
    5.36 -<body>
    5.37 -<div class="dokuwiki">
    5.38 -  <?php html_msgarea()?>
    5.39 -
    5.40 -  <div class="page">
    5.41 -    <?php if($ERROR){ print $ERROR; }else{ ?>
    5.42 -
    5.43 -    <h1><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?></h1>
    5.44 -
    5.45 -    <div class="img_big">
    5.46 -      <?php tpl_img(900,700) ?>
    5.47 -    </div>
    5.48 -
    5.49 -    <div class="img_detail">
    5.50 -      <p class="img_caption">
    5.51 -        <?php print nl2br(hsc(tpl_img_getTag(array('IPTC.Caption',
    5.52 -                                               'EXIF.UserComment',
    5.53 -                                               'EXIF.TIFFImageDescription',
    5.54 -                                               'EXIF.TIFFUserComment')))); ?>
    5.55 -      </p>
    5.56 -
    5.57 -      <p>&larr; <?php echo $lang['img_backto']?> <?php tpl_pagelink($ID)?></p>
    5.58 -
    5.59 -      <dl class="img_tags">
    5.60 -        <?php
    5.61 -          $t = tpl_img_getTag('Date.EarliestTime');
    5.62 -          if($t) print '<dt>'.$lang['img_date'].':</dt><dd>'.strftime($conf['dformat'],$t).'</dd>';
    5.63 -
    5.64 -          $t = tpl_img_getTag('File.Name');
    5.65 -          if($t) print '<dt>'.$lang['img_fname'].':</dt><dd>'.hsc($t).'</dd>';
    5.66 -
    5.67 -          $t = tpl_img_getTag(array('Iptc.Byline','Exif.TIFFArtist','Exif.Artist','Iptc.Credit'));
    5.68 -          if($t) print '<dt>'.$lang['img_artist'].':</dt><dd>'.hsc($t).'</dd>';
    5.69 -
    5.70 -          $t = tpl_img_getTag(array('Iptc.CopyrightNotice','Exif.TIFFCopyright','Exif.Copyright'));
    5.71 -          if($t) print '<dt>'.$lang['img_copyr'].':</dt><dd>'.hsc($t).'</dd>';
    5.72 -
    5.73 -          $t = tpl_img_getTag('File.Format');
    5.74 -          if($t) print '<dt>'.$lang['img_format'].':</dt><dd>'.hsc($t).'</dd>';
    5.75 -
    5.76 -          $t = tpl_img_getTag('File.NiceSize');
    5.77 -          if($t) print '<dt>'.$lang['img_fsize'].':</dt><dd>'.hsc($t).'</dd>';
    5.78 -
    5.79 -          $t = tpl_img_getTag('Simple.Camera');
    5.80 -          if($t) print '<dt>'.$lang['img_camera'].':</dt><dd>'.hsc($t).'</dd>';
    5.81 -
    5.82 -          $t = tpl_img_getTag(array('IPTC.Keywords','IPTC.Category'));
    5.83 -          if($t) print '<dt>'.$lang['img_keywords'].':</dt><dd>'.hsc($t).'</dd>';
    5.84 -
    5.85 -        ?>
    5.86 -      </dl>
    5.87 -      <?php //Comment in for Debug// dbg(tpl_img_getTag('Simple.Raw'));?>
    5.88 -    </div>
    5.89 -
    5.90 -  <?php } ?>
    5.91 -  </div>
    5.92 -</div>
    5.93 -</body>
    5.94 -</html>
    5.95 -
     6.1 Binary file doc/lib/tpl/slitaz-brown/images/UWEB.png has changed
     7.1 Binary file doc/lib/tpl/slitaz-brown/images/button-dw.png has changed
     8.1 Binary file doc/lib/tpl/slitaz-brown/images/button-xhtml.png has changed
     9.1 Binary file doc/lib/tpl/slitaz-brown/images/favicon.ico has changed
    10.1 Binary file doc/lib/tpl/slitaz-brown/images/header-img.png has changed
    11.1 Binary file doc/lib/tpl/slitaz-brown/images/link_icon.gif has changed
    12.1 Binary file doc/lib/tpl/slitaz-brown/images/logo.png has changed
    13.1 Binary file doc/lib/tpl/slitaz-brown/images/mail_icon.gif has changed
    14.1 Binary file doc/lib/tpl/slitaz-brown/images/tools.png has changed
    15.1 --- a/doc/lib/tpl/slitaz-brown/layout.css	Wed Jan 15 11:15:02 2014 +0100
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,54 +0,0 @@
    15.4 -/**
    15.5 - * Tableless Layout for default template
    15.6 - *
    15.7 - * @author Andreas Gohr <andi@splitbrain.org>
    15.8 - * @author moraes <moraes@tipos.com.br>
    15.9 - */
   15.10 -
   15.11 -/* -------------- top row --------------- */
   15.12 -
   15.13 -div.dokuwiki .pagename {
   15.14 -  float: left;
   15.15 -  font-size: 200%;
   15.16 -  font-weight: bolder;
   15.17 -  color: __background_alt__;
   15.18 -  text-align: left;
   15.19 -  vertical-align: middle;
   15.20 -}
   15.21 -
   15.22 -div.dokuwiki .pagename a {
   15.23 -  color: __extern__ !important;
   15.24 -  text-decoration: none !important;
   15.25 -}
   15.26 -
   15.27 -/* ---------------  top and bottom bar ---------------- */
   15.28 -
   15.29 -#bar__bottomleft { margin-top: 3px;}
   15.30 -
   15.31 -div.dokuwiki .bar-left {
   15.32 -  float: left;
   15.33 -  margin-left: 14px;
   15.34 -}
   15.35 -
   15.36 -div.dokuwiki .bar-right {
   15.37 -  float: right;
   15.38 -  text-align: right;
   15.39 -  margin-right: 14px;
   15.40 -}
   15.41 -
   15.42 -/* ------------- File Metadata ----------------------- */
   15.43 -
   15.44 -div.dokuwiki div.meta {
   15.45 -  clear: both;
   15.46 -  margin-top: 1em;
   15.47 -  color: #666666;
   15.48 -  font-size: 85%;
   15.49 -}
   15.50 -
   15.51 -div.dokuwiki div.meta div.user {
   15.52 -  float: left;
   15.53 -}
   15.54 -
   15.55 -div.dokuwiki div.meta div.doc {
   15.56 -  text-align: right;
   15.57 -}
    16.1 --- a/doc/lib/tpl/slitaz-brown/main.php	Wed Jan 15 11:15:02 2014 +0100
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,140 +0,0 @@
    16.4 -<?php
    16.5 -/**
    16.6 - * DokuWiki SliTaz Template - With code from the default theme by
    16.7 - * Andreas Gohr <andi@splitbrain.org>
    16.8 - * 
    16.9 - */
   16.10 -
   16.11 -// must be run from within DokuWiki
   16.12 -if (!defined('DOKU_INC')) die();
   16.13 -
   16.14 -?>
   16.15 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   16.16 - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   16.17 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
   16.18 - lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
   16.19 -<head>
   16.20 -  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   16.21 -  <title>
   16.22 -    <?php tpl_pagetitle()?>
   16.23 -    [<?php echo strip_tags($conf['title'])?>]
   16.24 -  </title>
   16.25 -
   16.26 -  <?php tpl_metaheaders()?>
   16.27 -
   16.28 -  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
   16.29 -</head>
   16.30 -<body>
   16.31 -
   16.32 -<div class="dokuwiki">
   16.33 -
   16.34 -<!-- Header -->
   16.35 -<div id="header">
   16.36 -	<?php html_msgarea()?>
   16.37 -<!-- Access -->
   16.38 -<div id="access">
   16.39 -<?php
   16.40 -$translation = &plugin_load('helper','translation');
   16.41 -echo $translation->showTranslations();
   16.42 -?>
   16.43 -</div>
   16.44 -    <a href="http://doc.slitaz.org/"><img id="logo"
   16.45 -		src="<?php echo DOKU_TPL?>images/logo.png"
   16.46 -		title="doc.slitaz.org" alt="doc.slitaz.org" /></a>
   16.47 -    <p id="titre">#!/Doc/<?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?>
   16.48 -    </p>
   16.49 -</div>
   16.50 -
   16.51 -<!-- Content -->
   16.52 -<div id="content">
   16.53 -
   16.54 -<!-- Block begin -->
   16.55 -<div class="block">
   16.56 -	<!-- Nav block begin -->
   16.57 -	<div id="block_nav">
   16.58 -		<h3><img src="<?php echo DOKU_TPL?>images/tools.png" alt=".png" />Wiki Tools</h3>
   16.59 -		<div><?php tpl_button('recent')?></div>
   16.60 -		<div><?php tpl_button('subscription')?></div>
   16.61 -		<div><?php tpl_button('admin')?></div>
   16.62 -		<div><?php tpl_button('profile')?></div>
   16.63 -		<div><?php tpl_button('login')?></div>
   16.64 -	<!-- Nav block end -->
   16.65 -	</div>
   16.66 -	<!-- Top block begin -->
   16.67 -	<div id="block_top">
   16.68 -		<p>
   16.69 -			The central place for all SliTaz documentation.
   16.70 -		</p>
   16.71 -		<div><?php tpl_searchform()?>
   16.72 -		</div>
   16.73 -		<h3><img src="<?php echo DOKU_TPL?>images/tools.png" alt=".png" />Page Tools</h3>
   16.74 -		<div><?php tpl_button('edit')?></div>
   16.75 -		<div><?php tpl_button('history')?></div>
   16.76 -		<div><?php tpl_button('index')?></div>
   16.77 -	<!-- Top block end -->
   16.78 -	</div>
   16.79 -<!-- Block end -->
   16.80 -</div>
   16.81 -
   16.82 -<?php flush()?>
   16.83 -
   16.84 -<!-- wikipage start -->
   16.85 -<?php tpl_content()?>
   16.86 -<!-- wikipage stop -->
   16.87 -
   16.88 -<div class="clearer">&nbsp;</div>
   16.89 -<?php flush()?>
   16.90 -
   16.91 -<div class="meta">
   16.92 -  <div class="user">
   16.93 -	<?php tpl_userinfo()?>
   16.94 -  </div>
   16.95 -  <div class="doc">
   16.96 -	<?php tpl_pageinfo()?>
   16.97 -  </div>
   16.98 -</div>
   16.99 -
  16.100 -<!-- End of content -->
  16.101 -</div>
  16.102 -
  16.103 -<!-- End of: class="dokuwiki" -->
  16.104 -</div>
  16.105 -
  16.106 -<!-- Footer -->
  16.107 -<div id="footer">
  16.108 -	<div class="right_box">
  16.109 -	<h4>SliTaz Network</h4>
  16.110 -		<ul>
  16.111 -			<li><a href="http://www.slitaz.org/">Main Website</a></li>
  16.112 -			<li><a href="http://forum.slitaz.org/">Support Forum</a></li>
  16.113 -			<li><a href="http://scn.slitaz.org/">Community Network</a></li>
  16.114 -			<li><a href="http://labs.slitaz.org/">Laboratories</a></li>
  16.115 -			<li><a href="http://pkgs.slitaz.org/">Packages</a></li>
  16.116 -			<li><a href="http://boot.slitaz.org/">Web Boot</a></li>
  16.117 -		</ul>
  16.118 -	</div>
  16.119 -	<h4>SliTaz Website</h4>
  16.120 -	<ul>
  16.121 -		<li><a href="#header">Top of the page</a></li>
  16.122 -		<li>Copyright &copy; <?php echo date('Y'); ?></span>
  16.123 -			<a href="http://www.slitaz.org/">SliTaz</a> -
  16.124 -			<a href="http://www.gnu.org/copyleft/fdl.html">GNU FDL</a></li>
  16.125 -		<li><a href="http://www.slitaz.org/en/about/">About the project</a></li>
  16.126 -		<li><a href="http://www.slitaz.org/netmap.php">Network Map</a></li>
  16.127 -		<li>Page modified the <?php echo (date( "d M Y", getlastmod())); ?></li>
  16.128 -		<li>
  16.129 -			<a <?php echo $tgt?> href="http://validator.w3.org/check/referer" title="Valid XHTML 1.0">
  16.130 -			<img src="<?php echo DOKU_TPL; ?>images/button-xhtml.png" width="80" height="15" alt="Valid XHTML 1.0" /></a>
  16.131 -			<a <?php echo $tgt?> href="http://wiki.splitbrain.org/wiki:dokuwiki" title="Driven by DokuWiki">
  16.132 -			<img src="<?php echo DOKU_TPL; ?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a>
  16.133 -		</li>
  16.134 -	</ul>
  16.135 -</div>
  16.136 -
  16.137 -<div class="no">
  16.138 -	<?php /* provide DokuWiki housekeeping, required in all templates */
  16.139 -	tpl_indexerWebBug() ?>
  16.140 -</div>
  16.141 -
  16.142 -</body>
  16.143 -</html>
    17.1 --- a/doc/lib/tpl/slitaz-brown/media.css	Wed Jan 15 11:15:02 2014 +0100
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,200 +0,0 @@
    17.4 -/**
    17.5 - * The CSS in here cotrols the appearance of the media manager
    17.6 - */
    17.7 -
    17.8 -#media__manager {
    17.9 -    height: 100%;
   17.10 -    overflow: hidden;
   17.11 -}
   17.12 -
   17.13 -#media__left {
   17.14 -    width: 30%;
   17.15 -    border-right: solid 1px __border__;
   17.16 -
   17.17 -    height: 100%;
   17.18 -    overflow: auto;
   17.19 -    position: absolute;
   17.20 -    left: 0;
   17.21 -}
   17.22 -
   17.23 -#media__right {
   17.24 -    width: 69.7%;
   17.25 -
   17.26 -    height: 100%;
   17.27 -    overflow: auto;
   17.28 -    position: absolute;
   17.29 -    right: 0;
   17.30 -}
   17.31 -
   17.32 -#media__manager h1 {
   17.33 -    margin: 0;
   17.34 -    padding: 0;
   17.35 -    margin-bottom: 0.5em;
   17.36 -}
   17.37 -
   17.38 -/* --- Tree formatting --- */
   17.39 -
   17.40 -#media__tree img {
   17.41 -    float:left;
   17.42 -    padding: 0.5em 0.3em 0 0;
   17.43 -}
   17.44 -
   17.45 -#media__tree ul {
   17.46 -    list-style-type: none;
   17.47 -    list-style-image: none;
   17.48 -}
   17.49 -
   17.50 -#media__tree li {
   17.51 -    clear: left;
   17.52 -    list-style-type: none;
   17.53 -    list-style-image: none;
   17.54 -}
   17.55 -*+html #media__tree li,
   17.56 -* html #media__tree li {
   17.57 -    border: 1px solid __background__;
   17.58 -}/* I don't understand this, but this fixes a style bug in IE;
   17.59 -it's dirty, so any "real" fixes are welcome */
   17.60 -
   17.61 -/* --- options --- */
   17.62 -
   17.63 -#media__opts {
   17.64 -    padding-left: 1em;
   17.65 -    margin-bottom: 0.5em;
   17.66 -}
   17.67 -
   17.68 -#media__opts input {
   17.69 -    float: left;
   17.70 -    position: absolute;
   17.71 -}
   17.72 -*+html #media__opts input,
   17.73 -* html #media__opts input {
   17.74 -    position: static;
   17.75 -}
   17.76 -
   17.77 -#media__opts label {
   17.78 -    display: block;
   17.79 -    float: left;
   17.80 -    margin-left: 30px;
   17.81 -}
   17.82 -*+html #media__opts label,
   17.83 -* html #media__opts label {
   17.84 -    margin-left: 10px;
   17.85 -}
   17.86 -
   17.87 -#media__opts br {
   17.88 -    clear: left;
   17.89 -}
   17.90 -
   17.91 -/* --- file list --- */
   17.92 -
   17.93 -#media__content img.load {
   17.94 -    margin: 1em auto;
   17.95 -}
   17.96 -
   17.97 -#media__content #scroll__here {
   17.98 -    border: 1px dashed __border__;
   17.99 -}
  17.100 -
  17.101 -#media__content .odd {
  17.102 -    background-color: __background_other__;
  17.103 -    padding: 0.4em;
  17.104 -}
  17.105 -
  17.106 -#media__content .even {
  17.107 -    padding: 0.4em;
  17.108 -}
  17.109 -
  17.110 -#media__content a.mediafile {
  17.111 -    margin-right: 1.5em;
  17.112 -    font-weight: bold;
  17.113 -}
  17.114 -
  17.115 -#media__content div.detail {
  17.116 -    padding: 0.3em 0 0.3em 2em;
  17.117 -}
  17.118 -
  17.119 -#media__content div.detail div.thumb {
  17.120 -    float: left;
  17.121 -    width: 130px;
  17.122 -    text-align: center;
  17.123 -    margin-right: 0.4em;
  17.124 -}
  17.125 -
  17.126 -
  17.127 -#media__content img.btn {
  17.128 -    vertical-align: text-bottom;
  17.129 -}
  17.130 -
  17.131 -#media__content div.example {
  17.132 -    color: __text_neu__;
  17.133 -    margin-left: 1em;
  17.134 -}
  17.135 -
  17.136 -/* --- upload form --- */
  17.137 -
  17.138 -#media__content div.upload {
  17.139 -    font-size: 90%;
  17.140 -    padding: 0 0.5em 0.5em 0.5em;
  17.141 -}
  17.142 -
  17.143 -#media__content form#dw__upload {
  17.144 -    display: block;
  17.145 -    border-bottom: solid 1px __border__;
  17.146 -    padding: 0 0.5em 1em 0.5em;
  17.147 -}
  17.148 -#media__content form#dw__upload fieldset {
  17.149 -    padding: 0;
  17.150 -    margin: 0;
  17.151 -    border: none;
  17.152 -    width: auto;
  17.153 -}
  17.154 -#media__content form#dw__upload p {
  17.155 -    text-align: left;
  17.156 -    padding: 0.25em 0;
  17.157 -    margin: 0;
  17.158 -    line-height: 1.0em;
  17.159 -}
  17.160 -#media__content form#dw__upload label.check {
  17.161 -    float: none;
  17.162 -    width: auto;
  17.163 -    margin-left: 11.5em;
  17.164 -}
  17.165 -
  17.166 -/* --- meta edit form --- */
  17.167 -
  17.168 -#media__content form.meta {
  17.169 -    display: block;
  17.170 -    padding: 0 0 1em 0;
  17.171 -}
  17.172 -
  17.173 -#media__content form.meta label {
  17.174 -    display: block;
  17.175 -    width: 25%;
  17.176 -    float: left;
  17.177 -    font-weight: bold;
  17.178 -    margin-left: 1em;
  17.179 -    clear: left;
  17.180 -}
  17.181 -
  17.182 -#media__content form.meta .edit {
  17.183 -    font: 100% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
  17.184 -    float: left;
  17.185 -    width: 70%;
  17.186 -    padding-right: 0;
  17.187 -    padding-left: 0.2em;
  17.188 -    margin: 2px;
  17.189 -}
  17.190 -
  17.191 -#media__content form.meta textarea.edit {
  17.192 -    height: 8em;
  17.193 -}
  17.194 -
  17.195 -#media__content form.meta div.metafield {
  17.196 -    clear: left;
  17.197 -}
  17.198 -
  17.199 -#media__content form.meta div.buttons {
  17.200 -    clear: left;
  17.201 -    margin-left: 20%;
  17.202 -    padding-left: 1em;
  17.203 -}
    18.1 --- a/doc/lib/tpl/slitaz-brown/mediamanager.php	Wed Jan 15 11:15:02 2014 +0100
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,44 +0,0 @@
    18.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    18.5 - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    18.6 -<?php
    18.7 -/**
    18.8 - * DokuWiki Default Template
    18.9 - *
   18.10 - * This is the template for the media manager popup
   18.11 - *
   18.12 - * You should leave the doctype at the very top - It should
   18.13 - * always be the very first line of a document.
   18.14 - *
   18.15 - * @link   http://wiki.splitbrain.org/wiki:tpl:templates
   18.16 - * @author Andreas Gohr <andi@splitbrain.org>
   18.17 - */
   18.18 -?>
   18.19 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr">
   18.20 -<head>
   18.21 -  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   18.22 -  <title>
   18.23 -    <?php echo hsc($lang['mediaselect'])?>
   18.24 -    [<?php echo strip_tags($conf['title'])?>]
   18.25 -  </title>
   18.26 -  <?php tpl_metaheaders()?>
   18.27 -  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
   18.28 -</head>
   18.29 -
   18.30 -<body>
   18.31 -<div id="media__manager" class="dokuwiki">
   18.32 -    <div id="media__left">
   18.33 -        <?php html_msgarea()?>
   18.34 -        <h1><?php echo hsc($lang['mediaselect'])?></h1>
   18.35 -
   18.36 -        <?php /* keep the id! additional elements are inserted via JS here */?>
   18.37 -        <div id="media__opts"></div>
   18.38 -
   18.39 -        <?php tpl_mediaTree() ?>
   18.40 -    </div>
   18.41 -
   18.42 -    <div id="media__right">
   18.43 -        <?php tpl_mediaContent() ?>
   18.44 -    </div>
   18.45 -</div>
   18.46 -</body>
   18.47 -</html>
    19.1 --- a/doc/lib/tpl/slitaz-brown/print.css	Wed Jan 15 11:15:02 2014 +0100
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,235 +0,0 @@
    19.4 -
    19.5 -body {
    19.6 -  font: 10pt "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
    19.7 -  background-color: White;
    19.8 -  color: Black;
    19.9 -}
   19.10 -
   19.11 -table {
   19.12 -  font-size: 100%;
   19.13 -  padding:0;
   19.14 -  margin:0;
   19.15 -}
   19.16 -
   19.17 -tr,td,th {padding:0; margin:0;}
   19.18 -
   19.19 -img {border:0}
   19.20 -
   19.21 -a {
   19.22 -  color:#000000;
   19.23 -  text-decoration:none;
   19.24 -  background: none !important;
   19.25 -}
   19.26 -
   19.27 -
   19.28 -div.meta {
   19.29 -  clear:both;
   19.30 -  margin-top: 1em;
   19.31 -  font-size:70%;
   19.32 -  text-align:right;
   19.33 -}
   19.34 -
   19.35 -
   19.36 -div.notify,
   19.37 -div.info,
   19.38 -div.success,
   19.39 -div.error,
   19.40 -div.breadcrumbs,
   19.41 -div.secedit {
   19.42 -  display:none;
   19.43 -}
   19.44 -
   19.45 -/* --------------------- Text formating -------------------------------- */
   19.46 -
   19.47 -/* external link */
   19.48 -a.urlextern:after {
   19.49 -   content: " [" attr(href) "]";
   19.50 -   font-size: 90%;
   19.51 -}
   19.52 -
   19.53 -/* interwiki link */
   19.54 -a.interwiki:after {
   19.55 -   content: " [" attr(href) "]";
   19.56 -   font-size: 90%;
   19.57 -}
   19.58 -
   19.59 -/* email link */
   19.60 -a.mail:after {
   19.61 -   content: " [" attr(href) "]";
   19.62 -   font-size: 90%;
   19.63 -}
   19.64 -
   19.65 -/* existing wikilink */
   19.66 -a.wikilink1    {text-decoration:underline }
   19.67 -
   19.68 -/* the document */
   19.69 -div.page {
   19.70 -  text-align: justify;
   19.71 -}
   19.72 -
   19.73 -/* general headline setup */
   19.74 -h1, h2, h3, h4, h5 {
   19.75 -    color: Black;
   19.76 -    background-color: transparent;
   19.77 -    font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
   19.78 -    font-size: 100%;
   19.79 -    font-weight: normal;
   19.80 -    margin-left:    0;
   19.81 -    margin-right:   0;
   19.82 -    margin-top:     0;
   19.83 -    margin-bottom:  1em;
   19.84 -    padding-left:   0;
   19.85 -    padding-right:  0;
   19.86 -    padding-top:    0.5em;
   19.87 -    padding-bottom: 0;
   19.88 -    border-bottom: 1px solid #000000;
   19.89 -    clear:left;
   19.90 -}
   19.91 -
   19.92 -/* special headlines */
   19.93 -h1 {font-size: 160%; font-weight: bold;}
   19.94 -h2 {font-size: 150%; }
   19.95 -h3 {font-size: 140%; border-bottom: none; }
   19.96 -h4 {font-size: 120%; border-bottom: none; }
   19.97 -h5 {font-size: 100%; border-bottom: none; }
   19.98 -
   19.99 -/* embedded images */
  19.100 -img.media {
  19.101 -  margin: 3px;
  19.102 -}
  19.103 -
  19.104 -img.medialeft {
  19.105 -  border: 0;
  19.106 -  float: left;
  19.107 -  margin: 0 1.5em 0 0;
  19.108 -}
  19.109 -
  19.110 -img.mediaright {
  19.111 -  border: 0;
  19.112 -  float: right;
  19.113 -  margin: 0 0 0 1.5em;
  19.114 -}
  19.115 -
  19.116 -/* unordered lists */
  19.117 -ul {
  19.118 -    line-height: 1.5em;
  19.119 -    list-style-type: square;
  19.120 -    margin: 0 0 0.5em 1.5em;
  19.121 -    padding: 0;
  19.122 -
  19.123 -}
  19.124 -
  19.125 -/* ordered lists */
  19.126 -ol {
  19.127 -    line-height: 1.5em;
  19.128 -    margin: 0 0 0.5em 2.5em;
  19.129 -    padding: 0;
  19.130 -    font-weight: normal;
  19.131 -}
  19.132 -ol ol {
  19.133 -    margin: 0 0 0.5em 1.5em;
  19.134 -}
  19.135 -
  19.136 -div.dokuwiki ol {list-style-type: decimal}
  19.137 -div.dokuwiki ol ol {list-style-type: upper-roman}
  19.138 -div.dokuwiki ol ol ol {list-style-type: lower-alpha}
  19.139 -div.dokuwiki ol ol ol ol {list-style-type: lower-greek}
  19.140 -
  19.141 -/* the list items overriding the ol definition */
  19.142 -span.li {
  19.143 -    font-weight: normal;
  19.144 -}
  19.145 -
  19.146 -/* code blocks by indention */
  19.147 -pre.pre {
  19.148 -  font-size: 8pt;
  19.149 -  padding: 0.5em;
  19.150 -  border: 1px dashed #000000;
  19.151 -  color: Black;
  19.152 -  overflow: visible;
  19.153 -}
  19.154 -
  19.155 -/* code blocks by code tag */
  19.156 -pre.code {
  19.157 -  font-size: 8pt;
  19.158 -  padding: 0.5em;
  19.159 -  border: 1px dashed #000000;
  19.160 -  color: Black;
  19.161 -  overflow: visible;
  19.162 -}
  19.163 -
  19.164 -/* inline code words */
  19.165 -code {
  19.166 -  font-size: 120%;
  19.167 -}
  19.168 -
  19.169 -/* code blocks by file tag */
  19.170 -pre.file {
  19.171 -  font-size: 8pt;
  19.172 -  padding: 0.5em;
  19.173 -  border: 1px dotted #000000;
  19.174 -  color: Black;
  19.175 -  overflow: visible;
  19.176 -}
  19.177 -
  19.178 -/* footnotes */
  19.179 -div.footnotes{
  19.180 -  clear:both;
  19.181 -  border-top: 1px solid #000000;
  19.182 -  padding-left: 1em;
  19.183 -  margin-top: 1em;
  19.184 -}
  19.185 -
  19.186 -div.fn{
  19.187 -  font-size:90%;
  19.188 -}
  19.189 -
  19.190 -a.fn_top{
  19.191 -  vertical-align:super;
  19.192 -  font-size:80%;
  19.193 -}
  19.194 -
  19.195 -a.fn_bot{
  19.196 -  vertical-align:super;
  19.197 -  font-size:80%;
  19.198 -  font-weight:bold;
  19.199 -}
  19.200 -
  19.201 -acronym{
  19.202 -  border: 0;
  19.203 -}
  19.204 -
  19.205 -/* ---------- inline tables ------------------- */
  19.206 -
  19.207 -table.inline {
  19.208 -  font-size: 80%;
  19.209 -  background-color: #ffffff;
  19.210 -  border-spacing: 0px;
  19.211 -  border-collapse: collapse;
  19.212 -}
  19.213 -
  19.214 -table.inline th {
  19.215 -  padding: 3px;
  19.216 -  border: 1px solid #000000;
  19.217 -  border-bottom: 2px solid #000000;
  19.218 -}
  19.219 -
  19.220 -table.inline td {
  19.221 -  padding: 3px;
  19.222 -  border: 1px solid #000000;
  19.223 -}
  19.224 -
  19.225 -.leftalign{
  19.226 -  text-align: left;
  19.227 -}
  19.228 -
  19.229 -.centeralign{
  19.230 -  text-align: center;
  19.231 -}
  19.232 -
  19.233 -.rightalign{
  19.234 -  text-align: right;
  19.235 -}
  19.236 -
  19.237 -.toc, .footerinc, .header, .bar, .user {display:none}
  19.238 -
    20.1 --- a/doc/lib/tpl/slitaz-brown/rtl.css	Wed Jan 15 11:15:02 2014 +0100
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,119 +0,0 @@
    20.4 -/**
    20.5 - * Layout and dedsign corrections for right-to-left languages
    20.6 - *
    20.7 - * @author Andreas Gohr <andi@splitbrain.org>
    20.8 - * @author Dotan Kamber <kamberd@yahoo.com>
    20.9 - */
   20.10 -
   20.11 -.bar-left {
   20.12 -  float: right;
   20.13 -  text-align: right;
   20.14 -}
   20.15 -
   20.16 -.bar-right {
   20.17 -  float: left;
   20.18 -  text-align: left;
   20.19 -}
   20.20 -
   20.21 -.pagename {
   20.22 -  float: right;
   20.23 -  text-align: right;
   20.24 -}
   20.25 -
   20.26 -.logo {
   20.27 -  float: left;
   20.28 -  text-align: left;
   20.29 -}
   20.30 -
   20.31 -label {
   20.32 -  text-align: left;
   20.33 -}
   20.34 -
   20.35 -label.simple {
   20.36 -  text-align: right;
   20.37 -}
   20.38 -
   20.39 -div.meta div.user {
   20.40 -  float: right
   20.41 -}
   20.42 -
   20.43 -div.meta div.doc {
   20.44 -  text-align: left;
   20.45 -}
   20.46 -
   20.47 -/* ------------------  Design corrections  --------------------------------- */
   20.48 -
   20.49 -div.dokuwiki ul,
   20.50 -div.dokuwiki ol {
   20.51 -  margin: 0.5em 1.5em 0.5em 0;
   20.52 -}
   20.53 -
   20.54 -div.dokuwiki a.urlextern,
   20.55 -div.dokuwiki a.interwiki,
   20.56 -div.dokuwiki a.windows,
   20.57 -div.dokuwiki a.mail,
   20.58 -div.dokuwiki a.mail.JSnocheck {
   20.59 -  /* should work but doesn't - so we just disable icons here*/
   20.60 -  /*
   20.61 -  background-position: right 1px;
   20.62 -  padding-right: 16px;
   20.63 -  */
   20.64 -  background-image: none !important;
   20.65 -  padding: 0px 0px 0px 0px;
   20.66 -}
   20.67 -
   20.68 -div.dokuwiki div.secedit input.button {
   20.69 -  float: left;
   20.70 -}
   20.71 -
   20.72 -/* headlines */
   20.73 -div.dokuwiki h1, div.dokuwiki h2, div.dokuwiki h3, div.dokuwiki h4, div.dokuwiki h5 {
   20.74 -  clear: right;
   20.75 -}
   20.76 -
   20.77 -/* special headlines */
   20.78 -div.dokuwiki h1 {margin-left: 0px; margin-right: 0px;}
   20.79 -div.dokuwiki h2 {margin-left: 0px; margin-right: 20px;}
   20.80 -div.dokuwiki h3 {margin-left: 0px; margin-right: 40px;}
   20.81 -div.dokuwiki h4 {margin-left: 0px; margin-right: 60px;}
   20.82 -div.dokuwiki h5 {margin-left: 0px; margin-right: 80px;}
   20.83 -
   20.84 -/* indent different sections */
   20.85 -div.dokuwiki div.level1 {margin-left: 0px; margin-right: 3px;}
   20.86 -div.dokuwiki div.level2 {margin-left: 0px; margin-right: 23px;}
   20.87 -div.dokuwiki div.level3 {margin-left: 0px; margin-right: 43px;}
   20.88 -div.dokuwiki div.level4 {margin-left: 0px; margin-right: 63px;}
   20.89 -div.dokuwiki div.level5 {margin-left: 0px; margin-right: 83px;}
   20.90 -
   20.91 -/* TOC control */
   20.92 -div.dokuwiki div.toc {
   20.93 -  float: left;
   20.94 -}
   20.95 -
   20.96 -div.dokuwiki div.tocheader {
   20.97 -  text-align: right;
   20.98 -}
   20.99 -
  20.100 -div.dokuwiki #toc__inside {
  20.101 -  text-align: right;
  20.102 -}
  20.103 -
  20.104 -div.dokuwiki ul.toc {
  20.105 -  padding: 0;
  20.106 -  padding-right: 1em;
  20.107 -}
  20.108 -
  20.109 -div.dokuwiki ul.toc li {
  20.110 -  background-position: right 0.6em;
  20.111 -  padding-right:0.4em;
  20.112 -  direction: rtl;
  20.113 -}
  20.114 -
  20.115 -div.dokuwiki ul.toc li.clear {
  20.116 -  padding-right:0.4em;
  20.117 -}
  20.118 -
  20.119 -div.dokuwiki pre {
  20.120 -  text-align: left;
  20.121 -}
  20.122 -
    21.1 --- a/doc/lib/tpl/slitaz-brown/style.ini	Wed Jan 15 11:15:02 2014 +0100
    21.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.3 @@ -1,67 +0,0 @@
    21.4 -; Please see http://www.php.net/manual/en/function.parse-ini-file.php
    21.5 -; for limitations of the ini format used here
    21.6 -
    21.7 -; Define the stylesheets your template uses here. The second value
    21.8 -; defines for which output media the style should be loaded. Currently
    21.9 -; print, screen and rtl are supported. rtl styles are loaded additionally
   21.10 -; to screen styles if a right-to-left language is selected (eg. hebrew)
   21.11 -[stylesheets]
   21.12 -layout.css     = screen
   21.13 -design.css     = screen
   21.14 -style.css      = screen
   21.15 -
   21.16 -media.css      = screen
   21.17 -
   21.18 -UWEB.css      = screen
   21.19 -
   21.20 -rtl.css        = rtl
   21.21 -print.css      = print
   21.22 -
   21.23 -; This section is used to configure some placeholder values used in
   21.24 -; the stylesheets. Changing this file is the simplest method to
   21.25 -; give your wiki a new look.
   21.26 -[replacements]
   21.27 -
   21.28 -;--------------------------------------------------------------------------
   21.29 -;------ guaranteed dokuwiki color placeholders that every plugin can use
   21.30 -; main text and background colors
   21.31 -__text__           = "#000"
   21.32 -__background__     = "#fff"
   21.33 -; alternative text and background colors
   21.34 -__text_alt__       = "#638c9c"
   21.35 -__background_alt__ = "#dee7ec"
   21.36 -; neutral text and background colors
   21.37 -__text_neu__       = "#666"
   21.38 -__background_neu__ = "#f5f5f5"
   21.39 -; border color
   21.40 -__border__         = "#dadada"
   21.41 -;--------------------------------------------------------------------------
   21.42 -
   21.43 -; other text and background colors
   21.44 -__text_other__       = "#ccc"
   21.45 -__background_other__ = "#f7f9fa"
   21.46 -
   21.47 -; these are used for links
   21.48 -__extern__    = "#436976"
   21.49 -__existing__  = "#090"
   21.50 -__missing__   = "#f30"
   21.51 -
   21.52 -; highlighting search snippets
   21.53 -__highlight__ = "#ff9"
   21.54 -
   21.55 -
   21.56 -;--------------------------------------------------------------------------
   21.57 -;------ for keeping old templates and plugins compatible to the old pattern
   21.58 -; (to be deleted at the next or after next release)
   21.59 -__white__      = "#fff"
   21.60 -__lightgray__  = "#f5f5f5"
   21.61 -__mediumgray__ = "#ccc"
   21.62 -__darkgray__   = "#666"
   21.63 -__black__      = "#000"
   21.64 -
   21.65 -; these are the shades of blue
   21.66 -__lighter__   = "#f7f9fa"
   21.67 -__light__     = "#eef3f8"
   21.68 -__medium__    = "#dee7ec"
   21.69 -__dark__      = "#8cacbb"
   21.70 -__darker__    = "#638c9c"
    22.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.2 +++ b/doc/lib/tpl/slitaz-grey/UWEB.css	Wed Jan 15 14:24:29 2014 +0100
    22.3 @@ -0,0 +1,17 @@
    22.4 +/**
    22.5 + * This stylesheet adds the Universal Wiki Edit Button log to the edit page button
    22.6 + *
    22.7 + * For more info about this Wiki community project visit http://www.aboutus.org/uweb
    22.8 +
    22.9 +
   22.10 +html>body div.dokuwiki form.btn_edit input.button {
   22.11 +  padding: 0.125em 0.4em 0.125em 2em;
   22.12 +  background:  __background__ url(images/UWEB.png) no-repeat 0.2em 0.2em;
   22.13 +}
   22.14 +
   22.15 +/* nice alphatransparency background except for IE <7 */
   22.16 +html>body div.dokuwiki form.btn_edit input.button {
   22.17 +  padding: 0px 0px 0px 18px;
   22.18 +  background: url(images/UWEB.png) no-repeat left bottom;
   22.19 +}
   22.20 +
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/doc/lib/tpl/slitaz-grey/design.css	Wed Jan 15 14:24:29 2014 +0100
    23.3 @@ -0,0 +1,1017 @@
    23.4 +/**
    23.5 + * Design elements for default Template
    23.6 + *
    23.7 + * @author Andreas Gohr <andi@splitbrain.org>
    23.8 + * @author Anika Henke <henke@cosmocode.de>
    23.9 + */
   23.10 +
   23.11 +/* -------------- general elements --------------- */
   23.12 +
   23.13 +/* * { padding: 0; margin: 0; } */
   23.14 +
   23.15 +/* SliTaz stuff */
   23.16 +html {
   23.17 +	min-height:  102%;
   23.18 +}
   23.19 +
   23.20 +body {
   23.21 +	background: #ffffff;
   23.22 +	color: black;
   23.23 +	font: 13px sans-serif, vernada, arial;
   23.24 +	margin: 0;
   23.25 +	min-width: 780px;
   23.26 +}
   23.27 +
   23.28 +/* Languges */
   23.29 +
   23.30 +#lang {
   23.31 +	position: absolute;
   23.32 +	top: 40px;
   23.33 +	right: 0px;
   23.34 +	text-align: right;
   23.35 +	width: auto;
   23.36 +	margin: 0;
   23.37 +	padding: 4px 4px 4px 20px;
   23.38 +	font-size: 11px;
   23.39 +	font-weight: bold;
   23.40 +}
   23.41 +
   23.42 +#lang a {
   23.43 +	text-decoration: none;
   23.44 +	font-weight: bold
   23.45 +}
   23.46 +
   23.47 +#lang a:hover, div.plugin_translation a:hover {
   23.48 +	background: transparent;
   23.49 +	color: #b64b22;
   23.50 +}
   23.51 +
   23.52 +#lang img {
   23.53 +	vertical-align: middle;
   23.54 +}
   23.55 +
   23.56 +/* Header and title */
   23.57 +
   23.58 +#header {
   23.59 +	background: #351a0a;
   23.60 +	color: #fff;
   23.61 +	width: 100%;
   23.62 +	height: 40px;
   23.63 +}
   23.64 +
   23.65 +#header h1 {
   23.66 +	margin: 0;
   23.67 +	padding: 8px 0 0 42px;
   23.68 +	width: 250px;
   23.69 +}
   23.70 +
   23.71 +#header h1 a { 
   23.72 +	color: white; 
   23.73 +	text-decoration: none;
   23.74 +	font-size: 20px;
   23.75 +	font-style: italic;
   23.76 +}
   23.77 +
   23.78 +#header h1 a:hover, #network a:hover { 
   23.79 +	color: #d66018;
   23.80 +}
   23.81 +
   23.82 +/* Logo */
   23.83 +
   23.84 +#logo {
   23.85 +	background: url(images/logo.png) no-repeat left;
   23.86 +	position: absolute;
   23.87 +	float: left;
   23.88 +	left: 0px;
   23.89 +	top: 0px;
   23.90 +	width: 40px;
   23.91 +	height: 40px;
   23.92 +}
   23.93 +
   23.94 +/* SliTaz Network */
   23.95 +
   23.96 +#network { 
   23.97 +	float: right; 
   23.98 +	padding: 10px 5px 0; 
   23.99 +	font-size: 12px;
  23.100 +}
  23.101 +
  23.102 +#network a { padding: 0 6px; color: #fff; 
  23.103 +	font-weight: bold;
  23.104 +	text-decoration: none;}
  23.105 +#network img { vertical-align: middle; }
  23.106 +
  23.107 +#block { 
  23.108 +	min-height: 100px; 
  23.109 +	background: #d66018; 
  23.110 +	padding: 20px 12% 0;
  23.111 +	text-align: center;
  23.112 +	color: #333;
  23.113 +	border-bottom: 1px solid #f5f5f5;
  23.114 +}
  23.115 +
  23.116 +/* Page content */
  23.117 +
  23.118 +#content {
  23.119 +	background: white;
  23.120 +	color: black;
  23.121 +	text-align: justify;
  23.122 +	height: auto;
  23.123 +	margin: 0;
  23.124 +	padding: 40px 80px;
  23.125 +}
  23.126 +
  23.127 +#content li, #content-full li {
  23.128 +	line-height: 1.5em;
  23.129 +	text-align: left;
  23.130 +}
  23.131 +
  23.132 +/* Box and block. */
  23.133 +
  23.134 +.tools { 
  23.135 +	width: 100%;
  23.136 +	min-height: 30px;
  23.137 +	background-color: #cc5b17;
  23.138 +	padding: 8px 5px 1px 5px;
  23.139 +	margin: 10px 0;
  23.140 +	vertical-align: middle;
  23.141 +	text-align: left;
  23.142 +}
  23.143 +
  23.144 +.tools img, .tools form { vertical-align: middle; }
  23.145 +.tools span { font-size: 110%; }
  23.146 +div.dokuwiki .tools input.button {
  23.147 +  color: #fff;
  23.148 +}
  23.149 +div.dokuwiki .tools input:hover.button {
  23.150 +  color: #351a0a;
  23.151 +}
  23.152 +
  23.153 +#footer, .tools {
  23.154 +	-moz-border-radius: 4px;
  23.155 +	-webkit-border-radius: 4px;
  23.156 +	border-radius: 4px;
  23.157 +}
  23.158 +
  23.159 +.right_box {
  23.160 +	width: 50%;
  23.161 +	float: right;
  23.162 +}
  23.163 +
  23.164 +/* HTML styles */
  23.165 +
  23.166 +h1, h1 a {
  23.167 +	color: #888;
  23.168 +	background: transparent;
  23.169 +	text-align: left;
  23.170 +	margin: 0;
  23.171 +	font-size: 130%;
  23.172 +	font-weight: bold;
  23.173 +	padding: 0;
  23.174 +	text-decoration: none !important;
  23.175 +}
  23.176 +
  23.177 +h2, h2 a {
  23.178 +	color: #666;
  23.179 +	padding: 0;
  23.180 +	margin: 20px 0 0 0;
  23.181 +	font-size: 130%;
  23.182 +	font-weight: bold;
  23.183 +	text-decoration: none !important;
  23.184 +}
  23.185 +
  23.186 +h3, .tools span {
  23.187 +	font-weight: bold;
  23.188 +	color: #666666;
  23.189 +	background: transparent;
  23.190 +}
  23.191 +	
  23.192 +h3 img { 
  23.193 +	vertical-align: middle;
  23.194 +	width: 20px;
  23.195 +	height: 20px;
  23.196 +	padding-right: 4px; 
  23.197 +}
  23.198 +
  23.199 +a {
  23.200 +	text-decoration: underline;
  23.201 +	color: #103A5E;
  23.202 +	background: inherit;
  23.203 +}
  23.204 +
  23.205 +a:hover {
  23.206 +	text-decoration: none;
  23.207 +	color: blue;
  23.208 +	background: inherit;
  23.209 +}
  23.210 +
  23.211 +code {
  23.212 +	font-size: 12px;
  23.213 +	color: #669900;
  23.214 +	background: inherit;
  23.215 +}
  23.216 +
  23.217 +tt {
  23.218 +	color: #15EE15;
  23.219 +	background: inherit;
  23.220 +}
  23.221 +
  23.222 +img {
  23.223 +	border: 0pt none;
  23.224 +}
  23.225 +
  23.226 +pre {
  23.227 +	padding: 5px;
  23.228 +	color: black;
  23.229 +	background: #E1E0B0;
  23.230 +}
  23.231 +
  23.232 +pre.script {
  23.233 +	padding: 10px;
  23.234 +	color: black;
  23.235 +	background: #E8E8E8;
  23.236 +	border: 1px inset #606060;
  23.237 +}
  23.238 +
  23.239 +textarea {
  23.240 +	background: #E5E5E5;
  23.241 +	margin-top: 12px;
  23.242 +}
  23.243 +
  23.244 +.year:after {
  23.245 +	/* content: "2007-2014"; */
  23.246 +	content: "2014";
  23.247 +}
  23.248 +
  23.249 +/* Footer */
  23.250 +
  23.251 +#footer {
  23.252 +	background: #f1f1f1;
  23.253 +	text-align: center;
  23.254 +	border-top: 1px solid #ddd;
  23.255 +	padding: 40px;
  23.256 +	color: #666;
  23.257 +	clear: both;
  23.258 +	margin-bottom: -2%;
  23.259 +}
  23.260 +#footer a {
  23.261 +	background: inherit;
  23.262 +	color: #666666;
  23.263 +}
  23.264 +#footer a:hover {
  23.265 +	background: inherit;
  23.266 +	color: #333333;
  23.267 +}
  23.268 +#footer ul {
  23.269 +	list-style-type: none;
  23.270 +}
  23.271 +#footer li {
  23.272 +	padding: 2px;
  23.273 +}
  23.274 +#footer h4 {
  23.275 +	margin: 0 20px;
  23.276 +	font-size: 125%;
  23.277 +}
  23.278 +
  23.279 +/* the document */
  23.280 +div.dokuwiki div.page {
  23.281 +  text-align: justify;
  23.282 +  background: #ffffff;
  23.283 +}
  23.284 +
  23.285 +div.dokuwiki table {
  23.286 +  font-size: 100%;
  23.287 +}
  23.288 +
  23.289 +div.dokuwiki tr,
  23.290 +div.dokuwiki td,
  23.291 +div.dokuwiki th {
  23.292 +}
  23.293 +
  23.294 +div.dokuwiki img {
  23.295 +  border: 0;
  23.296 +}
  23.297 +
  23.298 +div.dokuwiki p,
  23.299 +div.dokuwiki blockquote,
  23.300 +div.dokuwiki table,
  23.301 +div.dokuwiki pre {
  23.302 +  margin: 0 0 1.0em 0;
  23.303 +}
  23.304 +
  23.305 +div.dokuwiki hr {
  23.306 +  border: 0px;
  23.307 +  border-top: 1px solid __border__;
  23.308 +  text-align: center;
  23.309 +  height: 0px;
  23.310 +}
  23.311 +
  23.312 +div.dokuwiki div.nothing {
  23.313 +  text-align: center;
  23.314 +  margin: 2em;
  23.315 +}
  23.316 +
  23.317 +/* ---------------- forms ------------------------ */
  23.318 +
  23.319 +div.dokuwiki form {
  23.320 +  border: none;
  23.321 +  display: inline;
  23.322 +}
  23.323 +
  23.324 +div.dokuwiki label.block {
  23.325 +  display: block;
  23.326 +  text-align: right;
  23.327 +  font-weight: bold;
  23.328 +  min-height: 20px;
  23.329 +  margin: 0;
  23.330 +}
  23.331 +
  23.332 +div.dokuwiki label.simple {
  23.333 +  display: block;
  23.334 +  text-align: left;
  23.335 +  font-weight: normal;
  23.336 +}
  23.337 +
  23.338 +div.dokuwiki label.block input.edit {
  23.339 +  width: 50%;
  23.340 +}
  23.341 +
  23.342 +div.dokuwiki fieldset {
  23.343 +  width: 300px;
  23.344 +  text-align: center;
  23.345 +  border: 1px solid __border__;
  23.346 +  padding: 0.5em;
  23.347 +  margin: auto;
  23.348 +}
  23.349 +
  23.350 +div.dokuwiki textarea.edit {
  23.351 +  font-family: monospace;
  23.352 +  font-size: 14px;
  23.353 +  color: __text__;
  23.354 +  background-color: __background__;
  23.355 +  border: 1px solid __border__;
  23.356 +  padding: 0.3em 0 0 0.3em;
  23.357 +  width: 100%;
  23.358 +}
  23.359 +
  23.360 +div.dokuwiki input.edit,
  23.361 +div.dokuwiki select.edit {
  23.362 +  font-size: 100%;
  23.363 +  border: 1px solid __border__;
  23.364 +  color: __text__;
  23.365 +  background-color: __background__;
  23.366 +  vertical-align: middle;
  23.367 +  margin: 0px;
  23.368 +  padding: 0.20em 0.3em;
  23.369 +  display: inline;
  23.370 +}
  23.371 +
  23.372 +div.dokuwiki select.edit {
  23.373 +  padding: 0.1em 0;
  23.374 +}
  23.375 +
  23.376 +div.dokuwiki input.missing {
  23.377 +  font-size: 100%;
  23.378 +  border: 1px solid __border__;
  23.379 +  color: __text__;
  23.380 +  background-color: #ffcccc;
  23.381 +  vertical-align: middle;
  23.382 +  margin: 1px;
  23.383 +  padding: 0.20em 0.3em;
  23.384 +  display: inline;
  23.385 +}
  23.386 +
  23.387 +/* disabled style - not understood by IE */
  23.388 +div.dokuwiki textarea.edit[disabled],
  23.389 +div.dokuwiki textarea.edit[readonly],
  23.390 +div.dokuwiki input.edit[disabled],
  23.391 +div.dokuwiki input.edit[readonly],
  23.392 +div.dokuwiki select.edit[disabled] {
  23.393 +  background-color: __background_neu__!important;
  23.394 +  color: __text_neu__!important;
  23.395 +}
  23.396 +
  23.397 +/* edit form */
  23.398 +div.dokuwiki div.toolbar,
  23.399 +div.dokuwiki div#wiki__editbar {
  23.400 +   margin: 2px 0;
  23.401 +   text-align: left;
  23.402 +}
  23.403 +div.dokuwiki div#size__ctl {
  23.404 +   float: right;
  23.405 +   width: 60px;
  23.406 +   height: 2.7em;
  23.407 +}
  23.408 +div.dokuwiki #size__ctl img {
  23.409 +   cursor: pointer;
  23.410 +}
  23.411 +div.dokuwiki div#wiki__editbar div.editButtons {
  23.412 +   float: left;
  23.413 +   padding: 0 1.0em 0.7em 0;
  23.414 +}
  23.415 +div.dokuwiki div#wiki__editbar div.summary {
  23.416 +   float: left;
  23.417 +}
  23.418 +div.dokuwiki .nowrap {
  23.419 +   white-space: nowrap;
  23.420 +}
  23.421 +div.dokuwiki div#draft__status {
  23.422 +  float: right;
  23.423 +  color: __text_alt__;
  23.424 +}
  23.425 +
  23.426 +/* --------- buttons ------------------- */
  23.427 +
  23.428 +
  23.429 +div.dokuwiki input.button,
  23.430 +div.dokuwiki button.button {
  23.431 +  border: 0px solid #eaeaea;
  23.432 +  color: #0F314E;
  23.433 +  background-color: transparent;
  23.434 +  vertical-align: middle;
  23.435 +  text-decoration: none;
  23.436 +  font-size: 12px;
  23.437 +  font-weight: bold;
  23.438 +  cursor: pointer;
  23.439 +  padding: 0;
  23.440 +}
  23.441 +
  23.442 +div.dokuwiki input:hover.button {
  23.443 +  color: #b64b22;
  23.444 +}
  23.445 +
  23.446 +* html div.dokuwiki input.button,
  23.447 +* html div.dokuwiki button.button {
  23.448 +  height: 24px;
  23.449 +}
  23.450 +
  23.451 +div.dokuwiki div.secedit input.button {
  23.452 +  border: 1px solid #eaeaea;
  23.453 +  color: #3E1220;
  23.454 +  background-color: transparent;
  23.455 +  vertical-align: middle;
  23.456 +  text-decoration: none;
  23.457 +  margin: 0;
  23.458 +  padding: 0;
  23.459 +  font-size: 10px;
  23.460 +  cursor: pointer;
  23.461 +  float: right;
  23.462 +  display: inline;
  23.463 +}
  23.464 +
  23.465 +/* ----------- page navigator ------------- */
  23.466 +
  23.467 +div.dokuwiki div.pagenav {
  23.468 +    margin: 1em 0 0 0;
  23.469 +}
  23.470 +
  23.471 +div.dokuwiki div.pagenav-prev {
  23.472 +    text-align: right;
  23.473 +    float: left;
  23.474 +    width: 49%
  23.475 +}
  23.476 +
  23.477 +div.dokuwiki div.pagenav-next {
  23.478 +    text-align: left;
  23.479 +    float: right;
  23.480 +    width: 49%
  23.481 +}
  23.482 +
  23.483 +/* --------------- Links ------------------ */
  23.484 +
  23.485 +div.dokuwiki a:link,
  23.486 +div.dokuwiki a:visited {
  23.487 +  color: __extern__;
  23.488 +  text-decoration: none;
  23.489 +}
  23.490 +div.dokuwiki a:hover,
  23.491 +div.dokuwiki a:active {
  23.492 +  color: __text__;
  23.493 +  text-decoration: underline;
  23.494 +}
  23.495 +
  23.496 +div.dokuwiki h3 a,
  23.497 +div.dokuwiki h4 a,
  23.498 +div.dokuwiki h5 a,
  23.499 +div.dokuwiki a.nolink {
  23.500 +  color: #6c0023 !important;
  23.501 +  text-decoration: none !important;
  23.502 +}
  23.503 +
  23.504 +/* external link */
  23.505 +div.dokuwiki a.urlextern {
  23.506 +  background: transparent url(images/link_icon.gif) 0px 1px no-repeat;
  23.507 +  padding: 1px 0px 1px 16px;
  23.508 +}
  23.509 +
  23.510 +/* windows share */
  23.511 +div.dokuwiki a.windows {
  23.512 +  background: transparent url(images/windows.gif) 0px 1px no-repeat;
  23.513 +  padding: 1px 0px 1px 16px;
  23.514 +}
  23.515 +
  23.516 +/* interwiki link (icon are set by dokuwiki) */
  23.517 +div.dokuwiki a.interwiki {
  23.518 +}
  23.519 +
  23.520 +/* link to some embedded media */
  23.521 +div.dokuwiki a.media {
  23.522 +}
  23.523 +
  23.524 +div.dokuwiki a.urlextern:link,
  23.525 +div.dokuwiki a.windows:link,
  23.526 +div.dokuwiki a.interwiki:link {
  23.527 +  color: __extern__;
  23.528 +}
  23.529 +
  23.530 +div.dokuwiki a.urlextern:visited,
  23.531 +div.dokuwiki a.windows:visited,
  23.532 +div.dokuwiki a.interwiki:visited {
  23.533 +  color: purple;
  23.534 +}
  23.535 +div.dokuwiki a.urlextern:hover,
  23.536 +div.dokuwiki a.urlextern:active,
  23.537 +div.dokuwiki a.windows:hover,
  23.538 +div.dokuwiki a.windows:active,
  23.539 +div.dokuwiki a.interwiki:hover,
  23.540 +div.dokuwiki a.interwiki:active {
  23.541 +  color: __text__;
  23.542 +}
  23.543 +
  23.544 +/* email link */
  23.545 +div.dokuwiki a.mail {
  23.546 +  background: transparent url(images/mail_icon.gif) 0px 1px no-repeat;
  23.547 +  padding: 1px 0px 1px 16px;
  23.548 +}
  23.549 +
  23.550 +/* existing wikipage */
  23.551 +div.dokuwiki a.wikilink1 {
  23.552 +  color: #0F314E;
  23.553 +  text-decoration: underline;
  23.554 +}
  23.555 +div.dokuwiki a.wikilink1:hover {
  23.556 +  text-decoration: none;
  23.557 +  color: blue;
  23.558 +}
  23.559 +
  23.560 +/* not existing wikipage */
  23.561 +div.dokuwiki a.wikilink2 {
  23.562 +  color: __missing__ !important;
  23.563 +  text-decoration: none !important;
  23.564 +  border-bottom: dashed 1px __missing__ !important;
  23.565 +}
  23.566 +
  23.567 +/* ------------- Page elements ----------------- */
  23.568 +
  23.569 +div.dokuwiki div.preview {
  23.570 +  background-color: __background_neu__;
  23.571 +  margin: 0 0 0 2em;
  23.572 +  padding: 4px;
  23.573 +  border: 1px dashed __text__;
  23.574 +}
  23.575 +
  23.576 +div.dokuwiki div.breadcrumbs {
  23.577 +  background-color: #f1f1f1;
  23.578 +  color: __text_neu__;
  23.579 +  font-size: 85%;
  23.580 +  padding: 1px 0px 1px 18px;
  23.581 +  margin: 0px 100px 0px 100px;
  23.582 +}
  23.583 +
  23.584 +div.dokuwiki span.user {
  23.585 +  color: __text_other__;
  23.586 +  font-size: 90%;
  23.587 +}
  23.588 +
  23.589 +div.dokuwiki li.minor {
  23.590 +  color: __text_neu__;
  23.591 +  font-style: italic;
  23.592 +}
  23.593 +
  23.594 +/* embedded images */
  23.595 +div.dokuwiki img.media {
  23.596 +  margin: 3px;
  23.597 +}
  23.598 +
  23.599 +div.dokuwiki img.medialeft {
  23.600 +  border: 0;
  23.601 +  float: left;
  23.602 +  margin: 0 1.5em 0 0;
  23.603 +}
  23.604 +
  23.605 +div.dokuwiki img.mediaright {
  23.606 +  border: 0;
  23.607 +  float: right;
  23.608 +  margin: 0 0 0 1.5em;
  23.609 +}
  23.610 +
  23.611 +div.dokuwiki img.mediacenter {
  23.612 +  border: 0;
  23.613 +  display: block;
  23.614 +  margin: 0 auto;
  23.615 +}
  23.616 +
  23.617 +/* smileys */
  23.618 +div.dokuwiki img.middle {
  23.619 +  vertical-align: middle;
  23.620 +}
  23.621 +
  23.622 +div.dokuwiki acronym {
  23.623 +  cursor: help;
  23.624 +  border-bottom: 1px dotted __text__;
  23.625 +}
  23.626 +
  23.627 +/* general headline setup */
  23.628 +div.dokuwiki h1,
  23.629 +div.dokuwiki h2,
  23.630 +div.dokuwiki h3,
  23.631 +div.dokuwiki h4,
  23.632 +div.dokuwiki h5 {
  23.633 +    background-color: transparent;
  23.634 +    clear: left;
  23.635 +}
  23.636 +
  23.637 +/* unordered lists */
  23.638 +div.dokuwiki ul {
  23.639 +  line-height: 1.5em;
  23.640 +  list-style-type: square;
  23.641 +  list-style-image: none;
  23.642 +  margin: 0 0 0.5em 1.5em;
  23.643 +  color: __text_alt__;
  23.644 +}
  23.645 +
  23.646 +/* ordered lists */
  23.647 +div.dokuwiki ol {
  23.648 +  line-height: 1.5em;
  23.649 +  list-style-image: none;
  23.650 +  margin: 0 0 0.5em 1.5em;
  23.651 +  color: __text_alt__;
  23.652 +  font-weight: bold;
  23.653 +}
  23.654 +
  23.655 +/* the list items overriding the ul/ol definition */
  23.656 +div.dokuwiki .li {
  23.657 +  color: __text__;
  23.658 +  font-weight: normal;
  23.659 +}
  23.660 +
  23.661 +div.dokuwiki ol {list-style-type: decimal}
  23.662 +div.dokuwiki ol ol {list-style-type: upper-roman}
  23.663 +div.dokuwiki ol ol ol {list-style-type: lower-alpha}
  23.664 +div.dokuwiki ol ol ol ol {list-style-type: lower-greek}
  23.665 +
  23.666 +div.dokuwiki li.open {
  23.667 +  list-style-image: url(images/open.gif);
  23.668 +    /*list-style-type: circle;*/
  23.669 +}
  23.670 +
  23.671 +div.dokuwiki li.closed {
  23.672 +  list-style-image: url(images/closed.gif);
  23.673 +    /*list-style-type: disc;*/
  23.674 +}
  23.675 +
  23.676 +div.dokuwiki blockquote {
  23.677 +  border-left: 2px solid __border__;
  23.678 +  padding-left: 3px;
  23.679 +}
  23.680 +
  23.681 +div.dokuwiki pre {
  23.682 +  font-size: 100%;
  23.683 +  padding: 5px;
  23.684 +  color: black;
  23.685 +  background: #E1E0B0;
  23.686 +  border: 0;
  23.687 +  overflow: auto;
  23.688 +}
  23.689 +
  23.690 +/* code blocks by indention */
  23.691 +div.dokuwiki pre.pre {
  23.692 +  background-color: __background_other__;
  23.693 +}
  23.694 +
  23.695 +/* code blocks by code tag */
  23.696 +div.dokuwiki pre.code {
  23.697 +	-moz-border-radius: 4px;
  23.698 +	-webkit-border-radius: 4px;
  23.699 +	background-color: #f8f8f8; 
  23.700 +	border: 1px solid #ddd; 
  23.701 +	padding: 10px;
  23.702 +
  23.703 +}
  23.704 +
  23.705 +/* inline code words */
  23.706 +div.dokuwiki code {
  23.707 +  font-size: 120%;
  23.708 +}
  23.709 +
  23.710 +/* code blocks by file tag */
  23.711 +div.dokuwiki pre.file {
  23.712 +  background-color: __background_alt__;
  23.713 +}
  23.714 +
  23.715 +/* inline tables */
  23.716 +div.dokuwiki table.inline {
  23.717 +  background-color: __background__;
  23.718 +  border-spacing: 0px;
  23.719 +  border-collapse: collapse;
  23.720 +}
  23.721 +
  23.722 +div.dokuwiki table.inline th {
  23.723 +  padding: 3px;
  23.724 +  border: 1px solid __border__;
  23.725 +  background-color: __background_alt__;
  23.726 +}
  23.727 +
  23.728 +div.dokuwiki table.inline td {
  23.729 +  padding: 3px;
  23.730 +  border: 1px solid __border__;
  23.731 +}
  23.732 +
  23.733 +/* ---------- table of contents ------------------- */
  23.734 +
  23.735 +div.dokuwiki div.toc {
  23.736 +  margin: 1.2em 0 0 2em;
  23.737 +  float: right;
  23.738 +  width: 200px;
  23.739 +  font-size: 80%;
  23.740 +  clear: both;
  23.741 +}
  23.742 +
  23.743 +div.dokuwiki div.tocheader {
  23.744 +  border: 1px solid __border__;
  23.745 +  background-color: __background_alt__;
  23.746 +  text-align: left;
  23.747 +  font-weight: bold;
  23.748 +  padding: 3px;
  23.749 +  margin-bottom: 2px;
  23.750 +}
  23.751 +
  23.752 +div.dokuwiki span.toc_open,
  23.753 +div.dokuwiki span.toc_close {
  23.754 +    border: 0.4em solid __background_alt__;
  23.755 +    float: right;
  23.756 +    display: block;
  23.757 +    margin: 0.4em 3px 0 0;
  23.758 +}
  23.759 +
  23.760 +div.dokuwiki span.toc_open span,
  23.761 +div.dokuwiki span.toc_close span {
  23.762 +    display: none;
  23.763 +}
  23.764 +
  23.765 +div.dokuwiki span.toc_open {
  23.766 +    margin-top: 0.4em;
  23.767 +    border-top: 0.4em solid __text__;
  23.768 +}
  23.769 +
  23.770 +div.dokuwiki span.toc_close {
  23.771 +    margin-top: 0;
  23.772 +    border-bottom: 0.4em solid __text__;
  23.773 +}
  23.774 +
  23.775 +div.dokuwiki #toc__inside {
  23.776 +  border: 1px solid __border__;
  23.777 +  background-color: __background__;
  23.778 +  text-align: left;
  23.779 +  padding: 0.5em 0 0.7em 0;
  23.780 +}
  23.781 +
  23.782 +div.dokuwiki ul.toc {
  23.783 +  list-style-type: none;
  23.784 +  list-style-image: none;
  23.785 +  line-height: 1.2em;
  23.786 +  padding-left: 1em;
  23.787 +  margin: 0;
  23.788 +}
  23.789 +
  23.790 +div.dokuwiki ul.toc li {
  23.791 +  background: transparent url(images/tocdot2.gif) 0 0.6em no-repeat;
  23.792 +  padding-left: 0.4em;
  23.793 +}
  23.794 +
  23.795 +div.dokuwiki ul.toc li.clear {
  23.796 +  background-image: none;
  23.797 +  padding-left: 0.4em;
  23.798 +}
  23.799 +
  23.800 +div.dokuwiki a.toc:link,
  23.801 +div.dokuwiki a.toc:visited {
  23.802 +  color: __extern__;
  23.803 +}
  23.804 +
  23.805 +div.dokuwiki a.toc:hover,
  23.806 +div.dokuwiki a.toc:active {
  23.807 +  color: __text__;
  23.808 +}
  23.809 +
  23.810 +/* ---------------------------- Diff rendering --------------------------*/
  23.811 +div.dokuwiki table.diff {
  23.812 +  background-color: __background__;
  23.813 +  width: 100%;
  23.814 +}
  23.815 +div.dokuwiki td.diff-blockheader {
  23.816 +  font-weight: bold;
  23.817 +}
  23.818 +div.dokuwiki table.diff th {
  23.819 +  border-bottom: 1px solid __border__;
  23.820 +  font-size: 120%;
  23.821 +  width: 50%;
  23.822 +  font-weight: normal;
  23.823 +  text-align: left;
  23.824 +}
  23.825 +div.dokuwiki table.diff td {
  23.826 +  font-family: monospace;
  23.827 +  font-size: 100%;
  23.828 +}
  23.829 +div.dokuwiki td.diff-addedline {
  23.830 +  background-color: #ddffdd;
  23.831 +}
  23.832 +div.dokuwiki td.diff-deletedline {
  23.833 +    background-color: #ffffbb;
  23.834 +}
  23.835 +div.dokuwiki td.diff-context {
  23.836 +    background-color: __background_neu__;
  23.837 +}
  23.838 +div.dokuwiki table.diff td.diff-addedline strong,
  23.839 +div.dokuwiki table.diff td.diff-deletedline strong {
  23.840 +    color: red;
  23.841 +}
  23.842 +
  23.843 +/* --------------------- footnotes -------------------------------- */
  23.844 +
  23.845 +div.dokuwiki div.footnotes {
  23.846 +  clear: both;
  23.847 +  border-top: 1px solid __border__;
  23.848 +  padding-left: 1em;
  23.849 +  margin-top: 1em;
  23.850 +}
  23.851 +
  23.852 +div.dokuwiki div.fn {
  23.853 +  font-size: 90%;
  23.854 +}
  23.855 +
  23.856 +div.dokuwiki a.fn_bot {
  23.857 +  font-weight: bold;
  23.858 +}
  23.859 +
  23.860 +/* insitu-footnotes */
  23.861 +div.insitu-footnote {
  23.862 +  font-size: 80%;
  23.863 +  line-height: 1.2em;
  23.864 +  border: 1px solid __border__;
  23.865 +  background-color: __background_other__;
  23.866 +  text-align: left;
  23.867 +  padding: 4px;
  23.868 +  max-width: 40%;    /* IE's width is handled in javascript */
  23.869 +}
  23.870 +
  23.871 +/* overcome IE issue with one line code or file boxes which require h. scrolling */
  23.872 +* html .insitu-footnote pre.code,
  23.873 +* html .insitu-footnote pre.file {
  23.874 +  padding-bottom: 18px;
  23.875 +}
  23.876 +
  23.877 +/* --------------- search result formating --------------- */
  23.878 +div.dokuwiki .search_result {
  23.879 +  margin-bottom: 6px;
  23.880 +  padding: 0 10px 0 30px;
  23.881 +}
  23.882 +
  23.883 +div.dokuwiki .search_snippet {
  23.884 +  color: __text_other__;
  23.885 +  font-size: 12px;
  23.886 +  margin-left: 20px;
  23.887 +}
  23.888 +
  23.889 +div.dokuwiki .search_sep {
  23.890 +  color: __text__;
  23.891 +}
  23.892 +
  23.893 +div.dokuwiki .search_hit {
  23.894 +  color: __text__;
  23.895 +  background-color: __highlight__;
  23.896 +}
  23.897 +div.dokuwiki strong.search_hit {
  23.898 +  font-weight: normal;
  23.899 +}
  23.900 +
  23.901 +div.dokuwiki div.search_quickresult {
  23.902 +  margin: 0 0 15px 30px;
  23.903 +  padding: 0 10px 10px 0;
  23.904 +  border-bottom: 1px dashed __border__;
  23.905 +}
  23.906 +div.dokuwiki div.search_quickresult h3 {
  23.907 +  margin: 0 0 1.0em 0;
  23.908 +  font-size: 1em;
  23.909 +  font-weight: bold;
  23.910 +}
  23.911 +
  23.912 +div.dokuwiki ul.search_quickhits {
  23.913 +  margin: 0 0 0.5em 1.0em;
  23.914 +}
  23.915 +
  23.916 +div.dokuwiki ul.search_quickhits li {
  23.917 +  margin: 0 1.0em 0 1.0em;
  23.918 +  float:left;
  23.919 +  width: 30%;
  23.920 +}
  23.921 +
  23.922 +/* ------------------ Additional ---------------------- */
  23.923 +
  23.924 +div.footerinc {
  23.925 +    text-align: left;
  23.926 +    margin: 10px 80px;
  23.927 +}
  23.928 +.footerinc a img {
  23.929 +    opacity: 0.5;
  23.930 +    border: 0;
  23.931 +}
  23.932 +
  23.933 +.footerinc a:hover img {
  23.934 +    opacity: 1;
  23.935 +}
  23.936 +
  23.937 +/* ---------- AJAX quicksearch ----------- */
  23.938 +
  23.939 +div.dokuwiki div.ajax_qsearch {
  23.940 +  position: absolute;
  23.941 +  right: 237px;;
  23.942 +  width: 200px;
  23.943 +  opacity: 0.9;
  23.944 +  display: none;
  23.945 +  font-size: 80%;
  23.946 +  line-height: 1.2em;
  23.947 +  border: 1px solid __border__;
  23.948 +  background-color: __background_other__;
  23.949 +  text-align: left;
  23.950 +  padding: 4px;
  23.951 +}
  23.952 +
  23.953 +/* --------- Toolbar -------------------- */
  23.954 +button.toolbutton {
  23.955 +  background-color: transparent;
  23.956 +  padding: 0px;
  23.957 +  margin: 0 1px 0 0;
  23.958 +  border: 1px solid __border__;
  23.959 +  cursor: pointer;
  23.960 +}
  23.961 +
  23.962 +div.picker {
  23.963 +  width: 250px;
  23.964 +  border: 1px solid __border__;
  23.965 +  background-color: __background_alt__;
  23.966 +}
  23.967 +
  23.968 +button.pickerbutton {
  23.969 +  padding: 0px;
  23.970 +  margin: 0 1px 1px 0;
  23.971 +  border: 0;
  23.972 +  background-color: transparent;
  23.973 +  font-size: 80%;
  23.974 +  cursor: pointer;
  23.975 +}
  23.976 +
  23.977 +/* ---------------  Image Details  ----------------- */
  23.978 +
  23.979 +div.dokuwiki div.img_big {
  23.980 +  float: left;
  23.981 +  margin-right: 0.5em;
  23.982 +}
  23.983 +
  23.984 +div.dokuwiki dl.img_tags dt {
  23.985 +  font-weight: bold;
  23.986 +  background-color: __background_alt__;
  23.987 +}
  23.988 +div.dokuwiki dl.img_tags dd {
  23.989 +  background-color: __background_neu__;
  23.990 +}
  23.991 +
  23.992 +div.dokuwiki div.imagemeta {
  23.993 +  color: __text_neu__;
  23.994 +  font-size: 70%;
  23.995 +  line-height: 95%;
  23.996 +}
  23.997 +
  23.998 +div.dokuwiki div.imagemeta img.thumb {
  23.999 +  float:left;
 23.1000 +  margin-right: 0.1em;
 23.1001 +}
 23.1002 +
 23.1003 +div.notify { 
 23.1004 +	background: #FFCE21;
 23.1005 +	color: #222;
 23.1006 +	border: 1px solid #000;
 23.1007 +	font-size: 90%;
 23.1008 +	margin: 0;
 23.1009 +	padding: 4px;
 23.1010 +	-moz-border-radius: 4px;
 23.1011 +	-webkit-border-radius: 4px;
 23.1012 +	border-radius: 4px;
 23.1013 +	position: absolute;
 23.1014 +	top: 140px;
 23.1015 +	right: 20px;
 23.1016 +	width: 400px;
 23.1017 +}
 23.1018 +
 23.1019 +#access div.notify a { text-decoration: underline; }
 23.1020 +#access div.notify a:hover { text-decoration: none; }
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/doc/lib/tpl/slitaz-grey/detail.php	Wed Jan 15 14:24:29 2014 +0100
    24.3 @@ -0,0 +1,92 @@
    24.4 +<?php
    24.5 +/**
    24.6 + * DokuWiki Image Detail Template
    24.7 + *
    24.8 + * This is the template for displaying image details
    24.9 + *
   24.10 + * You should leave the doctype at the very top - It should
   24.11 + * always be the very first line of a document.
   24.12 + *
   24.13 + * @link   http://wiki.splitbrain.org/wiki:tpl:templates
   24.14 + * @author Andreas Gohr <andi@splitbrain.org>
   24.15 + */
   24.16 +
   24.17 +// must be run from within DokuWiki
   24.18 +if (!defined('DOKU_INC')) die();
   24.19 +
   24.20 +?>
   24.21 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   24.22 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   24.23 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr">
   24.24 +<head>
   24.25 +  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   24.26 +  <title>
   24.27 +     <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
   24.28 +    [<?php echo strip_tags($conf['title'])?>]
   24.29 +  </title>
   24.30 +
   24.31 +  <?php tpl_metaheaders()?>
   24.32 +
   24.33 +  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
   24.34 +</head>
   24.35 +
   24.36 +<body>
   24.37 +<div class="dokuwiki">
   24.38 +  <?php html_msgarea()?>
   24.39 +
   24.40 +  <div class="page">
   24.41 +    <?php if($ERROR){ print $ERROR; }else{ ?>
   24.42 +
   24.43 +    <h1><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?></h1>
   24.44 +
   24.45 +    <div class="img_big">
   24.46 +      <?php tpl_img(900,700) ?>
   24.47 +    </div>
   24.48 +
   24.49 +    <div class="img_detail">
   24.50 +      <p class="img_caption">
   24.51 +        <?php print nl2br(hsc(tpl_img_getTag(array('IPTC.Caption',
   24.52 +                                               'EXIF.UserComment',
   24.53 +                                               'EXIF.TIFFImageDescription',
   24.54 +                                               'EXIF.TIFFUserComment')))); ?>
   24.55 +      </p>
   24.56 +
   24.57 +      <p>&larr; <?php echo $lang['img_backto']?> <?php tpl_pagelink($ID)?></p>
   24.58 +
   24.59 +      <dl class="img_tags">
   24.60 +        <?php
   24.61 +          $t = tpl_img_getTag('Date.EarliestTime');
   24.62 +          if($t) print '<dt>'.$lang['img_date'].':</dt><dd>'.strftime($conf['dformat'],$t).'</dd>';
   24.63 +
   24.64 +          $t = tpl_img_getTag('File.Name');
   24.65 +          if($t) print '<dt>'.$lang['img_fname'].':</dt><dd>'.hsc($t).'</dd>';
   24.66 +
   24.67 +          $t = tpl_img_getTag(array('Iptc.Byline','Exif.TIFFArtist','Exif.Artist','Iptc.Credit'));
   24.68 +          if($t) print '<dt>'.$lang['img_artist'].':</dt><dd>'.hsc($t).'</dd>';
   24.69 +
   24.70 +          $t = tpl_img_getTag(array('Iptc.CopyrightNotice','Exif.TIFFCopyright','Exif.Copyright'));
   24.71 +          if($t) print '<dt>'.$lang['img_copyr'].':</dt><dd>'.hsc($t).'</dd>';
   24.72 +
   24.73 +          $t = tpl_img_getTag('File.Format');
   24.74 +          if($t) print '<dt>'.$lang['img_format'].':</dt><dd>'.hsc($t).'</dd>';
   24.75 +
   24.76 +          $t = tpl_img_getTag('File.NiceSize');
   24.77 +          if($t) print '<dt>'.$lang['img_fsize'].':</dt><dd>'.hsc($t).'</dd>';
   24.78 +
   24.79 +          $t = tpl_img_getTag('Simple.Camera');
   24.80 +          if($t) print '<dt>'.$lang['img_camera'].':</dt><dd>'.hsc($t).'</dd>';
   24.81 +
   24.82 +          $t = tpl_img_getTag(array('IPTC.Keywords','IPTC.Category'));
   24.83 +          if($t) print '<dt>'.$lang['img_keywords'].':</dt><dd>'.hsc($t).'</dd>';
   24.84 +
   24.85 +        ?>
   24.86 +      </dl>
   24.87 +      <?php //Comment in for Debug// dbg(tpl_img_getTag('Simple.Raw'));?>
   24.88 +    </div>
   24.89 +
   24.90 +  <?php } ?>
   24.91 +  </div>
   24.92 +</div>
   24.93 +</body>
   24.94 +</html>
   24.95 +
    25.1 Binary file doc/lib/tpl/slitaz-grey/images/UWEB.png has changed
    26.1 Binary file doc/lib/tpl/slitaz-grey/images/button-css.png has changed
    27.1 Binary file doc/lib/tpl/slitaz-grey/images/button-dw.png has changed
    28.1 Binary file doc/lib/tpl/slitaz-grey/images/button-rss.png has changed
    29.1 Binary file doc/lib/tpl/slitaz-grey/images/button-xhtml.png has changed
    30.1 Binary file doc/lib/tpl/slitaz-grey/images/favicon.ico has changed
    31.1 Binary file doc/lib/tpl/slitaz-grey/images/header-img.png has changed
    32.1 Binary file doc/lib/tpl/slitaz-grey/images/home.png has changed
    33.1 Binary file doc/lib/tpl/slitaz-grey/images/link_icon.gif has changed
    34.1 Binary file doc/lib/tpl/slitaz-grey/images/logo.png has changed
    35.1 Binary file doc/lib/tpl/slitaz-grey/images/mail_icon.gif has changed
    36.1 Binary file doc/lib/tpl/slitaz-grey/images/network.png has changed
    37.1 Binary file doc/lib/tpl/slitaz-grey/images/tools.png has changed
    38.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    38.2 +++ b/doc/lib/tpl/slitaz-grey/layout.css	Wed Jan 15 14:24:29 2014 +0100
    38.3 @@ -0,0 +1,54 @@
    38.4 +/**
    38.5 + * Tableless Layout for default template
    38.6 + *
    38.7 + * @author Andreas Gohr <andi@splitbrain.org>
    38.8 + * @author moraes <moraes@tipos.com.br>
    38.9 + */
   38.10 +
   38.11 +/* -------------- top row --------------- */
   38.12 +
   38.13 +div.dokuwiki .pagename {
   38.14 +  float: left;
   38.15 +  font-size: 200%;
   38.16 +  font-weight: bolder;
   38.17 +  color: __background_alt__;
   38.18 +  text-align: left;
   38.19 +  vertical-align: middle;
   38.20 +}
   38.21 +
   38.22 +div.dokuwiki .pagename a {
   38.23 +  color: __extern__ !important;
   38.24 +  text-decoration: none !important;
   38.25 +}
   38.26 +
   38.27 +/* ---------------  top and bottom bar ---------------- */
   38.28 +
   38.29 +#bar__bottomleft { margin-top: 3px;}
   38.30 +
   38.31 +div.dokuwiki .bar-left {
   38.32 +  float: left;
   38.33 +  margin-left: 14px;
   38.34 +}
   38.35 +
   38.36 +div.dokuwiki .bar-right {
   38.37 +  float: right;
   38.38 +  text-align: right;
   38.39 +  margin-right: 14px;
   38.40 +}
   38.41 +
   38.42 +/* ------------- File Metadata ----------------------- */
   38.43 +
   38.44 +div.dokuwiki div.meta {
   38.45 +  clear: both;
   38.46 +  margin-top: 1em;
   38.47 +  color: #666666;
   38.48 +  font-size: 85%;
   38.49 +}
   38.50 +
   38.51 +div.dokuwiki div.meta div.user {
   38.52 +  float: left;
   38.53 +}
   38.54 +
   38.55 +div.dokuwiki div.meta div.doc {
   38.56 +  text-align: right;
   38.57 +}
    39.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.2 +++ b/doc/lib/tpl/slitaz-grey/main.php	Wed Jan 15 14:24:29 2014 +0100
    39.3 @@ -0,0 +1,142 @@
    39.4 +<?php
    39.5 +/**
    39.6 + * DokuWiki SliTaz Template - With code from the default theme by
    39.7 + * Andreas Gohr <andi@splitbrain.org>
    39.8 + * 
    39.9 + */
   39.10 +
   39.11 +// must be run from within DokuWiki
   39.12 +if (!defined('DOKU_INC')) die();
   39.13 +
   39.14 +?>
   39.15 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   39.16 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   39.17 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
   39.18 + lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
   39.19 +<head>
   39.20 +  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   39.21 +  <title>
   39.22 +    <?php tpl_pagetitle()?>
   39.23 +    [<?php echo strip_tags($conf['title'])?>]
   39.24 +  </title>
   39.25 +  <?php tpl_metaheaders()?>
   39.26 +  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
   39.27 +</head>
   39.28 +<body>
   39.29 +
   39.30 +<div class="dokuwiki">
   39.31 +
   39.32 +<!-- Header -->
   39.33 +<div id="header">
   39.34 +	<div id="logo"></div>
   39.35 +	<!-- SliTaz Network -->
   39.36 +	<div id="network">
   39.37 +		<a href="http://www.slitaz.org/">
   39.38 +			<img src="<?php echo DOKU_TPL?>images/home.png" alt="[ Home ]" /></a>
   39.39 +		<a href="http://scn.slitaz.org/">Community</a>
   39.40 +		<a href="http://doc.slitaz.org/">Doc</a>
   39.41 +		<a href="http://forum.slitaz.org/">Forum</a>
   39.42 +		<a href="http://slitaz.pro/">Pro</a>
   39.43 +		<a href="http://slitaz.spreadshirt.net/">Shop</a>
   39.44 +		<a href="http://bugs.slitaz.org">Bugs</a>
   39.45 +		<a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
   39.46 +	</div>
   39.47 +	<h1><a href="./">SliTaz Doc</a></h1>
   39.48 +	<!-- <?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?> -->
   39.49 +</div>
   39.50 +
   39.51 +<!-- SliTaz Block -->
   39.52 +<div id="block">
   39.53 +	<?php html_msgarea()?>
   39.54 +	<!-- Languages -->
   39.55 +	<div id="lang">
   39.56 +	<?php
   39.57 +		$translation = &plugin_load('helper','translation');
   39.58 +		echo $translation->showTranslations();
   39.59 +	?>
   39.60 +	</div>
   39.61 +	<div style="text-align: justify; width: 60%; padding: 0 10px 0 0;">
   39.62 +		SliTaz GNU/Linux official and community documentation wiki.
   39.63 +	</div>
   39.64 +	<div class="tools">
   39.65 +		<img src="<?php echo DOKU_TPL?>images/tools.png" alt=".png" />
   39.66 +		
   39.67 +		<div style="float: right; text-align: right;">
   39.68 +			<?php tpl_button('edit')?>
   39.69 +			<?php tpl_searchform()?>
   39.70 +		</div>
   39.71 +		<?php tpl_button('recent')?>
   39.72 +		<?php tpl_button('subscription')?>
   39.73 +		<?php tpl_button('admin')?>
   39.74 +		<?php tpl_button('profile')?>
   39.75 +		<?php tpl_button('login')?>
   39.76 +	</div>
   39.77 +</div>
   39.78 +
   39.79 +<!-- Content -->
   39.80 +<div id="content">
   39.81 +
   39.82 +<?php flush()?>
   39.83 +
   39.84 +<!-- wikipage start -->
   39.85 +<?php tpl_content()?>
   39.86 +<!-- wikipage stop -->
   39.87 +
   39.88 +<div class="clearer">&nbsp;</div>
   39.89 +<?php flush()?>
   39.90 +
   39.91 +<div class="meta">
   39.92 +  <div class="user">
   39.93 +	<?php tpl_userinfo()?>
   39.94 +  </div>
   39.95 +  <div class="doc">
   39.96 +	<?php tpl_pageinfo()?>
   39.97 +  </div>
   39.98 +</div>
   39.99 +
  39.100 +<div style="border-top: 1px solid #eaeaea;">
  39.101 +	<div style="float: right; text-align: right;">
  39.102 +		<?php tpl_button('edit')?>
  39.103 +		<?php tpl_button('history')?>
  39.104 +	</div>
  39.105 +	<?php tpl_button('recent')?>
  39.106 +	<?php tpl_button('index')?>
  39.107 +</div>
  39.108 +
  39.109 +<!-- End of content -->
  39.110 +</div>
  39.111 +
  39.112 +<!-- End of: class="dokuwiki" -->
  39.113 +</div>
  39.114 +
  39.115 +<!-- Footer -->
  39.116 +
  39.117 +<script type="text/javascript" src="<?php echo DOKU_TPL?>qrcode.js"></script>
  39.118 +
  39.119 +<div id="footer">
  39.120 +	Copyright &copy; <?php echo date('Y'); ?>
  39.121 +	<a href="http://www.slitaz.org/">SliTaz</a> - Network:
  39.122 +	<a href="http://scn.slitaz.org/">Community</a>
  39.123 +	<a href="http://doc.slitaz.org/">Doc</a>
  39.124 +	<a href="http://forum.slitaz.org/">Forum</a>
  39.125 +	<a href="http://pkgs.slitaz.org/">Packages</a>
  39.126 +	<a href="http://bugs.slitaz.org">Bugs</a>
  39.127 +	<a href="http://hg.slitaz.org/">Hg</a>
  39.128 +	<p>
  39.129 +		<img src="#" alt="SliTaz @" onmouseover="this.title = location.href"
  39.130 +		 onclick="this.src = QRCode.generatePNG(location.href, {ecclevel: 'H'})" />
  39.131 +		<a href="http://twitter.com/slitaz">Twitter</a>
  39.132 +		<a href="http://www.facebook.com/slitaz">Facebook</a>
  39.133 +		<a href="http://distrowatch.com/slitaz">Distrowatch</a>
  39.134 +		<a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
  39.135 +		<a href="http://flattr.com/profile/slitaz">Flattr</a>
  39.136 +	</p>
  39.137 +</div>
  39.138 +
  39.139 +<div class="no">
  39.140 +	<?php /* provide DokuWiki housekeeping, required in all templates */
  39.141 +	tpl_indexerWebBug() ?>
  39.142 +</div>
  39.143 +
  39.144 +</body>
  39.145 +</html>
    40.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    40.2 +++ b/doc/lib/tpl/slitaz-grey/media.css	Wed Jan 15 14:24:29 2014 +0100
    40.3 @@ -0,0 +1,200 @@
    40.4 +/**
    40.5 + * The CSS in here cotrols the appearance of the media manager
    40.6 + */
    40.7 +
    40.8 +#media__manager {
    40.9 +    height: 100%;
   40.10 +    overflow: hidden;
   40.11 +}
   40.12 +
   40.13 +#media__left {
   40.14 +    width: 30%;
   40.15 +    border-right: solid 1px __border__;
   40.16 +
   40.17 +    height: 100%;
   40.18 +    overflow: auto;
   40.19 +    position: absolute;
   40.20 +    left: 0;
   40.21 +}
   40.22 +
   40.23 +#media__right {
   40.24 +    width: 69.7%;
   40.25 +
   40.26 +    height: 100%;
   40.27 +    overflow: auto;
   40.28 +    position: absolute;
   40.29 +    right: 0;
   40.30 +}
   40.31 +
   40.32 +#media__manager h1 {
   40.33 +    margin: 0;
   40.34 +    padding: 0;
   40.35 +    margin-bottom: 0.5em;
   40.36 +}
   40.37 +
   40.38 +/* --- Tree formatting --- */
   40.39 +
   40.40 +#media__tree img {
   40.41 +    float:left;
   40.42 +    padding: 0.5em 0.3em 0 0;
   40.43 +}
   40.44 +
   40.45 +#media__tree ul {
   40.46 +    list-style-type: none;
   40.47 +    list-style-image: none;
   40.48 +}
   40.49 +
   40.50 +#media__tree li {
   40.51 +    clear: left;
   40.52 +    list-style-type: none;
   40.53 +    list-style-image: none;
   40.54 +}
   40.55 +*+html #media__tree li,
   40.56 +* html #media__tree li {
   40.57 +    border: 1px solid __background__;
   40.58 +}/* I don't understand this, but this fixes a style bug in IE;
   40.59 +it's dirty, so any "real" fixes are welcome */
   40.60 +
   40.61 +/* --- options --- */
   40.62 +
   40.63 +#media__opts {
   40.64 +    padding-left: 1em;
   40.65 +    margin-bottom: 0.5em;
   40.66 +}
   40.67 +
   40.68 +#media__opts input {
   40.69 +    float: left;
   40.70 +    position: absolute;
   40.71 +}
   40.72 +*+html #media__opts input,
   40.73 +* html #media__opts input {
   40.74 +    position: static;
   40.75 +}
   40.76 +
   40.77 +#media__opts label {
   40.78 +    display: block;
   40.79 +    float: left;
   40.80 +    margin-left: 30px;
   40.81 +}
   40.82 +*+html #media__opts label,
   40.83 +* html #media__opts label {
   40.84 +    margin-left: 10px;
   40.85 +}
   40.86 +
   40.87 +#media__opts br {
   40.88 +    clear: left;
   40.89 +}
   40.90 +
   40.91 +/* --- file list --- */
   40.92 +
   40.93 +#media__content img.load {
   40.94 +    margin: 1em auto;
   40.95 +}
   40.96 +
   40.97 +#media__content #scroll__here {
   40.98 +    border: 1px dashed __border__;
   40.99 +}
  40.100 +
  40.101 +#media__content .odd {
  40.102 +    background-color: __background_other__;
  40.103 +    padding: 0.4em;
  40.104 +}
  40.105 +
  40.106 +#media__content .even {
  40.107 +    padding: 0.4em;
  40.108 +}
  40.109 +
  40.110 +#media__content a.mediafile {
  40.111 +    margin-right: 1.5em;
  40.112 +    font-weight: bold;
  40.113 +}
  40.114 +
  40.115 +#media__content div.detail {
  40.116 +    padding: 0.3em 0 0.3em 2em;
  40.117 +}
  40.118 +
  40.119 +#media__content div.detail div.thumb {
  40.120 +    float: left;
  40.121 +    width: 130px;
  40.122 +    text-align: center;
  40.123 +    margin-right: 0.4em;
  40.124 +}
  40.125 +
  40.126 +
  40.127 +#media__content img.btn {
  40.128 +    vertical-align: text-bottom;
  40.129 +}
  40.130 +
  40.131 +#media__content div.example {
  40.132 +    color: __text_neu__;
  40.133 +    margin-left: 1em;
  40.134 +}
  40.135 +
  40.136 +/* --- upload form --- */
  40.137 +
  40.138 +#media__content div.upload {
  40.139 +    font-size: 90%;
  40.140 +    padding: 0 0.5em 0.5em 0.5em;
  40.141 +}
  40.142 +
  40.143 +#media__content form#dw__upload {
  40.144 +    display: block;
  40.145 +    border-bottom: solid 1px __border__;
  40.146 +    padding: 0 0.5em 1em 0.5em;
  40.147 +}
  40.148 +#media__content form#dw__upload fieldset {
  40.149 +    padding: 0;
  40.150 +    margin: 0;
  40.151 +    border: none;
  40.152 +    width: auto;
  40.153 +}
  40.154 +#media__content form#dw__upload p {
  40.155 +    text-align: left;
  40.156 +    padding: 0.25em 0;
  40.157 +    margin: 0;
  40.158 +    line-height: 1.0em;
  40.159 +}
  40.160 +#media__content form#dw__upload label.check {
  40.161 +    float: none;
  40.162 +    width: auto;
  40.163 +    margin-left: 11.5em;
  40.164 +}
  40.165 +
  40.166 +/* --- meta edit form --- */
  40.167 +
  40.168 +#media__content form.meta {
  40.169 +    display: block;
  40.170 +    padding: 0 0 1em 0;
  40.171 +}
  40.172 +
  40.173 +#media__content form.meta label {
  40.174 +    display: block;
  40.175 +    width: 25%;
  40.176 +    float: left;
  40.177 +    font-weight: bold;
  40.178 +    margin-left: 1em;
  40.179 +    clear: left;
  40.180 +}
  40.181 +
  40.182 +#media__content form.meta .edit {
  40.183 +    font: 100% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
  40.184 +    float: left;
  40.185 +    width: 70%;
  40.186 +    padding-right: 0;
  40.187 +    padding-left: 0.2em;
  40.188 +    margin: 2px;
  40.189 +}
  40.190 +
  40.191 +#media__content form.meta textarea.edit {
  40.192 +    height: 8em;
  40.193 +}
  40.194 +
  40.195 +#media__content form.meta div.metafield {
  40.196 +    clear: left;
  40.197 +}
  40.198 +
  40.199 +#media__content form.meta div.buttons {
  40.200 +    clear: left;
  40.201 +    margin-left: 20%;
  40.202 +    padding-left: 1em;
  40.203 +}
    41.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    41.2 +++ b/doc/lib/tpl/slitaz-grey/mediamanager.php	Wed Jan 15 14:24:29 2014 +0100
    41.3 @@ -0,0 +1,44 @@
    41.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    41.5 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    41.6 +<?php
    41.7 +/**
    41.8 + * DokuWiki Default Template
    41.9 + *
   41.10 + * This is the template for the media manager popup
   41.11 + *
   41.12 + * You should leave the doctype at the very top - It should
   41.13 + * always be the very first line of a document.
   41.14 + *
   41.15 + * @link   http://wiki.splitbrain.org/wiki:tpl:templates
   41.16 + * @author Andreas Gohr <andi@splitbrain.org>
   41.17 + */
   41.18 +?>
   41.19 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr">
   41.20 +<head>
   41.21 +  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   41.22 +  <title>
   41.23 +    <?php echo hsc($lang['mediaselect'])?>
   41.24 +    [<?php echo strip_tags($conf['title'])?>]
   41.25 +  </title>
   41.26 +  <?php tpl_metaheaders()?>
   41.27 +  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
   41.28 +</head>
   41.29 +
   41.30 +<body>
   41.31 +<div id="media__manager" class="dokuwiki">
   41.32 +    <div id="media__left">
   41.33 +        <?php html_msgarea()?>
   41.34 +        <h1><?php echo hsc($lang['mediaselect'])?></h1>
   41.35 +
   41.36 +        <?php /* keep the id! additional elements are inserted via JS here */?>
   41.37 +        <div id="media__opts"></div>
   41.38 +
   41.39 +        <?php tpl_mediaTree() ?>
   41.40 +    </div>
   41.41 +
   41.42 +    <div id="media__right">
   41.43 +        <?php tpl_mediaContent() ?>
   41.44 +    </div>
   41.45 +</div>
   41.46 +</body>
   41.47 +</html>
    42.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    42.2 +++ b/doc/lib/tpl/slitaz-grey/print.css	Wed Jan 15 14:24:29 2014 +0100
    42.3 @@ -0,0 +1,235 @@
    42.4 +
    42.5 +body {
    42.6 +  font: 10pt "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
    42.7 +  background-color: White;
    42.8 +  color: Black;
    42.9 +}
   42.10 +
   42.11 +table {
   42.12 +  font-size: 100%;
   42.13 +  padding:0;
   42.14 +  margin:0;
   42.15 +}
   42.16 +
   42.17 +tr,td,th {padding:0; margin:0;}
   42.18 +
   42.19 +img {border:0}
   42.20 +
   42.21 +a {
   42.22 +  color:#000000;
   42.23 +  text-decoration:none;
   42.24 +  background: none !important;
   42.25 +}
   42.26 +
   42.27 +
   42.28 +div.meta {
   42.29 +  clear:both;
   42.30 +  margin-top: 1em;
   42.31 +  font-size:70%;
   42.32 +  text-align:right;
   42.33 +}
   42.34 +
   42.35 +
   42.36 +div.notify,
   42.37 +div.info,
   42.38 +div.success,
   42.39 +div.error,
   42.40 +div.breadcrumbs,
   42.41 +div.secedit {
   42.42 +  display:none;
   42.43 +}
   42.44 +
   42.45 +/* --------------------- Text formating -------------------------------- */
   42.46 +
   42.47 +/* external link */
   42.48 +a.urlextern:after {
   42.49 +   content: " [" attr(href) "]";
   42.50 +   font-size: 90%;
   42.51 +}
   42.52 +
   42.53 +/* interwiki link */
   42.54 +a.interwiki:after {
   42.55 +   content: " [" attr(href) "]";
   42.56 +   font-size: 90%;
   42.57 +}
   42.58 +
   42.59 +/* email link */
   42.60 +a.mail:after {
   42.61 +   content: " [" attr(href) "]";
   42.62 +   font-size: 90%;
   42.63 +}
   42.64 +
   42.65 +/* existing wikilink */
   42.66 +a.wikilink1    {text-decoration:underline }
   42.67 +
   42.68 +/* the document */
   42.69 +div.page {
   42.70 +  text-align: justify;
   42.71 +}
   42.72 +
   42.73 +/* general headline setup */
   42.74 +h1, h2, h3, h4, h5 {
   42.75 +    color: Black;
   42.76 +    background-color: transparent;
   42.77 +    font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
   42.78 +    font-size: 100%;
   42.79 +    font-weight: normal;
   42.80 +    margin-left:    0;
   42.81 +    margin-right:   0;
   42.82 +    margin-top:     0;
   42.83 +    margin-bottom:  1em;
   42.84 +    padding-left:   0;
   42.85 +    padding-right:  0;
   42.86 +    padding-top:    0.5em;
   42.87 +    padding-bottom: 0;
   42.88 +    border-bottom: 1px solid #000000;
   42.89 +    clear:left;
   42.90 +}
   42.91 +
   42.92 +/* special headlines */
   42.93 +h1 {font-size: 160%; font-weight: bold;}
   42.94 +h2 {font-size: 150%; }
   42.95 +h3 {font-size: 140%; border-bottom: none; }
   42.96 +h4 {font-size: 120%; border-bottom: none; }
   42.97 +h5 {font-size: 100%; border-bottom: none; }
   42.98 +
   42.99 +/* embedded images */
  42.100 +img.media {
  42.101 +  margin: 3px;
  42.102 +}
  42.103 +
  42.104 +img.medialeft {
  42.105 +  border: 0;
  42.106 +  float: left;
  42.107 +  margin: 0 1.5em 0 0;
  42.108 +}
  42.109 +
  42.110 +img.mediaright {
  42.111 +  border: 0;
  42.112 +  float: right;
  42.113 +  margin: 0 0 0 1.5em;
  42.114 +}
  42.115 +
  42.116 +/* unordered lists */
  42.117 +ul {
  42.118 +    line-height: 1.5em;
  42.119 +    list-style-type: square;
  42.120 +    margin: 0 0 0.5em 1.5em;
  42.121 +    padding: 0;
  42.122 +
  42.123 +}
  42.124 +
  42.125 +/* ordered lists */
  42.126 +ol {
  42.127 +    line-height: 1.5em;
  42.128 +    margin: 0 0 0.5em 2.5em;
  42.129 +    padding: 0;
  42.130 +    font-weight: normal;
  42.131 +}
  42.132 +ol ol {
  42.133 +    margin: 0 0 0.5em 1.5em;
  42.134 +}
  42.135 +
  42.136 +div.dokuwiki ol {list-style-type: decimal}
  42.137 +div.dokuwiki ol ol {list-style-type: upper-roman}
  42.138 +div.dokuwiki ol ol ol {list-style-type: lower-alpha}
  42.139 +div.dokuwiki ol ol ol ol {list-style-type: lower-greek}
  42.140 +
  42.141 +/* the list items overriding the ol definition */
  42.142 +span.li {
  42.143 +    font-weight: normal;
  42.144 +}
  42.145 +
  42.146 +/* code blocks by indention */
  42.147 +pre.pre {
  42.148 +  font-size: 8pt;
  42.149 +  padding: 0.5em;
  42.150 +  border: 1px dashed #000000;
  42.151 +  color: Black;
  42.152 +  overflow: visible;
  42.153 +}
  42.154 +
  42.155 +/* code blocks by code tag */
  42.156 +pre.code {
  42.157 +  font-size: 8pt;
  42.158 +  padding: 0.5em;
  42.159 +  border: 1px dashed #000000;
  42.160 +  color: Black;
  42.161 +  overflow: visible;
  42.162 +}
  42.163 +
  42.164 +/* inline code words */
  42.165 +code {
  42.166 +  font-size: 120%;
  42.167 +}
  42.168 +
  42.169 +/* code blocks by file tag */
  42.170 +pre.file {
  42.171 +  font-size: 8pt;
  42.172 +  padding: 0.5em;
  42.173 +  border: 1px dotted #000000;
  42.174 +  color: Black;
  42.175 +  overflow: visible;
  42.176 +}
  42.177 +
  42.178 +/* footnotes */
  42.179 +div.footnotes{
  42.180 +  clear:both;
  42.181 +  border-top: 1px solid #000000;
  42.182 +  padding-left: 1em;
  42.183 +  margin-top: 1em;
  42.184 +}
  42.185 +
  42.186 +div.fn{
  42.187 +  font-size:90%;
  42.188 +}
  42.189 +
  42.190 +a.fn_top{
  42.191 +  vertical-align:super;
  42.192 +  font-size:80%;
  42.193 +}
  42.194 +
  42.195 +a.fn_bot{
  42.196 +  vertical-align:super;
  42.197 +  font-size:80%;
  42.198 +  font-weight:bold;
  42.199 +}
  42.200 +
  42.201 +acronym{
  42.202 +  border: 0;
  42.203 +}
  42.204 +
  42.205 +/* ---------- inline tables ------------------- */
  42.206 +
  42.207 +table.inline {
  42.208 +  font-size: 80%;
  42.209 +  background-color: #ffffff;
  42.210 +  border-spacing: 0px;
  42.211 +  border-collapse: collapse;
  42.212 +}
  42.213 +
  42.214 +table.inline th {
  42.215 +  padding: 3px;
  42.216 +  border: 1px solid #000000;
  42.217 +  border-bottom: 2px solid #000000;
  42.218 +}
  42.219 +
  42.220 +table.inline td {
  42.221 +  padding: 3px;
  42.222 +  border: 1px solid #000000;
  42.223 +}
  42.224 +
  42.225 +.leftalign{
  42.226 +  text-align: left;
  42.227 +}
  42.228 +
  42.229 +.centeralign{
  42.230 +  text-align: center;
  42.231 +}
  42.232 +
  42.233 +.rightalign{
  42.234 +  text-align: right;
  42.235 +}
  42.236 +
  42.237 +.toc, .footerinc, .header, .bar, .user {display:none}
  42.238 +
    43.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    43.2 +++ b/doc/lib/tpl/slitaz-grey/qrcode.js	Wed Jan 15 14:24:29 2014 +0100
    43.3 @@ -0,0 +1,733 @@
    43.4 +/* qr.js -- QR code generator in Javascript (revision 2011-01-19)
    43.5 + * Written by Kang Seonghoon <public+qrjs@mearie.org>.
    43.6 + *
    43.7 + * This source code is in the public domain; if your jurisdiction does not
    43.8 + * recognize the public domain the terms of Creative Commons CC0 license
    43.9 + * apply. In the other words, you can always do what you want.
   43.10 + */
   43.11 +
   43.12 +var QRCode = (function(){
   43.13 +
   43.14 +/* Quick overview: QR code composed of 2D array of modules (a rectangular
   43.15 + * area that conveys one bit of information); some modules are fixed to help
   43.16 + * the recognition of the code, and remaining data modules are further divided
   43.17 + * into 8-bit code words which are augumented by Reed-Solomon error correcting
   43.18 + * codes (ECC). There could be multiple ECCs, in the case the code is so large
   43.19 + * that it is helpful to split the raw data into several chunks.
   43.20 + *
   43.21 + * The number of modules is determined by the code's "version", ranging from 1
   43.22 + * (21x21) to 40 (177x177). How many ECC bits are used is determined by the
   43.23 + * ECC level (L/M/Q/H). The number and size (and thus the order of generator
   43.24 + * polynomial) of ECCs depend to the version and ECC level.
   43.25 + */
   43.26 +
   43.27 +// per-version information (cf. JIS X 0510:2004 pp. 30--36, 71)
   43.28 +//
   43.29 +// [0]: the degree of generator polynomial by ECC levels
   43.30 +// [1]: # of code blocks by ECC levels
   43.31 +// [2]: left-top positions of alignment patterns
   43.32 +//
   43.33 +// the number in this table (in particular, [0]) does not exactly match with
   43.34 +// the numbers in the specficiation. see augumenteccs below for the reason.
   43.35 +var VERSIONS = [
   43.36 +	null,
   43.37 +	[[10, 7,17,13], [ 1, 1, 1, 1], []],
   43.38 +	[[16,10,28,22], [ 1, 1, 1, 1], [4,16]],
   43.39 +	[[26,15,22,18], [ 1, 1, 2, 2], [4,20]],
   43.40 +	[[18,20,16,26], [ 2, 1, 4, 2], [4,24]],
   43.41 +	[[24,26,22,18], [ 2, 1, 4, 4], [4,28]],
   43.42 +	[[16,18,28,24], [ 4, 2, 4, 4], [4,32]],
   43.43 +	[[18,20,26,18], [ 4, 2, 5, 6], [4,20,36]],
   43.44 +	[[22,24,26,22], [ 4, 2, 6, 6], [4,22,40]],
   43.45 +	[[22,30,24,20], [ 5, 2, 8, 8], [4,24,44]],
   43.46 +	[[26,18,28,24], [ 5, 4, 8, 8], [4,26,48]],
   43.47 +	[[30,20,24,28], [ 5, 4,11, 8], [4,28,52]],
   43.48 +	[[22,24,28,26], [ 8, 4,11,10], [4,30,56]],
   43.49 +	[[22,26,22,24], [ 9, 4,16,12], [4,32,60]],
   43.50 +	[[24,30,24,20], [ 9, 4,16,16], [4,24,44,64]],
   43.51 +	[[24,22,24,30], [10, 6,18,12], [4,24,46,68]],
   43.52 +	[[28,24,30,24], [10, 6,16,17], [4,24,48,72]],
   43.53 +	[[28,28,28,28], [11, 6,19,16], [4,28,52,76]],
   43.54 +	[[26,30,28,28], [13, 6,21,18], [4,28,54,80]],
   43.55 +	[[26,28,26,26], [14, 7,25,21], [4,28,56,84]],
   43.56 +	[[26,28,28,30], [16, 8,25,20], [4,32,60,88]],
   43.57 +	[[26,28,30,28], [17, 8,25,23], [4,26,48,70,92]],
   43.58 +	[[28,28,24,30], [17, 9,34,23], [4,24,48,72,96]],
   43.59 +	[[28,30,30,30], [18, 9,30,25], [4,28,52,76,100]],
   43.60 +	[[28,30,30,30], [20,10,32,27], [4,26,52,78,104]],
   43.61 +	[[28,26,30,30], [21,12,35,29], [4,30,56,82,108]],
   43.62 +	[[28,28,30,28], [23,12,37,34], [4,28,56,84,112]],
   43.63 +	[[28,30,30,30], [25,12,40,34], [4,32,60,88,116]],
   43.64 +	[[28,30,30,30], [26,13,42,35], [4,24,48,72,96,120]],
   43.65 +	[[28,30,30,30], [28,14,45,38], [4,28,52,76,100,124]],
   43.66 +	[[28,30,30,30], [29,15,48,40], [4,24,50,76,102,128]],
   43.67 +	[[28,30,30,30], [31,16,51,43], [4,28,54,80,106,132]],
   43.68 +	[[28,30,30,30], [33,17,54,45], [4,32,58,84,110,136]],
   43.69 +	[[28,30,30,30], [35,18,57,48], [4,28,56,84,112,140]],
   43.70 +	[[28,30,30,30], [37,19,60,51], [4,32,60,88,116,144]],
   43.71 +	[[28,30,30,30], [38,19,63,53], [4,28,52,76,100,124,148]],
   43.72 +	[[28,30,30,30], [40,20,66,56], [4,22,48,74,100,126,152]],
   43.73 +	[[28,30,30,30], [43,21,70,59], [4,26,52,78,104,130,156]],
   43.74 +	[[28,30,30,30], [45,22,74,62], [4,30,56,82,108,134,160]],
   43.75 +	[[28,30,30,30], [47,24,77,65], [4,24,52,80,108,136,164]],
   43.76 +	[[28,30,30,30], [49,25,81,68], [4,28,56,84,112,140,168]]];
   43.77 +
   43.78 +// mode constants (cf. Table 2 in JIS X 0510:2004 p. 16)
   43.79 +var MODE_TERMINATOR = 0;
   43.80 +var MODE_NUMERIC = 1, MODE_ALPHANUMERIC = 2, MODE_OCTET = 4, MODE_KANJI = 8;
   43.81 +
   43.82 +// validation regexps
   43.83 +var NUMERIC_REGEXP = /^\d*$/;
   43.84 +var ALPHANUMERIC_REGEXP = /^[A-Za-z0-9 $%*+\-./:]*$/;
   43.85 +var ALPHANUMERIC_OUT_REGEXP = /^[A-Z0-9 $%*+\-./:]*$/;
   43.86 +
   43.87 +// ECC levels (cf. Table 22 in JIS X 0510:2004 p. 45)
   43.88 +var ECCLEVEL_L = 1, ECCLEVEL_M = 0, ECCLEVEL_Q = 3, ECCLEVEL_H = 2;
   43.89 +
   43.90 +// GF(2^8)-to-integer mapping with a reducing polynomial x^8+x^4+x^3+x^2+1
   43.91 +// invariant: GF256_MAP[GF256_INVMAP[i]] == i for all i in [1,256)
   43.92 +var GF256_MAP = [], GF256_INVMAP = [-1];
   43.93 +for (var i = 0, v = 1; i < 255; ++i) {
   43.94 +	GF256_MAP.push(v);
   43.95 +	GF256_INVMAP[v] = i;
   43.96 +	v = (v * 2) ^ (v >= 128 ? 0x11d : 0);
   43.97 +}
   43.98 +
   43.99 +// generator polynomials up to degree 30
  43.100 +// (should match with polynomials in JIS X 0510:2004 Appendix A)
  43.101 +//
  43.102 +// generator polynomial of degree K is product of (x-\alpha^0), (x-\alpha^1),
  43.103 +// ..., (x-\alpha^(K-1)). by convention, we omit the K-th coefficient (always 1)
  43.104 +// from the result; also other coefficients are written in terms of the exponent
  43.105 +// to \alpha to avoid the redundant calculation. (see also calculateecc below.)
  43.106 +var GF256_GENPOLY = [[]];
  43.107 +for (var i = 0; i < 30; ++i) {
  43.108 +	var prevpoly = GF256_GENPOLY[i], poly = [];
  43.109 +	for (var j = 0; j <= i; ++j) {
  43.110 +		var a = (j < i ? GF256_MAP[prevpoly[j]] : 0);
  43.111 +		var b = GF256_MAP[(i + (prevpoly[j-1] || 0)) % 255];
  43.112 +		poly.push(GF256_INVMAP[a ^ b]);
  43.113 +	}
  43.114 +	GF256_GENPOLY.push(poly);
  43.115 +}
  43.116 +
  43.117 +// alphanumeric character mapping (cf. Table 5 in JIS X 0510:2004 p. 19)
  43.118 +var ALPHANUMERIC_MAP = {};
  43.119 +for (var i = 0; i < 45; ++i) {
  43.120 +	ALPHANUMERIC_MAP['0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:'.charAt(i)] = i;
  43.121 +}
  43.122 +
  43.123 +// mask functions in terms of row # and column #
  43.124 +// (cf. Table 20 in JIS X 0510:2004 p. 42)
  43.125 +var MASKFUNCS = [
  43.126 +	function(i,j) { return (i+j) % 2 == 0; },
  43.127 +	function(i,j) { return i % 2 == 0; },
  43.128 +	function(i,j) { return j % 3 == 0; },
  43.129 +	function(i,j) { return (i+j) % 3 == 0; },
  43.130 +	function(i,j) { return (((i/2)|0) + ((j/3)|0)) % 2 == 0; },
  43.131 +	function(i,j) { return (i*j) % 2 + (i*j) % 3 == 0; },
  43.132 +	function(i,j) { return ((i*j) % 2 + (i*j) % 3) % 2 == 0; },
  43.133 +	function(i,j) { return ((i+j) % 2 + (i*j) % 3) % 2 == 0; }];
  43.134 +
  43.135 +// returns true when the version information has to be embeded.
  43.136 +var needsverinfo = function(ver) { return ver > 6; };
  43.137 +
  43.138 +// returns the size of entire QR code for given version.
  43.139 +var getsizebyver = function(ver) { return 4 * ver + 17; };
  43.140 +
  43.141 +// returns the number of bits available for code words in this version.
  43.142 +var nfullbits = function(ver) {
  43.143 +	/*
  43.144 +	 * |<--------------- n --------------->|
  43.145 +	 * |        |<----- n-17 ---->|        |
  43.146 +	 * +-------+                ///+-------+ ----
  43.147 +	 * |       |                ///|       |    ^
  43.148 +	 * |  9x9  |       @@@@@    ///|  9x8  |    |
  43.149 +	 * |       | # # # @5x5@ # # # |       |    |
  43.150 +	 * +-------+       @@@@@       +-------+    |
  43.151 +	 *       #                               ---|
  43.152 +	 *                                        ^ |
  43.153 +	 *       #                                |
  43.154 +	 *     @@@@@       @@@@@       @@@@@      | n
  43.155 +	 *     @5x5@       @5x5@       @5x5@   n-17
  43.156 +	 *     @@@@@       @@@@@       @@@@@      | |
  43.157 +	 *       #                                | |
  43.158 +	 * //////                                 v |
  43.159 +	 * //////#                               ---|
  43.160 +	 * +-------+       @@@@@       @@@@@        |
  43.161 +	 * |       |       @5x5@       @5x5@        |
  43.162 +	 * |  8x9  |       @@@@@       @@@@@        |
  43.163 +	 * |       |                                v
  43.164 +	 * +-------+                             ----
  43.165 +	 *
  43.166 +	 * when the entire code has n^2 modules and there are m^2-3 alignment
  43.167 +	 * patterns, we have:
  43.168 +	 * - 225 (= 9x9 + 9x8 + 8x9) modules for finder patterns and
  43.169 +	 *   format information;
  43.170 +	 * - 2n-34 (= 2(n-17)) modules for timing patterns;
  43.171 +	 * - 36 (= 3x6 + 6x3) modules for version information, if any;
  43.172 +	 * - 25m^2-75 (= (m^2-3)(5x5)) modules for alignment patterns
  43.173 +	 *   if any, but 10m-20 (= 2(m-2)x5) of them overlaps with
  43.174 +	 *   timing patterns.
  43.175 +	 */
  43.176 +	var v = VERSIONS[ver];
  43.177 +	var nbits = 16*ver*ver + 128*ver + 64; // finder, timing and format info.
  43.178 +	if (needsverinfo(ver)) nbits -= 36; // version information
  43.179 +	if (v[2].length) { // alignment patterns
  43.180 +		nbits -= 25 * v[2].length * v[2].length - 10 * v[2].length - 55;
  43.181 +	}
  43.182 +	return nbits;
  43.183 +};
  43.184 +
  43.185 +// returns the number of bits available for data portions (i.e. excludes ECC
  43.186 +// bits but includes mode and length bits) in this version and ECC level.
  43.187 +var ndatabits = function(ver, ecclevel) {
  43.188 +	var nbits = nfullbits(ver) & ~7; // no sub-octet code words
  43.189 +	var v = VERSIONS[ver];
  43.190 +	nbits -= 8 * v[0][ecclevel] * v[1][ecclevel]; // ecc bits
  43.191 +	return nbits;
  43.192 +}
  43.193 +
  43.194 +// returns the number of bits required for the length of data.
  43.195 +// (cf. Table 3 in JIS X 0510:2004 p. 16)
  43.196 +var ndatalenbits = function(ver, mode) {
  43.197 +	switch (mode) {
  43.198 +	case MODE_NUMERIC: return (ver < 10 ? 10 : ver < 27 ? 12 : 14);
  43.199 +	case MODE_ALPHANUMERIC: return (ver < 10 ? 9 : ver < 27 ? 11 : 13);
  43.200 +	case MODE_OCTET: return (ver < 10 ? 8 : 16);
  43.201 +	case MODE_KANJI: return (ver < 10 ? 8 : ver < 27 ? 10 : 12);
  43.202 +	}
  43.203 +};
  43.204 +
  43.205 +// returns the maximum length of data possible in given configuration.
  43.206 +var getmaxdatalen = function(ver, mode, ecclevel) {
  43.207 +	var nbits = ndatabits(ver, ecclevel) - 4 - ndatalenbits(ver, mode); // 4 for mode bits
  43.208 +	switch (mode) {
  43.209 +	case MODE_NUMERIC:
  43.210 +		return ((nbits/10) | 0) * 3 + (nbits%10 < 4 ? 0 : nbits%10 < 7 ? 1 : 2);
  43.211 +	case MODE_ALPHANUMERIC:
  43.212 +		return ((nbits/11) | 0) * 2 + (nbits%11 < 6 ? 0 : 1);
  43.213 +	case MODE_OCTET:
  43.214 +		return (nbits/8) | 0;
  43.215 +	case MODE_KANJI:
  43.216 +		return (nbits/13) | 0;
  43.217 +	}
  43.218 +};
  43.219 +
  43.220 +// checks if the given data can be encoded in given mode, and returns
  43.221 +// the converted data for the further processing if possible. otherwise
  43.222 +// returns null.
  43.223 +//
  43.224 +// this function does not check the length of data; it is a duty of
  43.225 +// encode function below (as it depends on the version and ECC level too).
  43.226 +var validatedata = function(mode, data) {
  43.227 +	switch (mode) {
  43.228 +	case MODE_NUMERIC:
  43.229 +		if (!data.match(NUMERIC_REGEXP)) return null;
  43.230 +		return data;
  43.231 +
  43.232 +	case MODE_ALPHANUMERIC:
  43.233 +		if (!data.match(ALPHANUMERIC_REGEXP)) return null;
  43.234 +		return data.toUpperCase();
  43.235 +
  43.236 +	case MODE_OCTET:
  43.237 +		if (typeof data === 'string') { // encode as utf-8 string
  43.238 +			var newdata = [];
  43.239 +			for (var i = 0; i < data.length; ++i) {
  43.240 +				var ch = data.charCodeAt(i);
  43.241 +				if (ch < 0x80) {
  43.242 +					newdata.push(ch);
  43.243 +				} else if (ch < 0x800) {
  43.244 +					newdata.push(0xc0 | (ch >> 6),
  43.245 +						0x80 | (ch & 0x3f));
  43.246 +				} else if (ch < 0x10000) {
  43.247 +					newdata.push(0xe0 | (ch >> 12),
  43.248 +						0x80 | ((ch >> 6) & 0x3f),
  43.249 +						0x80 | (ch & 0x3f));
  43.250 +				} else {
  43.251 +					newdata.push(0xf0 | (ch >> 18),
  43.252 +						0x80 | ((ch >> 12) & 0x3f),
  43.253 +						0x80 | ((ch >> 6) & 0x3f),
  43.254 +						0x80 | (ch & 0x3f));
  43.255 +				}
  43.256 +			}
  43.257 +			return newdata;
  43.258 +		} else {
  43.259 +			return data;
  43.260 +		}
  43.261 +	}
  43.262 +};
  43.263 +
  43.264 +// returns the code words (sans ECC bits) for given data and configurations.
  43.265 +// requires data to be preprocessed by validatedata. no length check is
  43.266 +// performed, and everything has to be checked before calling this function.
  43.267 +var encode = function(ver, mode, data, maxbuflen) {
  43.268 +	var buf = [];
  43.269 +	var bits = 0, remaining = 8;
  43.270 +	var datalen = data.length;
  43.271 +
  43.272 +	// this function is intentionally no-op when n=0.
  43.273 +	var pack = function(x, n) {
  43.274 +		if (n >= remaining) {
  43.275 +			buf.push(bits | (x >> (n -= remaining)));
  43.276 +			while (n >= 8) buf.push((x >> (n -= 8)) & 255);
  43.277 +			bits = 0;
  43.278 +			remaining = 8;
  43.279 +		}
  43.280 +		if (n > 0) bits |= (x & ((1 << n) - 1)) << (remaining -= n);
  43.281 +	};
  43.282 +
  43.283 +	var nlenbits = ndatalenbits(ver, mode);
  43.284 +	pack(mode, 4);
  43.285 +	pack(datalen, nlenbits);
  43.286 +
  43.287 +	switch (mode) {
  43.288 +	case MODE_NUMERIC:
  43.289 +		for (var i = 2; i < datalen; i += 3) {
  43.290 +			pack(parseInt(data.substring(i-2,i+1), 10), 10);
  43.291 +		}
  43.292 +		pack(parseInt(data.substring(i-2), 10), [0,4,7][datalen%3]);
  43.293 +		break;
  43.294 +
  43.295 +	case MODE_ALPHANUMERIC:
  43.296 +		for (var i = 1; i < datalen; i += 2) {
  43.297 +			pack(ALPHANUMERIC_MAP[data.charAt(i-1)] * 45 +
  43.298 +				ALPHANUMERIC_MAP[data.charAt(i)], 11);
  43.299 +		}
  43.300 +		if (datalen % 2 == 1) {
  43.301 +			pack(ALPHANUMERIC_MAP[data.charAt(i-1)], 6);
  43.302 +		}
  43.303 +		break;
  43.304 +
  43.305 +	case MODE_OCTET:
  43.306 +		for (var i = 0; i < datalen; ++i) {
  43.307 +			pack(data[i], 8);
  43.308 +		}
  43.309 +		break;
  43.310 +	};
  43.311 +
  43.312 +	// final bits. it is possible that adding terminator causes the buffer
  43.313 +	// to overflow, but then the buffer truncated to the maximum size will
  43.314 +	// be valid as the truncated terminator mode bits and padding is
  43.315 +	// identical in appearance (cf. JIS X 0510:2004 sec 8.4.8).
  43.316 +	pack(MODE_TERMINATOR, 4);
  43.317 +	if (remaining < 8) buf.push(bits);
  43.318 +
  43.319 +	// the padding to fill up the remaining space. we should not add any
  43.320 +	// words when the overflow already occurred.
  43.321 +	while (buf.length + 1 < maxbuflen) buf.push(0xec, 0x11);
  43.322 +	if (buf.length < maxbuflen) buf.push(0xec);
  43.323 +	return buf;
  43.324 +};
  43.325 +
  43.326 +// calculates ECC code words for given code words and generator polynomial.
  43.327 +//
  43.328 +// this is quite similar to CRC calculation as both Reed-Solomon and CRC use
  43.329 +// the certain kind of cyclic codes, which is effectively the division of
  43.330 +// zero-augumented polynomial by the generator polynomial. the only difference
  43.331 +// is that Reed-Solomon uses GF(2^8), instead of CRC's GF(2), and Reed-Solomon
  43.332 +// uses the different generator polynomial than CRC's.
  43.333 +var calculateecc = function(poly, genpoly) {
  43.334 +	var modulus = poly.slice(0);
  43.335 +	var polylen = poly.length, genpolylen = genpoly.length;
  43.336 +	for (var i = 0; i < genpolylen; ++i) modulus.push(0);
  43.337 +	for (var i = 0; i < polylen; ) {
  43.338 +		var quotient = GF256_INVMAP[modulus[i++]];
  43.339 +		if (quotient >= 0) {
  43.340 +			for (var j = 0; j < genpolylen; ++j) {
  43.341 +				modulus[i+j] ^= GF256_MAP[(quotient + genpoly[j]) % 255];
  43.342 +			}
  43.343 +		}
  43.344 +	}
  43.345 +	return modulus.slice(polylen);
  43.346 +};
  43.347 +
  43.348 +// auguments ECC code words to given code words. the resulting words are
  43.349 +// ready to be encoded in the matrix.
  43.350 +//
  43.351 +// the much of actual augumenting procedure follows JIS X 0510:2004 sec 8.7.
  43.352 +// the code is simplified using the fact that the size of each code & ECC
  43.353 +// blocks is almost same; for example, when we have 4 blocks and 46 data words
  43.354 +// the number of code words in those blocks are 11, 11, 12, 12 respectively.
  43.355 +var augumenteccs = function(poly, nblocks, genpoly) {
  43.356 +	var subsizes = [];
  43.357 +	var subsize = (poly.length / nblocks) | 0, subsize0 = 0;
  43.358 +	var pivot = nblocks - poly.length % nblocks;
  43.359 +	for (var i = 0; i < pivot; ++i) {
  43.360 +		subsizes.push(subsize0);
  43.361 +		subsize0 += subsize;
  43.362 +	}
  43.363 +	for (var i = pivot; i < nblocks; ++i) {
  43.364 +		subsizes.push(subsize0);
  43.365 +		subsize0 += subsize+1;
  43.366 +	}
  43.367 +	subsizes.push(subsize0);
  43.368 +
  43.369 +	var eccs = [];
  43.370 +	for (var i = 0; i < nblocks; ++i) {
  43.371 +		eccs.push(calculateecc(poly.slice(subsizes[i], subsizes[i+1]), genpoly));
  43.372 +	}
  43.373 +
  43.374 +	var result = [];
  43.375 +	var nitemsperblock = (poly.length / nblocks) | 0;
  43.376 +	for (var i = 0; i < nitemsperblock; ++i) {
  43.377 +		for (var j = 0; j < nblocks; ++j) {
  43.378 +			result.push(poly[subsizes[j] + i]);
  43.379 +		}
  43.380 +	}
  43.381 +	for (var j = pivot; j < nblocks; ++j) {
  43.382 +		result.push(poly[subsizes[j+1] - 1]);
  43.383 +	}
  43.384 +	for (var i = 0; i < genpoly.length; ++i) {
  43.385 +		for (var j = 0; j < nblocks; ++j) {
  43.386 +			result.push(eccs[j][i]);
  43.387 +		}
  43.388 +	}
  43.389 +	return result;
  43.390 +};
  43.391 +
  43.392 +// auguments BCH(p+q,q) code to the polynomial over GF(2), given the proper
  43.393 +// genpoly. the both input and output are in binary numbers, and unlike
  43.394 +// calculateecc genpoly should include the 1 bit for the highest degree.
  43.395 +//
  43.396 +// actual polynomials used for this procedure are as follows:
  43.397 +// - p=10, q=5, genpoly=x^10+x^8+x^5+x^4+x^2+x+1 (JIS X 0510:2004 Appendix C)
  43.398 +// - p=18, q=6, genpoly=x^12+x^11+x^10+x^9+x^8+x^5+x^2+1 (ibid. Appendix D)
  43.399 +var augumentbch = function(poly, p, genpoly, q) {
  43.400 +	var modulus = poly << q;
  43.401 +	for (var i = p - 1; i >= 0; --i) {
  43.402 +		if ((modulus >> (q+i)) & 1) modulus ^= genpoly << i;
  43.403 +	}
  43.404 +	return (poly << q) | modulus;
  43.405 +};
  43.406 +
  43.407 +// creates the base matrix for given version. it returns two matrices, one of
  43.408 +// them is the actual one and the another represents the "reserved" portion
  43.409 +// (e.g. finder and timing patterns) of the matrix.
  43.410 +//
  43.411 +// some entries in the matrix may be undefined, rather than 0 or 1. this is
  43.412 +// intentional (no initialization needed!), and putdata below will fill
  43.413 +// the remaining ones.
  43.414 +var makebasematrix = function(ver) {
  43.415 +	var v = VERSIONS[ver], n = getsizebyver(ver);
  43.416 +	var matrix = [], reserved = [];
  43.417 +	for (var i = 0; i < n; ++i) {
  43.418 +		matrix.push([]);
  43.419 +		reserved.push([]);
  43.420 +	}
  43.421 +
  43.422 +	var blit = function(y, x, h, w, bits) {
  43.423 +		for (var i = 0; i < h; ++i) {
  43.424 +			for (var j = 0; j < w; ++j) {
  43.425 +				matrix[y+i][x+j] = (bits[i] >> j) & 1;
  43.426 +				reserved[y+i][x+j] = 1;
  43.427 +			}
  43.428 +		}
  43.429 +	};
  43.430 +
  43.431 +	// finder patterns and a part of timing patterns
  43.432 +	// will also mark the format information area (not yet written) as reserved.
  43.433 +	blit(0, 0, 9, 9, [0x7f, 0x41, 0x5d, 0x5d, 0x5d, 0x41, 0x17f, 0x00, 0x40]);
  43.434 +	blit(n-8, 0, 8, 9, [0x100, 0x7f, 0x41, 0x5d, 0x5d, 0x5d, 0x41, 0x7f]);
  43.435 +	blit(0, n-8, 9, 8, [0xfe, 0x82, 0xba, 0xba, 0xba, 0x82, 0xfe, 0x00, 0x00]);
  43.436 +
  43.437 +	// the rest of timing patterns
  43.438 +	for (var i = 9; i < n-8; ++i) {
  43.439 +		matrix[6][i] = matrix[i][6] = ~i & 1;
  43.440 +		reserved[6][i] = reserved[i][6] = 1;
  43.441 +	}
  43.442 +
  43.443 +	// alignment patterns
  43.444 +	var aligns = v[2], m = aligns.length;
  43.445 +	for (var i = 0; i < m; ++i) {
  43.446 +		var minj = (i==0 || i==m-1 ? 1 : 0), maxj = (i==0 ? m-1 : m);
  43.447 +		for (var j = minj; j < maxj; ++j) {
  43.448 +			blit(aligns[i], aligns[j], 5, 5, [0x1f, 0x11, 0x15, 0x11, 0x1f]);
  43.449 +		}
  43.450 +	}
  43.451 +
  43.452 +	// version information
  43.453 +	if (needsverinfo(ver)) {
  43.454 +		var code = augumentbch(ver, 6, 0x1f25, 12);
  43.455 +		var k = 0;
  43.456 +		for (var i = 0; i < 6; ++i) {
  43.457 +			for (var j = 0; j < 3; ++j) {
  43.458 +				matrix[i][(n-11)+j] = matrix[(n-11)+j][i] = (code >> k++) & 1;
  43.459 +				reserved[i][(n-11)+j] = reserved[(n-11)+j][i] = 1;
  43.460 +			}
  43.461 +		}
  43.462 +	}
  43.463 +
  43.464 +	return {matrix: matrix, reserved: reserved};
  43.465 +};
  43.466 +
  43.467 +// fills the data portion (i.e. unmarked in reserved) of the matrix with given
  43.468 +// code words. the size of code words should be no more than available bits,
  43.469 +// and remaining bits are padded to 0 (cf. JIS X 0510:2004 sec 8.7.3).
  43.470 +var putdata = function(matrix, reserved, buf) {
  43.471 +	var n = matrix.length;
  43.472 +	var k = 0, dir = -1;
  43.473 +	for (var i = n-1; i >= 0; i -= 2) {
  43.474 +		if (i == 6) --i; // skip the entire timing pattern column
  43.475 +		var jj = (dir < 0 ? n-1 : 0);
  43.476 +		for (var j = 0; j < n; ++j) {
  43.477 +			for (var ii = i; ii > i-2; --ii) {
  43.478 +				if (!reserved[jj][ii]) {
  43.479 +					// may overflow, but (undefined >> x)
  43.480 +					// is 0 so it will auto-pad to zero.
  43.481 +					matrix[jj][ii] = (buf[k >> 3] >> (~k&7)) & 1;
  43.482 +					++k;
  43.483 +				}
  43.484 +			}
  43.485 +			jj += dir;
  43.486 +		}
  43.487 +		dir = -dir;
  43.488 +	}
  43.489 +	return matrix;
  43.490 +};
  43.491 +
  43.492 +// XOR-masks the data portion of the matrix. repeating the call with the same
  43.493 +// arguments will revert the prior call (convenient in the matrix evaluation).
  43.494 +var maskdata = function(matrix, reserved, mask) {
  43.495 +	var maskf = MASKFUNCS[mask];
  43.496 +	var n = matrix.length;
  43.497 +	for (var i = 0; i < n; ++i) {
  43.498 +		for (var j = 0; j < n; ++j) {
  43.499 +			if (!reserved[i][j]) matrix[i][j] ^= maskf(i,j);
  43.500 +		}
  43.501 +	}
  43.502 +	return matrix;
  43.503 +}
  43.504 +
  43.505 +// puts the format information.
  43.506 +var putformatinfo = function(matrix, reserved, ecclevel, mask) {
  43.507 +	var n = matrix.length;
  43.508 +	var code = augumentbch((ecclevel << 3) | mask, 5, 0x537, 10) ^ 0x5412;
  43.509 +	for (var i = 0; i < 15; ++i) {
  43.510 +		var r = [0,1,2,3,4,5,7,8,n-7,n-6,n-5,n-4,n-3,n-2,n-1][i];
  43.511 +		var c = [n-1,n-2,n-3,n-4,n-5,n-6,n-7,n-8,7,5,4,3,2,1,0][i];
  43.512 +		matrix[r][8] = matrix[8][c] = (code >> i) & 1;
  43.513 +		// we don't have to mark those bits reserved; always done
  43.514 +		// in makebasematrix above.
  43.515 +	}
  43.516 +	return matrix;
  43.517 +};
  43.518 +
  43.519 +// evaluates the resulting matrix and returns the score (lower is better).
  43.520 +// (cf. JIS X 0510:2004 sec 8.8.2)
  43.521 +//
  43.522 +// the evaluation procedure tries to avoid the problematic patterns naturally
  43.523 +// occuring from the original matrix. for example, it penaltizes the patterns
  43.524 +// which just look like the finder pattern which will confuse the decoder.
  43.525 +// we choose the mask which results in the lowest score among 8 possible ones.
  43.526 +//
  43.527 +// note: zxing seems to use the same procedure and in many cases its choice
  43.528 +// agrees to ours, but sometimes it does not. practically it doesn't matter.
  43.529 +var evaluatematrix = function(matrix) {
  43.530 +	// N1+(k-5) points for each consecutive row of k same-colored modules, where k >= 5. no overlapping row counts.
  43.531 +	var PENALTY_CONSECUTIVE = 3;
  43.532 +	// N2 points for each 2x2 block of same-colored modules. Overlapping block does count.
  43.533 +	var PENALTY_TWOBYTWO = 3;
  43.534 +	// N3 points for each pattern with >4W:1B:1W:3B:1W:1B or
  43.535 +	// 1B:1W:3B:1W:1B:>4W, or their multiples (e.g. highly unlikely, but 13W:3B:3W:9B:3W:3B counts).
  43.536 +	var PENALTY_FINDERLIKE = 40;
  43.537 +	// N4*k points for every (5*k)% deviation from 50% black density.
  43.538 +	// i.e. k=1 for 55~60% and 40~45%, k=2 for 60~65% and 35~40%, etc.
  43.539 +	var PENALTY_DENSITY = 10;
  43.540 +
  43.541 +	var evaluategroup = function(groups) { // assumes [W,B,W,B,W,...,B,W]
  43.542 +		var score = 0;
  43.543 +		for (var i = 0; i < groups.length; ++i) {
  43.544 +			if (groups[i] >= 5) score += PENALTY_CONSECUTIVE + (groups[i]-5);
  43.545 +		}
  43.546 +		for (var i = 5; i < groups.length; i += 2) {
  43.547 +			var p = groups[i];
  43.548 +			if (groups[i-1] == p && groups[i-2] == 3*p && groups[i-3] == p &&
  43.549 +					groups[i-4] == p && (groups[i-5] >= 4*p || groups[i+1] >= 4*p)) {
  43.550 +				// this part differs from zxing...
  43.551 +				score += PENALTY_FINDERLIKE;
  43.552 +			}
  43.553 +		}
  43.554 +		return score;
  43.555 +	};
  43.556 +
  43.557 +	var n = matrix.length;
  43.558 +	var score = 0, nblacks = 0;
  43.559 +	for (var i = 0; i < n; ++i) {
  43.560 +		var row = matrix[i];
  43.561 +		var groups;
  43.562 +
  43.563 +		// evaluate the current row
  43.564 +		groups = [0]; // the first empty group of white
  43.565 +		for (var j = 0; j < n; ) {
  43.566 +			var k;
  43.567 +			for (k = 0; j < n && row[j]; ++k) ++j;
  43.568 +			groups.push(k);
  43.569 +			for (k = 0; j < n && !row[j]; ++k) ++j;
  43.570 +			groups.push(k);
  43.571 +		}
  43.572 +		score += evaluategroup(groups);
  43.573 +
  43.574 +		// evaluate the current column
  43.575 +		groups = [0];
  43.576 +		for (var j = 0; j < n; ) {
  43.577 +			var k;
  43.578 +			for (k = 0; j < n && matrix[j][i]; ++k) ++j;
  43.579 +			groups.push(k);
  43.580 +			for (k = 0; j < n && !matrix[j][i]; ++k) ++j;
  43.581 +			groups.push(k);
  43.582 +		}
  43.583 +		score += evaluategroup(groups);
  43.584 +
  43.585 +		// check the 2x2 box and calculate the density
  43.586 +		var nextrow = matrix[i+1] || [];
  43.587 +		nblacks += row[0];
  43.588 +		for (var j = 1; j < n; ++j) {
  43.589 +			var p = row[j];
  43.590 +			nblacks += p;
  43.591 +			// at least comparison with next row should be strict...
  43.592 +			if (row[j-1] == p && nextrow[j] === p && nextrow[j-1] === p) {
  43.593 +				score += PENALTY_TWOBYTWO;
  43.594 +			}
  43.595 +		}
  43.596 +	}
  43.597 +
  43.598 +	score += PENALTY_DENSITY * ((Math.abs(nblacks / n / n - 0.5) / 0.05) | 0);
  43.599 +	return score;
  43.600 +};
  43.601 +
  43.602 +// returns the fully encoded QR code matrix which contains given data.
  43.603 +// it also chooses the best mask automatically when mask is -1.
  43.604 +var generate = function(data, ver, mode, ecclevel, mask) {
  43.605 +	var v = VERSIONS[ver];
  43.606 +	var buf = encode(ver, mode, data, ndatabits(ver, ecclevel) >> 3);
  43.607 +	buf = augumenteccs(buf, v[1][ecclevel], GF256_GENPOLY[v[0][ecclevel]]);
  43.608 +
  43.609 +	var result = makebasematrix(ver);
  43.610 +	var matrix = result.matrix, reserved = result.reserved;
  43.611 +	putdata(matrix, reserved, buf);
  43.612 +
  43.613 +	if (mask < 0) {
  43.614 +		// find the best mask
  43.615 +		maskdata(matrix, reserved, 0);
  43.616 +		putformatinfo(matrix, reserved, ecclevel, 0);
  43.617 +		var bestmask = 0, bestscore = evaluatematrix(matrix);
  43.618 +		maskdata(matrix, reserved, 0);
  43.619 +		for (mask = 1; mask < 8; ++mask) {
  43.620 +			maskdata(matrix, reserved, mask);
  43.621 +			putformatinfo(matrix, reserved, ecclevel, mask);
  43.622 +			var score = evaluatematrix(matrix);
  43.623 +			if (bestscore > score) {
  43.624 +				bestscore = score;
  43.625 +				bestmask = mask;
  43.626 +			}
  43.627 +			maskdata(matrix, reserved, mask);
  43.628 +		}
  43.629 +		mask = bestmask;
  43.630 +	}
  43.631 +
  43.632 +	maskdata(matrix, reserved, mask);
  43.633 +	putformatinfo(matrix, reserved, ecclevel, mask);
  43.634 +	return matrix;
  43.635 +};
  43.636 +
  43.637 +// the public interface is trivial; the options available are as follows:
  43.638 +//
  43.639 +// - version: an integer in [1,40]. when omitted (or -1) the smallest possible
  43.640 +//   version is chosen.
  43.641 +// - mode: one of 'numeric', 'alphanumeric', 'octet'. when omitted the smallest
  43.642 +//   possible mode is chosen.
  43.643 +// - ecclevel: one of 'L', 'M', 'Q', 'H'. defaults to 'L'.
  43.644 +// - mask: an integer in [0,7]. when omitted (or -1) the best mask is chosen.
  43.645 +//
  43.646 +// for generate{HTML,PNG}:
  43.647 +//
  43.648 +// - modulesize: a number. this is a size of each modules in pixels, and
  43.649 +//   defaults to 5px.
  43.650 +// - margin: a number. this is a size of margin in *modules*, and defaults to
  43.651 +//   4 (white modules). the specficiation mandates the margin no less than 4
  43.652 +//   modules, so it is better not to alter this value unless you know what
  43.653 +//   you're doing.
  43.654 +var QRCode = {
  43.655 +	'generate': function(data, options) {
  43.656 +		var MODES = {'numeric': MODE_NUMERIC, 'alphanumeric': MODE_ALPHANUMERIC,
  43.657 +			'octet': MODE_OCTET};
  43.658 +		var ECCLEVELS = {'L': ECCLEVEL_L, 'M': ECCLEVEL_M, 'Q': ECCLEVEL_Q,
  43.659 +			'H': ECCLEVEL_H};
  43.660 +
  43.661 +		options = options || {};
  43.662 +		var ver = options.version || -1;
  43.663 +		var ecclevel = ECCLEVELS[(options.ecclevel || 'L').toUpperCase()];
  43.664 +		var mode = options.mode ? MODES[options.mode.toLowerCase()] : -1;
  43.665 +		var mask = 'mask' in options ? options.mask : -1;
  43.666 +
  43.667 +		if (mode < 0) {
  43.668 +			if (typeof data === 'string') {
  43.669 +				if (data.match(NUMERIC_REGEXP)) {
  43.670 +					mode = MODE_NUMERIC;
  43.671 +				} else if (data.match(ALPHANUMERIC_OUT_REGEXP)) {
  43.672 +					// while encode supports case-insensitive
  43.673 +					// encoding, we restrict the data to be
  43.674 +					// uppercased when auto-selecting the mode.
  43.675 +					mode = MODE_ALPHANUMERIC;
  43.676 +				} else {
  43.677 +					mode = MODE_OCTET;
  43.678 +				}
  43.679 +			} else {
  43.680 +				mode = MODE_OCTET;
  43.681 +			}
  43.682 +		} else if (!(mode == MODE_NUMERIC || mode == MODE_ALPHANUMERIC ||
  43.683 +				mode == MODE_OCTET)) {
  43.684 +			throw 'invalid or unsupported mode';
  43.685 +		}
  43.686 +
  43.687 +		data = validatedata(mode, data);
  43.688 +		if (data === null) throw 'invalid data format';
  43.689 +
  43.690 +		if (ecclevel < 0 || ecclevel > 3) throw 'invalid ECC level';
  43.691 +
  43.692 +		if (ver < 0) {
  43.693 +			for (ver = 1; ver <= 40; ++ver) {
  43.694 +				if (data.length <= getmaxdatalen(ver, mode, ecclevel)) break;
  43.695 +			}
  43.696 +			if (ver > 40) throw 'too large data';
  43.697 +		} else if (ver < 1 || ver > 40) {
  43.698 +			throw 'invalid version';
  43.699 +		}
  43.700 +
  43.701 +		if (mask != -1 && (mask < 0 || mask > 8)) throw 'invalid mask';
  43.702 +
  43.703 +		return generate(data, ver, mode, ecclevel, mask);
  43.704 +	},
  43.705 +
  43.706 +
  43.707 +	'generatePNG': function(data, options) {
  43.708 +		options = options || {};
  43.709 +		var matrix = QRCode['generate'](data, options);
  43.710 +		var modsize = Math.max(options.modulesize || 5, 0.5);
  43.711 +		var margin = Math.max(options.margin || 4, 0.0);
  43.712 +		var n = matrix.length;
  43.713 +		var size = modsize * (n + 2 * margin);
  43.714 +
  43.715 +		var canvas = document.createElement('canvas'), context;
  43.716 +		canvas.width = canvas.height = size;
  43.717 +		context = canvas.getContext('2d');
  43.718 +		if (!context) throw 'canvas support is needed for PNG output';
  43.719 +
  43.720 +		context.fillStyle = '#fff';
  43.721 +		context.fillRect(0, 0, size, size);
  43.722 +		context.fillStyle = '#000';
  43.723 +		for (var i = 0; i < n; ++i) {
  43.724 +			for (var j = 0; j < n; ++j) {
  43.725 +				if (matrix[i][j]) {
  43.726 +					context.fillRect(modsize * (margin + j), modsize * (margin + i), modsize, modsize);
  43.727 +				}
  43.728 +			}
  43.729 +		}
  43.730 +		//context.fillText('evaluation: ' + evaluatematrix(matrix), 10, 10);
  43.731 +		return canvas.toDataURL();
  43.732 +	}
  43.733 +};
  43.734 +
  43.735 +return QRCode;
  43.736 +})();
    44.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    44.2 +++ b/doc/lib/tpl/slitaz-grey/rtl.css	Wed Jan 15 14:24:29 2014 +0100
    44.3 @@ -0,0 +1,119 @@
    44.4 +/**
    44.5 + * Layout and dedsign corrections for right-to-left languages
    44.6 + *
    44.7 + * @author Andreas Gohr <andi@splitbrain.org>
    44.8 + * @author Dotan Kamber <kamberd@yahoo.com>
    44.9 + */
   44.10 +
   44.11 +.bar-left {
   44.12 +  float: right;
   44.13 +  text-align: right;
   44.14 +}
   44.15 +
   44.16 +.bar-right {
   44.17 +  float: left;
   44.18 +  text-align: left;
   44.19 +}
   44.20 +
   44.21 +.pagename {
   44.22 +  float: right;
   44.23 +  text-align: right;
   44.24 +}
   44.25 +
   44.26 +.logo {
   44.27 +  float: left;
   44.28 +  text-align: left;
   44.29 +}
   44.30 +
   44.31 +label {
   44.32 +  text-align: left;
   44.33 +}
   44.34 +
   44.35 +label.simple {
   44.36 +  text-align: right;
   44.37 +}
   44.38 +
   44.39 +div.meta div.user {
   44.40 +  float: right
   44.41 +}
   44.42 +
   44.43 +div.meta div.doc {
   44.44 +  text-align: left;
   44.45 +}
   44.46 +
   44.47 +/* ------------------  Design corrections  --------------------------------- */
   44.48 +
   44.49 +div.dokuwiki ul,
   44.50 +div.dokuwiki ol {
   44.51 +  margin: 0.5em 1.5em 0.5em 0;
   44.52 +}
   44.53 +
   44.54 +div.dokuwiki a.urlextern,
   44.55 +div.dokuwiki a.interwiki,
   44.56 +div.dokuwiki a.windows,
   44.57 +div.dokuwiki a.mail,
   44.58 +div.dokuwiki a.mail.JSnocheck {
   44.59 +  /* should work but doesn't - so we just disable icons here*/
   44.60 +  /*
   44.61 +  background-position: right 1px;
   44.62 +  padding-right: 16px;
   44.63 +  */
   44.64 +  background-image: none !important;
   44.65 +  padding: 0px 0px 0px 0px;
   44.66 +}
   44.67 +
   44.68 +div.dokuwiki div.secedit input.button {
   44.69 +  float: left;
   44.70 +}
   44.71 +
   44.72 +/* headlines */
   44.73 +div.dokuwiki h1, div.dokuwiki h2, div.dokuwiki h3, div.dokuwiki h4, div.dokuwiki h5 {
   44.74 +  clear: right;
   44.75 +}
   44.76 +
   44.77 +/* special headlines */
   44.78 +div.dokuwiki h1 {margin-left: 0px; margin-right: 0px;}
   44.79 +div.dokuwiki h2 {margin-left: 0px; margin-right: 20px;}
   44.80 +div.dokuwiki h3 {margin-left: 0px; margin-right: 40px;}
   44.81 +div.dokuwiki h4 {margin-left: 0px; margin-right: 60px;}
   44.82 +div.dokuwiki h5 {margin-left: 0px; margin-right: 80px;}
   44.83 +
   44.84 +/* indent different sections */
   44.85 +div.dokuwiki div.level1 {margin-left: 0px; margin-right: 3px;}
   44.86 +div.dokuwiki div.level2 {margin-left: 0px; margin-right: 23px;}
   44.87 +div.dokuwiki div.level3 {margin-left: 0px; margin-right: 43px;}
   44.88 +div.dokuwiki div.level4 {margin-left: 0px; margin-right: 63px;}
   44.89 +div.dokuwiki div.level5 {margin-left: 0px; margin-right: 83px;}
   44.90 +
   44.91 +/* TOC control */
   44.92 +div.dokuwiki div.toc {
   44.93 +  float: left;
   44.94 +}
   44.95 +
   44.96 +div.dokuwiki div.tocheader {
   44.97 +  text-align: right;
   44.98 +}
   44.99 +
  44.100 +div.dokuwiki #toc__inside {
  44.101 +  text-align: right;
  44.102 +}
  44.103 +
  44.104 +div.dokuwiki ul.toc {
  44.105 +  padding: 0;
  44.106 +  padding-right: 1em;
  44.107 +}
  44.108 +
  44.109 +div.dokuwiki ul.toc li {
  44.110 +  background-position: right 0.6em;
  44.111 +  padding-right:0.4em;
  44.112 +  direction: rtl;
  44.113 +}
  44.114 +
  44.115 +div.dokuwiki ul.toc li.clear {
  44.116 +  padding-right:0.4em;
  44.117 +}
  44.118 +
  44.119 +div.dokuwiki pre {
  44.120 +  text-align: left;
  44.121 +}
  44.122 +
    45.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    45.2 +++ b/doc/lib/tpl/slitaz-grey/style.ini	Wed Jan 15 14:24:29 2014 +0100
    45.3 @@ -0,0 +1,67 @@
    45.4 +; Please see http://www.php.net/manual/en/function.parse-ini-file.php
    45.5 +; for limitations of the ini format used here
    45.6 +
    45.7 +; Define the stylesheets your template uses here. The second value
    45.8 +; defines for which output media the style should be loaded. Currently
    45.9 +; print, screen and rtl are supported. rtl styles are loaded additionally
   45.10 +; to screen styles if a right-to-left language is selected (eg. hebrew)
   45.11 +[stylesheets]
   45.12 +layout.css     = screen
   45.13 +design.css     = screen
   45.14 +style.css      = screen
   45.15 +
   45.16 +media.css      = screen
   45.17 +
   45.18 +UWEB.css      = screen
   45.19 +
   45.20 +rtl.css        = rtl
   45.21 +print.css      = print
   45.22 +
   45.23 +; This section is used to configure some placeholder values used in
   45.24 +; the stylesheets. Changing this file is the simplest method to
   45.25 +; give your wiki a new look.
   45.26 +[replacements]
   45.27 +
   45.28 +;--------------------------------------------------------------------------
   45.29 +;------ guaranteed dokuwiki color placeholders that every plugin can use
   45.30 +; main text and background colors
   45.31 +__text__           = "#000"
   45.32 +__background__     = "#fff"
   45.33 +; alternative text and background colors
   45.34 +__text_alt__       = "#638c9c"
   45.35 +__background_alt__ = "#dee7ec"
   45.36 +; neutral text and background colors
   45.37 +__text_neu__       = "#666"
   45.38 +__background_neu__ = "#f5f5f5"
   45.39 +; border color
   45.40 +__border__         = "#dadada"
   45.41 +;--------------------------------------------------------------------------
   45.42 +
   45.43 +; other text and background colors
   45.44 +__text_other__       = "#ccc"
   45.45 +__background_other__ = "#f7f9fa"
   45.46 +
   45.47 +; these are used for links
   45.48 +__extern__    = "#436976"
   45.49 +__existing__  = "#090"
   45.50 +__missing__   = "#f30"
   45.51 +
   45.52 +; highlighting search snippets
   45.53 +__highlight__ = "#ff9"
   45.54 +
   45.55 +
   45.56 +;--------------------------------------------------------------------------
   45.57 +;------ for keeping old templates and plugins compatible to the old pattern
   45.58 +; (to be deleted at the next or after next release)
   45.59 +__white__      = "#fff"
   45.60 +__lightgray__  = "#f5f5f5"
   45.61 +__mediumgray__ = "#ccc"
   45.62 +__darkgray__   = "#666"
   45.63 +__black__      = "#000"
   45.64 +
   45.65 +; these are the shades of blue
   45.66 +__lighter__   = "#f7f9fa"
   45.67 +__light__     = "#eef3f8"
   45.68 +__medium__    = "#dee7ec"
   45.69 +__dark__      = "#8cacbb"
   45.70 +__darker__    = "#638c9c"
    46.1 --- a/pangolin/pangolin	Wed Jan 15 11:15:02 2014 +0100
    46.2 +++ b/pangolin/pangolin	Wed Jan 15 14:24:29 2014 +0100
    46.3 @@ -2,7 +2,7 @@
    46.4  #
    46.5  # Pangolin admin utility
    46.6  #
    46.7 -# Copyright (C) 2012 SliTaz GNU/Linux - BSD License
    46.8 +# Copyright (C) 2012-2014 SliTaz GNU/Linux - BSD License
    46.9  #
   46.10  # Authors : Christophe Lincoln <pankso@slitaz.org>
   46.11  #
   46.12 @@ -20,6 +20,7 @@
   46.13  Commands:
   46.14    up-www       Update website www.slitaz.org
   46.15    up-forum     Update forum.slitaz.org theme
   46.16 +  up-doc       Update doc.slitaz.org theme and configs
   46.17    up-hg        Update Hg web interface hg.slitaz.org
   46.18    adduser      Add a user to Hg.
   46.19    stats        Display some server stats.
   46.20 @@ -28,23 +29,49 @@
   46.21  EOT
   46.22  }
   46.23  
   46.24 +# While libtaz.sh is not installed on Pangolin
   46.25 +#
   46.26 +newline() {
   46.27 +	echo ""
   46.28 +}
   46.29 +
   46.30 +boldify() {
   46.31 +	echo -e "\\033[1m$@\\033[0m" ;;
   46.32 +}
   46.33 +
   46.34 +#
   46.35 +# handle commands
   46.36 +#
   46.37 +
   46.38  case "$1" in
   46.39  	up-www)
   46.40  		# Update website from repo.
   46.41 -		echo "Updating: www.slitaz.org..."
   46.42 -		cd ${WEBSITE} && hg pull -u ;;
   46.43 +		newline
   46.44 +		boldify "Updating: www.slitaz.org..."
   46.45 +		cd ${WEBSITE} && hg pull -u 
   46.46 +		newline;;
   46.47  	up-forum)
   46.48  		# Update forum.slitaz.org theme
   46.49 -		echo "Updating: forum.slitaz.org..."
   46.50 +		newline
   46.51 +		boldify "Updating: forum.slitaz.org..."
   46.52  		cd ${REPOS}/slitaz-forge && hg up
   46.53 -		cp -a forum/my-templates ${WWW}/forum.slitaz.org/public_html ;;
   46.54 +		cp -a forum/my-templates ${WWW}/forum.slitaz.org/public_html 
   46.55 +		newline ;;
   46.56 +	up-doc)
   46.57 +		# Update doc.slitaz.org theme
   46.58 +		newline
   46.59 +		boldify "Updating: doc.slitaz.org..."
   46.60 +		cd ${REPOS}/slitaz-forge && hg up
   46.61 +		cp -a doc/* ${WWW}/doc.slitaz.org/public_html 
   46.62 +		newline ;;
   46.63  	up-hg)
   46.64  		# Update hg.slitaz.org template.
   46.65 -		echo -e "\nUpdating Mercurial template..."
   46.66 +		newline
   46.67 +		boldify "Updating Mercurial template..."
   46.68  		cd $REPOS/slitaz-dev-tools && hg update 
   46.69  		cp -a slitaz-mercurial-style/* $PYTHON_LIB/site-packages/mercurial
   46.70  		chown -R root.root $PYTHON_LIB/site-packages/mercurial/templates
   46.71 -		echo "" ;;
   46.72 +		newline ;;
   46.73  	adduser)
   46.74  		[ ! "$2" ] && echo "Missing user name arg" && exit 0
   46.75  		[ ! "$3" ] && echo "Missing password arg" && exit 0