You are here

function ajax_register_menu in Ajax Login/Register 6

Same name and namespace in other branches
  1. 6.2 ajax_register.module \ajax_register_menu()
  2. 7.4 ajax_register.module \ajax_register_menu()
  3. 7.3 ajax_register.module \ajax_register_menu()

File

./ajax_register.module, line 46

Code

function ajax_register_menu() {
  $items = array();
  $items['ajax_register/login'] = array(
    'title' => t('Ajax register login'),
    'page callback' => 'ajax_register_get_ajax_login_form',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['ajax_register/register'] = array(
    'title' => t('Ajax register sign up'),
    'page callback' => 'ajax_register_get_ajax_register_form',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}