plugin:externallink
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
plugin:externallink [2020-11-04 15:56] – [Discussion] Fix for 2020-07-29 “Hogfather” rysson | plugin:externallink [2022-01-18 23:15] – Klap-in | ||
---|---|---|---|
Line 48: | Line 48: | ||
*/ | */ | ||
- | if(!defined(' | ||
- | if(!defined(' | ||
- | require_once(DOKU_PLUGIN.' | ||
/** | /** | ||
Line 90: | Line 87: | ||
* Handle the match | * Handle the match | ||
*/ | */ | ||
- | function handle($match, | + | function handle($match, |
$match = substr($match, | $match = substr($match, | ||
$match = explode(" | $match = explode(" | ||
Line 99: | Line 96: | ||
* Create output | * Create output | ||
*/ | */ | ||
- | function render($mode, | + | function render($mode, |
if($mode == ' | if($mode == ' | ||
$text=$this-> | $text=$this-> | ||
Line 109: | Line 106: | ||
- | function _externallink(&$renderer, $url, $name = NULL) { | + | function _externallink($renderer, |
global $conf; | global $conf; | ||
// Just some basic cleaning | // Just some basic cleaning | ||
Line 147: | Line 144: | ||
} | } | ||
- | ?> | ||
</ | </ | ||
plugin/externallink.txt · Last modified: 2022-01-18 23:16 by Klap-in