summaryrefslogtreecommitdiff
path: root/lib/exe/css.php
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2011-09-08 11:27:42 +0200
committerMichael Hamann <michael@content-space.de>2011-09-08 11:39:00 +0200
commitfb46ebd87eb43d5cd9f67f353f6656d0e3a0b196 (patch)
treeb89b580659168d8550dcca66fb0c303389b77aaf /lib/exe/css.php
parentaea34b5fe445064477d8ad0c98926db33a0d0851 (diff)
parentcc2c0b9d6af82732ed79eeb85c22b7c3192a4e55 (diff)
downloadrpg-fb46ebd87eb43d5cd9f67f353f6656d0e3a0b196.tar.gz
rpg-fb46ebd87eb43d5cd9f67f353f6656d0e3a0b196.tar.bz2
Merge branch 'media-revisions'
This introduces a new media manager and media revisions to DokuWiki. The changes have been implemented by Kate Arzamastseva and are the result of a Google Summer of Code project, the official project page can be found at http://www.google-melange.com/gsoc/project/google/gsoc2011/kate/18001 Thanks to Kate for the work and Google for sponsoring it!
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 '}';
}