aboutsummaryrefslogtreecommitdiff
path: root/template.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-08 19:10:06 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-08 19:10:06 -0200
commit6cbe0a772fa20df6da0d5a20dc5f2fd75aa0f5de (patch)
tree6a95a3dd2697f992ada5368883ade6cb0e372bec /template.php
parent14d4276edc0c51bdc17e6a42d8b3f546cbd58814 (diff)
downloadmuambeiro-6cbe0a772fa20df6da0d5a20dc5f2fd75aa0f5de.tar.gz
muambeiro-6cbe0a772fa20df6da0d5a20dc5f2fd75aa0f5de.tar.bz2
Rollback
Diffstat (limited to 'template.php')
-rw-r--r--template.php27
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;
-}