[Mapbender-commits] r9643 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 10 07:05:11 PST 2017


Author: armin11
Date: 2017-01-10 07:05:10 -0800 (Tue, 10 Jan 2017)
New Revision: 9643

Modified:
   trunk/mapbender/http/php/mod_showMetadata.php
Log:
Enhancement for responsive design by karl owesny ;-)

Modified: trunk/mapbender/http/php/mod_showMetadata.php
===================================================================
--- trunk/mapbender/http/php/mod_showMetadata.php	2017-01-10 14:59:45 UTC (rev 9642)
+++ trunk/mapbender/http/php/mod_showMetadata.php	2017-01-10 15:05:10 UTC (rev 9643)
@@ -740,6 +740,7 @@
 		'<title>'.$translation['metadata'].'</title>' . 
 		'<meta name="description" content="'.$translation['metadata'].'" xml:lang="'.$languageCode.'" />'.
 		'<meta name="keywords" content="'.$translation['metadata'].'" xml:lang="'.$languageCode.'" />'	.	
+		'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;">' .
 		'<meta http-equiv="cache-control" content="no-cache">'.
 		'<meta http-equiv="pragma" content="no-cache">'.
 		'<meta http-equiv="expires" content="0">'.
@@ -802,12 +803,10 @@
 
 
 
+//window close button top
+	$html .= '<div style="padding:10px;display:block;text-align:center;"><a href="javascript:window.close()">'._mb('Close window').'</a>
+</div>';
 
-
-
-
-
-
 //independently define the headers of the parts
 	$html .= '<div class="demo">';
 	$html .= '<div id="tabs">';



More information about the Mapbender_commits mailing list