You are here

function campaignmonitor_newsletter_archive in Campaign Monitor 6

Same name and namespace in other branches
  1. 5.2 campaignmonitor.module \campaignmonitor_newsletter_archive()
  2. 5 campaignmonitor.module \campaignmonitor_newsletter_archive()
  3. 6.3 campaignmonitor.module \campaignmonitor_newsletter_archive()
  4. 6.2 campaignmonitor.module \campaignmonitor_newsletter_archive()
1 string reference to 'campaignmonitor_newsletter_archive'
campaignmonitor_menu in ./campaignmonitor.module

File

./campaignmonitor.module, line 257

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;
}