[freeside-commits] freeside/httemplate/elements input-text.html, 1.2, 1.2.4.1 checkbox.html, 1.1, 1.1.6.1 tr-select-agent.html, 1.8, 1.8.4.1
Ivan,,,
ivan at wavetail.420.am
Thu Jun 9 20:33:58 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv15876/httemplate/elements
Modified Files:
Tag: FREESIDE_2_1_BRANCH
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.8
retrieving revision 1.8.4.1
diff -u -w -d -r1.8 -r1.8.4.1
--- tr-select-agent.html 23 Jul 2010 00:11:51 -0000 1.8
+++ tr-select-agent.html 10 Jun 2011 03:33:56 -0000 1.8.4.1
@@ -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.1.6.1
diff -u -w -d -r1.1 -r1.1.6.1
--- checkbox.html 20 Jul 2009 14:26:11 -0000 1.1
+++ checkbox.html 10 Jun 2011 03:33:56 -0000 1.1.6.1
@@ -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.2.4.1
diff -u -w -d -r1.2 -r1.2.4.1
--- input-text.html 29 Apr 2010 07:40:46 -0000 1.2
+++ input-text.html 10 Jun 2011 03:33:56 -0000 1.2.4.1
@@ -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'}
More information about the freeside-commits
mailing list