You are here

function campaignmonitor_signup_block in Campaign Monitor 5.2

Same name and namespace in other branches
  1. 5 campaignmonitor.module \campaignmonitor_signup_block()
1 call to campaignmonitor_signup_block()
campaignmonitor_block in ./campaignmonitor.module
Implementation of hook_block()

File

./campaignmonitor.module, line 214

Code

function campaignmonitor_signup_block() {
  global $user;
  $content = '';
  $content .= drupal_get_form('campaignmonitor_general_form');
  if (user_access('access archive')) {
    $content .= l('Newsletter Archive', 'newsletter_archive');
  }
  return $content;
}