You are here

function poptin_menu in Website Popups, Email Popup, Exit-Intent Popup, and Contact Forms – Poptin 7

Implements poptin_menu().

File

./poptin.module, line 52
Module for adding popups on website.

Code

function poptin_menu() {
  $items['admin/config/system/poptin'] = array(
    'title' => 'Poptin Configuration',
    'description' => 'Poptin Popups & Forms',
    'page callback' => 'poptin_config',
    'file' => 'includes/poptin.inc',
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  $items['admin/poptin/config'] = array(
    'title' => 'Poptin Configuration',
    'page callback' => 'poptin_config',
    'access arguments' => array(
      'poptin config',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['poptinregister'] = array(
    'title' => 'Poptin Configuration',
    'page callback' => 'poptin_signup',
    'access arguments' => array(
      'administer users',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'includes/poptin.inc',
  );
  $items['poptinlogin'] = array(
    'title' => 'Poptin Configuration',
    'page callback' => 'poptin_login',
    'access arguments' => array(
      'poptin login',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'includes/poptin.inc',
  );
  $items['poptindeactivate'] = array(
    'title' => 'Poptin Configuration',
    'page callback' => 'poptin_deactivate',
    'access arguments' => array(
      'poptin deactive',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'includes/poptin.inc',
  );
  $items['generateloginlink'] = array(
    'title' => 'Deactiate Poptin',
    'page callback' => 'poptin_generatepoptinlink',
    'access arguments' => array(
      'poptin linkgenerate',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'includes/poptin.inc',
  );
  return $items;
}