[Mapbender-commits] r2380 - branches/darndt_dev/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Apr 11 04:39:55 EDT 2008
Author: darndt
Date: 2008-04-11 04:39:55 -0400 (Fri, 11 Apr 2008)
New Revision: 2380
Modified:
branches/darndt_dev/http/php/mod_layerMetadata.php
Log:
Modified: branches/darndt_dev/http/php/mod_layerMetadata.php
===================================================================
--- branches/darndt_dev/http/php/mod_layerMetadata.php 2008-04-10 23:11:23 UTC (rev 2379)
+++ branches/darndt_dev/http/php/mod_layerMetadata.php 2008-04-11 08:39:55 UTC (rev 2380)
@@ -51,11 +51,14 @@
<link rel="stylesheet" type="text/css" href="../css/metadata.css" />
<?php
echo '<meta http-equiv="Content-Type" content="text/html; charset='.CHARSET.'">';
-?>
- </head>
- <body>
-<?php
- $layer_id = $_GET['id'];
+
+ $layer_id = $_GET['id'];
+
+# Einfügen Geonetwork
+if (preg_match('/GN/', $layer_id)){
+ echo '<meta http-equiv="refresh" content="0; URL=http://www.regionalplan-sbh.de/geonetwork?uuid='. $layer_id . '"></head><body>';
+} else {
+# Ende
$wms_getmap = urldecode($_GET['wms']);
$layer_name = urldecode($_GET['name']);
@@ -159,7 +162,8 @@
echo "<a href='mod_layerMetadata.php?id=".$layer[$i]['id']."'>" . $layer[$i]['Titel'] . "</a>";
}
}
- echo "</td></tr></table>\n";
+ echo "</td></tr></table>\n";
+}
?>
</div>
</body>
More information about the Mapbender_commits
mailing list