On Wed, 16 Aug 2000, Sam Varshavchik wrote:
> On Wed, 16 Aug 2000 [EMAIL PROTECTED] wrote:
> 
> > Are templates documented somewhere?
> 
> Nope.

well ... there is this file I was sent by someone else (sorry ..
forgotten who)  .. dunno if its either correct or comlpete .. but its a
start.

-- 
Robin Szemeti

Linux. 
Unleash the power of the Penguin.

SqWebMail - template documentation

[#?#]   - conditional
[#?0#]  - ??
[#?1#]  - ??
[#?2#]  - ??

[#@..#] - Define HTML fragments??
[#A#]   - Attachments Head -
[#B#]   - Banner, if configured.
[#D#]   - folder directory (folderdir=[#D#])
[#d#]   - shared folder directory?
[#E#]   - Folder Rename List -
[#F#]   - Folder Contents - list of all folders.
[#f#]   - Folder Contents Title - "Folder - name_of_current_folder"
[#G#]   - Output Attrencoded - (login_returnaddr()) - fully qualified username
[#H#]   - Pref Displayhtml - (preference) whether to display HTML e-mail
[#K#]   - Spell Show -
[#L#]   - Folder List -
[#l#]   - Folder List 2 -
[#M#]   - Folder Showmsg - show current message in folder.
[#m#]   - Folder Msgmove -
[#N#]   - Folder Nextprev -
[#n#]   - Folder Initnextprev -
[#P#]   - <INPUT TYPE=HIDDEN NAME="folder" VALUE="current_folder">
[#p#]   - Output Scriptptr 
        - appears to be same as [#s#] but doesn't list current folder.
[#R#]   - Output Loginscriptptr Get -
[#r#]   - Output Attrencoded - (cgi("redirect"))
[#S#]   - Output Loginscriptptr -
[#s#]   - runs sqwebmail with all the magic cookies to authenticate to
          the same mailbox and the same user session.  Also specifies current
          folder.
[#T#]   - Folder Showtransfer - insert the stuff at the end of "Folders" screen.
[#t#]   - Pref Signature -
[#u#]   - Pref Pagesize -
[#v#]   - Pref Displayautopurge -
[#W#]   - Newmsg Init -
[#w#]   - Pref Sortorder -
[#x#]   - Pref Setprefs -
[#y#]   - Pref Isoldest1st -
[#z#]   - Pref Isdisplayfullmsg -

<a href="[#s#]&form=folder&folder=INBOX">INBOX</a>
        - URL for INBOX (will not pick up new mail)
<a href="[#s#]&form=folder" style="text-decoration: none">Refresh</a>
        - Refresh current folder (will not pick up new mail)

/*
 *  HTML transformation rules
 *
 *  The following tags are dropped:
 *
 *      <SCRIPT>, </SCRIPT>, <APP>, </APP>, <APPLET>, </APPLET>,
 *      <SERVER>, </SERVER>, <OBJECT>, </OBJECT>, <HTML>, </HTML>,
 *      <HEAD>, </HEAD>, <BODY>, </BODY>, <META>, <TITLE>, </TITLE>,
 *      <FRAME>, </FRAME>, <LINK> <IFRAME> and </IFRAME>.
 *
 *  The ONLOAD, ONMOUSEOVER, and all other ON* attributes are removed.
 *
 *  Attributes TARGET, CODE,, CODETYPE and LANGUAGE are removed.
 *  TARGET=_blank is added to all <A> tags.
 *
 *  HREF, SRC, or LOWSRC attributes that do not specify a URL of http:,
 *  https:, ftp:, gopher:, wais:, or telnet:, are removed.
 */

Reply via email to