com web/wiki: Don't load the additional standard dokuwiki themes, load our modifications: dokuwiki/lib/tpl/phpnet/main.php
| From: | Hannes Magnusson | Date: | Tue, 17 Dec 2013 06:51:55 +0000 |
| Subject: | com web/wiki: Don't load the additional standard dokuwiki themes, load our modifications: dokuwiki/lib/tpl/phpnet/main.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17696@lists.php.net to get a copy of this message | ||
Commit: 946a4b5e46e1c0aa3c49d2f1b06cf71f1956496c
Author: Hannes Magnusson <bjori@mongodb.com> Mon, 16 Dec 2013 22:51:31 -0800
Parents: b522e6bcae20a67daf8b46c995ca5b58a9f918f6
Branches: master
Link: http://git.php.net/?p=web/wiki.git;a=commitdiff;h=946a4b5e46e1c0aa3c49d2f1b06cf71f1956496c
Log:
Don't load the additional standard dokuwiki themes, load our modifications
Changed paths:
M dokuwiki/lib/tpl/phpnet/main.php
Diff:
diff --git a/dokuwiki/lib/tpl/phpnet/main.php b/dokuwiki/lib/tpl/phpnet/main.php
index 6111922..94cfedf 100644
--- a/dokuwiki/lib/tpl/phpnet/main.php
+++ b/dokuwiki/lib/tpl/phpnet/main.php
@@ -36,11 +36,8 @@ if (empty($_SERVER['REMOTE_USER'])) {
array("href" => "?do=profile", "text" => $name,),
);
}
-ob_start();
-tpl_metaheaders();
-$HEAD_RAND = ob_get_contents();
-ob_end_clean();
-$HEAD_RAND .= <<< EXTRA
+$CSS = array("/shared/styles/wiki.css");
+$HEAD_RAND = <<< EXTRA
<style type="text/css">
#dokuwiki__site {
margin: 40px auto;