[Rt-commit] r9563 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Tue Nov 6 07:01:37 EST 2007
Author: ruz
Date: Tue Nov 6 07:01:36 2007
New Revision: 9563
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/Admin/Users/Modify.html
Log:
r9252 at cubic-pc (orig r9251): sartak | 2007-10-09 20:55:57 +0400
r43481 at onn: sartak | 2007-10-09 12:55:48 -0400
Bullet-proof some checks to User->Privileged, which requires a real live user (which we don't have when we're generating the Create User page)
Modified: rt/branches/3.7-EXPERIMENTAL/html/Admin/Users/Modify.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Admin/Users/Modify.html (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Admin/Users/Modify.html Tue Nov 6 07:01:36 2007
@@ -227,7 +227,7 @@
<&| /Widgets/TitleBox, title => loc('Comments about this user') &>
<textarea class="comments" name="Comments" cols="80" rows="5" wrap="virtual"><%$UserObj->Comments%></textarea>
</&>
-%if ($UserObj->Privileged) {
+%if (!$Create && $UserObj->Privileged) {
<br />
<&| /Widgets/TitleBox, title => loc('Signature') &>
<textarea class="signature" cols="80" rows="5" name="Signature" wrap="hard"><%$UserObj->Signature%></textarea>
@@ -386,7 +386,7 @@
$EnabledChecked ="CHECKED";
}
-if ($UserObj->Privileged()) {
+if (!$Create && $UserObj->Privileged()) {
$PrivilegedChecked = "CHECKED";
}
More information about the Rt-commit
mailing list