[freeside-commits] freeside/httemplate/elements menu.html, 1.88, 1.89 tr-htmlarea.html, NONE, 1.1

Ivan,,, ivan at wavetail.420.am
Mon Jul 12 06:17:47 PDT 2010


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

Modified Files:
	menu.html 
Added Files:
	tr-htmlarea.html 
Log Message:
message templates, RT#8896

--- NEW FILE: tr-htmlarea.html ---
<% include('tr-td-label.html', @_ ) %>

  <TD <% $cell_style %>>

    <% include('htmlarea.html', @_ ) %>

  </TD>

</TR>

<%init>

my %opt = @_;

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

#my $rows = $opt{'rows'} ? 'ROWS="'.$opt{'rows'}.'"' : '';
#my $cols = $opt{'cols'} ? 'COLS="'.$opt{'cols'}.'"' : '';

my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
#my $curr_value = $opt{'curr_value'};

</%init>

Index: menu.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/menu.html,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -w -d -r1.88 -r1.89
--- menu.html	8 Jun 2010 22:25:00 -0000	1.88
+++ menu.html	12 Jul 2010 13:17:45 -0000	1.89
@@ -472,12 +472,15 @@
 ;
 
 tie my %config_misc, 'Tie::IxHash';
+$config_misc{'Message templates'} = [ $fsurl.'browse/msg_template.html', 'Templates for customer notices' ]
+  if $curuser->access_right('Edit templates')
+  || $curuser->access_right('Edit global templates');
 $config_misc{'Advertising sources'} = [ $fsurl.'browse/part_referral.html', 'Where a customer heard about your service.' ]
   if $curuser->access_right('Edit advertising sources')
   || $curuser->access_right('Edit global advertising sources');
 if ( $curuser->access_right('Configuration') ) {
   $config_misc{'Virtual fields'} = [ $fsurl.'browse/part_virtual_field.cgi', 'Locally defined fields', ];
-  $config_misc{'Message catalog'} = [ $fsurl.'browse/msgcat.cgi', 'Change error messages and other customizable labels' ];
+  $config_misc{'Error catalog'} = [ $fsurl.'browse/msgcat.cgi', 'Change error messages and other customizable labels' ];
 }
 $config_misc{'Inventory classes and inventory'} = [ $fsurl.'browse/inventory_class.html', 'Setup inventory classes and stock inventory' ]
   if $curuser->access_right('Edit inventory')



More information about the freeside-commits mailing list