summaryrefslogtreecommitdiff
path: root/lib/exe
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-03-06 23:26:31 +0100
committerAndreas Gohr <andi@splitbrain.org>2014-03-06 23:28:42 +0100
commitd66eecafc4ddd78e452b0799a161dd8bfd682183 (patch)
tree40127bd841458f89597c716f0324ad5dc0086a7e /lib/exe
parent8743dba0f5f8e6b92be336cafca4c71d0e137bcd (diff)
downloadrpg-d66eecafc4ddd78e452b0799a161dd8bfd682183.tar.gz
rpg-d66eecafc4ddd78e452b0799a161dd8bfd682183.tar.bz2
moved 16x16 icons to their original locations
for backwards compatibility
Diffstat (limited to 'lib/exe')
-rw-r--r--lib/exe/css.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php
index 128fd5389..cab7384b2 100644
--- a/lib/exe/css.php
+++ b/lib/exe/css.php
@@ -369,7 +369,7 @@ function css_filetypes(){
// default style
echo '.mediafile {';
- echo ' background: transparent url('.DOKU_BASE.'lib/images/fileicons/16x16/file.png) 0px 1px no-repeat;';
+ echo ' background: transparent url('.DOKU_BASE.'lib/images/fileicons/file.png) 0px 1px no-repeat;';
echo ' padding-left: 18px;';
echo ' padding-bottom: 1px;';
echo '}';
@@ -377,7 +377,7 @@ function css_filetypes(){
// additional styles when icon available
// scan directory for all icons
$exts = array();
- if($dh = opendir(DOKU_INC.'lib/images/fileicons/16x16')){
+ if($dh = opendir(DOKU_INC.'lib/images/fileicons')){
while(false !== ($file = readdir($dh))){
if(preg_match('/([_\-a-z0-9]+(?:\.[_\-a-z0-9]+)*?)\.(png|gif)/i',$file,$match)){
$ext = strtolower($match[1]);
@@ -392,7 +392,7 @@ function css_filetypes(){
foreach($exts as $ext=>$type){
$class = preg_replace('/[^_\-a-z0-9]+/','_',$ext);
echo ".mf_$class {";
- echo ' background-image: url('.DOKU_BASE.'lib/images/fileicons/16x16/'.$ext.$type.')';
+ echo ' background-image: url('.DOKU_BASE.'lib/images/fileicons/'.$ext.$type.')';
echo '}';
}
}