diff options
author | arf20 <aruizfernandez05@gmail.com> | 2024-03-17 20:36:56 +0100 |
---|---|---|
committer | arf20 <aruizfernandez05@gmail.com> | 2024-03-17 20:36:56 +0100 |
commit | ceec04397f060135b3723fc9c3eb4ae456305f09 (patch) | |
tree | b502b2b48474d2012555fb0afa039d97d0edf1fb /manageusers.php | |
parent | 7af9970bbaaca7ec61dfb1234f1d52a03dab2811 (diff) | |
download | arfnet2-cstims-ceec04397f060135b3723fc9c3eb4ae456305f09.tar.gz arfnet2-cstims-ceec04397f060135b3723fc9c3eb4ae456305f09.zip |
Select in edit box
Diffstat (limited to 'manageusers.php')
-rw-r--r-- | manageusers.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manageusers.php b/manageusers.php index b042978..7fe8cee 100644 --- a/manageusers.php +++ b/manageusers.php @@ -91,8 +91,8 @@ function getuserbyid($id) { ."<label>Username</label><br><input type=\"text\" name=\"username\" value=\"".$user["username"]."\"><br>\n" ."<label>Email</label><br><input type=\"text\" name=\"email\" value=\"".$user["email"]."\"><br>\n" ."<label>Password (empty is unchanged)</label><br><input type=\"text\" name=\"email\"><br>\n" - ."<label>Type</label><br><input type=\"text\" name=\"type\" value=\"".$user["type"]."\"><br>\n" - ."<label>Status</label><br><input type=\"text\" name=\"status\" value=\"".$user["status"]."\"><br>\n" + ."<label>Type</label><br><select name=\"type\"><option value=\"client\" ".($user["type"] == "client" ? "selected" : "").">client</option><option value=\"helpdesk\" ".($user["type"] == "helpdesk" ? "selected" : "").">helpdesk</option><option value=\"accountant\" ".($user["type"] == "accountant" ? "selected" : "").">accountant</option><option value=\"admin\" ".($user["type"] == "admin" ? "selected" : "").">admin</option></select><br>\n" + ."<label>Status</label><br><select name=\"status\"><option value=\"unverified\" ".($user["status"] == "unverified" ? "selected" : "").">unverified</option><option value=\"verified\" ".($user["status"] == "verified" ? "selected" : "").">verified</option></select><br>\n" ."<br><input type=\"submit\" name=\"save\" value=\"Save\"><a href=\"/manageusers.php\">cancel</a>" ."</form></div>"; } @@ -102,8 +102,8 @@ function getuserbyid($id) { ."<label>Username</label><br><input type=\"text\" name=\"username\"><br>\n" ."<label>Email</label><br><input type=\"text\" name=\"email\"><br>\n" ."<label>Password</label><br><input type=\"text\" name=\"password\"><br>\n" - ."<label>Type</label><br><input type=\"text\" name=\"type\"><br>\n" - ."<label>Status</label><br><input type=\"text\" name=\"status\"><br>\n" + ."<label>Type</label><br><select name=\"type\"><option value=\"client\">client</option><option value=\"helpdesk\">helpdesk</option><option value=\"accountant\">accountant</option><option value=\"admin\">admin</option></select><br>\n" + ."<label>Status</label><br><select name=\"status\"><option value=\"unverified\">unverified</option><option value=\"verified\">verified</option></select><br>\n" ."<br><input type=\"submit\" name=\"add\" value=\"Add\"><a href=\"/manageusers.php\">cancel</a>" ."</form></div>"; } |