diff options
author | cvs2git <cvs2git> | 2008-03-16 19:58:34 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2008-03-16 19:58:34 +0000 |
commit | eb061f5119325e666f0dff40d4089e5c1df58e17 (patch) | |
tree | d55e8fef5aca62eb13bbc8ad20dbdf941c3bd266 /httemplate/elements/select-otaker.html | |
parent | 3a17b276638200475d54201fa62566b7440e819a (diff) |
This commit was manufactured by cvs2svn to create tag 'TRIXBOX_2_6'.TRIXBOX_2_6
Diffstat (limited to 'httemplate/elements/select-otaker.html')
-rw-r--r-- | httemplate/elements/select-otaker.html | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/httemplate/elements/select-otaker.html b/httemplate/elements/select-otaker.html deleted file mode 100644 index 2a689f39d..000000000 --- a/httemplate/elements/select-otaker.html +++ /dev/null @@ -1,27 +0,0 @@ -<SELECT NAME="otaker"> - -% unless ( $opt{'multiple'} || $opt{'disable_empty'} ) { - <OPTION VALUE="">all</OPTION> -% } - -% foreach my $otaker ( @{ $opt{'otakers'} } ) { - <OPTION VALUE="<% $otaker %>"><% $otaker %></OPTION> -% } - -</SELECT> - -<%init> - -my %opt = @_; - -unless ( $opt{'otakers'} ) { - - my $sth = dbh->prepare("SELECT username FROM access_user". - " WHERE disabled = '' or disabled IS NULL") - or die dbh->errstr; - $sth->execute or die $sth->errstr; - $opt{'otakers'} = [ map { $_->[0] } @{$sth->fetchall_arrayref} ]; - -} - -</%init> |