summaryrefslogtreecommitdiff
path: root/rt/webrt/Elements/SelectKeyword
diff options
context:
space:
mode:
Diffstat (limited to 'rt/webrt/Elements/SelectKeyword')
-rw-r--r--rt/webrt/Elements/SelectKeyword38
1 files changed, 0 insertions, 38 deletions
diff --git a/rt/webrt/Elements/SelectKeyword b/rt/webrt/Elements/SelectKeyword
deleted file mode 100644
index c4bd9e1..0000000
--- 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>