You are here

function date_timezone_menu in Date 6

Same name and namespace in other branches
  1. 5.2 date_timezone/date_timezone.module \date_timezone_menu()
  2. 6.2 date_timezone/date_timezone.module \date_timezone_menu()

Implementation of hook_menu().

File

date_timezone/date_timezone.module, line 24
This module will make the alter the user and site timezone forms to select a timezone name instead of a timezone offset.

Code

function date_timezone_menu() {
  $items = array();
  $items['user/timezone'] = array(
    'title' => 'User timezone',
    'page callback' => 'user_timezone',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}