diff options
| author | Mark Wells <mark@freeside.biz> | 2012-09-06 11:43:17 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2012-09-06 11:43:17 -0700 |
| commit | 8eaca892209d0dd716f42390b7c41cdf12914aab (patch) | |
| tree | 72b14fef00611b33c1433513e6b359743b7b1d84 /httemplate/elements | |
| parent | 84bccd4ca40cec59e1f762cff000b6f026c7f182 (diff) | |
fix 477 part IIB, #18503
Diffstat (limited to 'httemplate/elements')
| -rw-r--r-- | httemplate/elements/tr-select-voip_class.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/httemplate/elements/tr-select-voip_class.html b/httemplate/elements/tr-select-voip_class.html new file mode 100644 index 000000000..dcc1487cc --- /dev/null +++ b/httemplate/elements/tr-select-voip_class.html @@ -0,0 +1,24 @@ +<& tr-td-label.html, label => 'Category', @_ &> +<TD> +<SELECT NAME="<% $opt{'field'} %>"> +% while(@options) { +% my $value = shift @options; +% my $selected = ($value eq $opt{'curr_value'}) ? 'SELECTED' : ''; + <OPTION VALUE="<% $value %>" <% $selected %>><% shift @options %></OPTION> +% } +</SELECT> +</TD></TR> +<%init> +my %opt = ( + field => 'fcc_voip_class', + label => 'Category', + @_ +); +my @options = ( + '' => '', + 1 => 'VoIP without Broadband', + 2 => 'VoIP with Broadband', + 3 => 'Wholesale VoIP' +); + +</%init> |
