[Mapbender-commits] r8511 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Nov 26 02:23:39 PST 2012
Author: armin11
Date: 2012-11-26 02:23:38 -0800 (Mon, 26 Nov 2012)
New Revision: 8511
Modified:
trunk/mapbender/http/php/mod_wmc2ol.php
Log:
Rewind some changes for showing mapbenders logo in external ol client
Modified: trunk/mapbender/http/php/mod_wmc2ol.php
===================================================================
--- trunk/mapbender/http/php/mod_wmc2ol.php 2012-11-26 10:16:52 UTC (rev 8510)
+++ trunk/mapbender/http/php/mod_wmc2ol.php 2012-11-26 10:23:38 UTC (rev 8511)
@@ -217,7 +217,7 @@
//initialize markers
$html.="var markers = new OpenLayers.Layer.Markers(\"Markers\", {'calculateInRange': function() { return true; }});\n";
//initialize logo
- $html.="var logo = \"<a href = 'http://www.geoportal.rlp.de' target='_blank'><img src='../img/logo_geoportal_neu.png' height='20' width='120' alt='Mapbender Logo'/></a><br><a href = 'mod_getWmcDisclaimer.php?&id=".$wmcId."&languageCode=de&hostName=".$hostName."' target='_blank'>"._mb('Terms of use')."</a>\";\n";
+ $html.="var logo = \"<a href = 'http://www.mapbender.org' target='_blank'><img src='../img/Mapbender_logo_and_text.png' height='20' width='120' alt='Mapbender Logo'/></a><br><a href = 'mod_getWmcDisclaimer.php?&id=".$wmcId."&languageCode=de&hostName=".$hostName."' target='_blank'>"._mb('Terms of use')."</a>\";\n";
//$html.="var logo = \"<a href = 'http://www.geoportal.rlp.de' target='_blank'><img src='../img/logo_geoportal_neu.png' height='20' width='120' alt='Geoportal Logo'/></a><br><a href = 'mod_getWmcDisclaimer.php?&id=".$wmcId."&languageCode=de&hostName=".$hostName."' target='_blank'>"._mb('Terms of use')."</a>\";\n";
//check for some queryable layer in web map context document
$someLayerQueryable=false;
@@ -785,7 +785,7 @@
}
//*******************************
//placeholder for use constraints
- //echo "<a href = 'http://www.geoportal.rlp.de' target='_blank'> <img src = '".$_SERVER['HTTP_HOST']."/mapbender/http/img/logo_geoportal_neu.png' title=\"GeoPortal Rheinland-Pfalz\" border=0></a>";
+ //echo "<a href = 'http://www.mapbender.de' target='_blank'> <img src = '".$_SERVER['HTTP_HOST']."/mapbender/http/img/logo_geoportal_neu.png' title=\"Mapbender Logo\" border=0></a>";
$html.="<div id='docs'>\n";
$html.="\n";
$html.="</div>\n";
More information about the Mapbender_commits
mailing list