[open-ils-commits] r10291 - in trunk/Open-ILS: examples/templates
src/support-scripts
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Aug 7 08:52:53 EDT 2008
Author: erickson
Date: 2008-08-07 08:52:47 -0400 (Thu, 07 Aug 2008)
New Revision: 10291
Modified:
trunk/Open-ILS/examples/templates/overdue_7day.example
trunk/Open-ILS/examples/templates/predue_1day.example
trunk/Open-ILS/src/support-scripts/generate_circ_notices.pl
Log:
Removed global pre/post chomp template config. make judicious use of [%- -%] instead.
Thanks for the tip, Mike
Modified: trunk/Open-ILS/examples/templates/overdue_7day.example
===================================================================
--- trunk/Open-ILS/examples/templates/overdue_7day.example 2008-08-07 02:57:07 UTC (rev 10290)
+++ trunk/Open-ILS/examples/templates/overdue_7day.example 2008-08-07 12:52:47 UTC (rev 10291)
@@ -1,5 +1,5 @@
-[% SET user = circ_list.0.usr %]
-[% SET lib = circ_list.0.circ_lib %]
+[%- SET user = circ_list.0.usr -%]
+[%- SET lib = circ_list.0.circ_lib -%]
To: [% user.email %]
From: [% smtp_sender %]
Reply-To: [% smtp_reply %]
Modified: trunk/Open-ILS/examples/templates/predue_1day.example
===================================================================
--- trunk/Open-ILS/examples/templates/predue_1day.example 2008-08-07 02:57:07 UTC (rev 10290)
+++ trunk/Open-ILS/examples/templates/predue_1day.example 2008-08-07 12:52:47 UTC (rev 10291)
@@ -1,5 +1,5 @@
-[% SET user = circ_list.0.usr %]
-[% SET lib = circ_list.0.circ_lib %]
+[%- SET user = circ_list.0.usr -%]
+[%- SET lib = circ_list.0.circ_lib -%]
To: [% user.email %]
From: [% smtp_sender %]
Reply-To: [% smtp_reply %]
Modified: trunk/Open-ILS/src/support-scripts/generate_circ_notices.pl
===================================================================
--- trunk/Open-ILS/src/support-scripts/generate_circ_notices.pl 2008-08-07 02:57:07 UTC (rev 10290)
+++ trunk/Open-ILS/src/support-scripts/generate_circ_notices.pl 2008-08-07 12:52:47 UTC (rev 10291)
@@ -168,8 +168,6 @@
my $circ_list = fetch_circ_data(@circs);
my $tt = Template->new({
ABSOLUTE => 1,
- PRE_CHOMP => 1,
- POST_CHOMP => 1
});
my $sender = $settings->config_value(
More information about the open-ils-commits
mailing list