[freeside-commits] freeside/httemplate/elements select-lnp_status.html, NONE, 1.1.2.2 tr-input-date-field.html, 1.9, 1.9.4.1 tr-select-lnp_status.html, NONE, 1.1.2.2
Erik Levinson
levinse at wavetail.420.am
Sat Dec 25 20:09:42 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv29725/httemplate/elements
Modified Files:
Tag: FREESIDE_2_1_BRANCH
tr-input-date-field.html
Added Files:
Tag: FREESIDE_2_1_BRANCH
select-lnp_status.html tr-select-lnp_status.html
Log Message:
added basic LNP capability to svc_phone including SS, RT10948
--- NEW FILE: tr-select-lnp_status.html ---
<TR>
<TD ALIGN="right"><% $opt{'label'} || 'LNP Status' %></TD>
<TD>
<% include('/elements/select-lnp_status.html',
'curr_value' => $opt{'curr_value'},
)
%>
</TD>
</TR>
<%init>
my %opt = @_;
</%init>
--- NEW FILE: select-lnp_status.html ---
<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>
Index: tr-input-date-field.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-input-date-field.html,v
retrieving revision 1.9
retrieving revision 1.9.4.1
diff -u -w -d -r1.9 -r1.9.4.1
--- tr-input-date-field.html 8 Mar 2010 10:57:06 -0000 1.9
+++ tr-input-date-field.html 26 Dec 2010 04:09:38 -0000 1.9.4.1
@@ -1,8 +1,9 @@
-
+% unless ( $noinit ) {
<LINK REL="stylesheet" TYPE="text/css" HREF="<%$fsurl%>elements/calendar-win2k-2.css" TITLE="win2k-2">
<SCRIPT TYPE="text/javascript" SRC="<%$fsurl%>elements/calendar_stripped.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" SRC="<%$fsurl%>elements/calendar-en.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" SRC="<%$fsurl%>elements/calendar-setup.js"></SCRIPT>
+% }
<TR>
<TD ALIGN="right"><% $label %></TD>
@@ -23,7 +24,7 @@
<%init>
-my($name, $value, $label, $format, $usedatetime);
+my($name, $value, $label, $format, $usedatetime, $noinit);
if ( ref($_[0]) ) {
my $opt = shift;
$name = $opt->{'name'};
@@ -31,6 +32,7 @@
$label = $opt->{'label'};
$format = $opt->{'format'};
$usedatetime = $opt->{'usedatetime'};
+ $noinit = $opt->{'noinit'};
} else {
($name, $value, $label, $format, $usedatetime) = @_;
}
More information about the freeside-commits
mailing list