diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-06-09 08:11:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-06-09 08:11:57 +0000 |
commit | e1a55712ca21d9ab4f4176424833c8a6959ac264 (patch) | |
tree | 63ca749e200a49c1497fb056438b79a99de0ba7c | |
parent | 30ac7b496c0c8e99afbae70e7f9e4cbcbc520b5b (diff) | |
download | brdo-e1a55712ca21d9ab4f4176424833c8a6959ac264.tar.gz brdo-e1a55712ca21d9ab4f4176424833c8a6959ac264.tar.bz2 |
- Patch #67425 by webchick: usability improvement: improved the label of the 'register' tab.
-rw-r--r-- | modules/user.module | 2 | ||||
-rw-r--r-- | modules/user/user.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/user.module b/modules/user.module index 8f02653ef..ee69debd9 100644 --- a/modules/user.module +++ b/modules/user.module @@ -712,7 +712,7 @@ function user_menu($may_cache) { // Registration and login pages. $items[] = array('path' => 'user/login', 'title' => t('log in'), 'callback' => 'user_login', 'type' => MENU_DEFAULT_LOCAL_TASK); - $items[] = array('path' => 'user/register', 'title' => t('register'), + $items[] = array('path' => 'user/register', 'title' => t('create new account'), 'callback' => 'user_register', 'access' => $user->uid == 0 && variable_get('user_register', 1), 'type' => MENU_LOCAL_TASK); $items[] = array('path' => 'user/password', 'title' => t('request new password'), 'callback' => 'user_pass', 'access' => $user->uid == 0, 'type' => MENU_LOCAL_TASK); diff --git a/modules/user/user.module b/modules/user/user.module index 8f02653ef..ee69debd9 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -712,7 +712,7 @@ function user_menu($may_cache) { // Registration and login pages. $items[] = array('path' => 'user/login', 'title' => t('log in'), 'callback' => 'user_login', 'type' => MENU_DEFAULT_LOCAL_TASK); - $items[] = array('path' => 'user/register', 'title' => t('register'), + $items[] = array('path' => 'user/register', 'title' => t('create new account'), 'callback' => 'user_register', 'access' => $user->uid == 0 && variable_get('user_register', 1), 'type' => MENU_LOCAL_TASK); $items[] = array('path' => 'user/password', 'title' => t('request new password'), 'callback' => 'user_pass', 'access' => $user->uid == 0, 'type' => MENU_LOCAL_TASK); |