From 6cbe0a772fa20df6da0d5a20dc5f2fd75aa0f5de Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 8 Nov 2011 19:10:06 -0200 Subject: Rollback --- images/mail.png | Bin 245 -> 0 bytes template.php | 27 --------------------------- 2 files changed, 27 deletions(-) delete mode 100644 images/mail.png diff --git a/images/mail.png b/images/mail.png deleted file mode 100644 index 051d804..0000000 Binary files a/images/mail.png and /dev/null differ 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 = ''; - $link .= $mail; - $link .= ($variables['options']['html'] ? $variables['text'] : check_plain($variables['text'])); - $link .= ''; - } - else { - return theme_link($variables); - } - - return $link; -} -- cgit v1.2.3