diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /httemplate/elements/select-cust_pkg-status.html | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'httemplate/elements/select-cust_pkg-status.html')
-rw-r--r-- | httemplate/elements/select-cust_pkg-status.html | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/httemplate/elements/select-cust_pkg-status.html b/httemplate/elements/select-cust_pkg-status.html deleted file mode 100644 index ec37eaf67..000000000 --- a/httemplate/elements/select-cust_pkg-status.html +++ /dev/null @@ -1,33 +0,0 @@ -<SELECT NAME="<% $opt{'field'} || 'status' %>" - <% $opt{'multiple'} ? 'MULTIPLE' : '' %> - <% $onchange %> -> - - <OPTION VALUE="">all - -% foreach my $option ( @{ $opt{'statuses'} } ) { - - <OPTION VALUE="<% $option %>" - <% ref($value) && $value->{$option} || $option eq $value - ? 'SELECTED' : '' - %> - ><% $option %> - -% } - -</SELECT> - -<%init> - -my %opt = @_; - -$opt{'statuses'} ||= [ FS::cust_pkg->statuses() ]; # { disabled=>'' } ) - -my $onchange = $opt{'onchange'} - ? 'onChange="'. $opt{'onchange'}. '(this)"' - : ''; - -my $value = $opt{'curr_value'} || $opt{'value'}; -$value = [ split(/\s*,\s*/, $value) ] if $opt{'multiple'} && $value =~ /,/; - -</%init> |