function mailchimp_signup_tt in Mailchimp 7.3
Same name and namespace in other branches
- 7.5 modules/mailchimp_signup/mailchimp_signup.module \mailchimp_signup_tt()
- 7.4 modules/mailchimp_signup/mailchimp_signup.module \mailchimp_signup_tt()
Wrapper function for i18n_string() if i18nstrings enabled.
4 calls to mailchimp_signup_tt()
- mailchimp_signup_form_submit in modules/
mailchimp_signup/ includes/ mailchimp_signup.admin.inc - Submit handler for mailchimp_signup_form().
- mailchimp_signup_subscribe_form in modules/
mailchimp_signup/ mailchimp_signup.module - Returns a subscription form for mailchimp lists.
- mailchimp_signup_subscribe_form_submit in modules/
mailchimp_signup/ mailchimp_signup.module - Submit handler to add users to lists on subscription form submission.
- mailchimp_signup_title in modules/
mailchimp_signup/ mailchimp_signup.module - callback function for translatable title
File
- modules/
mailchimp_signup/ mailchimp_signup.module, line 422 - Mailchimp Signup module. Allows creation of signup forms integrated with Mailchimp.
Code
function mailchimp_signup_tt($name, $string, $langcode = NULL, $update = FALSE) {
if (function_exists('i18n_string')) {
$options = array(
'langcode' => $langcode,
'update' => $update,
);
return i18n_string($name, $string, $options);
}
else {
return $string;
}
}