Index: token.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/token/token.module,v
retrieving revision 1.5.2.6
diff -u -r1.5.2.6 token.module
--- token.module	14 Apr 2007 12:39:58 -0000	1.5.2.6
+++ token.module	4 May 2007 17:41:45 -0000
@@ -116,4 +116,22 @@
   $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;
-}
\ No newline at end of file
+}
+
+/**
+ * Integration code to expose tokens to the Rep[lacement]Tags module
+ */
+function token_reptag($op, $context = NULL) {
+  switch($op) {
+    case 'info':
+      return array(t('Token (Integration of the Token module)'), FALSE);
+    case 'help':
+      return theme_token_help('node');
+    case 'init':
+      return array('');
+  }
+}
+
+function token_reptag_process($text, $tags, $context = NULL) {
+  return token_replace($text, 'node', $context);
+}
