You are here

function simplelogin_menu in SimpleLogin 7

Implements hook_menu().

File

./simplelogin.module, line 104
The Login screens, which controls the customized background image.

Code

function simplelogin_menu() {
  $items = array();
  $items['admin/config/simplelogin'] = array(
    'title' => 'Simple Login',
    'description' => 'Configuration of simple login image',
    'position' => 'right',
    'weight' => 3,
    'page callback' => 'system_admin_menu_block_page',
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'system.admin.inc',
    'file path' => drupal_get_path('module', 'system'),
  );
  $items['admin/config/simplelogin/loginbg'] = array(
    'title' => 'Login Configuration Settings',
    'description' => 'A form to upload an Image purpose of login background',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'simplelogin_background_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'simplelogin.inc',
    'file path' => drupal_get_path('module', 'simplelogin') . '/inc',
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}