[freeside-commits] freeside/httemplate/elements tablebreak-tr-title.html, NONE, 1.1 tr-fixed-state.html, NONE, 1.1 tr-fixed-country.html, NONE, 1.1 tr-input-percentage.html, NONE, 1.1

Ivan,,, ivan at wavetail.420.am
Thu Jan 3 18:19:52 PST 2008


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail:/tmp/cvs-serv9817

Added Files:
	tablebreak-tr-title.html tr-fixed-state.html 
	tr-fixed-country.html tr-input-percentage.html 
Log Message:
adding new elements: percentage input, fixed country and state display, tablebreak+title

--- NEW FILE: tr-fixed-state.html ---
<% include('tr-fixed.html', %opt ) %>
<%init>

my %opt = @_;

my $value = $opt{'curr_value'} || $opt{'value'};

$opt{'formatted_value'} = state_label($value, $opt{'object'}->country);

</%init>

--- NEW FILE: tr-fixed-country.html ---
<% include('tr-fixed.html', %opt ) %>
<%init>

my %opt = @_;

my $value = $opt{'curr_value'} || $opt{'value'};

$opt{'formatted_value'} = code2country($value). " ($value)";

</%init>

--- NEW FILE: tr-input-percentage.html ---
<% include('tr-input-text.html', @_,
             'type'       => 'text',
             'postfix'    => '%',
             'size'       => 5, #6?  check in IE (not a big deal)
             'maxlength'  => 7,
             'text-align' => 'right',
          )
%>

--- NEW FILE: tablebreak-tr-title.html ---
</TABLE>

<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>

<% include('tr-title.html', @_ ) %>



More information about the freeside-commits mailing list