Roundcube Community Forum

Release Support => Pending Issues => Topic started by: SuperATP on March 19, 2008, 08:55:45 PM

Title: signature above quoted text
Post by: SuperATP on March 19, 2008, 08:55:45 PM
hi everyone,
i must say that i am loving the new release, its better than ever!
now i have customised my install of roundcube, but i cannot seem to get the signature inserted at the top of a reply.
please can you tell me how to do this, im sure its not that difficult.
i have tried but to no avail.
thanks in advance,
SuperATP
Title: Re: signature above quoted text
Post by: blove57 on April 13, 2008, 09:27:41 PM
I've been looking for this too. Any know?
Title: Re: signature above quoted text
Post by: sunside on April 14, 2008, 09:45:41 AM
It was on another thread before, and still works for this release; change the following lines (actually, only the last two lines, no. 1840 + 1841, were changed) in /program/js/app.js:

  // add the new signature string
   if (this.env.signatures && this.env.signatures[id])
    {
    sig = this.env.signatures[id]['text'];
    if (this.env.signatures[id]['is_html'])
     {
     sig = this.env.signatures[id]['plain_text'];
     }
    if (sig.indexOf('-- ')!=0)
    // sig = '-- \n'+sig;
    message = '\n\n'+sig+'\n\n'+message;
    }