Lines Matching refs:url
3 * Plugin Iframeinterwiki: Inserts an iframe element to include the specified url
23 function connectTo($mode) { $this->Lexer->addSpecialPattern('{{url>.*?}}',$mode,'plugin_iframeinterwiki'); }
29 $url = isset($exploded[0]) ? $exploded[0] : '';
32 $explodedUrl = explode(' ', $url, 2);
33 $url = isset($explodedUrl[0]) ? $explodedUrl[0] : '';
37 if (!$this->getConf('js_ok') && substr($url,0,11) == 'javascript:'){
38 $url = false;
43 'url' => $url,
82 // Replace on url all match from interwiki conf
83 function parse_uri_inter($url, $filename) {
88 if (isset($matches[1], $matches[2]) && strpos($url, $matches[1]) !== false) {
89 $url = str_replace($matches[1] . '>', '@REPLACE@', $url);
91 $url = str_replace('@REPLACE@' , str_replace('{NAME}', '', $matches[2]), $url);
93 $url = str_replace('%40REPLACE%40', str_replace('{URL}', '', $matches[2]), urlencode($url));
99 return $url;
105 if(!$data['url']) {
112 'src' => $this->parse_uri_inter($this->parse_uri_inter($data['url'], DOKU_INC . 'conf/interwiki.local.conf'), DOKU_INC . 'conf/interwiki.conf'),