[Rt-commit] rt branch, new-style-templates, updated. rt-3.8.8-282-g1b05f45
Shawn Moore
sartak at bestpractical.com
Thu Aug 5 17:40:21 EDT 2010
The branch, new-style-templates has been updated
via 1b05f45a943f64c39efa8d2e1a8877fb148b2406 (commit)
from 13bfc0ecc79c5b48f83d4130f7e0118f3ac91ae9 (commit)
Summary of changes:
share/html/Admin/Elements/EditScrip | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 1b05f45a943f64c39efa8d2e1a8877fb148b2406
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Thu Aug 5 17:42:18 2010 -0400
Avoid extra submit/reset buttons if you lack ExecuteCode
diff --git a/share/html/Admin/Elements/EditScrip b/share/html/Admin/Elements/EditScrip
index 42e6b95..3b930e6 100755
--- a/share/html/Admin/Elements/EditScrip
+++ b/share/html/Admin/Elements/EditScrip
@@ -88,12 +88,12 @@
</table>
</&>
+% if ($session{CurrentUser}->HasRight(Object => $RT::System, Right => 'ExecuteCode')) {
<& /Elements/Submit,
Label => $SubmitLabel,
Reset => 1,
&><br />
-% if ($session{CurrentUser}->HasRight(Object => $RT::System, Right => 'ExecuteCode')) {
<&| /Widgets/TitleBox, title => loc('User Defined conditions and actions') &>
<table>
<tr><td colspan="2">
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list