You are here

function campaignmonitor_newsletter_archive in Campaign Monitor 5.2

Same name and namespace in other branches
  1. 5 campaignmonitor.module \campaignmonitor_newsletter_archive()
  2. 6.3 campaignmonitor.module \campaignmonitor_newsletter_archive()
  3. 6 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
Implementation of hook_menu()

File

./campaignmonitor.module, line 256

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