summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-voip_class.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-09-06 11:46:59 -0700
committerMark Wells <mark@freeside.biz>2012-09-06 11:46:59 -0700
commitb7ce9a95a6fa002d0d537c950f11f8a23d3dfc25 (patch)
tree42e304103826c3f7b3157159dc2e850e4f1a8631 /httemplate/elements/tr-select-voip_class.html
parentfdb87db06d3c62a7f7536d1ed630293da94d959a (diff)
fix 477 part IIB, #18503
Diffstat (limited to 'httemplate/elements/tr-select-voip_class.html')
-rw-r--r--httemplate/elements/tr-select-voip_class.html24
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>