com web/php: Remove annoying javascript error on all pages except docs: include/layout.inc include/shared-manual.inc

From: Date: Mon, 28 Oct 2013 23:22:02 +0000
Subject: com web/php: Remove annoying javascript error on all pages except docs: include/layout.inc include/shared-manual.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-16978@lists.php.net to get a copy of this message
Commit: be1bcf78cfbf49891f54417cd5c3b1c9773fee0c Author: Hannes Magnusson <bjori@mongodb.com> Mon, 28 Oct 2013 16:22:02 -0700 Parents: 0e057c3ced87c3dd9d1f7fcc02e410d04efa6e9e Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=be1bcf78cfbf49891f54417cd5c3b1c9773fee0c Log: Remove annoying javascript error on all pages except docs Changed paths: M include/layout.inc M include/shared-manual.inc Diff: diff --git a/include/layout.inc b/include/layout.inc index e1435bd..388eefb 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -221,6 +221,7 @@ function site_header($title = '', $config = array()) <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="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> </head> <body{$onload}> diff --git a/include/shared-manual.inc b/include/shared-manual.inc index 2563ca2..e2ac6a8 100644 --- a/include/shared-manual.inc +++ b/include/shared-manual.inc @@ -114,7 +114,6 @@ function manual_header() ), "headtags" => array( '<meta http-equiv="Content-language" content="' .. $lang . '" /> - <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script> <script type="text/javascript"> $(document).ready(function() {

« previous php.webmaster (#16978) next »