summaryrefslogtreecommitdiff
path: root/lib/exe/css.php
diff options
context:
space:
mode:
authorKate Arzamastseva <pshns@ukr.net>2011-08-24 22:34:06 +0300
committerKate Arzamastseva <pshns@ukr.net>2011-08-24 22:34:06 +0300
commit035e07f1301d5d7a13de017640d80db14d300ac3 (patch)
tree2add92660f96a22663b3403b229738ca198a142a /lib/exe/css.php
parent1a75cea634d47c0fac768a8c12df4e49fe3860c2 (diff)
downloadrpg-035e07f1301d5d7a13de017640d80db14d300ac3.tar.gz
rpg-035e07f1301d5d7a13de017640d80db14d300ac3.tar.bz2
issue #57, function names, params, html fixes
Diffstat (limited to 'lib/exe/css.php')
-rw-r--r--lib/exe/css.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php
index 8f86f2433..81f47d8fa 100644
--- a/lib/exe/css.php
+++ b/lib/exe/css.php
@@ -189,7 +189,7 @@ function css_interwiki(){
function css_filetypes(){
// default style
- echo 'a.mediafile {';
+ echo '.mediafile {';
echo ' background: transparent url('.DOKU_BASE.'lib/images/fileicons/file.png) 0px 1px no-repeat;';
echo ' padding-left: 18px;';
echo ' padding-bottom: 1px;';
@@ -212,7 +212,7 @@ function css_filetypes(){
}
foreach($exts as $ext=>$type){
$class = preg_replace('/[^_\-a-z0-9]+/','_',$ext);
- echo "a.mf_$class {";
+ echo ".mf_$class {";
echo ' background-image: url('.DOKU_BASE.'lib/images/fileicons/'.$ext.$type.')';
echo '}';
}