Templates  

Template Name: composemessage.tpl
Template Type: Page Template
Files used by: compose.php
Description: Displays the compose message form for a new message, reply, reply all or forward.
Variables:
[compose_menu] Replaces with composemenu.tpl if forwarding or replying. Blank if new message. Not Required
[compose_form] Form tag and session details Required
[ifajax]...[/ifajax] Conditional variable for AJAX autocomplete support Not Required
[compose_to] Input box for to: field Required
[compose_from] Static text for the from: address Required
[AliasList] List of aliases in <option> tags Required
[compose_replyto] Input box for reply-to: field Not Required
[compose_cc] Input box for cc: (carbon copy) field Not Required
[compose_bcc] Input box for bcc: (blind carbon copy) field Not Required
[compose_subject] Input box for email subject field Required
[compose_mode] Which compose mode is set. Plain text, rich text or v-editor Not Required
[compose_body] Textarea or WYSIWYG Rich Text Editor (dependent on mode) allows the entry of the body text of the email Required
[compose_priority] Priority fields for a message. Not Required
[compose_readreceipt] Request a read receipt for a message Not Required
[imap_savemessage] Checkbox to allow saving the sent message to the sent-mail folder. Disabled in POP3 mode Not Required
[imap_saverecipients] Checkbox to allow saving recipients of an email to the addressbook Not Required
[session_js] Standard session variable Required (for JavaScript)
[compose_hidden] Hidden compose fields Required
[error_message] Displays any error messages that may have been generated when you try to send a message Not Required
[session_force2] Standard session variable Required (for JavaScript)
[ifcontacts]...[/ifcontacts] Conditional variable where HTML contained within these two tags is only displayed if DWmail has Contacts enabled Not Required
[ifimap]...[/ifimap] Conditional variable where HTML contained within these two tags is only displayed if the user is logged in using the IMAP4 protocol Not Required
[ifwysiwyg]...[/ifwysiwyg] Conditional variable where HTML contained within these two tags is only displayed if the user's browser is compatible with the WYSIWYG editor Not Required
[ifwysiwygactive]...[/ifwysiwygactive] Conditional variable where HTML contained within these two tags is only displayed if the current editing mode is the WYSIWYG editor Not Required
[ifreplyto]...[/ifreplyto] Conditional variable where HTML contained within these two tags is only displayed if the user's preferences allow viewing the Reply-To field Not Required
[ifbcc]...[/ifbcc] Conditional variable where HTML contained within these two tags is only displayed if the user's preferences allow viewing the Bcc field Not Required
[iferror]...[/iferror] Conditional variable where HTML contained within these two tags is only displayed if a send error has been generated Recommended
[ifcontacts]...[/ifcontacts] Conditional variable where HTML contained within these two tags is only displayed if the addressbook functionality is enabled Not Required
[ifattachments]...[/ifattachments] Conditional variable where HTML contained within these two tags is only displayed if attachment sending is enabled Required if $AllowAttachments is set to 1
[ifhideattachments]...[/ifhideattachments] Conditional variable where HTML contained within these two tags is only displayed if there are no pre attached files Required if $AllowAttachments is set to 1
[displayattachments] List of pre-attached files to a message Required if $AllowAttachments is set to 1
[attachmentmode] The attachment mode to use Required if $AllowAttachments is set to 1
[attachmentid] The message id to parse to compose.attachments.php Required if $AllowAttachments is set to 1
[ifspellsuggest]...[/ifspellsuggest] Conditional variable where HTML contained within these two tags is only displayed if spelling corrections are shown Not Required
[ifspellcheck]...[/ifspellcheck] Conditional variable where HTML contained within these two tags is only displayed if spell checking is enabled in the configuration Not Required
[ifalias]...[/ifalias] Conditional variable if an alias is defined in the preferences Required
[ifnoalias]...[/ifnoalias] Conditional variable if no aliases are defined in the preferences Required
[ifautosave]...[/ifautosave] Conditional variable if autosaving is turned on Not Required
[wgactive] WYSWIYG is active or not (used for class CSS display) Not Required
[htactive] HTML is active or not (used for class CSS display) Not Required
[txactive] Plain text is active or not (used for class CSS display) Not Required
[spellcheck_suggestions] List of spell check suggestions Not Required
[autosave[compose_timestamp]] Auto save message id Not Required