Commit:    4b0713f0895cda7b3dce3e5ddff3294db9626a93
Author:    Hannes Magnusson <[email protected]>         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;


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to