com web/wiki: Fix javascript errors in the doodle plugin for example: dokuwiki/lib/tpl/phpnet/main.php
| From: | Hannes Magnusson | Date: | Tue, 17 Dec 2013 18:56:43 +0000 |
| Subject: | com web/wiki: Fix javascript errors in the doodle plugin for example: dokuwiki/lib/tpl/phpnet/main.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17711@lists.php.net to get a copy of this message | ||
Commit: 4b0713f0895cda7b3dce3e5ddff3294db9626a93
Author: Hannes Magnusson <bjori@mongodb.com> Tue, 17 Dec 2013 10:56:43 -0800
Parents: a28ca77ac89ffdad4f8b2f54697587b13ec9bdf0
Branches: master
Link: http://git.php.net/?p=web/wiki.git;a=commitdiff;h=4b0713f0895cda7b3dce3e5ddff3294db9626a93
Log:
Fix javascript errors in the doodle plugin for example
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 b864fb9..9b0d06d 100644
--- a/dokuwiki/lib/tpl/phpnet/main.php
+++ b/dokuwiki/lib/tpl/phpnet/main.php
@@ -36,8 +36,14 @@ if (empty($_SERVER['REMOTE_USER'])) {
array("href" => "?do=profile", "text" => $name,),
);
}
+ob_start();
+tpl_metaheaders();
+$HEAD_RAND = ob_get_contents();
+ob_end_clean();
$CSS = array("/shared/styles/wiki.css");
$HEAD_RAND = <<< EXTRA
+<script type="text/javascript" charset="utf-8"
src="/lib/exe/js..php?tseed=5d2c1bdf8687c762731f425556438dd5"></script>
+
<style type="text/css">
#dokuwiki__site {
margin: 40px auto;