diff options
author | andi <andi@splitbrain.org> | 2005-04-22 18:41:53 +0200 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-04-22 18:41:53 +0200 |
commit | 37e34a5ef6c436d6cf1525ba3643b1597cadc168 (patch) | |
tree | 8963802fb170578e997a69d35da0a3c25c100daf /inc/parser/xhtml.php | |
parent | 723d78db98a03f01d49b69501be9dc9cf2c52b50 (diff) | |
download | rpg-37e34a5ef6c436d6cf1525ba3643b1597cadc168.tar.gz rpg-37e34a5ef6c436d6cf1525ba3643b1597cadc168.tar.bz2 |
backlink with camelcase support (untested)
darcs-hash:20050422164153-9977f-443f332fa6e591dfa352448ceb5dd24811d227a2.gz
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r-- | inc/parser/xhtml.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 0b1531a65..1c26b0645 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -390,9 +390,10 @@ class Doku_Renderer_xhtml extends Doku_Renderer { function internallink($id, $name = NULL, $search=NULL) { global $conf; + global $ID; $name = $this->_getLinkTitle($name, $this->_simpleTitle($id), $isImage, $id); - resolve_pageid($id,$exists); + resolve_pageid(getNS($ID),$id,$exists); if ( !$isImage ) { if ( $exists ) { @@ -644,7 +645,8 @@ class Doku_Renderer_xhtml extends Doku_Renderer { function internalmedia ($src, $title=NULL, $align=NULL, $width=NULL, $height=NULL, $cache=NULL) { global $conf; - resolve_mediaid($src, $exists); + global $ID; + resolve_mediaid(getNS($ID),$src, $exists); $link = array(); $link['class'] = 'media'; |