[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[4348] branches/1.3



Revision: 4348
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4348&view=rev
Author:   einhverfr
Date:     2012-02-23 02:41:24 +0000 (Thu, 23 Feb 2012)
Log Message:
-----------
Correcting stylesheet not set on error pages for new code

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/LedgerSMB.pm

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-02-23 02:20:21 UTC (rev 4347)
+++ branches/1.3/Changelog	2012-02-23 02:41:24 UTC (rev 4348)
@@ -11,6 +11,7 @@
 * Inlined add_custom_field's argument names for autodocumentation (Chris T)
 * Updated add_custom_field to run on PostgreSQL 9.0 (Chris T)
 * Updated dists/rpm/build.sh to support RHEL 5 (Hilton D)
+* Corrected stylesheet not set on error pages (Chris T)
 
 Hilton D is Hilton Day
 

Modified: branches/1.3/LedgerSMB.pm
===================================================================
--- branches/1.3/LedgerSMB.pm	2012-02-23 02:20:21 UTC (rev 4347)
+++ branches/1.3/LedgerSMB.pm	2012-02-23 02:41:24 UTC (rev 4348)
@@ -939,7 +939,7 @@
 
         
         print qq|Content-Type: text/html; charset=utf-8\n\n|;
-        print "<head></head>";
+        print "<head><link rel='stylesheet' href='css/$self->{_user}->{stylesheet}' type='text/css'></head>";
         $self->{msg} =~ s/\n/<br \/>\n/;
         print
           qq|<body><h2 class="error">Error!</h2> <p><b>$self->{msg}</b></body>|;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.