Index: false_account.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/false_account/false_account.module,v
retrieving revision 1.7
diff -b -u -p -r1.7 false_account.module
--- false_account.module	8 Mar 2008 18:52:45 -0000	1.7
+++ false_account.module	20 Apr 2008 15:58:28 -0000
@@ -18,7 +18,7 @@ function false_account_user($op, &$edit,
         $result = db_query("SELECT cid,status FROM {false_accounts} WHERE cid = '%s' and status = '%d'", $cid, FALSE_ACCOUNT_BLOCKED);
         if (db_num_rows($result)>0) {
           watchdog('false account', 'Blocked: '. $cid, WATCHDOG_NOTICE);
-          drupal_goto(variable_get('false_account_redirect', '/'));
+          drupal_goto(variable_get('false_account_redirect', '<front>'));
         }
       }
     case 'login':
@@ -123,7 +123,7 @@ function false_account_settings() {  
   $form['false_account_redirect'] = array(
     '#type' => 'textfield',
     '#title' => t('Redirect blocked users'),
-    '#default_value' =>  variable_get('false_account_redirect', '/'),
+    '#default_value' =>  variable_get('false_account_redirect', '<front>'),
     '#description' => t('Indicate the Drupal internal URL to redirect to or insert an external URL.'),
   );
 
@@ -151,13 +151,13 @@ function false_account_page($op = FALSE_
     $accounts = implode(', ', $account);
     switch ($op) {
       case FALSE_ACCOUNT_DEFAULT:
-        $actions = l(t('withelist'), 'admin/user/false_account/op/'. FALSE_ACCOUNT_WHITELISTED .'/'. $cookies->cid) .'&nbsp'. l(t('block'), 'admin/user/false_account/op/'. FALSE_ACCOUNT_BLOCKED .'/'. $cookies->cid);
+        $actions = l(t('whitelist'), 'admin/user/false_account/op/'. FALSE_ACCOUNT_WHITELISTED .'/'. $cookies->cid) .'&nbsp'. l(t('block'), 'admin/user/false_account/op/'. FALSE_ACCOUNT_BLOCKED .'/'. $cookies->cid);
         break;
       case FALSE_ACCOUNT_WHITELISTED:
         $actions = l(t('default'), 'admin/user/false_account/op/'. FALSE_ACCOUNT_DEFAULT .'/'. $cookies->cid) .'&nbsp'. l(t('block'), 'admin/user/false_account/op/'. FALSE_ACCOUNT_BLOCKED .'/'. $cookies->cid);
         break;
       case FALSE_ACCOUNT_BLOCKED:
-        $actions = l(t('default'), 'admin/user/false_account/op/'. FALSE_ACCOUNT_DEFAULT .'/'. $cookies->cid) .'&nbsp'. l(t('withelist'), 'admin/user/false_account/op/'. FALSE_ACCOUNT_WHITELISTED .'/'. $cookies->cid);
+        $actions = l(t('default'), 'admin/user/false_account/op/'. FALSE_ACCOUNT_DEFAULT .'/'. $cookies->cid) .'&nbsp'. l(t('whitelist'), 'admin/user/false_account/op/'. FALSE_ACCOUNT_WHITELISTED .'/'. $cookies->cid);
       break;
     }
     $rows[]= array(
