[Rt-commit] r9251 - in rt/branches/3.7-RTIR-RELENG: .

sartak at bestpractical.com sartak at bestpractical.com
Tue Oct 9 12:55:57 EDT 2007


Author: sartak
Date: Tue Oct  9 12:55:57 2007
New Revision: 9251

Modified:
   rt/branches/3.7-RTIR-RELENG/   (props changed)
   rt/branches/3.7-RTIR-RELENG/html/Admin/Users/Modify.html

Log:
 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-RTIR-RELENG/html/Admin/Users/Modify.html
==============================================================================
--- rt/branches/3.7-RTIR-RELENG/html/Admin/Users/Modify.html	(original)
+++ rt/branches/3.7-RTIR-RELENG/html/Admin/Users/Modify.html	Tue Oct  9 12:55:57 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