mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 05:11:27 +00:00 
			
		
		
		
	set formtoken in button to sustitute user
This commit is contained in:
		
							parent
							
								
									b90d1a6be5
								
							
						
					
					
						commit
						a7ea074328
					
				|  | @ -142,7 +142,7 @@ $(document).ready( function() { | |||
| 			echo "</table>"; | ||||
| 
 | ||||
| 			if($user->isAdmin() && $seluser->getID() != $user->getID()) | ||||
| 				echo "<a href=\"../op/op.SubstituteUser.php?userid=".$seluser->getID()."\" class=\"btn btn-primary\">".getMLText("substitute_user")."</a>\n"; | ||||
| 				echo "<a class=\"btn btn-primary\" href=\"../op/op.SubstituteUser.php?userid=".((int) $seluser->getID())."&formtoken=".createFormKey('substituteuser')."\"><i class=\"icon-exchange\"></i> ".getMLText('substitute_user')."</a> "; | ||||
| 		} | ||||
| 	} /* }}} */ | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann