[sork] password and body formatting

Eric Rostetter eric.rostetter at physics.utexas.edu
Tue Sep 23 08:40:51 PDT 2003


Quoting Dennis Ortsen <mosaic at pinetree.nl>:

> Machine A contains a cvs co from june this year. Machine B has a cvs co from
> today (sep 18 2003). I've noticed some differences between the latest and
> the other vacation module. In the old module, the default text you saw when
> loading vacation, was written in vacation/templates/main/main.inc. In the
> new vacation, that is handled in a different way, it's now written in
> vacation/config/conf.php.

Someone else has changed this, not me, and I've not yet had a chance to
look at it.

> The difference between the vacation versions, is that any auto-reply sent
> from machine A to any recipient, is that each line in main.inc, is also a
> new line in the body of the email. The auto-reply from machine B has only
> one single, long line.

This would only be when using the default message, correct?  If you type in
your own message, then both should work fine, no?

> I've got this . "\n" . between the pieces of text that are supposed to start
> on a new line. I have about 8 new lines. I thought that . "\n" . was
> supposed to let the following text start on a new line, but either my
> assumption is wrong, or vacation is?

The vacation module should probably be line wrapping that config string
at a reasonable place.  I'm not sure, but you may need to but actually
CR/LF combinations rather than just LF characters, or something else.

> Can anyone help me out please?

Hopefully the person who made these changes will modify the code to line
wrap it.  I unfortunately have no time to work on it at this time.

> Thanks,
>
> Wkr
>
> Dennis Ortsen


--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the sork mailing list