--- pathauto_node_event.inc 2007-04-27 15:24:08.000000000 +0200 +++ pathauto_node_event.new 2007-05-01 08:19:55.000000000 +0200 @@ -5,7 +5,7 @@ * Implementation of hook_token_list() */ function pathauto_node_event_token_list($type = 'all') { - if ($type == 'node' || $type == 'all'): + if ($type == 'node' || $type == 'all') { $tokens['node']['eventyyyy'] = t("The year the event starts."); $tokens['node']['eventmm'] = t("The two-digit month (01-12) the event starts."); $tokens['node']['eventmon'] = t("The three-letter month (jan-dec) the event starts."); @@ -21,7 +21,7 @@ function pathauto_node_event_token_list( */ function pathauto_node_event_token_values($type, $object = NULL) { - if ($type == 'node'): + if ($type == 'node') { $tokens['eventyyyy'] = date('Y', $eventstart); $tokens['eventmm'] = date('m', $eventstart); $tokens['eventmon'] = pathauto_cleanstring(date('M', $eventstart));