[Mapbender-commits] r7554 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Feb 10 08:05:35 EST 2011
Author: armin11
Date: 2011-02-10 05:05:34 -0800 (Thu, 10 Feb 2011)
New Revision: 7554
Modified:
trunk/mapbender/http/javascripts/initWmcObj.php
Log:
bugfix
Modified: trunk/mapbender/http/javascripts/initWmcObj.php
===================================================================
--- trunk/mapbender/http/javascripts/initWmcObj.php 2011-02-10 12:58:30 UTC (rev 7553)
+++ trunk/mapbender/http/javascripts/initWmcObj.php 2011-02-10 13:05:34 UTC (rev 7554)
@@ -410,7 +410,7 @@
//check if tou has already been read - if not show them in the message
$resultOfCheck = $classTou->check('wms',$WMS['id']);
if ($resultOfCheck['accepted'] == 0) {
- $tou .= $resourceSymbol." <a href='../php/mod_showMetadata.php?resource=wms&layout=tabs&id=".$WMS['id']."&languageCode=".$languageCode."' target='_blank'>".$WMS['title']."</a><br>";
+ $touHeader = $resourceSymbol." <a href='../php/mod_showMetadata.php?resource=wms&layout=tabs&id=".$WMS['id']."&languageCode=".$languageCode."' target='_blank'>".$WMS['title']."</a><br>";
if (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") {
$mapbenderProtocol = "https://";
@@ -424,7 +424,7 @@
$touForWMS = $touServiceConnector->file;
//add only those who have no special tou defined -
if ($touForWMS != ''){
- $tou .= $touForWMS;
+ $tou .= $touHeader.$touForWMS;
}
//set the tou to be accepted - TODO maybe do this after the button which deletes the message window - from a ajax request.
More information about the Mapbender_commits
mailing list