svn commit: r55 - trunk/mapbender/http/html

uli at osgeo.org uli at osgeo.org
Thu Apr 13 17:06:25 EDT 2006


Author: uli
Date: 2006-04-13 21:06:25+0000
New Revision: 55

Added:
   trunk/mapbender/http/html/mod_blank.html
   trunk/mapbender/http/html/mod_sync_treefolder.php
   trunk/mapbender/http/html/mod_treefolder.html

Log:
import Mapbender source without history

Added: trunk/mapbender/http/html/mod_blank.html
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/html/mod_blank.html?view=auto&rev=55
==============================================================================
--- (empty file)
+++ trunk/mapbender/http/html/mod_blank.html	2006-04-13 21:06:25+0000
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- version 2.0.0 -->
+<html>
+<head>
+<title>Blank</title>
+</head>
+<body bgcolor='#ffffff'>
+
+</body>
+</html>

Added: trunk/mapbender/http/html/mod_sync_treefolder.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/html/mod_sync_treefolder.php?view=auto&rev=55
==============================================================================
--- (empty file)
+++ trunk/mapbender/http/html/mod_sync_treefolder.php	2006-04-13 21:06:25+0000
@@ -0,0 +1,30 @@
+<?php
+session_start();
+?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+<head>
+<meta name="author-mail" content="info at ccgis.de">
+<meta name="author" content="U. Rothstein">
+<meta http-equiv="cache-control" content="no-cache">
+<meta http-equiv="pragma" content="no-cache">
+<meta http-equiv="expires" content="0">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Treefolder</title>
+
+<script type="text/javascript">
+<!--
+function init(){
+	parent.mb_registerInitFunctions("window.frames['treeGDE'].setTree()");	
+}
+function setTree(){
+	document.location.href = "../html/mod_treefolder.php?<?php echo SID; ?>&e_id_css=<?php echo $_REQUEST["e_id_css"]; ?>";
+}
+// -->
+</script>
+</head>
+<body onload='init()'>
+
+</body>
+</html>

Added: trunk/mapbender/http/html/mod_treefolder.html
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/html/mod_treefolder.html?view=auto&rev=55
==============================================================================
--- (empty file)
+++ trunk/mapbender/http/html/mod_treefolder.html	2006-04-13 21:06:25+0000
@@ -0,0 +1,567 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+
+<HTML>
+<HEAD>
+<META NAME="Generator" CONTENT="Cosmo Create 1.0.3">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<TITLE>Treefolder old</TITLE>
+<STYLE TYPE="text/css">
+	    <!--
+	.sitemap {
+		font-family:Arial,Helvetica;
+		font-size:10pt;
+		line-height:6pt;
+	}
+
+	body {
+		margin-top:7px;
+		margin-left:4px;
+		font-family: Arial, Helvetica, sans-serif;
+	}
+	a:link { 
+		text-decoration: none;
+		font-family: Arial, Helvetica, sans-serif;
+	}
+	a:visited { 
+		text-decoration: none;
+		font-family: Arial, Helvetica, sans-serif; 
+	}
+	a:active { 
+		text-decoration: none;
+		font-family: Arial, Helvetica, sans-serif; 
+	}
+	    //
+	    -->
+</STYLE>
+  <SCRIPT language="JavaScript1.2">
+  <!--
+  
+  /*
+   * sitemap.js 1.31 05/02/2000
+   *  - Opera 5
+   *
+   * sitemap.js 1.3 27/11/2000
+   *  - Netscape 6
+   *
+   * sitemap.js 1.2 20/05/2000
+   *  - split array tree into arrays for each element old tree
+   *  - no mory type flag, an folder is an entry which has sons
+   *  - a folder can have an link
+   *  - while initing an default layers is shown 
+   *
+   * sitemap.js 1.1 20/10/1999
+   *  - showTree only updates and init layers new which have been really changed
+   *  - add deep to knot entry
+   *  - substitute knotDeep[ id ] w/ tree[ id2treeIndex[ id ] ].deep
+   *  - add alignment to img and a &nbsp; at the beginning of eyery line
+   *  - add a fake img for bookmarks on top panel
+   *
+   * sitemap.js 1.02 14/10/1999
+   *  - fix bug in initStyles
+   *
+   * sitemap.js 1.01 06/10/1999
+   *  - fix bug in knotDeep for Netscape 4.00-4.0.5
+   *
+   * sitemap.js 1.0 20/09/1999
+   *
+   * Javascript function for displaying hierarchic directory structures with
+   * the ability to collapse and expand directories.
+   *
+   * Copyright (c) 1999 Polzin GmbH, Duesseldorf. All Rights Reserved.
+   * Author: Lutz Eymers <ixtab at polzin.com>
+   * Download: http://www.polzin.com/inet/fset_inet.phtml?w=goodies
+   *
+   * Permission to use, copy, modify, and distribute this software
+   * and its documentation for any purposes and without fee
+   * is hereby granted provided that this copyright notice
+   * appears in all copies. 
+   *
+   * Of course, this software is provided "as is" without express or implied
+   * warranty of any kind.
+   *
+   */
+  mod_treeGDE_map = "mapframe1";
+  parent.mb_registerSubFunctions("window.frames['treeGDE'].mod_treeGDE()");
+
+function mod_treeGDE(){
+  /**/
+	var ind = parent.getMapObjIndexByName(mod_treeGDE_map);
+	//if(ind == false){ alert("error, no mapobject specified");}
+	for(var i=0; i<document.getElementsByTagName("input").length; i++){
+		//wms_title,layer_shortname,{visible | querylayer}
+		var myID = document.getElementsByTagName("input")[i].id;
+		var arrayID = document.getElementsByTagName("input")[i].id.split("###");
+		//var ind = parent.getMapObjIndexByName(mod_treeGDE_map);
+		var wms_ind = parent.getWMSIndexByTitle(mod_treeGDE_map,arrayID[0]);
+		if(arrayID[2] == "visible"){
+			var arrayLayer = parent.mb_mapObj[ind].layers[wms_ind].split(",");
+			var isOn = false;
+			for(var ii=0; ii<arrayLayer.length; ii++){
+				if(arrayID[1] == arrayLayer[ii]){isOn = true;}
+			}
+			if(isOn == true){ document.getElementById(myID).checked = true;}
+			if(isOn == false){ document.getElementById(myID).checked = false;}
+		}
+		if(arrayID[2] == "querylayer"){
+			//nothing to do at this time
+		}
+	}
+    /*consider scalhints*/
+	for(var i=0; i<parent.mb_mapObj.length; i++){
+		var scale = parseInt(parent.mb_getScale(mod_treeGDE_map));
+		if(parent.mb_mapObj[i].frameName == mod_treeGDE_map){ 
+			for(var ii=0; ii<parent.mb_mapObj[i].wms.length; ii++){
+				for(var iii=1; iii<parent.mb_mapObj[i].wms[ii].objLayer.length; iii++){
+					if(document.getElementById(parent.mb_mapObj[i].wms[ii].wms_title+"_"+parent.mb_mapObj[i].wms[ii].objLayer[iii].layer_name)){
+						if(scale < parseInt(parent.mb_mapObj[i].wms[ii].objLayer[iii].gui_layer_minscale) && parseInt(parent.mb_mapObj[i].wms[ii].objLayer[iii].gui_layer_minscale) != 0){                    
+							document.getElementById(parent.mb_mapObj[i].wms[ii].wms_title+"_"+parent.mb_mapObj[i].wms[ii].objLayer[iii].layer_name).style.color = '#999999';                
+						}
+						else if(scale > parseInt(parent.mb_mapObj[i].wms[ii].objLayer[iii].gui_layer_maxscale) && parseInt(parent.mb_mapObj[i].wms[ii].objLayer[iii].gui_layer_maxscale) != 0){
+							document.getElementById(parent.mb_mapObj[i].wms[ii].wms_title+"_"+parent.mb_mapObj[i].wms[ii].objLayer[iii].layer_name).style.color = '#999999';
+						}
+						else{
+							document.getElementById(parent.mb_mapObj[i].wms[ii].wms_title+"_"+parent.mb_mapObj[i].wms[ii].objLayer[iii].layer_name).style.color = '#000000';
+						}
+					}                   
+				}
+			}
+		}
+	}
+} 
+  window.onError=null;
+
+  var idx=0
+  var treeId = new Array();
+  var treeP_id = new Array();
+  var treeIsOn = new Array();
+  var treeTyp = new Array();
+  var treeName = new Array();
+  var treeUrl = new Array();
+  var treeWasOn = new Array();
+  var treeDeep = new Array();
+  var treeLastY = new Array();
+  var treeIsShown = new Array();
+  var treeSelectable = new Array();
+  var treeVisible = new Array();
+  var treeQueryable = new Array();
+  var treeQuerylayer = new Array();
+  var treeWMS = new Array();
+  var treeShortname = new Array();
+
+  function Note( id,p_id,name,url,selectable,visible,queryable,querylayer,wms,shortname) {
+    treeId[ idx ] = id
+    treeP_id[ idx ] = p_id
+    treeIsOn[ idx ] = false
+    treeTyp[ idx ] = 'f'
+    treeName[ idx ] = name
+    treeUrl[ idx ] = url 
+    treeWasOn[ idx ] = false
+    treeDeep[ idx ] = 0
+    treeLastY[ idx ] = 0
+    treeIsShown[ idx ] = false
+    treeSelectable[ idx ] = selectable
+    treeVisible[ idx ] = visible
+    treeQueryable[ idx ] = queryable
+    treeQuerylayer[ idx ] = querylayer
+    treeWMS[ idx ] = wms
+    treeShortname[ idx ] = shortname
+    idx++
+  }
+
+  function initDiv ( )
+  {
+    if ( isDOM || isDomIE )
+    {
+      divPrefix='<DIV CLASS="sitemap" style="position:absolute; left:0; top:0; visibility:hidden;" ID="sitemap'
+      divInfo='<DIV CLASS="sitemap" style="position:absolute; visibility:visible" ID="sitemap'
+    }
+    else
+    {
+      divPrefix='<DIV CLASS="sitemap" ID="sitemap'
+      divInfo='<DIV CLASS="sitemap" ID="sitemap'
+    }
+    document.writeln( divInfo +  'info">Bitte haben Sie etwas Geduld.<BR>&nbsp;<BR>Es werden die Eintr&auml;ge aus<BR>&nbsp;<BR>der Datenbank initialisiert.</DIV> ' );
+    for ( var i=1; i<idx; i++ )
+    {
+      // linked Name ? 
+      if ( treeUrl[i] != '' ){
+        linkedName = "<input id='"+treeWMS[i]+"###"+treeShortname[i]+"###visible' type='checkbox' ";
+         if(treeVisible[i] == '1'){ linkedName += "checked ";}
+         if(treeSelectable[i] != '1'){ linkedName += "disabled ";}
+        linkedName += "onClick = 'if(this.checked){parent.handleSelectedLayer(\""+mod_treeGDE_map+"\",\""+treeWMS[i]+"\",\""+treeShortname[i]+"\",\"visible\",1);parent.setSingleMapRequest(\""+mod_treeGDE_map+"\",\""+treeWMS[i]+"\");}";
+        linkedName += "else{parent.handleSelectedLayer(\""+mod_treeGDE_map+"\",\""+treeWMS[i]+"\",\""+treeShortname[i]+"\",\"visible\",0);parent.setSingleMapRequest(\""+mod_treeGDE_map+"\",\""+treeWMS[i]+"\");}'";
+        linkedName += '>';
+        
+        linkedName += "<input id='"+treeWMS[i]+"###"+treeShortname[i]+"###querylayer' type='checkbox' ";
+         if(treeQuerylayer[i] == '1'){ linkedName += "checked ";}
+         if(treeQueryable[i] != '1'){ linkedName += "disabled ";}
+        linkedName += "onClick = 'if(this.checked){parent.handleSelectedLayer(\""+mod_treeGDE_map+"\",\""+treeWMS[i]+"\",\""+treeShortname[i]+"\",\"querylayer\",1);}";
+        linkedName += "else{parent.handleSelectedLayer(\""+mod_treeGDE_map+"\",\""+treeWMS[i]+"\",\""+treeShortname[i]+"\",\"querylayer\",0);}'";
+        linkedName += '>';
+        
+        linkedName += '<A id="'+treeWMS[i]+'_'+treeShortname[i]+'"  HREF="' + treeUrl[i] + '" TARGET="' + defaultTarget + '"><IMG SRC="../img/tree/1w.gif" BORDER="0" WIDTH="3">' + treeName[i] + '</A>';
+      }  
+      else
+        linkedName =  '<IMG SRC="../img/tree/1w.gif" BORDER="0" WIDTH="3">' + treeName[i]
+      // don't link folder icon if node has no sons
+      if ( i == idx-1 || treeP_id[i+1] != treeId[i] ) {
+        if ( treeDeep[ i ] == 0 )
+          folderImg = '<IMG ALIGN="BOTTOM" SRC="../img/tree/file_empty.gif" BORDER="0" HEIGHT="16" WIDTH="1" HSPACE="0">'
+        else
+          folderImg = ''
+      } else {
+        folderImg = '<A  HREF="javascript:sitemapClick(' + treeId[i] + ')"><IMG ALIGN="BOTTOM" SRC="../img/tree/folder_off.gif" BORDER="0" NAME="folder' + treeId[i] + '" HEIGHT="16" WIDTH="30" HSPACE="0"></A>'
+      }
+      // which type of file icon should be displayed?
+      if ( treeP_id[i] != 0 )
+      {
+        if ( lastEntryInFolder( treeId[i] ) )
+          fileImg = '<IMG ALIGN="BOTTOM" SRC="../img/tree/file_last.gif" BORDER="0" NAME="file'
+            + treeId[i] + '" HEIGHT="16" WIDTH="30" HSPACE="0">'  
+        else    
+          fileImg = '<IMG ALIGN="BOTTOM" SRC="../img/tree/file.gif" BORDER="0" NAME="file'
+            + treeId[i] + '" HEIGHT="16" WIDTH="30" HSPACE="0">'  
+      }
+      else
+        fileImg = ''
+      // traverse parents up to root and show vertical lines if parent 
+      // is not the last entry on this layer
+      verticales = ''
+      for( var act_id=treeId[i] ; treeDeep[ id2treeIndex[ act_id ] ] > 1;  )
+      {  
+        act_id = treeP_id[ id2treeIndex[ act_id ]]
+        if ( lastEntryInFolder( act_id ) )
+        {
+          verticales = '<IMG ALIGN="BOTTOM" SRC="../img/tree/file_empty.gif" BORDER="0" HEIGHT="16" WIDTH="30" HSPACE="0">' + verticales
+        }
+        else
+        {
+          verticales = '<IMG ALIGN="BOTTOM" SRC="../img/tree/file_vert.gif" BORDER="0" HEIGHT="16" WIDTH="30" HSPACE="0">' + verticales
+        }
+      }
+
+      
+      document.writeln( divPrefix + treeId[i] + '"><NOBR>&nbsp;' + verticales + fileImg + folderImg + linkedName + '</NOBR></DIV>'
+      )  
+    }
+  }
+
+  function initStyles ( )
+  {
+    document.writeln( '<STYLE TYPE="text/css">' + "\n" + '<!--' )
+    for ( var i=1,y=y0; i<idx; i++ )
+    {  
+      document.writeln( '#sitemap' + treeId[i] + ' {POSITION: absolute; VISIBILITY: hidden;}' )
+      if ( treeIsOn[ id2treeIndex[ treeP_id[i] ] ] )
+        y += deltaY
+    }
+    document.writeln( '#sitemapinfo {POSITION: absolute; VISIBILITY: visible;}' )
+    document.writeln( '//-->' + "\n" + '</STYLE>' )
+  }
+
+
+
+  function sitemapClick( id )
+  {
+    var i = id2treeIndex[ id ]
+
+    if ( treeIsOn[ i ] )
+    // close directory
+    {
+      // mark node as invisible
+      treeIsOn[ i ]=false
+      // mark all sons as invisible
+      actDeep = treeDeep[ i ]
+      for( var j=i+1; j<idx && treeDeep[j] > actDeep; j++ )
+      {
+        treeWasOn[ j ] = treeIsOn[ j ]
+        treeIsOn[ j ]=false
+      }
+      gif_off( id )
+    }
+    else
+    // open directory
+    { 
+      treeIsOn[ i ]=true
+      // remember and restore old status
+      actDeep = treeDeep[ i ]
+      for( var j=i+1; j<idx && treeDeep[j] > actDeep; j++ )
+      {
+        treeIsOn[ j ] = treeWasOn[ j ]
+      }
+      gif_on( id )
+    }
+    showTree()
+  }
+
+  function knotDeep( id )
+  {
+    var deep=0
+    while ( true )
+      if ( treeP_id[ id2treeIndex[id] ] == 0 )
+        return deep
+      else
+      {
+        ++deep
+        id = treeP_id[ id2treeIndex[id] ]
+      }
+    return deep  
+  }
+
+  function initTree( id )
+  {
+    treeIsOn[ id2treeIndex[id] ] = true
+    if ( treeTyp[ id2treeIndex[id] ] != 'b' )
+      gif_on( id ) 
+    while ( treeP_id[ id2treeIndex[id] ] != 0 )
+    {
+      id = treeP_id[ id2treeIndex[id] ]
+      treeIsOn[ id2treeIndex[id] ] = true
+      if ( treeTyp[ id2treeIndex[id] ] != 'b' )
+        gif_on( id ) 
+    }
+  }
+
+  function lastEntryInFolder( id )
+  {
+    var i = id2treeIndex[id]
+    if ( i == idx-1 )
+      return true
+    if ( treeTyp[i] == 'b' )
+    {
+      if ( treeP_id[i+1] != treeP_id[i] )
+        return true
+      else 
+        return false
+    }
+    else
+    {
+      var actDeep = treeDeep[i]
+      for( var j=i+1; j<idx && treeDeep[j] > actDeep ; j++ )
+      ;
+      if ( j<idx && treeDeep[j] == actDeep )
+        return false
+      else
+        return true
+    }
+  }
+
+  function showTree()
+  {
+    for( var i=1, y=y0, x=x0; i<idx; i++ )
+    {
+      if ( treeIsOn[ id2treeIndex[ treeP_id[i] ] ] )
+      {
+        // show current node
+        if ( !(y == treeLastY[i] && treeIsShown[i] ) )
+        {
+          showLayer( "sitemap"+ treeId[i] ) 
+          setyLayer( "sitemap"+ treeId[i], y )
+          treeIsShown[i] = true
+        } 
+        treeLastY[i] = y
+        y += deltaY
+      }
+      else
+      {
+        // hide current node and all sons
+        if ( treeIsShown[ i ] )
+        {
+          hideLayer( "sitemap"+ treeId[i] ) 
+          treeIsShown[i] = false
+        }
+      }
+    }
+  }
+
+  function initIndex() {
+    for( var i=0; i<idx; i++ )
+      id2treeIndex[ treeId[i] ] = i
+  }
+
+  function gif_name (name, width, height) {
+    this.on = new Image (width, height);
+    this.on.src = "../img/tree/" +name + "_on.gif"
+    this.off = new Image (width, height);
+    this.off.src = "../img/tree/"+name + "_off.gif"
+  }
+
+  function load_gif (name, width, height) {
+    gif_name [name] = new gif_name (name,width,height);
+  }
+
+  function load_all () {
+    load_gif ('folder',30,16)
+    file_last = new Image( 30,16 )
+    file_last.src = "../img/tree/file_last.gif"
+    file_middle = new Image( 30,16 )
+    file_middle.src = "../img/tree/file.gif"
+    file_vert = new Image( 30,16 )
+    file_vert.src = "../img/tree/file_vert.gif"
+    file_empty = new Image( 30,16 )
+    file_empty = "../img/tree/file_empty.gif"
+  }
+
+  function gif_on ( id ) {
+    eval("document['folder" + id + "'].src = gif_name['folder'].on.src")
+  }
+
+  function gif_off ( id ) {
+    eval("document['folder" + id + "'].src = gif_name['folder'].off.src")
+  }
+ 
+  // global configuration
+  var deltaX = 30
+  var deltaY = 16
+  var x0 = 5
+  var y0 = 5
+  var defaultTarget = 'examplemain'
+
+  var browserName = navigator.appName;
+  var browserVersion = parseInt(navigator.appVersion);
+  var isIE = false;
+  var isNN = false;
+  var isDOM = false;
+  var isDomIE = false;
+  var isDomNN = false;
+  var layerok = false;
+
+  var isIE = browserName.indexOf("Microsoft Internet Explorer" )==-1?false:true;
+  var isNN = browserName.indexOf("Netscape")==-1?false:true;
+  var isOpera = browserName.indexOf("Opera")==-1?false:true;
+  var isDOM = document.getElementById?true:false;
+  var isDomNN = document.layers?true:false;
+  var isDomIE = document.all?true:false;
+
+  if ( isNN && browserVersion>=4 ) layerok=true;
+  if ( isIE && browserVersion>=4 ) layerok=true;
+  if ( isOpera && browserVersion>=5 ) layerok=true;
+
+    
+  function hideLayer(layerName) {
+    if (isDOM)
+      document.getElementById(layerName).style.visibility="hidden"
+    else if (isDomIE)
+      document.all[layerName].style.visibility="hidden";
+    else if (isDomNN) 
+      document.layers[layerName].visibility="hidden";
+  }
+
+  function showLayer(layerName) {
+    if (isDOM)
+      document.getElementById(layerName).style.visibility="visible"
+    else if (isDomIE)
+      document.all[layerName].style.visibility="visible";
+    else if (isDomNN)
+      document.layers[layerName].visibility="visible";
+  }
+
+  function setyLayer(layerName, y) {
+    if (isDOM)
+      document.getElementById(layerName).style.top=y
+    else if (isDomIE)
+      document.all[layerName].style.top=y;
+    else if (isDomNN)
+      document.layers[layerName].top=y;
+  }
+
+  var id2treeIndex = new Array()
+
+  // the structure is easy to understand with a simple example
+  // p_id is the id of the parent
+  // E0                                      ( id=0,p_id=-1 )
+  //          E11                            ( id=1,p_id=0)
+  //                     E111                ( id=2,p_id=1 )
+  //                     E112                ( id=3,p_id=1 )
+  //          E12                            ( id=4,p_id=0 )
+  //                     E121                ( id=5,p_id=4 ) 
+  //          E13                            ( id=6,p_id=0 ) 
+  //                     E131                ( id=7,p_id=6 ) 
+  //                                 E1311   ( id=8,p_id=7 ) 
+  //                     E132                ( id=9,p_id=6 ) 
+  // this is a multinary tree structure which is easy to
+  // populate with database data :)
+  function initArray(){
+    var parentObj = 0;
+    if(parent.mb_mapObj.length == 0){ window.setTimeout("initArray()",100); }    
+    else if(parent.mb_mapObj.length > 0){
+      Note(0,-1,'','');
+      for(var i=0; i<parent.mb_mapObj.length; i++){
+        if(parent.mb_mapObj[i].frameName == mod_treeGDE_map){ 
+           for(var ii=0; ii<parent.mb_mapObj[i].wms.length; ii++){
+              for(var iii=0; iii<parent.mb_mapObj[i].wms[ii].objLayer.length; iii++){          
+                 var temp = parent.mb_mapObj[i].wms[ii].objLayer[iii];     
+                 if(parent.mb_mapObj[i].wms[ii].objLayer[iii].layer_parent == ""){                    
+                    //alert((parseInt(temp.layer_id)+1) + " , " +0 + " , " +temp.layer_title + " , " +'');
+                    Note((parseInt(temp.layer_id)+1),0,temp.layer_title,'','','','','');
+                    parentObj = temp.layer_id+1;                  
+                 }
+                 if(parent.mb_mapObj[i].wms[ii].objLayer[iii].layer_parent == "0"){
+                    ///aufbau der METADATA LINKS
+                    //alert((parseInt(temp.layer_id)+1) + " , " +parentObj + " , " +temp.layer_title + " , " +'');
+                    if(temp.gui_layer_selectable == '1' || temp.gui_layer_queryable == '1'){
+                     //alert((parseInt(temp.layer_id)+1) + " , " +parentObj + " , " +temp.layer_title + " , " +'dasdf' + " , " +temp.gui_layer_selectable + " , " +temp.gui_layer_visible + " , " +temp.gui_layer_queryable + " , " +temp.gui_layer_querylayer);
+                     Note((parseInt(temp.layer_id)+1),parentObj,temp.layer_title,'../metadata/metadata.php?layer_name='+temp.layer_name,temp.gui_layer_selectable,temp.gui_layer_visible,temp.gui_layer_queryable,temp.gui_layer_querylayer,parent.mb_mapObj[i].wms[ii].wms_title,temp.layer_name);
+                    }
+                 }
+              }
+           }
+        }
+      }
+      //Note(22,1,'willi','adfasd');
+      treeTyp[0] = 'f'
+      treeIsOn[0] = true
+      treeWasOn[0] = true
+    }       
+  } 
+  function initArray_()
+  {
+    Note(0,-1,'','')	  
+    Note(1,0,'Tutorials','')	  	  
+    Note(8,1,'HTML','')
+    Note(10,8,'SelfHtml','http://www.teamone.de/selfaktuell/') 
+	  Note(9,1,'willi','')
+    Note(100,9,'SelfHtml','http://www.teamone.de/selfaktuell/')       
+	  Note(3,1,'JavaScript','')
+    Note(4,3, 'Netscape Guide 1.3','http://developer.netscape.com/docs/manuals/js/client/jsguide/index.htm')
+    Note(7,3, 'Introduction to Javascript','http://rummelplatz.uni-mannheim.de/~skoch/js/script.htm')	  
+    Note(12,1, 'Perl','')
+    Note(14,12, 'Perl Tutorial','http://www.awu.id.ethz.ch/~didi/perl/perl_start.html')
+    Note(13,1,'SQL','')
+    Note(15,13, 'Introduction to SQL','http://w3.one.net/~jhoffman/sqltut.htm')
+	  Note(111,1, 'Introduction to SQL','http://w3.one.net/~jhoffman/sqltut.htm')
+    Note(2,0, 'Reference Manuals','')
+    Note(11,2, 'HTML Version 3.2 Referenz','http://www.cls-online.de/htmlref/index.htm')
+    Note(6,2,'Netscape Reference 1.3','http://developer.netscape.com/docs/manuals/js/client/jsref/index.htm')
+    Note(17,2,'PHP Manual','http://www.php.net/manual/html/')	  
+    treeTyp[0] = 'f'
+    treeIsOn[0] = true
+    treeWasOn[0] = true
+  }
+
+  var idx=0
+  initArray()
+  initIndex()
+  load_all()
+  for( i=1; i<idx; i++ )
+  {
+    treeDeep[i] = knotDeep( treeId[i] )
+    if ( treeDeep[i] == 0 )
+      treeIsShown[i] = true
+  }
+  if ( isDomNN )
+    initStyles();
+  //-->  
+  </SCRIPT>
+</HEAD>
+<BODY VLINK="#000000" ALINK="#000000" LINK="#000000" BGCOLOR="#ffffff" TEXT="#000000"
+ onLoad="if (layerok) showTree();mod_treeGDE();"
+ MARGINHEIGHT="0" MARGINWIDTH="0" LEFTMARGIN="0" TOPMARGIN="0">
+<SCRIPT language="JavaScript1.2">
+<!--
+  initDiv()
+  hideLayer("sitemapinfo")
+//-->
+</SCRIPT>
+</BODY>
+</HTML>




More information about the Mapbender_commits mailing list