From e6b90a60afc9126a584001562c33d80480103601 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind1991@gmail.com>
Date: Mon, 16 May 2011 16:34:04 +0200
Subject: [PATCH] fix the drop down arrow in file browser

---
 css/styles.css                | 1 +
 files/templates/part.list.php | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/css/styles.css b/css/styles.css
index b53343b0f2..0f4d8c5df8 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -95,6 +95,7 @@ table td.delete { background-image:url('../img/delete.png'); }
 #fileList tr input[type=checkbox] { display:none; }
 #fileList tr input[type=checkbox]:checked { display:inline; }
 #fileList tr:hover input[type=checkbox] { display:inline; }
+a.dropArrow{ background-image:url('../img/drop-arrow.png'); width:16px; height:16px; display:block}
 
 /* NAVIGATION BAR */
 p.nav { margin:1em 0 0 2em; padding:0.8em; line-height:16px; font-weight:bold; }
diff --git a/files/templates/part.list.php b/files/templates/part.list.php
index 0d4fcc7548..19143807c2 100644
--- a/files/templates/part.list.php
+++ b/files/templates/part.list.php
@@ -4,6 +4,6 @@
 				<td class="filename"><a style="background-image:url(<?php if($file["type"] == "dir") echo mimetype_icon("dir"); else echo mimetype_icon($file["mime"]); ?>)" href="<?php if($file["type"] == "dir") echo link_to("files", "index.php?dir=".$file["directory"]."/".$file["name"]); else echo link_to("files", "download.php?file=".$file["directory"]."/".$file["name"]); ?>" title=""><?php echo htmlspecialchars($file["name"]); ?></a></td>
 				<td class="filesize"><?php echo human_file_size($file["size"]); ?></td>
 				<td class="date"><?php echo $file["date"]; ?></td>
-				<td class="fileaction"><a href="" title=""><img src="images/drop-arrow.png" alt="+" /></a></td>
+				<td class="fileaction"><a href="" title="+" class='dropArrow'/></td>
 			</tr>
 		<?php endforeach; ?>
\ No newline at end of file
-- 
GitLab