Bug 5917 : Fixed space names in variables on opac-messaging

This commit is contained in:
Chris Cormack 2011-04-04 16:09:43 +12:00
parent 7c01b670dd
commit 80e71bcc57

View file

@ -39,12 +39,12 @@
<tr><th>&nbsp;</th><th>Days in advance</th>[% IF ( SMSSendDriver ) %]<th>SMS</th>[% END %]<th>Email</th><th>Digests only?</th><!-- <th>RSS</th> --><th>Do not notify</th></tr> <tr><th>&nbsp;</th><th>Days in advance</th>[% IF ( SMSSendDriver ) %]<th>SMS</th>[% END %]<th>Email</th><th>Digests only?</th><!-- <th>RSS</th> --><th>Do not notify</th></tr>
[% FOREACH messaging_preference IN messaging_preferences %] [% FOREACH messaging_preference IN messaging_preferences %]
<tr> <tr>
<td><!-- TMPL_IF NAME="Item DUE" -->Item DUE <td>[% IF ( messaging_preference.Item_Due ) %]Item Due
<!-- TMPL_ELSIF NAME="Advance Notice" -->Advance Notice [% ELSIF ( messaging_preference.Advance_Notice ) %]Advance Notice
<!-- TMPL_ELSIF NAME="Upcoming Events" -->Upcoming Events [% ELSIF ( messaging_preference.Upcoming_Events ) %]Upcoming Events
<!-- TMPL_ELSIF NAME="Hold Filled" -->Hold Filled [% ELSIF ( messaging_preference.Hold_Filled ) %]Hold Filled
<!-- TMPL_ELSIF NAME="Item Check-in" -->Item Check-in [% ELSIF ( messaging_preference.Item_Check_in ) %]Item Check-in
<!-- TMPL_ELSIF NAME="Item Checkout" -->Item Checkout [% ELSIF ( messaging_preference.Item_Checkout ) %]Item Checkout
[% ELSE %]Unknown [% END %]</td> [% ELSE %]Unknown [% END %]</td>
[% IF ( messaging_preference.takes_days ) %] [% IF ( messaging_preference.takes_days ) %]
<td><select name="[% messaging_preference.message_attribute_id %]-DAYS"> <td><select name="[% messaging_preference.message_attribute_id %]-DAYS">