summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-lnp_status.html
diff options
context:
space:
mode:
authorlevinse <levinse>2010-12-26 04:09:26 +0000
committerlevinse <levinse>2010-12-26 04:09:26 +0000
commit7353f670ef61e617a9dfb6c258907eb70e0345f6 (patch)
tree8edcaf56f44a9de5b7bbc5e76c0b7a6641480616 /httemplate/elements/select-lnp_status.html
parent50053b94beac4aef39ddc007c851184649d49564 (diff)
added basic LNP capability to svc_phone including SS, RT10948
Diffstat (limited to 'httemplate/elements/select-lnp_status.html')
-rw-r--r--httemplate/elements/select-lnp_status.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/httemplate/elements/select-lnp_status.html b/httemplate/elements/select-lnp_status.html
new file mode 100644
index 000000000..f4910e0b6
--- /dev/null
+++ b/httemplate/elements/select-lnp_status.html
@@ -0,0 +1,22 @@
+<SELECT NAME = "<% $opt{'element_name'} || $opt{'field'} || 'lnp_status' %>"
+ <% $opt{'element_etc'} %>
+>
+% unless ( $opt{'disable_empty'} ) {
+ <OPTION VALUE=""><% $opt{'empty_label'} || '' %></OPTION>
+% }
+% foreach my $selopt ( keys %seloptions ) {
+% my $selected = ($selopt eq $opt{'curr_value'}) ? 'SELECTED' : '';
+ <OPTION VALUE="<%$selopt%>" <% $selected %>><% $seloptions{$selopt} %></OPTION>
+% }
+</SELECT>
+<%init>
+
+my %opt = @_;
+
+my %seloptions = (
+ 'native' => 'Native',
+ 'portedin' => 'Ported In',
+ 'portingin' => 'Porting In',
+ 'portingout' => 'Porting Out',
+ );
+</%init>