';
?>
Load WMS
";
require_once("../classes/class_wms.php");
$mywms = new wms();
$mywms->createObjFromXML(html_entity_decode($_REQUEST['caps']));
if(!$mywms->wms_status){ echo "alert('Error: The Capabilities Document " . html_entity_decode($_REQUEST['caps']) . " could not be accessed. Please check whether the server is responding and accessible to Mapbender.'); "; die; }
#$mywms->optimizeWMS();
$mywms->createJsObjFromWMS("TRUE");
echo "parent.mod_addWMS_refresh();";
echo "";
?>