diff options
| author | levinse <levinse> | 2010-12-26 04:09:38 +0000 |
|---|---|---|
| committer | levinse <levinse> | 2010-12-26 04:09:38 +0000 |
| commit | c1bef6df542e7beb5120903031120934f7e582f0 (patch) | |
| tree | 4d00e78b589c5b11fc124e9256fb698bf2dd5e5f /httemplate/elements/select-lnp_status.html | |
| parent | 22ec77a149deda8dcde44d65c6db002935e84dbf (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.html | 22 |
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> |
