From: levinse Date: Wed, 18 May 2011 00:55:36 +0000 (+0000) Subject: internationalization/localization, RT12515 X-Git-Tag: freeside_2_3_0~244 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=a9916ce48023939ab1d2506704f5545eb183a2ea internationalization/localization, RT12515 --- diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi index 8ddeb1c81..4dc03adc3 100755 --- a/httemplate/view/cust_bill.cgi +++ b/httemplate/view/cust_bill.cgi @@ -1,5 +1,5 @@ -<& /elements/header.html, mt('Invoice View'), menubar( - mt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum", +<& /elements/header.html, emt('Invoice View'), menubar( + emt("View this customer (#[_1])",$display_custnum) => "${p}view/cust_main.cgi?$custnum", ) &> % if ( $conf->exists('deleteinvoices') diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index c9839b9b1..fb3bfc314 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -1,9 +1,9 @@ -<% include('/elements/header.html', { +<& /elements/header.html, { 'title' => $title, 'head' => $head, 'nobr' => 1, - }) -%> + } +&>
% my @part_tag = $cust_main->part_tag; % if ( $conf->config('cust_tag-location') eq 'top' && @part_tag ) { @@ -22,17 +22,16 @@ % } -<% include('/elements/menubar.html', +<& /elements/menubar.html, { 'newstyle' => 1, 'selected' => $viewname{$view}, 'url_base' => $cgi->url. "?custnum=$custnum;show=", }, %views, - ) -%> +&>
-<% include('/elements/init_overlib.html') %> +<& /elements/init_overlib.html &> - <& /elements/header.html, mt('View account'), menubar( - mt("Cancel this (unaudited) account") => + <& /elements/header.html, emt('View account'), menubar( + emt("Cancel this (unaudited) account") => "javascript:areyousure(\'${p}misc/cancel-unaudited.cgi?$svcnum\')", ) &> diff --git a/httemplate/view/svc_phone.cgi b/httemplate/view/svc_phone.cgi index 4bdbbf25c..ffb6fcc4a 100644 --- a/httemplate/view/svc_phone.cgi +++ b/httemplate/view/svc_phone.cgi @@ -1,7 +1,7 @@ <& elements/svc_Common.html, 'table' => 'svc_phone', 'fields' => \@fields, - 'labels' => \%labels, + 'labels' => \%labels, 'html_foot' => $html_foot, &> <%init> @@ -39,9 +39,9 @@ my $html_foot = sub { ### my $e911 = - mt('E911 Information'). + emt('E911 Information'). &ntable("#cccccc"). ''. ntable("#cccccc",2). - ''.mt('Location').''. + ''.emt('Location').''. ''. $svc_phone->location_label( 'join_string' => '
', 'double_space' => '   ',