function campaignmonitor_newsletter_archive in Campaign Monitor 5
Same name and namespace in other branches
- 5.2 campaignmonitor.module \campaignmonitor_newsletter_archive()
- 6.3 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 248
Code
function campaignmonitor_newsletter_archive() {
$url = variable_get('campaignmonitor_pastcampaignurl', '');
if ($url == '') {
$content = '<p>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('campaignmonitor_pastcampaignurl', '') . '"></script>';
}
return $content;
}