email templates

From CashCrusaderWiki

(Difference between revisions)
Jump to: navigation, search
(Table addition)
(Table edited by Jutaky via TableEdit)
Line 79: Line 79:
{|class = 'sortable' border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;"
{|class = 'sortable' border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;"
|-
|-
-
!|Variable
+
!|Variable!!Description
 +
|-
 +
|
 +
$login_info_subject
 +
|
 +
login details reset email subject
 +
|-
 +
|
 +
$login_info_message
 +
|
 +
login details reset email content
 +
|-
 +
|
 +
$confirm_info_subject
 +
|
 +
email confirmation subject during signup
 +
|-
 +
|
 +
$confirm_info_message
 +
|
 +
email confirmation content during signup
 +
|-
 +
|
 +
$signup_info_subject
 +
|
 +
signup details subject for new account
 +
|-
 +
|
 +
$signup_info_message
 +
|
 +
signup details subject for new account
 +
|-
 +
|
 +
$verification_info_subject
 +
|
 +
email address change subject for exiting accounts
 +
|-
 +
|
 +
$verification_info_message
 +
|
 +
email address change content for exiting accounts
|-class='sortbottom'
|-class='sortbottom'
-
|[{{SERVER}}{{SCRIPTPATH}}?title=Special:TableEdit&id=b8c403c809bd3c190509beac423de9a1.119.O4bdc4a4d9bf4d&page=119&pagename={{FULLPAGENAMEE}}&type=0&template= edit table]
+
|[{{SERVER}}{{SCRIPTPATH}}?title=Special:TableEdit&id=b8c403c809bd3c190509beac423de9a1.119.O4bdc4a4d9bf4d&page=119&pagename={{FULLPAGENAMEE}}&type=0&template= edit table] ||
|}
|}
<!--box uid=b8c403c809bd3c190509beac423de9a1.119.O4bdc4a4d9bf4d-->
<!--box uid=b8c403c809bd3c190509beac423de9a1.119.O4bdc4a4d9bf4d-->

Revision as of 15:37, 1 May 2010

Email templates are customized from /scripts/conf.inc.php. The templates for signup confirmation, signup details and email address change supports following variables. Variables are enclosed with < and > characters, like <SITE_NAME>:

VariableDescription

SITE_NAME

Site's name

TIME

Current time

IPPROXY

IP or proxy IP of the visitor

SUPPORT_EMAIL

Site's support email address

PAGES_URL

Site's pages URL

CODE

Code to verify signup

EMAIL

Email address to signup from or change to

USERNAME

Username of the account [password reset only]

PASSWORD

Password of the account [password reset only]

$_SESSION['username']

General variable for username of the account

edit table

Templates are saved in following PHP variables:

VariableDescription

$login_info_subject

login details reset email subject

$login_info_message

login details reset email content

$confirm_info_subject

email confirmation subject during signup

$confirm_info_message

email confirmation content during signup

$signup_info_subject

signup details subject for new account

$signup_info_message

signup details subject for new account

$verification_info_subject

email address change subject for exiting accounts

$verification_info_message

email address change content for exiting accounts

edit table
Personal tools
Administration manual