[Mapbender-commits] r9673 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 24 06:13:52 PST 2017


Author: armin11
Date: 2017-01-24 06:13:52 -0800 (Tue, 24 Jan 2017)
New Revision: 9673

Modified:
   trunk/mapbender/http/classes/class_iso19139.php
Log:
Fix for show close button in html metadata form - thanx to karl owesny

Modified: trunk/mapbender/http/classes/class_iso19139.php
===================================================================
--- trunk/mapbender/http/classes/class_iso19139.php	2017-01-24 09:42:31 UTC (rev 9672)
+++ trunk/mapbender/http/classes/class_iso19139.php	2017-01-24 14:13:52 UTC (rev 9673)
@@ -752,6 +752,8 @@
 				$html .= '});';
 				$html .= '</script>';
 				//independently define the headers of the parts
+				//window close button top
+                                $html .= '<div style="padding:10px;display:block;text-align:center;"><a href="javascript:window.close()">'._mb("Close window").'</a></div>';
 				$html .= '<div class="demo">';
 				$html .= '<div id="tabs">';
 				$html .= '<ul>';
@@ -775,12 +777,14 @@
 				//$html .= '		$("#accordion").accordion({ autoHeight: false , clearStyle: true });';
 				$html .= '	});';
 				$html .= '	</script>';
+				//window close button top
+                                $html .= '<div style="padding:10px;display:block;text-align:center;"><a href="javascript:window.close()">'._mb("Close window").'</a></div>';
 				$html .= '<div class="demo">';
-				//window close button top
-				$html .= '<div style="padding:10px;display:block;text-align:center;"><a href="javascript:window.close()">'._mb("Close window").'</a></div>';
 				$html .= '<div id="accordion">';
 			}
 			if ($layout == 'plain') {
+				//window close button top
+                                $html .= '<div style="padding:10px;display:block;text-align:center;"><a href="javascript:window.close()">'._mb("Close window").'</a></div>';
 				$html .= '<div class="demo">';
 				$html .= '<div id="plain">';
 			}



More information about the Mapbender_commits mailing list