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

SF.net SVN: ledger-smb:[4008] branches/1.3/LedgerSMB/Template



Revision: 4008
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4008&view=rev
Author:   einhverfr
Date:     2011-11-15 11:17:04 +0000 (Tue, 15 Nov 2011)
Log Message:
-----------
Correcting regression due to include path changes

Modified Paths:
--------------
    branches/1.3/LedgerSMB/Template/CSV.pm
    branches/1.3/LedgerSMB/Template/LaTeX.pm
    branches/1.3/LedgerSMB/Template/ODS.pm
    branches/1.3/LedgerSMB/Template/TXT.pm
    branches/1.3/LedgerSMB/Template/XLS.pm

Modified: branches/1.3/LedgerSMB/Template/CSV.pm
===================================================================
--- branches/1.3/LedgerSMB/Template/CSV.pm	2011-11-15 09:48:54 UTC (rev 4007)
+++ branches/1.3/LedgerSMB/Template/CSV.pm	2011-11-15 11:17:04 UTC (rev 4008)
@@ -103,7 +103,7 @@
 		$source = get_template($parent->{template});
 	}
 	$template = Template->new({
-		INCLUDE_PATH => $parent->{include_path},
+		INCLUDE_PATH => [$parent->{include_path_lang}, $parent->{include_path}, 'UI/lib'],
 		START_TAG => quotemeta('<?lsmb'),
 		END_TAG => quotemeta('?>'),
 		DELIMITER => ';',

Modified: branches/1.3/LedgerSMB/Template/LaTeX.pm
===================================================================
--- branches/1.3/LedgerSMB/Template/LaTeX.pm	2011-11-15 09:48:54 UTC (rev 4007)
+++ branches/1.3/LedgerSMB/Template/LaTeX.pm	2011-11-15 11:17:04 UTC (rev 4008)
@@ -132,7 +132,7 @@
 	}
 	$template = Template::Latex->new({
 		LATEX_FORMAT => $format,
-		INCLUDE_PATH => $parent->{include_path},
+		INCLUDE_PATH => [$parent->{include_path_lang}, $parent->{include_path}, 'UI/lib'],
 		START_TAG => quotemeta('<?lsmb'),
 		END_TAG => quotemeta('?>'),
 		DELIMITER => ';',

Modified: branches/1.3/LedgerSMB/Template/ODS.pm
===================================================================
--- branches/1.3/LedgerSMB/Template/ODS.pm	2011-11-15 09:48:54 UTC (rev 4007)
+++ branches/1.3/LedgerSMB/Template/ODS.pm	2011-11-15 11:17:04 UTC (rev 4008)
@@ -835,7 +835,7 @@
 		$source = get_template($parent->{template});
 	}
 	$template = Template->new({
-		INCLUDE_PATH => $parent->{include_path},
+		INCLUDE_PATH => [$parent->{include_path_lang}, $parent->{include_path}, 'UI/lib'],
 		START_TAG => quotemeta('<?lsmb'),
 		END_TAG => quotemeta('?>'),
 		DELIMITER => ';',

Modified: branches/1.3/LedgerSMB/Template/TXT.pm
===================================================================
--- branches/1.3/LedgerSMB/Template/TXT.pm	2011-11-15 09:48:54 UTC (rev 4007)
+++ branches/1.3/LedgerSMB/Template/TXT.pm	2011-11-15 11:17:04 UTC (rev 4008)
@@ -87,7 +87,7 @@
 		$source = get_template($parent->{template}, $parent);
 	}
 	$template = Template->new({
-		INCLUDE_PATH => $parent->{include_path},
+		INCLUDE_PATH => [$parent->{include_path_lang}, $parent->{include_path}, 'UI/lib'],
 		START_TAG => quotemeta('<?lsmb'),
 		END_TAG => quotemeta('?>'),
 		DELIMITER => ';',

Modified: branches/1.3/LedgerSMB/Template/XLS.pm
===================================================================
--- branches/1.3/LedgerSMB/Template/XLS.pm	2011-11-15 09:48:54 UTC (rev 4007)
+++ branches/1.3/LedgerSMB/Template/XLS.pm	2011-11-15 11:17:04 UTC (rev 4008)
@@ -107,7 +107,7 @@
 		params => {%$cleanvars, %$LedgerSMB::Template::TTI18N::ttfuncs,
 			'escape' => \&preprocess},
 		config => {
-			INCLUDE_PATH => $parent->{include_path},
+			INCLUDE_PATH => [$parent->{include_path_lang}, $parent->{include_path}, 'UI/lib'],
 			START_TAG => quotemeta('<?lsmb'),
 			END_TAG => quotemeta('?>'),
 			DELIMITER => ';',

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