[Mapbender-commits] r1686 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Sep 26 05:05:01 EDT 2007
Author: christoph
Date: 2007-09-26 05:05:01 -0400 (Wed, 26 Sep 2007)
New Revision: 1686
Modified:
trunk/mapbender/http/php/mb_listWMCs.php
Log:
added comments
Modified: trunk/mapbender/http/php/mb_listWMCs.php
===================================================================
--- trunk/mapbender/http/php/mb_listWMCs.php 2007-09-26 09:03:47 UTC (rev 1685)
+++ trunk/mapbender/http/php/mb_listWMCs.php 2007-09-26 09:05:01 UTC (rev 1686)
@@ -132,6 +132,7 @@
$admin = new administration();
$wmcIdArray = $admin->getWmcByOwner($user_id);
+// wmc is being deleted
if (!empty($delWmcId)) {
$result = $admin->deleteWmc($delWmcId, $user_id);
if (!$result) {
@@ -140,6 +141,7 @@
echo "</script>";
}
}
+// wmc is being loaded from file
elseif ($clientFilename) {
$serverFilename = "../tmp/wmc" . time() . ".xml";
copy($clientFilename, $serverFilename);
More information about the Mapbender_commits
mailing list