[Mapbender-commits] r6106 - branches/3_dev/core/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sun May 9 09:26:37 EDT 2010


Author: christoph
Date: 2010-05-09 09:26:36 -0400 (Sun, 09 May 2010)
New Revision: 6106

Modified:
   branches/3_dev/core/lib/class_Element.php
Log:
splash screen

Modified: branches/3_dev/core/lib/class_Element.php
===================================================================
--- branches/3_dev/core/lib/class_Element.php	2010-05-09 13:25:58 UTC (rev 6105)
+++ branches/3_dev/core/lib/class_Element.php	2010-05-09 13:26:36 UTC (rev 6106)
@@ -207,8 +207,11 @@
 			if ($this->moreStyles) {
 		    	$openTag .= $this->moreStyles;
 			}
-			$openTag .= "'>";
-
+			$openTag .= "'";
+			if ($this->element !== "body") {
+				$openTag .= " class='hide-during-splash'";
+			}
+			$openTag .= ">";
 			if ($this->element == "body") {
 				$e_id = "body";
 				$gui_id = $this->guiId;
@@ -238,9 +241,7 @@
 				}	
 				$openTag .= "<div id='loading_mapbender' " .
 								"style='margin:0px;padding:0px;width:100%;height:100%;'>" . 
-								$splashScreen . "</div>" . 
-								"<div id='complete_mapbender' " .
-								"style='display:none;width:99%;height:99%'>";
+								$splashScreen . "</div>";
 				unset ($e_id, $gui_id);
 			}
 		}
@@ -257,7 +258,7 @@
 	
 	private function getHtmlCloseTag () {
 		if ($this->element == "body") {
-			return "</div></body>";
+			return "</body>";
 		}
 		if ($this->closeTag != "") {
 			return "</" . $this->closeTag . ">";



More information about the Mapbender_commits mailing list