Lines Matching refs:link

490 	function camelcaselink($link) {  argument
491 $this->internallink($link,$link);
537 $link['target'] = $conf['target']['wiki'];
538 $link['style'] = '';
539 $link['pre'] = '';
540 $link['suf'] = '';
543 $link['pre'] = '<span class="curid">';
544 $link['suf'] = '</span>';
546 $link['more'] = '';
547 $link['class'] = $class;
548 $link['url'] = wl($id);
549 $link['name'] = $name;
550 $link['title'] = $id;
553 ($conf['userewrite']) ? $link['url'].='?s=' : $link['url'].='&amp;s=';
554 $link['url'] .= rawurlencode($search);
558 if($hash) $link['url'].='#'.$hash;
562 return $this->_formatLink($link);
564 $this->doc .= $this->_formatLink($link);
580 $link['target'] = $conf['target']['extern'];
581 $link['style'] = '';
582 $link['pre'] = '';
583 $link['suf'] = '';
584 $link['more'] = '';
585 $link['class'] = $class;
586 $link['url'] = $url;
588 $link['name'] = $name;
589 $link['title'] = $this->_xmlEntities($url);
590 if($conf['relnofollow']) $link['more'] .= ' rel="nofollow"';
593 $this->doc .= $this->_formatLink($link);
601 $link = array();
602 $link['target'] = $conf['target']['interwiki'];
603 $link['pre'] = '';
604 $link['suf'] = '';
605 $link['more'] = '';
606 $link['name'] = $this->_getLinkTitle($name, $wikiUri, $isImage);
613 $link['class'] = "interwiki iw_$class";
615 $link['class'] = 'media';
620 $link['target'] = $conf['target']['wiki'];
623 $link['url'] = $url;
624 $link['title'] = htmlspecialchars($link['url']);
627 $this->doc .= $this->_formatLink($link);
636 $link['target'] = $conf['target']['windows'];
637 $link['pre'] = '';
638 $link['suf'] = '';
639 $link['style'] = '';
641 $link['more'] = 'onclick="if(document.all == null){alert(\''.
646 $link['name'] = $this->_getLinkTitle($name, $url, $isImage);
648 $link['class'] = 'windows';
650 $link['class'] = 'media';
654 $link['title'] = $this->_xmlEntities($url);
657 $link['url'] = $url;
660 $this->doc .= $this->_formatLink($link);
666 $link = array();
667 $link['target'] = '';
668 $link['pre'] = '';
669 $link['suf'] = '';
670 $link['style'] = '';
671 $link['more'] = '';
675 $link['class']='mail JSnocheck';
677 $link['class']='media JSnocheck';
693 $link['url'] = 'mailto:'.$address;
694 $link['name'] = $name;
695 $link['title'] = $title;
698 $this->doc .= $this->_formatLink($link);
707 $link = array();
708 $link['class'] = 'media';
709 $link['style'] = '';
710 $link['pre'] = '';
711 $link['suf'] = '';
712 $link['more'] = '';
713 $link['target'] = $conf['target']['media'];
716 $link['title'] = $this->_xmlEntities($src);
719 $link['url'] = ml($src,array('id'=>$ID,'cache'=>$cache),($linking=='direct'));
726 $link['class'] .= ' mediafile mf_'.$class;
727 $link['url'] = ml($src,array('id'=>$ID,'cache'=>$cache),true);
729 $link['name'] = $this->_media ($src, $title, $align, $width, $height, $cache);
732 if ($linking == 'nolink' || $noLink) $this->doc .= $link['name'];
733 else $this->doc .= $this->_formatLink($link);
743 $link = array();
744 $link['class'] = 'media';
745 $link['style'] = '';
746 $link['pre'] = '';
747 $link['suf'] = '';
748 $link['more'] = '';
749 $link['target'] = $conf['target']['media'];
751 $link['title'] = $this->_xmlEntities($src);
752 $link['url'] = ml($src,array('cache'=>$cache));
753 $link['name'] = $this->_media ($src, $title, $align, $width, $height, $cache);
765 $link['class'] .= ' mediafile mf_'.$ext;
769 if ($linking == 'nolink' || $noLink) $this->doc .= $link['name'];
770 else $this->doc .= $this->_formatLink($link);
922 function _formatLink($link){ argument
924 if(substr($link['url'],0,7) != 'mailto:'){
925 $link['url'] = str_replace('&','&amp;',$link['url']);
926 $link['url'] = str_replace('&amp;amp;','&amp;',$link['url']);
929 $link['title'] = str_replace('&amp;amp;','&amp;',$link['title']);
933 $link['url'] = strtr($link['url'],array('>'=>'%3E','<'=>'%3C','"'=>'%22'));
934 $link['title'] = strtr($link['title'],array('>'=>'&gt;','<'=>'&lt;','"'=>'&quot;'));
937 $ret .= $link['pre'];
951 $ret .= $link['name'].' ['.$link['url'].'] ';