[freeside-commits] freeside/httemplate/elements input-text.html, 1.2, 1.3 checkbox.html, 1.1, 1.2 tr-select-agent.html, 1.10, 1.11
Ivan,,,
ivan at wavetail.420.am
Thu Jun 9 20:33:45 PDT 2011
- Previous message: [freeside-commits] freeside/httemplate/edit part_pkg.cgi, 1.122, 1.123
- Next message: [freeside-commits] freeside/FS/FS part_pkg.pm, 1.119, 1.120 Schema.pm, 1.304, 1.305 cust_bill.pm, 1.341, 1.342 cust_bill_pkg.pm, 1.54, 1.55
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv15864/httemplate/elements
Modified Files:
input-text.html checkbox.html tr-select-agent.html
Log Message:
add package def option to show $0 recurring on invoices, RT#9777
Index: tr-select-agent.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-select-agent.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -w -d -r1.10 -r1.11
--- tr-select-agent.html 22 May 2011 16:39:46 -0000 1.10
+++ tr-select-agent.html 10 Jun 2011 03:33:43 -0000 1.11
@@ -24,7 +24,11 @@
</%doc>
% if ( scalar(@agents) == 1 ) {
- <INPUT TYPE="hidden" NAME="<% $opt{'field'} || 'agentnum' %>" VALUE="<% $agents[0]->agentnum %>">
+ <INPUT TYPE = "hidden"
+ NAME = "<% $opt{'field'} || 'agentnum' %>"
+ ID = "<% $opt{'field'} || 'agentnum' %>"
+ VALUE = "<% $agents[0]->agentnum %>"
+ >
%# YUCK. empty row so we don't throw g_row in edit.html off :/
<TR>
Index: checkbox.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/checkbox.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- checkbox.html 20 Jul 2009 14:26:11 -0000 1.1
+++ checkbox.html 10 Jun 2011 03:33:43 -0000 1.2
@@ -6,6 +6,7 @@
? ' CHECKED'
: ''
%>
+ <% $opt{disabled} %>
<% $onchange %>
><% $opt{'postfix'} %>
<%init>
@@ -16,4 +17,9 @@
? 'onChange="'. $opt{'onchange'}. '(this)"'
: '';
+$opt{'disabled'} = &{ $opt{'disabled'} }( \%opt )
+ if ref($opt{'disabled'}) eq 'CODE';
+$opt{'disabled'} = 'DISABLED'
+ if $opt{'disabled'} && $opt{'disabled'} !~ /disabled/i; # uuh... yeah?
+
</%init>
Index: input-text.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/input-text.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- input-text.html 29 Apr 2010 07:40:46 -0000 1.2
+++ input-text.html 10 Jun 2011 03:33:43 -0000 1.3
@@ -15,7 +15,9 @@
my $value = length($opt{curr_value}) ? $opt{curr_value} : $opt{value};
my $onchange = $opt{'onchange'}
- ? 'onChange="'. $opt{'onchange'}. '(this)"'
+ ? join(' ', map $_.'="'. $opt{'onchange'}. '(this)"',
+ qw( onChange onKeyDown onKeyUp onKeyPress )
+ )
: '';
my $size = $opt{'size'}
- Previous message: [freeside-commits] freeside/httemplate/edit part_pkg.cgi, 1.122, 1.123
- Next message: [freeside-commits] freeside/FS/FS part_pkg.pm, 1.119, 1.120 Schema.pm, 1.304, 1.305 cust_bill.pm, 1.341, 1.342 cust_bill_pkg.pm, 1.54, 1.55
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list