diff options
Diffstat (limited to 'template.php')
-rw-r--r-- | template.php | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/template.php b/template.php index 615b9b8..9da450e 100644 --- a/template.php +++ b/template.php @@ -286,30 +286,3 @@ function muambeiro_ns() { } return $output; } - -/** - * Overrides theme_link(). - */ -function muambeiro_link($variables) { - if ($variables['path'] == 'messages') { - $path = drupal_get_path('theme', 'muambeiro'); - $mail = theme('image', - array( - 'path' => $path .'/images/mail.png', - 'alt' => t('Item unavailable'), - 'title' => t('Item unavailable'), - ) - ); - - $link = '<a href="' . check_plain(url($variables['path'], $variables['options'])); - $link .= '"' . drupal_attributes($variables['options']['attributes']) . '>'; - $link .= $mail; - $link .= ($variables['options']['html'] ? $variables['text'] : check_plain($variables['text'])); - $link .= '</a>'; - } - else { - return theme_link($variables); - } - - return $link; -} |