diff options
Diffstat (limited to 'rt/webrt/Elements/SelectKeyword')
-rw-r--r-- | rt/webrt/Elements/SelectKeyword | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/rt/webrt/Elements/SelectKeyword b/rt/webrt/Elements/SelectKeyword deleted file mode 100644 index c4bd9e1aa..000000000 --- a/rt/webrt/Elements/SelectKeyword +++ /dev/null @@ -1,38 +0,0 @@ -<SELECT NAME=<%$Name%> <%$Size%> <%$Multiple%>> -<OPTION VALUE="">-</OPTION> -<OPTION VALUE="NULL">(empty)</OPTION> -% foreach my $kid ( keys %{$Descendents} ) { -<OPTION VALUE="<% $kid %>" -%if ($kid == $Default) { -SELECTED -%} -><% $Descendents->{$kid} %></OPTION> -% } -</SELECT> - - -<%INIT> - -unless (defined $KeywordObj) { - $KeywordObj = new RT::Keyword($session{'CurrentUser'}); - $KeywordObj->Load($Root); -} -my $Descendents = $KeywordObj->Descendents(); - -if ($Multiple) { - $Multiple = "MULTIPLE"; -} -if ($Size) { - $Size="SIZE=$Size"; -} - - -</%INIT> -<%ARGS> -$Multiple => undef -$Size => undef -$Name => 'Keyword' -$KeywordObj => undef -$Root => 0 -$Default => undef -</%ARGS> |