Changeset 7738 for trunk/src/map/inc/node_info.php
- Timestamp:
- Apr 13, 2010, 5:35:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/map/inc/node_info.php
r7735 r7738 80 80 elseif($_GET['type'] == "cluster") 81 81 { 82 $markerTitles = unserialize($_GET['markers']); 82 $markerTitles = unserialize($_GET['markers']); 83 84 echo <<<EOF 85 <div id="nodeinfo"> 86 <h1>Nodes:</h1> 87 <h2> 88 Lijst met nodes in deze cluster<br/> 89 <div id="clusterlist"> 90 <select multiple> 91 EOF; 92 foreach($markerTitles as $marker) 93 { 94 echo "<option value='".$marker."'>".$marker."</option>"; 95 } 83 96 84 if($view == "beheerder")//Display part for beheerder view of a cluster node 85 { 86 echo <<<EOF 87 <div id="nodeinfo"> 88 <h1>Nodes:</h1> 89 <h2> 90 Lijst met nodes in deze cluster<br/> 97 echo <<<EOF 98 </select><br/> 99 </div> 100 </h2> 101 </div> 102 <div id="timestamp"> 103 Laatste update: 15:42 <br/> 104 Do 25 maart 105 </div> 91 106 EOF; 92 foreach($markerTitles as $marker)93 {94 echo "".$marker."<br/>";95 }96 97 echo <<<EOF98 BEHEERDERSVIEW99 </h2>100 </div>101 <div id="timestamp">102 Laatste update: 15:42 <br/>103 Do 25 maart104 </div>105 EOF;106 }107 elseif($view == "gebruiker")//Display part for gebruiker view of a cluster node108 {109 echo <<<EOF110 <div id="nodeinfo">111 <h1>Nodes:</h1>112 <h2>113 Lijst met nodes in deze cluster<br/>114 <select multiple size="5" width="15">115 EOF;116 foreach($markerTitles as $marker)117 {118 echo "<option value='".$marker."'>".$marker."</option>";119 }120 121 echo <<<EOF122 </select><br/>123 GEBRUIKERSVIEW124 </h2>125 </div>126 <div id="timestamp">127 Laatste update: 15:42 <br/>128 Do 25 maart129 </div>130 EOF;131 }132 107 }
Note:
See TracChangeset
for help on using the changeset viewer.