Index: site_tour.module
===================================================================
--- site_tour.module	(revision 63)
+++ site_tour.module	(working copy)
@@ -93,6 +93,7 @@
   $tour->pages = '';
   $sql = db_query('SELECT * FROM {site_tour} WHERE id=%d AND status=2 ORDER BY page', $tour->id);
   while ($page = db_fetch_object($sql)) {
+    $page->url = token_replace($page->url);
     $tour->pages .= theme('site_tour_page', $page);
   }
 
@@ -120,6 +121,7 @@
  * Get url tour.
  */
 function _site_tour_url($tour) {
+  global $user;
   if ($tour) {
     $id = db_result(db_query('SELECT id FROM {site_tour} WHERE url="%s" AND status=1', $tour));
     if ($id) {
@@ -276,7 +278,7 @@
     $num = str_pad($i, 2, '0', STR_PAD_LEFT);
     $form['page_'.$num] = array('#type' => 'fieldset', '#title' => 'Page '.$i, '#tree' => TRUE);
     $form['page_'.$num]['url'] = array('#type' => 'textfield', '#title' => t('Url'), '#default_value' => $page->url,
-      '#maxlength' => 128, '#size' => 50, '#description' => t('Enter an URL path for this page.'));
+      '#maxlength' => 128, '#size' => 50, '#description' => t('Enter an URL path for this page, you can also use the standard token replacement as per the table below') . theme_token_help('global'));
     $form['page_'.$num]['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#default_value' => $page->title,
       '#maxlength' => 128, '#size' => 50, '#description' => t('Enter a title for this page.'));
     $form['page_'.$num]['description'] = array('#type' => 'textarea', '#title' => t('Description'),
Index: site_tour.info
===================================================================
--- site_tour.info	(revision 63)
+++ site_tour.info	(working copy)
@@ -1,6 +1,7 @@
 ; $Id: site_tour.info,v 1.1 2006/11/19 14:33:36 stefano73 Exp $
 name = Site Tours
 description = Create site tours with Amberjack.
+dependencies = image
 ; Information added by drupal.org packaging script on 2007-01-21
 version = "5.x-1.x-dev"
 project = "site_tour"
