E-mail Templates
Template Editing Interface
Editing the e-mail templates is done through the Templates > E-mail Templates function in the control panel. That interface will look something like this:

Search and Replace
TradeX allows you to make quick changes to your templates in bulk with the Search and Replace function. When you access the Search and Replace function a dialog will appear that will allow you to select the templates that you want to perform this action on, the code to search for in the template, and the replacement code to use. Multiple templates can be selected by holding down the shift or ctrl keys on your keyboard as you click on templates in the selection list. Once you have selected the templates and entered the search and replacement code, press the Apply Changes button to start the task. Once completed a notification message will be displayed letting you know how many replacements were made.
Greeting and Signature Templates
There are two special e-mail templates that you can edit which only allow configuring of the Message Body and do not have a Subject. Those are:
Templates & Their Variables
All of the e-mail templates will have the following variables set:

$g_config
The software configuration settings
$g_config.site_name - Site Name
$g_config.traffic_url - Traffic URL
$g_config.base_url - TradeX URL
$g_config.cookie_domain - Cookie Domain
$g_config.cookie_path - Cookie Path
$g_config.email_address - E-mail Address
$g_config.email_name - E-mail Name
$g_config.date_format - Date Format
$g_config.time_format - Time Format
$g_config.flag_accept_new_trades - Accepting new trades
$g_config.flag_captcha_register - Use CAPTCHA on registration form
$g_config.flag_allow_login - Allow users to login with a password to view their stats
$g_config.site_name_min - Site name minimum length
$g_config.site_name_max - Site name maximum length
$g_config.site_description_min - Site description minimum length
$g_config.site_description_max - Site description maximum length
$g_config.flag_req_email - E-mail address required
$g_config.flag_req_site_name - Site name required
$g_config.flag_req_site_description - Site description required
$g_config.flag_req_icq - ICQ required
$g_config.flag_req_nickname - Name/Nickname required
$g_config.flag_req_banner - Banner URL required

$g_trade
The trade account data
$g_trade.domain - Domain name
$g_trade.return_url - Traffic URL
$g_trade.status - Account status
$g_trade.email - E-mail address
$g_trade.nickname - Name/Nickname
$g_trade.icq - ICQ number
$g_trade.site_name - Site name
$g_trade.site_description - Site description

Below you will find a list of all the e-mail templates shipped with the software, a description of when the template is used, and details on the template variables available (if any) on that template.

email-forgot-confirm.tpl
email-register-complete.tpl
email-register-confirm.tpl