From 449095130497f47d1f9ec3f67d70d2eb1c99446e Mon Sep 17 00:00:00 2001 From: Petsagourakis George Date: Fri, 18 Feb 2011 19:49:08 +0200 Subject: Passed every png file through http://www.smushit.com/ysmush.it/ saving some 1-2kb of binary image data --- lib/tpl/default/images/UWEB.png | Bin 1138 -> 1065 bytes lib/tpl/default/images/UWEBshadow.png | Bin 1123 -> 900 bytes lib/tpl/default/images/button-dw.png | Bin 427 -> 404 bytes lib/tpl/default/images/button-rss.png | Bin 280 -> 196 bytes lib/tpl/default/images/buttonshadow.png | Bin 257 -> 218 bytes lib/tpl/default/images/inputshadow.png | Bin 155 -> 93 bytes 6 files changed, 0 insertions(+), 0 deletions(-) (limited to 'lib/tpl') diff --git a/lib/tpl/default/images/UWEB.png b/lib/tpl/default/images/UWEB.png index ea03aec94..bded2c76f 100644 Binary files a/lib/tpl/default/images/UWEB.png and b/lib/tpl/default/images/UWEB.png differ diff --git a/lib/tpl/default/images/UWEBshadow.png b/lib/tpl/default/images/UWEBshadow.png index 212444f0e..8c4e5f829 100644 Binary files a/lib/tpl/default/images/UWEBshadow.png and b/lib/tpl/default/images/UWEBshadow.png differ diff --git a/lib/tpl/default/images/button-dw.png b/lib/tpl/default/images/button-dw.png index 39d5f56a9..97272d968 100644 Binary files a/lib/tpl/default/images/button-dw.png and b/lib/tpl/default/images/button-dw.png differ diff --git a/lib/tpl/default/images/button-rss.png b/lib/tpl/default/images/button-rss.png index b036f7152..0a55642ef 100644 Binary files a/lib/tpl/default/images/button-rss.png and b/lib/tpl/default/images/button-rss.png differ diff --git a/lib/tpl/default/images/buttonshadow.png b/lib/tpl/default/images/buttonshadow.png index f60be309f..b96ebf759 100644 Binary files a/lib/tpl/default/images/buttonshadow.png and b/lib/tpl/default/images/buttonshadow.png differ diff --git a/lib/tpl/default/images/inputshadow.png b/lib/tpl/default/images/inputshadow.png index d286beb22..480044986 100644 Binary files a/lib/tpl/default/images/inputshadow.png and b/lib/tpl/default/images/inputshadow.png differ -- cgit v1.2.3 From 383396f405a7c29f52175fdd71ca5b630533160e Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sun, 27 Feb 2011 10:50:12 +0000 Subject: deleted template print styles which are now in the core styles --- lib/tpl/default/print.css | 47 +++-------------------------------------------- 1 file changed, 3 insertions(+), 44 deletions(-) (limited to 'lib/tpl') diff --git a/lib/tpl/default/print.css b/lib/tpl/default/print.css index 15c6dad29..45b60aad2 100644 --- a/lib/tpl/default/print.css +++ b/lib/tpl/default/print.css @@ -33,23 +33,10 @@ div.meta { text-align: right; } - -div.notify, -div.info, -div.success, -div.error, -div.breadcrumbs, -div.secedit { +div.breadcrumbs { display: none; } -div.clearer { - clear: both; - line-height: 0; - height: 0; - overflow: hidden; -} - /* --------------------- Text formating -------------------------------- */ @@ -110,31 +97,15 @@ img.media { margin: 3px; } +/* the styles for media images are already in + lib/styles/all.css, these are additional styles */ img.medialeft { - border: 0; - float: left; margin: 0 1.5em 0 0; } - img.mediaright { - border: 0; - float: right; margin: 0 0 0 1.5em; } - img.mediacenter { - display: block; - margin-left: auto; - margin-right: auto; -} - -/* underline */ -em.u { - font-style: normal; - text-decoration: underline; -} -em em.u { - font-style: italic; } /* unordered lists */ @@ -253,17 +224,5 @@ table.inline td { border: 1px solid #000000; } -.leftalign { - text-align: left; -} - -.centeralign { - text-align: center; -} - -.rightalign { - text-align: right; -} - .toc, .footerinc, .header, .bar, .user { display: none; } -- cgit v1.2.3 From 33c7f9a3da533668d21db2e26f776bd854ae81fa Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 5 Mar 2011 15:52:36 +0100 Subject: avoid premature output before headers are sent --- lib/tpl/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/tpl') diff --git a/lib/tpl/index.php b/lib/tpl/index.php index a55081738..20abea20c 100644 --- a/lib/tpl/index.php +++ b/lib/tpl/index.php @@ -8,6 +8,9 @@ * @author Andreas Gohr * @author Anika Henke */ +if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/../../'); +if(!define('NOSESSION')) define('NOSESSION',1); +require_once(DOKU_INC.'inc/init.php'); ?> @@ -41,9 +44,6 @@ '; -- cgit v1.2.3