[Mapbender-commits] r2716 - in branches/dev_lenkne: http/php lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jul 24 20:03:53 EDT 2008


Author: lenkne
Date: 2008-07-24 20:03:53 -0400 (Thu, 24 Jul 2008)
New Revision: 2716

Modified:
   branches/dev_lenkne/http/php/mod_adminEditFilteredUser.php
   branches/dev_lenkne/lib/mb_admin_functions.js
Log:


Modified: branches/dev_lenkne/http/php/mod_adminEditFilteredUser.php
===================================================================
--- branches/dev_lenkne/http/php/mod_adminEditFilteredUser.php	2008-07-24 12:10:57 UTC (rev 2715)
+++ branches/dev_lenkne/http/php/mod_adminEditFilteredUser.php	2008-07-25 00:03:53 UTC (rev 2716)
@@ -215,7 +215,6 @@
 header("Content-type: text/html;");
 
 ?>
-
 <div id="main">
 	<h2>Create or edit user</h2>
 	<form id="form" name="form" action="" method="post">
@@ -223,8 +222,8 @@
 		<p>
 			<input type="button" id="insert" name="insert" value="Create" onclick="insertUser('mod_adminEditFilteredUser')" /> 
 			<input type="button" id="update" name="update" value="Update" onclick="updateUser('mod_adminEditFilteredUser')" /> 
-			<input type="button" id="delete" name="delete" value="Delete" onclick="deleteUser('mod_adminEditFilteredUser')" /> 
-			<input type="button" id="cancel" name="cancel" value="Cancel" onclick="loadAction('mod_adminEditFilteredUser',this);" /> 
+			<input type="button" id="delete" name="delete" value="Delete" onclick="deleteUser('mod_adminEditFilteredUser');loadAction('mod_adminEditFilteredUser',this);showFilteredUsers('mod_adminEditFilteredUser')" /> 
+			<input type="button" id="cancel" name="cancel" value="Cancel" onclick="loadAction('mod_adminEditFilteredUser',this);showFilteredUsers('mod_adminEditFilteredUser')" /> 
 		</p>
 	</fieldset>
 
@@ -314,7 +313,7 @@
 		</p>
 		<p>
 			<label for="mb_user_owner">Owner:</label> 
-			<input type="text" id="mb_user_owner" name="mb_user_owner" value="<? $_SESSION["mb_user_id"] ?>" /> 
+			<input type="text" id="mb_user_owner" name="mb_user_owner" value="1" /> 
 		</p>
 	</fieldset>
 	</form>

Modified: branches/dev_lenkne/lib/mb_admin_functions.js
===================================================================
--- branches/dev_lenkne/lib/mb_admin_functions.js	2008-07-24 12:10:57 UTC (rev 2715)
+++ branches/dev_lenkne/lib/mb_admin_functions.js	2008-07-25 00:03:53 UTC (rev 2716)
@@ -39,7 +39,7 @@
 	var module      = arguments[0];
 	var sidebarItem = arguments[1];
 	var action	  = arguments[2];
-	
+
 	showFullscreenProgressIndicator();
 	
 	mb_ajax_post('../php/' + module + '.php', {module:module, action:action}, function(result, status) {
@@ -214,9 +214,6 @@
 	showFullscreenProgressIndicator();
 	var queryObj = {module: module, 
 			command:"showFilteredUsers", 
-//			parameters:{
-//				mb_user_id: mb_user_id
-//			}
 	};
 	$.post('../php/' + module + '.php',{queryObj: $.toJSON(queryObj)}, function(result, status) {
   		if (result && status == "success") {



More information about the Mapbender_commits mailing list