function htmlmail_get_post_subject in HTML Mail 7
Returns the email message subject passed via POST for a title callback.
1 string reference to 'htmlmail_get_post_subject'
- htmlmail_menu in ./
htmlmail.module - Implements hook_menu().
File
- ./
htmlmail.admin.inc, line 212 - Admin forms for HTML Mail
Code
function htmlmail_get_post_subject($subject) {
return check_plain(isset($_POST['subject']) ? $_POST['subject'] : t($subject));
}