function campaignmonitor_newsletter_archive in Campaign Monitor 6.3
Same name and namespace in other branches
- 5.2 campaignmonitor.module \campaignmonitor_newsletter_archive()
- 5 campaignmonitor.module \campaignmonitor_newsletter_archive()
- 6 campaignmonitor.module \campaignmonitor_newsletter_archive()
- 6.2 campaignmonitor.module \campaignmonitor_newsletter_archive()
1 string reference to 'campaignmonitor_newsletter_archive'
- campaignmonitor_menu in ./
campaignmonitor.module - Implementation of hook_menu().
File
- ./
campaignmonitor.module, line 405 - Module that plugs in Campaign Monitor functionality to your Drupal web site. For Campaign Monitor information see: http://www.campaignmonitor.com/
Code
function campaignmonitor_newsletter_archive() {
$url = variable_get(CM_PAST_CAMPAIGN_URL, '');
if ($url == '') {
$content = '<p>' . t('The past campaign URL has not been set. Please set this in the administration pages.') . '</p>';
}
else {
$content = '<script type="text/javascript" src="' . variable_get(CM_PAST_CAMPAIGN_URL, '') . '"></script>';
}
return $content;
}