summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorlupo49 <post@lupo49.de>2011-09-11 19:02:50 +0200
committerlupo49 <post@lupo49.de>2011-09-11 19:02:50 +0200
commitded84e755a312cf3c82cd910d35b371b64bec5be (patch)
tree2d3bd07085d8ba68c9d487cc90dae8132bdd5824 /inc/parser
parente2b5ad84f88d0bd1fe510fa74673cc7557c6e630 (diff)
parent8bfdbb5efd72c2e708d005a977444400c7affcfa (diff)
downloadrpg-ded84e755a312cf3c82cd910d35b371b64bec5be.tar.gz
rpg-ded84e755a312cf3c82cd910d35b371b64bec5be.tar.bz2
Merge branch 'master' of github.com:lupo49/dokuwiki
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/xhtml.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 83359cd55..ea1756803 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -805,8 +805,10 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
if($hash) $link['url'] .= '#'.$hash;
//markup non existing files
- if (!$exists)
- $link['class'] .= ' wikilink2';
+ if (!$exists) {
+ $link['class'] .= ' wikilink2';
+ $link['url'] = media_managerURL(array('tab_details' => 'view', 'image' => $src, 'ns' => getNS($src)), '&');
+ }
//output formatted
if ($linking == 'nolink' || $noLink) $this->doc .= $link['name'];