Index: phptemplate.engine
===================================================================
RCS file: /cvs/drupal/drupal/themes/engines/phptemplate/phptemplate.engine,v
retrieving revision 1.28
diff -u -F^f -r1.28 phptemplate.engine
--- phptemplate.engine	16 Feb 2006 15:43:23 -0000	1.28
+++ phptemplate.engine	27 Feb 2006 19:48:55 -0000
@@ -84,12 +84,14 @@ function _phptemplate_callback($hook, $v
  *   A sequential array of variables passed to the theme function.
  */
 function _phptemplate_default_variables($hook, $variables) {
-  global $theme;
+  global $theme, $base_url;
   static $count = array();
   $count[$hook] = isset($count[$hook]) && is_int($count[$hook]) ? $count[$hook] : 1;
   $variables['zebra'] = ($count[$hook] % 2) ? 'odd' : 'even';
   $variables['id'] = $count[$hook]++;
 
+  $variables['base_url'] = $base_url;
+
   global $sidebar_indicator;
   if ($hook == 'block') {
     $count['block_counter'][$sidebar_indicator] = isset($count['block_counter'][$sidebar_indicator]) && is_int($count['block_counter'][$sidebar_indicator]) ? $count['block_counter'][$sidebar_indicator] : 1;
