[freeside-commits] freeside/httemplate/elements checkbox.html, NONE, 1.1 tr-checkbox.html, 1.1, 1.2 tr-justtitle.html, 1.1, 1.2 tr-title.html, 1.2, 1.3

Jeff Finucane,420,, jeff at wavetail.420.am
Mon Jul 20 07:26:14 PDT 2009


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv9329/httemplate/elements

Modified Files:
	tr-checkbox.html tr-justtitle.html tr-title.html 
Added Files:
	checkbox.html 
Log Message:
bundle bill linked packages into top line total when desired #5724

--- NEW FILE: checkbox.html ---
<% $opt{'prefix'} %><INPUT TYPE  = "checkbox"
                           NAME  = "<% $opt{field} %>"
                           ID    = "<% $opt{id} %>"
                           VALUE = "<% $opt{value} %>"
                           <% $opt{curr_value} eq $opt{value}
                                ? ' CHECKED'
                                : ''
                           %>
                           <% $onchange %>
                    ><% $opt{'postfix'} %>
<%init>

my %opt = @_;

my $onchange = $opt{'onchange'}
                 ? 'onChange="'. $opt{'onchange'}. '(this)"'
                 : '';

</%init>

Index: tr-justtitle.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-justtitle.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- tr-justtitle.html	13 Apr 2008 10:21:21 -0000	1.1
+++ tr-justtitle.html	20 Jul 2009 14:26:11 -0000	1.2
@@ -1,5 +1,5 @@
 <TR>
-  <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left">
+  <TH BGCOLOR="#e8e8e8" COLSPAN=<% $opt{colspan} || 2 %> ALIGN="left">
     <FONT SIZE="+1"><% $opt{value} %></FONT>
   </TH>
 </TR>

Index: tr-title.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-title.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- tr-title.html	15 Apr 2008 13:42:40 -0000	1.2
+++ tr-title.html	20 Jul 2009 14:26:11 -0000	1.3
@@ -1,5 +1,10 @@
 <TR>
-  <TD BGCOLOR="#e8e8e8" COLSPAN=2>&nbsp;</TD>
+  <TD BGCOLOR="#e8e8e8" COLSPAN=<% $opt{colspan} || 2 %>>&nbsp;</TD>
 </TR>
 
 <% include('tr-justtitle.html', @_) %>
+<%init>
+
+my %opt = @_;
+
+</%init>

Index: tr-checkbox.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-checkbox.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- tr-checkbox.html	1 Aug 2007 22:25:10 -0000	1.1
+++ tr-checkbox.html	20 Jul 2009 14:26:11 -0000	1.2
@@ -1,13 +1,7 @@
 <% include('tr-td-label.html', @_ ) %>
 
   <TD <% $style %>>
-    <INPUT TYPE  = "checkbox"
-           NAME  = "<% $opt{field} %>"
-           ID    = "<% $opt{id} %>"
-           VALUE = "<% $opt{value} %>"
-           <% $opt{curr_value} eq $opt{value} ? ' CHECKED' : '' %>
-           <% $onchange %>
-    >
+    <% include('checkbox.html', @_) %>
   </TD>
 
 </TR>



More information about the freeside-commits mailing list