[dev] Ingo: [patch] templates/vacation

Marc Jauvin marc at register4less.com
Fri Jul 18 09:12:34 PDT 2003


This patch fixes problems that were introduced in the last check-in
(function not renamed properly, functions returning an Array thas was not
IMPLODED, etc)


--
Marc Jauvin
http://register4less.com
450-441-5458
-------------- next part --------------
Index: templates/vacation/vacation.inc
===================================================================
RCS file: /repository/ingo/templates/vacation/vacation.inc,v
retrieving revision 1.13
diff -u -r1.13 vacation.inc
--- templates/vacation/vacation.inc     17 Jul 2003 23:06:52 -0000      1.13
+++ templates/vacation/vacation.inc     18 Jul 2003 16:10:17 -0000
@@ -14,7 +14,7 @@
     <td style="padding:5px" align="left">
       <?php echo _("My email addresses:") ?>
       <br />
-      <textarea name="addresses" rows="5" cols="40"><?php echo $vacation->getVacationAddresses() ?></textarea>
+      <textarea name="addresses" rows="5" cols="40"><?php echo implode("\n", $vacation->getVacationAddresses()) ?></textarea>
     </td>
     <td width="40px" align="right">
       <?php echo Help::link('ingo', 'vacation-myemail') ?>&nbsp;
@@ -24,14 +24,14 @@
     <td style="padding:5px" align="left">
       <?php echo _("Addresses to not send responses to:") ?>
       <br />
-      <textarea name="excludes" rows="10" cols="40"><?php echo $vacation->getVacationExcludes() ?></textarea>
+      <textarea name="excludes" rows="10" cols="40"><?php echo implode("\n", $vacation->getVacationExcludes()) ?></textarea>
     </td>
     <td width="40px" align="right">
       <?php echo Help::link('ingo', 'vacation-noresponse') ?>&nbsp;
     </td>
   <tr class="item0">
     <td style="padding:5px" align="left">
-      <input type="checkbox" name="ignorelist" value="1"<?php if ($vacation->getIgnorelist()) echo ' checked="checked"'; ?> />
+      <input type="checkbox" name="ignorelist" value="1"<?php if ($vacation->getVacationIgnorelist()) echo ' checked="checked"'; ?> />
       <?php echo _("Do not send responses to bulk or list messages") ?>
     </td>
     <td width="40px" align="right">


More information about the dev mailing list