Lines Matching refs:link

12      [[{namespace:image|extra css}wiki page|Title of the link]]
26 28/04/2015 : Refactored global config handling, add internal media link support, add escaping of userinput (contribution from Peter Stumm https://github.com/lisps/plugin-button)
90 } // Internal link is 300
195 if (preg_match('/\[\[{ *(?<image>[^}\|]*) *\|?(?<css>[^}]*)}(?<link>[^\]\|]*)\|?(?<title>[^\]]*)/', $match, $matches)) {
200 $this->setStyle($data['link'], $data['title']);
202 $this->setTarget($data['link'], $data['title']);
247 // Test if internal or external link (from handler.php / internallink)
250 if ((substr($match['link'], 0, strlen($force_uri_prefix)) === $force_uri_prefix) || (preg_match('#^mailto:|^([a-z0-9\-\.+]+?)://#i', $match['link']))) {
252 $link['url'] = $match['link'];
254 if (substr($link['url'], 0, strlen($force_uri_prefix)) === $force_uri_prefix) {
255 $link['url'] = substr($link['url'], strlen($force_uri_prefix));
258 $link_items = explode(":", $link['url']);
261 $link['url'] = "Unauthorized URI scheme";
263 $link['name'] = $match['title'];
264 if ($link['name'] == "")
265 $link['name'] = $match['link'];
266 $link['class'] = 'urlextern';
272 $link = $this->dokuwiki_get_link($renderer, $match['link'], $match['title']);
278 $link['name'] = str_replace('\\\\', '<br />', $link['name']); //textbreak support
284 $text = "<a " . $target . " href='" . $link['url'] . "'><span class='plugin_button' style='" . hsc($match['css']) . "'>$image<span class='plugin_button_text ${link['class']}'>";
286 $text .= $link['name'];
294 $match['link'] => true,
302 $match['link'],
329 $renderer->internallink($match['link']);
331 // the link destination in $data[0]
407 $link['rel'] = 'nofollow';
421 $link['target'] = $conf['target']['wiki'];
422 $link['style'] = '';
423 $link['pre'] = '';
424 $link['suf'] = '';
425 // highlight link to current page
427 $link['pre'] = '<span class="curid">';
428 $link['suf'] = '</span>';
430 $link['more'] = '';
431 $link['class'] = $class;
432 $link['url'] = wl($id, $params);
433 $link['name'] = $name;
434 $link['title'] = $id;
437 ($conf['userewrite']) ? $link['url'] .= '?' : $link['url'] .= '&amp;';
440 $link['url'] .= 's[]=' . join('&amp;s[]=', $search);
442 $link['url'] .= 's=' . rawurlencode($search);
448 $link['url'] .= '#' . $hash;
450 return $link;
453 // return $this->_formatLink($link);
455 // $this->doc .= $this->_formatLink($link);
480 $link = $xhtml->_getMediaLinkConf($src, $title, $align, $width, $height, $cache, $render);
484 $link['url'] = ml($src, array('id' => $ID, 'cache' => $cache), ($linking == 'direct'));
486 // don't link flash movies
491 $link['class'] .= ' mediafile mf_' . $class;
492 $link['url'] = ml($src, array('id' => $ID, 'cache' => $cache), true);
494 $link['title'] .= ' (' . filesize_h(filesize(mediaFN($src))) . ')';
498 $link['url'] .= '#' . $hash;
502 $link['class'] .= ' wikilink2';
505 return $link;
507 //if ($linking == 'nolink' || $noLink) $this->doc .= $link['name'];
508 //else $this->doc .= $this->_formatLink($link);