Ignore:
Timestamp:
Apr 17, 2010, 4:22:35 PM (15 years ago)
Author:
janveeden
Message:

Comitted some images I forgot to upload. Searchlist now shows nodes, and filters on name automatically while typing. Next up is getting it to filter on locations of nodes too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/map/index.php

    r7802 r7805  
    11<?php
    2 require_once("inc/kmlHandler.php");
    32require_once("../config.php");
    4 require_once("inc/node_info_start.php");
     3require_once($config['root']."/map/inc/kmlHandler.php");
     4require_once($config['root']."/map/inc/node_info_start.php");
     5require_once($config['root']."/map/inc/search_node.php");
    56
    67#getting array from kmlHandler
     
    2930
    3031<!-- Make our $marker[] array from kmlHandler available to javascript in JSON (No idea on how to this another less ugle way)-->
    31 <script>
     32<script type="text/javascript">
    3233var markers = <?php echo json_encode($markers); ?>;
    3334</script>
     
    4445<!-- Loading in the javascript that handles the switching between gebruiker and beheerder -->
    4546<script type="text/javascript" src="inc/gebruiker_beheerder_switch.js"></script>
     47
    4648</head>
    4749<body>
     
    6365                <!-- Bottom information space -->
    6466                <div id="infobottom">
    65                         <!-- This contains the searchbox of the searchtool, and the send button for it -->
    66                         <div id="searchbox">
    67                                 <form>
    68                                 <input type="text" name="naam" size="18" maxlength="30"><input type="button" name="knop" value=" > ">
    69                                 </form>
    70                         </div>
    71                         <!-- This contains the list of nodes, in future the searchbox will make it possible to filter this list -->
     67                        <?php searchNodes(); ?>
    7268                        <div id="searchlist">
    73                                 <select multiple>
    74                                         <option value="node1">Node 1 Leiden</option>
    75                                         <option value="node2">Node 2 Leiden</option>
    76                                         <option value="node3">Node 3 Leiden</option>
    77                                         <option value="node4">Node 4 Leiden</option>
    78                                         <option value="node5">Node 5 Leiden</option>
    79                                         <option value="node6">Node 6 Leiden</option>
    80                                         <option value="node7">Node 7 Leiden</option>
    81                                         <option value="node8">Node 8 Leiden</option>
    82                                         <option value="node9">Node 9 Leiden</option>
    83                                         <option value="node10">Node 10 Leiden</option>
    84                                 </select>
     69                               
    8570                        </div>
    8671                </div>
Note: See TracChangeset for help on using the changeset viewer.