Commit:    d82ced1d0b1e0fd5067f00137f34254b078e89c1
Author:    Hannes Magnusson <[email protected]>         Mon, 4 Nov 2013 
09:32:36 -0800
Parents:   3a2e4b6b1e2ca2334e6689f0ee1514d490a6cce7
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=d82ced1d0b1e0fd5067f00137f34254b078e89c1

Log:
Fixed bug#66030 php.net website script error

Load the custom "header tags" (such as javascript things) after we
have loaded our required js

Bugs:
https://bugs.php.net/66030

Changed paths:
  M  include/layout.inc


Diff:
diff --git a/include/layout.inc b/include/layout.inc
index 388eefb..5dd6786 100644
--- a/include/layout.inc
+++ b/include/layout.inc
@@ -220,8 +220,9 @@ function site_header($title = '', $config = array())
  <meta http-equiv="Content-Type" content="text/html; 
charset={$config['charset']}"/>
  <link rel="shortcut icon" href="{$_SERVER['STATIC_ROOT']}/favicon.ico" 
/>{$link}
  $canonical
- <script type="text/javascript" 
src="{$_SERVER['STATIC_ROOT']}/userprefs.js"></script>{$base}{$meta}{$moreheadtags}
+ <script type="text/javascript" 
src="{$_SERVER['STATIC_ROOT']}/userprefs.js"></script>{$base}{$meta}
  <script type="text/javascript" 
src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js";></script>
+ {$moreheadtags}
 </head>
 <body{$onload}>


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

Reply via email to