[Mapbender-commits] r2497 -
branches/beck_dev/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jun 10 08:59:31 EDT 2008
Author: christoph
Date: 2008-06-10 08:59:30 -0400 (Tue, 10 Jun 2008)
New Revision: 2497
Modified:
branches/beck_dev/mapbender/http/javascripts/mod_usemap.php
branches/beck_dev/mapbender/http/javascripts/mod_wfs_client.html
Log:
bug fixes merged from trunk
Modified: branches/beck_dev/mapbender/http/javascripts/mod_usemap.php
===================================================================
--- branches/beck_dev/mapbender/http/javascripts/mod_usemap.php 2008-06-10 09:38:40 UTC (rev 2496)
+++ branches/beck_dev/mapbender/http/javascripts/mod_usemap.php 2008-06-10 12:59:30 UTC (rev 2497)
@@ -34,6 +34,8 @@
url += "&extent=" + extent;
url += "&width=" + mb_mapObj[ind].width;
url += "&height=" + mb_mapObj[ind].height;
+ url += "&gui_id=<?php echo $gui_id;?>";
+ url += "&e_id=<?php echo $e_id;?>";
document.getElementById('usemap').src = url;
var myImg = window.frames[mod_usemap_target].document.getElementById("um_img").style;
myImg.width = mb_mapObj[ind].width;
Modified: branches/beck_dev/mapbender/http/javascripts/mod_wfs_client.html
===================================================================
--- branches/beck_dev/mapbender/http/javascripts/mod_wfs_client.html 2008-06-10 09:38:40 UTC (rev 2496)
+++ branches/beck_dev/mapbender/http/javascripts/mod_wfs_client.html 2008-06-10 12:59:30 UTC (rev 2497)
@@ -361,69 +361,68 @@
<body onload='getWfsList();getGuis();'>
<h1>Edit WFS</h1>
-<form name="wfsForm">
- <fieldset class="leftContainer">
- <legend>WFS List</legend>
- <p>
- <select size="4" name="wfsList" class="wfsList" onchange="getWfsConfData();getGuiConfs();"></select>
- </p>
- </fieldset>
-
- <fieldset class="rightContainer">
- <legend>Options</legend>
- <p>
- <input type="checkbox" name="owsproxy" id="owsproxy" onclick="setOwsproxy(this)" />
- <label for="owsproxy">OWSProxy</label>
- </p>
- <p>
+<form name='wfsForm'>
+ <div id='indicator'>ahh</div>
+
+ <fieldset class="leftContainer">
+ <legend>WFS List</legend>
+ <p>
+ <select size='4' name='wfsList' class='wfsList' onchange='getWfsConfData();getGuiConfs();'></select>
+ </p>
+ </fieldset>
+
+ <fieldset class="rightContainer">
+ <legend>Options</legend>
+ <p>
+ <input type='checkbox' name='owsproxy' id='owsproxy' onclick='setOwsproxy(this)' />
+ <label for="owsproxy">OWSProxy</label>
+ <br />
<label for="updateUrl">
- Link to new WFS Capabilities URL:<br />
+ Link to new WFS Capabilities URL:
+ <br />
+ (<a href='javascript:getUpdateUrl("wfs_getcapabilities")'>wfs_getcapabilities</a>, <a href='javascript:getUpdateUrl("wfs_upload_url")'>wfs_upload_url</a>)
</label>
- <input id="updateUrl" type="text" value="" name="updateUrl" class="wide" /><br />
- ∟<a href="#" onclick="getUpdateUrl('wfs_getcapabilities');" >WFS Get Capabilities</a>
- ∟<a href="#" onclick="getUpdateUrl('wfs_upload_url');">WFS Upload URL</a>
- </p>
- <p>
- <input type="button" value="Update WFS" name="update" id="updateButton" onclick="updateWfs();" />
- <input type="button" value="Delete WFS" name="delete" id="deleteButton" onclick="deleteWfs();" />
- <span id="indicator"></span>
- </p>
+ <input id='updateUrl' type='text' value='' name='updateUrl' class='updateUrl' />
+ <br />
+ <input type='button' value='Update WFS' name='update' id='updateButton' onclick='updateWfs()' />
+ <input type='button' value='Delete WFS' name='delete' id='deleteButton' onclick='deleteWfs()' />
+ </p>
+ </fieldset>
+
+ <hr />
+
+ <fieldset class="rightContainer">
+ <legend>GUI List</legend>
+ <p>
+ <select size='4' name='guiList' class='guiList' onchange='getGuiConfs()'></select>
+ </p>
+ </fieldset>
+
+ <hr />
+
+ <fieldset class="leftContainer">
+ <legend>WFS Configuration List</legend>
+ <p>
+ <select size='4' name='wfsConfList' class='wfsConfList' onchange='' multiple="multiple"></select>
+ </p>
+ </fieldset>
+
+ <fieldset class="centerContainer">
+ <legend>Action</legend>
+ <p>
+ <input type='button' value='>' name ='add' id ='add' class='add' onclick='addConfsToGui()'><br />
+ <input type='button' value='<' name ='remove' id ='remove' class='remove' onclick='removeConfsFromGui()'>
+ </p>
+ </fieldset>
+
+ <fieldset class="rightContainer">
+ <legend>GUI Configuration List</legend>
+ <p>
+ <select size='4' name='guiConfList' class='guiConfList' onchange='' multiple="multiple"></select>
+ </p>
</fieldset>
-
- <hr />
-
- <fieldset class="rightContainer">
- <legend>GUI List</legend>
- <p>
- <select size="4" name="guiList" class="guiList" onchange="getGuiConfs();"></select>
- </p>
- </fieldset>
-
- <hr />
-
- <fieldset class="leftContainer">
- <legend>WFS Configuration List</legend>
- <p>
- <select size="4" name="wfsConfList" class="wfsConfList" onchange="" multiple="multiple"></select>
- </p>
- </fieldset>
-
- <fieldset class="centerContainer">
- <legend>Action</legend>
- <p>
- <input type="button" value="→" name="add" id="add" class="add" onclick="addConfsToGui();" /><br />
- <input type="button" value="←" name="remove" id="remove" class="remove" onclick="removeConfsFromGui();"/>
- </p>
- </fieldset>
-
- <fieldset class="rightContainer">
- <legend>GUI Configuration List</legend>
- <p>
- <select size="4" name="guiConfList" class="guiConfList" multiple="multiple"></select>
- </p>
- </fieldset>
-
- <hr />
+
+ <hr />
</form>
</body>
More information about the Mapbender_commits
mailing list