[Mapbender-commits] r3483 - branches/astroidex_25/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Jan 22 17:34:47 EST 2009
Author: astrid_emde
Date: 2009-01-22 17:34:47 -0500 (Thu, 22 Jan 2009)
New Revision: 3483
Modified:
branches/astroidex_25/http/php/mod_createCategory.php
Log:
module too create a category
Modified: branches/astroidex_25/http/php/mod_createCategory.php
===================================================================
--- branches/astroidex_25/http/php/mod_createCategory.php 2009-01-22 22:33:24 UTC (rev 3482)
+++ branches/astroidex_25/http/php/mod_createCategory.php 2009-01-22 22:34:47 UTC (rev 3483)
@@ -1,5 +1,5 @@
<?php
-# $Id: mod_createCategory.php 2280 2008-03-20 13:00:14Z christoph $
+# $Id:$
# http://www.mapbender.org/index.php/Administration
# Copyright (C) 2002 CCGIS
#
@@ -50,14 +50,6 @@
$t = array('s','s');
$res = db_prep_query($sql,$v,$t);
-#$sql = "INSERT INTO gui_mb_user (fkey_gui_id,fkey_mb_user_id,mb_user_type) ";
-#$sql .= "VALUES($1, $2, $3)";
-#$v = array($newCategory,$_SESSION["mb_user_id"], 'owner');
-#$t = array('s','i','s');
-#$res = db_prep_query($sql,$v,$t);
-#require_once(dirname(__FILE__)."/mb_getCategroies.php");
-#$arrayGUIs = mb_getGUIs( $_SESSION["mb_user_id"]);
-#$_SESSION["mb_user_guis"] = $arrayGUIs;
$categoryCreated=true;
}
}
@@ -103,7 +95,8 @@
}
echo "<p\n";
echo "<div class= 'guiList1_text'>"._mb("existing Categories").":</div>\n";
- echo "<select class='categoryList' size='14' name='categoryList' onchange='setCategory(this.value)'>\n";
+#echo "<select class='categoryList' size='14' name='categoryList' onchange='setCategory(this.value)'>\n";
+ echo "<select class='categoryList' size='14' name='categoryList' onchange=''>\n";
for ($i=0; $i<count($category_name);$i++){
echo "<option value='".$category_name[$i]."' ";
echo ">".$category_name[$i]. " - ".$category_description[$i]."</option>\n";
More information about the Mapbender_commits
mailing list