/plugin/linksenhanced/syntax/ |
H A D | link.php | 96 $link[1] = $this->render_text($link[1]); 99 $link[1] = str_replace('</p>', '', str_replace('<p>', '', $link[1])); 104 else if ( isset($link[1]) && preg_match('/^\{\{[^\}]+\}\}$/',$link[1]) ) { 106 $link[1] = Doku_Handler_Parse_Media($link[1]); 110 $link[1] = null; 113 $link[0] = trim($link[0]); 127 $link[0] = substr($link[0],1); 147 $url = $link[0]; 148 $name = $link[1]; 217 $link['title'] = htmlspecialchars($link['url']); [all …]
|
/plugin/linkbonus/syntax/ |
H A D | base.php | 70 $link= array(); 76 if (empty($link['title']) ) $link['title']= $link['name']; 79 $link['name'] = str_replace ('\|', '|', $link['name']); 80 $link['title'] = str_replace ('\|', '|', $link['title']); 83 $link['url'] = substr($link['url'], 1); // remove leading '@' 84 $link['url'] = DW_common_linkbonus::_getServerBase(). $link['url']; 120 … if ($link['fetchname'] === '' || empty($link['fetchname'])) $link['fetchname'] = 'title'; 132 if ($link['doa'] || $link['fetchname']) { 140 if ($link['fetchname'] == 'tooltip') $link['title'] = $ext_title; 141 else if ($link['fetchname'] == 'title') $link['name']= $ext_title; [all …]
|
H A D | external.php | 69 $link= array(); 75 if (empty($link['title']) ) $link['title']= $link['name']; 78 $link['name'] = str_replace ('\|', '|', $link['name']); 79 $link['title'] = str_replace ('\|', '|', $link['title']); 87 $handler->_addCall('externallink',array( $link['url'],$link['name'] ), $pos); 116 … if ($link['fetchname'] === '' || empty($link['fetchname'])) $link['fetchname'] = 'title'; 128 if ($link['doa'] || $link['fetchname']) { 136 if ($link['fetchname'] == 'tooltip') $link['title'] = $ext_title; 137 else if ($link['fetchname'] == 'title') $link['name']= $ext_title; 146 $link['class']= 'urlextern '. $link['class']; // default DW external-link class [all …]
|
/plugin/targetlink/ |
H A D | syntax.php | 132 $link = array(); 151 $link['style'] = ''; 152 $link['pre'] = ''; 169 ($conf['userewrite']) ? $link['url'] .= '?' : $link['url'] .= '&'; 181 return $link; 220 $link = array(); 235 return $link; 282 $link['title'] = htmlspecialchars($link['url']); 284 return $link; 298 $link = array(); [all …]
|
/plugin/epub/ |
H A D | renderer.php | 177 $type=$link['class']; 223 $link['name'] = preg_replace("#src=.*?$t\"#", "src=\"$name\"",$link['name']); 225 $link['name'] = str_replace('alt=""','alt="'. $link['title'] . '"', $link['name']); 237 return $link['name']; 270 $link['name'] = $link['display']; 288 if(isset($link['type']) && $link['type'] == 'ext_media') { 295 $link['url'] = $name; 301 $link = str_replace('Images/Images',"Images",$link); 302 $link = preg_replace('#[\.\/]*Images#', "../Images", $link ); 306 $out = $link['name']; [all …]
|
/plugin/nroff/ |
H A D | renderer.php | 491 $this->internallink($link,$link); 553 ($conf['userewrite']) ? $link['url'].='?s=' : $link['url'].='&s='; 601 $link = array(); 624 $link['title'] = htmlspecialchars($link['url']); 666 $link = array(); 707 $link = array(); 743 $link = array(); 925 $link['url'] = str_replace('&','&',$link['url']); 926 $link['url'] = str_replace('&amp;','&',$link['url']); 929 $link['title'] = str_replace('&amp;','&',$link['title']); [all …]
|
/plugin/showlinkpermission/ |
H A D | renderer.php | 59 $link['rel']='nofollow'; 81 $link['style'] = ''; 82 $link['pre'] = ''; 83 $link['suf'] = ''; 87 $link['suf'] = '</span>'; 89 $link['more'] = ''; 90 $link['class'] = $class; 92 $link['name'] = $name; 93 $link['title'] = $id; 97 ($conf['userewrite']) ? $link['url'].='?' : $link['url'].='&'; [all …]
|
/plugin/dirtylittlehelper/mermaid/editor/docs/ |
H A D | 51.51.js | 1 …link","","","string.link"]],[/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,[{token:"",next:"subsequent…
|
/plugin/xref/ |
H A D | syntax.php | 59 list($link,$anchor) = explode('#',$link,2); 60 if(!$name) $name = $link; 64 if($link[0] == '$') $first = 4; 79 $link['style'] = ''; 80 $link['pre'] = ''; 81 $link['suf'] = ''; 82 $link['more'] = ''; 83 $link['class'] = 'xref_plugin'; 84 $link['name'] = hsc($data[2]); 87 $link['url'] = $this->web; [all …]
|
/plugin/eventline/ |
H A D | plain.php | 85 $this->internallink($link,$link); 150 $link['style'] = ''; 151 $link['pre'] = ''; 152 $link['suf'] = ''; 159 $link['more'] = ''; 174 ($conf['userewrite']) ? $link['url'].='?s=' : $link['url'].='&s='; 212 $link = array(); 213 $link['class'] = ''; 214 $link['style'] = ''; 215 $link['pre'] = ''; [all …]
|
/plugin/footnotestyle/ |
H A D | renderer.php | 139 $link = $id; 143 $link = '['.$link.']'; 145 $link .= ')'; 152 $link = '<sup>'.$link.'</sup>'; 154 return $link; 160 $link = $id; 163 $link .= ')'; 165 $link = '['.$link.']'; 170 $link = '<sup>'.$link.'</sup>'; 172 $link = '<span class="fn_bot_wrapper">'.$link.'</span>'; [all …]
|
/plugin/button/ |
H A D | syntax.php | 227 …if (substr($link['url'],0,strlen($force_uri_prefix)) === $force_uri_prefix) { $link['url'] = subst… 235 if ($link['name'] == "") $link['name'] = $match['link']; 381 $link['style'] = ''; 382 $link['pre'] = ''; 383 $link['suf'] = ''; 389 $link['more'] = ''; 392 $link['name'] = $name; 393 $link['title'] = $id; 396 ($conf['userewrite']) ? $link['url'].='?' : $link['url'].='&'; 408 return $link; [all …]
|
/plugin/docnavigation/syntax/ |
H A D | pagenav.php | 106 $link = trim($link); 109 if ($index == 1 && empty($link)) { 113 $link = $ns . ':' . $conf['start']; 116 $link = $ns . ':' . noNS($ns); 119 $link = (!getNS($ns) ? ':' : '') . $ns; 123 $rawlink = $link; 129 $link = $resolver->resolveId($link); 135 [$link,$hash] = array_pad(explode('#', $link, 2), 2, ''); 138 if ($index !== 1 && $link == $ID) { 139 $link = ''; [all …]
|
/plugin/bibtex/ |
H A D | syntax.php | 433 $link['url'] = str_replace('&','&',$link['url']); 434 $link['url'] = str_replace('&amp;','&',$link['url']); 437 $link['title'] = str_replace('&amp;','&',$link['title']); 440 $ret .= $link['pre']; 442 if($link['class']) $ret .= ' class="'.$link['class'].'"'; 443 if($link['target']) $ret .= ' target="'.$link['target'].'"'; 444 if($link['title']) $ret .= ' title="'.$link['title'].'"'; 445 if($link['style']) $ret .= ' style="'.$link['style'].'"'; 446 if($link['more']) $ret .= ' '.$link['more']; 448 $ret .= $link['name']; [all …]
|
/plugin/syntaxmantis/ |
H A D | syntax.php | 41 $link['target'] = $conf['target']['wiki']; 42 $link['style'] = ''; 43 $link['pre'] = ''; 44 $link['suf'] = ''; 45 $link['more'] = ''; 46 $link['class'] = 'mantislink'; 47 $link['url'] = $this->getConf('mantis_server') . '/view.php?id=' . $data[0]; 48 $link['name'] = $this->getConf('LinkPrefix') . $data[0]; 49 $link['title'] = $renderer->_xmlEntities($url); 52 $renderer->doc .= $renderer->_formatLink($link);
|
/plugin/commonmark/vendor/league/commonmark/src/Extension/ExternalLink/ |
H A D | ExternalLinkProcessor.php | 48 $link = $event->getNode(); 50 $host = parse_url($link->getUrl(), PHP_URL_HOST); 57 $link->data['external'] = false; 58 $this->applyRelAttribute($link, false); 70 $link->data['external'] = true; 71 $link->data['attributes'] = $link->getData('attributes', []); 72 $this->applyRelAttribute($link, true); 75 $link->data['attributes']['target'] = '_blank'; 79 …$link->data['attributes']['class'] = trim(($link->data['attributes']['class'] ?? '') . ' ' . $clas… 83 private function applyRelAttribute(Link $link, bool $isExternal): void argument [all …]
|
/plugin/orphanswanted/ |
H A D | helper.php | 67 function orph_handle_link(&$data, $link) { argument 70 if(isset($data[$link])) { 73 $data[$link]['links'] ++ ; // count the link 76 $data[$link] = array( 83 … ($conf['allowdebug']) echo "<p>-- New count for link <b>" . $link . "</b>: " . $data[$link]['link… 127 foreach($links[1] as $link) { 130 if( (0 < strlen(ltrim($link))) 138 $link = preg_replace('/\?.*/', '', $link); 145 and !auth_quickaclcheck($link) < AUTH_READ)) { 151 $link= utf8_strtolower( $link ); [all …]
|
/plugin/owncloud/ |
H A D | helper.php | 667 $link = array(); 678 return $link; 787 $link['url'] = str_replace('&','&',$link['url']); 788 $link['url'] = str_replace('&amp;','&',$link['url']); 791 $link['title'] = str_replace('&amp;','&',$link['title']); 801 if(!empty($link['class'])) $ret .= ' class="'.$link['class'].'"'; 802 if(!empty($link['target'])) $ret .= ' target="'.$link['target'].'"'; 803 if(!empty($link['title'])) $ret .= ' title="'.$link['title'].'"'; 804 if(!empty($link['style'])) $ret .= ' style="'.$link['style'].'"'; 805 if(!empty($link['rel'])) $ret .= ' rel="'.$link['rel'].'"'; [all …]
|
/plugin/dwinsect/ |
H A D | syntax.php | 51 * @param string $link 54 function _split_text($section, $link) { argument 55 $ret=explode($link, trim($section), 2); 60 function _check_translate($type, $link, $params) { argument 66 $link=substr($link,0,2).$ns."|".$params.substr($link,-2,2); 71 $link=substr($link,0,2).$ns."?".$params.substr($link,-2,2); 78 $link="[[".$link."|".$params."]]"; 83 return (array($type, $link)); 155 list($link_type, $link) = _check_translate($link_type, $link, $params); 158 $link = ""; [all …]
|
/plugin/nsexport/packer/ziphtml/ |
H A D | renderer.php | 86 $link['style'] = ''; 87 $link['pre'] = ''; 88 $link['suf'] = ''; 92 $link['suf'] = '</span>'; 94 $link['more'] = ''; 95 $link['class'] = $class; 97 $link['name'] = $name; 98 $link['title'] = $id; 101 if($hash) $link['url'].='#'.$hash; 204 $link['url'] = $lsrc; [all …]
|
/plugin/docnavigation/ |
H A D | action.php | 96 …* @param array $link with: 'link' => string full page id, 'title' => null|string, 'rawlink' => str… 99 protected function htmlLink($link) { argument 106 $title = $this->getTitle($link, $Renderer); 107 $id = ':' . $link['link'] . '#' . $link['hash']; 114 …* @param array $link with: 'link' => string full page id, 'title' => null|string, 'rawlink' => str… 118 protected function getTitle($link, $Renderer) argument 120 if ($link['title'] === null) { 121 $defaulttitle = $Renderer->_simpleTitle($link['rawlink']); 122 return $Renderer->_getLinkTitle(null, $defaulttitle, $isImage, $link['link']); 124 return $link['title'];
|
/plugin/html5video2/syntax/ |
H A D | video.php | 43 $link = explode('|',$link,2); 46 $ralign = (bool)preg_match('/^ /',$link[0]); 47 $lalign = (bool)preg_match('/ $/',$link[0]); 61 if ( !isset($link[1]) ) { 62 $link[1] = NULL; 66 $link[0] = trim($link[0]); 69 $pos = strrpos($link[0], '?'); 71 $src = substr($link[0],0,$pos); 72 $param = substr($link[0],$pos+1); 74 $src = $link[0]; [all …]
|
/plugin/latexport/implementation/ |
H A D | internal_link.php | 17 private $link; variable in InternalLink 27 * @param link The link, as provided by internallink method. 31 function __construct($link, $headingLevel, $title = null) { argument 32 $this->link = $link; 43 return $this->link; 56 return "$this->title ($this->headingLevel) --- $this->link";
|
/plugin/netlogo/syntax/ |
H A D | applet.php | 107 $link = explode('|',$link,2); 110 $ralign = (bool)preg_match('/^ /',$link[0]); 111 $lalign = (bool)preg_match('/ $/',$link[0]); 125 if ( !isset($link[1]) ) { 126 $link[1] = NULL; 130 $link[0] = trim($link[0]); 133 $pos = strrpos($link[0], '?'); 135 $src = substr($link[0],0,$pos); 136 $param = substr($link[0],$pos+1); 138 $src = $link[0]; [all …]
|
/plugin/bez/action/ |
H A D | default.php | 338 $link .= '</a>'; 345 'brief' => $link, 361 $link .= '</a>'; 368 'brief' => $link, 384 $link .= '</a>'; 391 'brief' => $link, 405 $link .= '#z' . $task->id; 406 $link .= '</a>'; 413 'brief' => $link, 428 $link .= '</a>'; [all …]
|