Index: token.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/token/token.module,v retrieving revision 1.5.2.2 diff -u -p -r1.5.2.2 token.module --- token.module 11 Jan 2007 17:35:07 -0000 1.5.2.2 +++ token.module 19 Jan 2007 11:07:14 -0000 @@ -140,6 +140,7 @@ function token_token_values($type, $obje $values['site-name'] = variable_get('site_name', t('Drupal')); $values['site-slogan'] = variable_get('site_slogan', ''); $values['site-mail'] = variable_get('site_mail', ''); + $values['site-date'] = date(variable_get('date_format_medium', 'D, m/d/Y - H:i')); break; } return $values; @@ -167,6 +168,7 @@ function token_token_list($type = 'all') $tokens['global']['site-name'] = t('The name of the current Drupal website.'); $tokens['global']['site-slogan'] = t('The slogan of the current Drupal website.'); $tokens['global']['site-mail'] = t('The contact email address for the current Drupal website.'); + $tokens['global']['site-date'] = t("The current date on the site's server"); return $tokens; }