]>
Commit | Line | Data |
---|---|---|
e5ce8ca9 ER |
1 | --- dokuwiki-2009-02-14/inc/parser/xhtml.php 2009-07-28 16:51:06.599541994 +0300 |
2 | +++ dokuwiki/inc/parser/xhtml.php 2009-07-28 16:53:48.144936039 +0300 | |
3 | @@ -569,7 +569,7 @@ | |
4 | ||
5 | /** | |
6 | */ | |
7 | - function interwikilink($match, $name = NULL, $wikiName, $wikiUri) { | |
8 | + function interwikilink($match, $name = NULL, $wikiName, $wikiUri, $returnonly = false) { | |
9 | global $conf; | |
10 | ||
11 | $link = array(); | |
12 | @@ -598,7 +598,11 @@ | |
13 | $link['title'] = htmlspecialchars($link['url']); | |
14 | ||
15 | //output formatted | |
16 | - $this->doc .= $this->_formatLink($link); | |
17 | + if($returnonly){ | |
18 | + return $this->_formatLink($link); | |
19 | + }else{ | |
20 | + $this->doc .= $this->_formatLink($link); | |
21 | + } | |
22 | } | |
23 | ||
24 | /** |