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/tr-select-did.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/tr-select-did.html')
-rw-r--r-- | httemplate/elements/tr-select-did.html | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/httemplate/elements/tr-select-did.html b/httemplate/elements/tr-select-did.html deleted file mode 100644 index 987ade689..000000000 --- a/httemplate/elements/tr-select-did.html +++ /dev/null @@ -1,41 +0,0 @@ -<% include('tr-td-label.html', @_ ) %> - -% if ( $opt{'curr_value'} ne '' && $use_selector ) { - - <TD BGCOLOR="#dddddd" <% $cell_style %>><% $opt{'formatted_value'} || $opt{'curr_value'} || $opt{'value'} |h %></TD> - - <% include('hidden.html', %opt ) %> - -% } else { - - <TD <% $cell_style %>> - <% include('/elements/select-did.html', %opt ) %> - </TD> - -% } - -</TR> - -<%init> - -my %opt = @_; -#warn Dumper(\%opt); if $DEBUG; -my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : ''; - -#false laziness w/select-did.html -#XXX make sure this comes through on errors too -my $svcpart = $opt{'svcpart'} - || $opt{'object'}->svcpart - || $opt{'object'}->cust_svc->svcpart; - -my $part_svc = qsearchs('part_svc', { 'svcpart'=>$svcpart } ); -die "unknown svcpart $svcpart" unless $part_svc; - -my @exports = $part_svc->part_export_did; -if ( scalar(@exports) > 1 ) { - die "more than one DID-providing export attached to svcpart $svcpart"; -} - -my $use_selector = scalar(@exports) ? 1 : 0; - -</%init> |