[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi
cust_bill-logo.cgi, 1.1, 1.2
Ivan,,,
ivan at wavetail.420.am
Wed Aug 9 00:03:45 PDT 2006
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail:/tmp/cvs-serv29577/fs_selfservice/FS-SelfService/cgi
Modified Files:
cust_bill-logo.cgi
Log Message:
this is not my beautiful magic template! (water flowing underground)
Index: cust_bill-logo.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cust_bill-logo.cgi 9 Aug 2006 06:34:26 -0000 1.1
+++ cust_bill-logo.cgi 9 Aug 2006 07:03:43 -0000 1.2
@@ -4,15 +4,15 @@
use CGI;
use FS::SelfService qw( invoice_logo );
-$cgi = new CGI;
+my $cgi = new CGI;
my($query) = $cgi->keywords;
$query =~ /^([^\.\/]*)$/ or '' =~ /^()$/;
my $templatename = $1;
-invoice_logo($templatename);
+my $hashref = invoice_logo($templatename);
-print $cgi->header( '-type' => $content_type,
+print $cgi->header( '-type' => $hashref->{'content_type'},
'-expires' => 'now',
).
- $logo;
+ $hashref->{'logo'};
More information about the freeside-commits
mailing list