[freeside-commits] freeside/httemplate/edit cust_main.cgi, 1.104, 1.105

Ivan,,, ivan at wavetail.420.am
Wed Jun 16 18:14:47 PDT 2010


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

Modified Files:
	cust_main.cgi 
Log Message:
"Customer" not necessary as part of label, KISS

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main.cgi,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -w -d -r1.104 -r1.105
--- cust_main.cgi	11 Jun 2010 04:18:56 -0000	1.104
+++ cust_main.cgi	17 Jun 2010 01:14:45 -0000	1.105
@@ -1,5 +1,5 @@
 <% include('/elements/header.html',
-      "Customer $action",
+      $title,
       '',
       ' onUnload="myclose()"' #hmm, in billing.html
 ) %>
@@ -313,8 +313,8 @@
 $cgi->delete_all();
 $cgi->param('error', $error);
 
-my $action = $custnum ? 'Edit' : 'Add';
-$action .= ": ". $cust_main->name if $custnum;
+my $title = $custnum ? 'Edit Customer' : 'Add Customer';
+$title .= ": ". $cust_main->name if $custnum;
 
 my $r = qq!<font color="#ff0000">*</font>&nbsp;!;
 



More information about the freeside-commits mailing list