X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FAdmin%2FElements%2FModifyTemplate;h=d12dbb4368bcffa835ae682d20c219bb881ac12c;hb=ac20214d38d9af00430423f147b5a0e50751b050;hp=06209053195f53e9063994ab57415304d57f44ad;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/share/html/Admin/Elements/ModifyTemplate b/rt/share/html/Admin/Elements/ModifyTemplate index 062090531..d12dbb436 100755 --- a/rt/share/html/Admin/Elements/ModifyTemplate +++ b/rt/share/html/Admin/Elements/ModifyTemplate @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -47,38 +47,39 @@ %# END BPS TAGGED BLOCK }}} - - + + - - + + - - + + + + +
-<&|/l&>Name: - -
-
<&|/l&>Name:
-<&|/l&>Description: - -
-
<&|/l&>Description:
-<&|/l&>Content:
-
- +<&|/l&>Type: +><&|/l&>Perl
+><&|/l&>Simple
<&|/l&>Content:
<%INIT> +unless ($Type) { + $Type = $session{'CurrentUser'}->HasRight(Right => 'ExecuteCode', Object => $RT::System) ? + 'Perl' : 'Simple'; +} + <%ARGS> -$Name => undef -$Description => undef -$Content => undef +$Name => '' +$Description => '' +$Content => '' +$Type => ''