From 6f4377c504b6b3d25e90ea20f08fc772bbe782f4 Mon Sep 17 00:00:00 2001 From: Nigel Kukard <nkukard@lbsd.net> Date: Fri, 1 May 2009 07:32:42 +0000 Subject: [PATCH] * Fixed attribute name input box * Allow no operator to be selected to keep previous one --- webui/user-attribute-change.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webui/user-attribute-change.php b/webui/user-attribute-change.php index 40a6e624..293c2e61 100644 --- a/webui/user-attribute-change.php +++ b/webui/user-attribute-change.php @@ -54,7 +54,7 @@ if (isset($_POST['frmaction']) && $_POST['frmaction'] == "change") { $row = $res->fetchObject(); ?> - <p class="pageheader">Update User</p> + <p class="pageheader">Change Attribute</p> <form action="user-attribute-change.php" method="post"> <div> @@ -73,7 +73,7 @@ if (isset($_POST['frmaction']) && $_POST['frmaction'] == "change") { <?php tooltip('user_attributes_name'); ?> </td> <td class="oldval texttop"><?php echo $row->name; ?></td> - <td><textarea name="user_attributes_name" cols="40" rows="1"></textarea></td> + <td><input name="user_attributes_name" /></td> </tr> <tr> <td class="entrytitle texttop"> @@ -82,6 +82,7 @@ if (isset($_POST['frmaction']) && $_POST['frmaction'] == "change") { <td class="oldval texttop"><?php echo $row->operator; ?></td> <td> <select name="user_attributes_operator"> + <option value="">--</option> <option value="=">=</option> <option value="==">==</option> <option value=":=">:=</option> -- GitLab