[Mapbender-commits] r6658 - trunk/mapbender/http/frames
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Jul 30 05:31:09 EDT 2010
Author: christoph
Date: 2010-07-30 09:31:09 +0000 (Fri, 30 Jul 2010)
New Revision: 6658
Modified:
trunk/mapbender/http/frames/index.php
Log:
check if LOAD_JQUERY_FROM_GOOGLE is defined before usage
changed doctype
Modified: trunk/mapbender/http/frames/index.php
===================================================================
--- trunk/mapbender/http/frames/index.php 2010-07-30 09:24:29 UTC (rev 6657)
+++ trunk/mapbender/http/frames/index.php 2010-07-30 09:31:09 UTC (rev 6658)
@@ -34,7 +34,8 @@
die();
}
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!--
@@ -90,7 +91,7 @@
<script type='text/javascript' src='../javascripts/core.php'></script>
</head>
<?php
-if (LOAD_JQUERY_FROM_GOOGLE) {
+if (defined(LOAD_JQUERY_FROM_GOOGLE) && LOAD_JQUERY_FROM_GOOGLE) {
echo "<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script>";
}
$currentApplication = new gui($gui_id);
More information about the Mapbender_commits
mailing list