From 51ca1dedb0b80d36e74030ac37e2be1075edcc19 Mon Sep 17 00:00:00 2001
From: Eric Rasmussen <eric@unl.edu>
Date: Wed, 16 Nov 2011 15:57:38 +0000
Subject: [PATCH] [gh-264] Merging test into staging -c1293

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@1294 20a16fea-79d4-4915-8869-1ea9d5ebf173
---
 sites/all/themes/unl_wdn/style.css    | 2 --
 sites/all/themes/unl_wdn/template.php | 8 ++++++++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/sites/all/themes/unl_wdn/style.css b/sites/all/themes/unl_wdn/style.css
index 86189e63..49be821d 100644
--- a/sites/all/themes/unl_wdn/style.css
+++ b/sites/all/themes/unl_wdn/style.css
@@ -12,8 +12,6 @@ body.fixed #maincontent {min-width: 960px;}
 #wdn_content_wrapper.contextual-links-region {position: static;}
 /* Hide the contextual links in the UNL nav */
 #navigation div.contextual-links-wrapper {display: none;}
-/* Hide file icon in file field */
-.field-type-file .file-icon {display: none;}
 /* UNL css displays all ul in copyright area as inline, need to hide this */
 #wdn_copyright ul.contextual-links {display: none;}
 /* Overrides of system.menus.css due to conflicts with UNL navigation */
diff --git a/sites/all/themes/unl_wdn/template.php b/sites/all/themes/unl_wdn/template.php
index e2edc323..43e6b7a4 100644
--- a/sites/all/themes/unl_wdn/template.php
+++ b/sites/all/themes/unl_wdn/template.php
@@ -213,6 +213,14 @@ function unl_wdn_breadcrumb($variables) {
   return $html;
 }
 
+/**
+ * Implements theme_file_icon().
+ * File icons are provided as css background sprites in UNL WDN template project.
+ */
+function unl_wdn_file_icon($variables) {
+  return '';
+}
+
 function unl_wdn_menu_item($link, $has_children, $menu = '', $in_active_trail = FALSE, $extra_class = NULL) {
   if ($extra_class) {
     return '<li class="' . $extra_class . '">' . $link . $menu . '</li>' . "\n";
-- 
GitLab