X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FAdmin%2FElements%2FModifyTemplate;h=b91e23e4b5cb42e5deb2d4cd4012bbae18a361c2;hp=06209053195f53e9063994ab57415304d57f44ad;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941 diff --git a/rt/share/html/Admin/Elements/ModifyTemplate b/rt/share/html/Admin/Elements/ModifyTemplate index 062090531..b91e23e4b 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-2019 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -47,38 +47,44 @@ %# END BPS TAGGED BLOCK }}} - - + + - - + + - - + + + + +
-<&|/l&>Name: - -
-
<&|/l&>Name:
-<&|/l&>Description: - -
-
<&|/l&>Description:
-<&|/l&>Content:
-
- +<&|/l&>Type: + +> +
+ +> +
+
<&|/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 => ''