[Mapbender-commits] r4308 - branches/mifan_dev/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sun Jul 5 15:07:50 EDT 2009
Author: mifan
Date: 2009-07-05 15:07:50 -0400 (Sun, 05 Jul 2009)
New Revision: 4308
Modified:
branches/mifan_dev/mapbender/http/php/mod_loadCatalogCapabilities.php
Log:
debug
Modified: branches/mifan_dev/mapbender/http/php/mod_loadCatalogCapabilities.php
===================================================================
--- branches/mifan_dev/mapbender/http/php/mod_loadCatalogCapabilities.php 2009-07-05 19:07:27 UTC (rev 4307)
+++ branches/mifan_dev/mapbender/http/php/mod_loadCatalogCapabilities.php 2009-07-05 19:07:50 UTC (rev 4308)
@@ -63,12 +63,18 @@
color: #808080;
font-size : 12px;
}
+ #csw_info {
+ font-family: Arial, Helvetica, sans-serif;
+ text-decoration : none;
+ color: #808FFF;
+ font-size : 18px;
+ }
-->
</style>
<script language="JavaScript">
-function validate(wert){
- if(wert == 'guiList'){
+function validate(value){
+ if(value == 'guiList'){
var listIndex = document.form1.guiList.selectedIndex;
if(listIndex<0){
alert("Please select a GUI to add Catalog to.");
@@ -76,7 +82,7 @@
}
else{
var gui_id=document.form1.guiList.options[listIndex].value;
- document.form1.action = '../php/mod_loadwms.php?<?php echo $urlParameters ?>';
+ document.form1.action = '../php/mod_loadCatalog.php?<?php echo $urlParameters ?>';
document.form1.submit();
}
}
@@ -150,21 +156,22 @@
echo"<select size='8' name='wmsList' style='width:200px' on Click='submit()'>";
echo "</select><br><br>";
}
+
echo "</td>";
echo "<tr></table><br>";
- echo "Add the following REQUEST to the Online Resource URL to obtain the Capabilities document:<br>";
+ echo "<div id='csw_info'>";
+ echo "Add one of the following REQUEST to the Online Resource URL to obtain the CSW Capabilities document:<br>";
echo "<i>(Triple click to select and copy)</i><br>";
- echo "REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1<br>";
- echo "REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.0<br>";
- echo "REQUEST=capabilities&WMTVER=1.0.0<br><br>";
+ echo "REQUEST=GetCapabilities&SERVICE=CSW&VERSION=2.0.2<br>";
echo "Link to Catalog Capabilities URL:<br>";
+ echo "</div>";
if (isset($xml_file)){
echo"<input type='text' name='xml_file' size='50' value='".$xml_file."'>";
}else{
echo"<input type='text' name='xml_file' size='50' value='http://'>";
}
- echo"<input type='button' name='loadCap' value='Load' onClick='validate(\"guiList\")'>";
+ echo"<input type='button' name='loadCap' value='Load Catalog' onClick='validate(\"guiList\")'>";
echo "</form>";
}
else{
More information about the Mapbender_commits
mailing list