]> gitweb.fluxo.info Git - drupal/muambeiro.git/commitdiff
Rollback
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 8 Nov 2011 21:10:06 +0000 (19:10 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 8 Nov 2011 21:10:06 +0000 (19:10 -0200)
images/mail.png [deleted file]
template.php

diff --git a/images/mail.png b/images/mail.png
deleted file mode 100644 (file)
index 051d804..0000000
Binary files a/images/mail.png and /dev/null differ
index 615b9b84b5a53b8a453b19f1982e6184cd6d13f6..9da450eedc676dbd0d0309a259fb050690d3eeff 100644 (file)
@@ -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;
-}