? .DS_Store ? theme_l_00.patch ? theme_l_01.patch ? sites/.DS_Store ? sites/default/files ? sites/default/settings.php Index: includes/common.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/common.inc,v retrieving revision 1.802 diff -u -p -r1.802 common.inc --- includes/common.inc 9 Oct 2008 01:49:03 -0000 1.802 +++ includes/common.inc 9 Oct 2008 09:08:43 -0000 @@ -1514,7 +1514,7 @@ function l($text, $path, array $options $options['attributes']['title'] = strip_tags($options['attributes']['title']); } - return '' . ($options['html'] ? $text : check_plain($text)) . ''; + return theme('link', check_url(url($path, $options)), $options['attributes'], $options['html'] ? $text : check_plain($text)); } /** @@ -2988,6 +2988,9 @@ function drupal_common_theme() { 'indentation' => array( 'arguments' => array('size' => 1), ), + 'link' => array( + 'arguments' => array('path' => NULL, 'attributes' => array(), 'text' => NULL), + ), // from pager.inc 'pager' => array( 'arguments' => array('tags' => array(), 'limit' => 10, 'element' => 0, 'parameters' => array()), Index: includes/theme.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/theme.inc,v retrieving revision 1.437 diff -u -p -r1.437 theme.inc --- includes/theme.inc 20 Sep 2008 20:22:23 -0000 1.437 +++ includes/theme.inc 9 Oct 2008 09:08:44 -0000 @@ -1697,6 +1697,15 @@ function theme_indentation($size = 1) { } /** + * Theme an internal Drupal link. + * + * @param $path + */ +function theme_link($path, $attributes, $text) { + return '' . $text . ''; +} + +/** * @} End of "defgroup themeable". */