Index: includes/common.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/common.inc,v retrieving revision 1.476 diff -u -r1.476 common.inc --- includes/common.inc 31 Aug 2005 18:37:30 -0000 1.476 +++ includes/common.inc 8 Sep 2005 15:44:24 -0000 @@ -1591,7 +1591,12 @@ if (isset($fragment)) { $fragment = '#'. $fragment; } - + + // handle absolute URLs + if ($pos = strpos($path, '://')) { + return $path . (isset($query) ? '&'. $query : '') . $fragment; + } + $base = ($absolute ? $base_url .'/' : ''); if (variable_get('clean_url', '0') == '0') { Index: includes/theme.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/theme.inc,v retrieving revision 1.257 diff -u -r1.257 theme.inc --- includes/theme.inc 6 Sep 2005 20:32:53 -0000 1.257 +++ includes/theme.inc 8 Sep 2005 15:44:25 -0000 @@ -320,19 +320,13 @@ if ($settings['toggle_' . $type . '_links']) { for ($i =0; $i < $count; $i++) { - unset($attributes); if (!empty($value['text'][$i])) { if (!empty($value['description'][$i])) { $attributes['title'] = $value['description'][$i]; } $text = $value['text'][$i]; $link = $value['link'][$i]; - if (substr($link, 0, 7) == 'http://') { - $settings[$type .'_links'][] = ''. check_plain($text) .''; - } - else { - $settings[$type .'_links'][] = l($text, $link, $attributes); - } + $settings[$type .'_links'][] = l($text, $link, $attributes); } } if ($settings[$type .'_links'] == array()) {