From ac96a7afbae06cc3b594b3e461bec8a34d65cfe5 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 12 Oct 2002 13:46:16 +0000 Subject: dayphone/nightphone as customizable labels, closes: Bug#464 --- httemplate/view/cust_main.cgi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'httemplate/view/cust_main.cgi') diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index f7906cfa3..d157be397 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -83,9 +83,11 @@ print '', $cust_main->country, '', ; - print 'Day Phone', + my $daytime_label = gettext('daytime') || 'Day Phone'; + my $night_label = gettext('night') || 'Night Phone'; + print '$daytime_label', $cust_main->daytime || ' ', '', - 'Night Phone', + '$night_label', $cust_main->night || ' ', '', 'Fax', $cust_main->fax || ' ', '', @@ -122,10 +124,10 @@ print '', $cust_main->get("${pre}country"), '', ; - print 'Day Phone', + print '$daytime_label', '', $cust_main->get("${pre}daytime") || ' ', '', - 'Night Phone'. + '$night_label'. '', $cust_main->get("${pre}night") || ' ', '', 'Fax', -- cgit v1.2.1