RT# 82949 - changes section name from fees to pricing, better opiton
[freeside.git] / httemplate / elements / checkboxes.html
index b120ada..b07b654 100644 (file)
@@ -6,7 +6,7 @@ Example:
 
     # required
    
-    #? 'name_callback' => sub { },
+    #not yet 'name_callback' => sub { },
    
     'names_list' => [ 'value',
                       'other value',
@@ -27,7 +27,9 @@ Example:
 
 </%doc>
 
-<TABLE CELLSPACING=0 CELLPADDING=0>
+<TABLE CELLSPACING=0 CELLPADDING=0 <% $style %>>
+
+% unless ( $opt{'disable_links'} ) {
 
 <TR>
   <TD COLSPAN=2 ALIGN="center"><FONT SIZE="-1">(
@@ -37,6 +39,8 @@ Example:
   )</FONT></TD>
 </TR>
 
+% }
+
 % my $num=0;
 % foreach my $item ( @{ $opt{'names_list'} } ) {
 %
@@ -104,4 +108,8 @@ $opt{'error_checked_callback'} ||= sub {
   $cgi->param($opt{'element_name_prefix'}. $name );
 };
 
+my $style = '';
+if ($opt{'style'}) {
+  $style = 'STYLE="' . $opt{'style'} . '"';
+}
 </%init>