Lines Matching refs:link
132 $link = array();
139 $link['rel'] = 'nofollow';
150 $link['target'] = $target;
151 $link['style'] = '';
152 $link['pre'] = '';
153 $link['suf'] = '';
156 $link['pre'] = '<span class="curid">';
157 $link['suf'] = '</span>';
159 $link['more'] = '';
160 $link['class'] = $class;
164 $link['url'] = wl($id, $params);
165 $link['name'] = $name;
166 $link['title'] = $id;
169 ($conf['userewrite']) ? $link['url'] .= '?' : $link['url'] .= '&';
172 $link['url'] .= 's[]='.join('&s[]=', $search);
174 $link['url'] .= 's='.rawurlencode($search);
179 if($hash) $link['url'] .= '#'.$hash;
181 return $link;
220 $link = array();
221 $link['target'] = $target;
222 $link['style'] = '';
223 $link['pre'] = '';
224 $link['suf'] = '';
225 $link['more'] = '';
226 $link['class'] = $class;
227 $link['url'] = $url;
228 $link['rel'] = '';
230 $link['name'] = $name;
231 $link['title'] = $xhtml->_xmlEntities($url);
232 if($conf['relnofollow']) $link['rel'] .= ' nofollow';
233 if($target) $link['rel'] .= ' noopener';
235 return $link;
248 $link = array();
249 $link['target'] = $target;
250 $link['pre'] = '';
251 $link['suf'] = '';
252 $link['more'] = '';
253 $link['name'] = $xhtml->_getLinkTitle($name, $wikiUri, $isImage);
254 $link['rel'] = '';
262 $link['class'] = "interwiki iw_$class";
264 $link['class'] = 'media';
273 $link['class'] .= ' wikilink1';
275 $link['class'] .= ' wikilink2';
276 $link['rel'] .= ' nofollow';
279 if($target) $link['rel'] .= ' noopener';
281 $link['url'] = $url;
282 $link['title'] = htmlspecialchars($link['url']);
284 return $link;
298 $link = array();
299 $link['target'] = $target;
300 $link['pre'] = '';
301 $link['suf'] = '';
302 $link['style'] = '';
304 $link['name'] = $xhtml->_getLinkTitle($name, $url, $isImage);
306 $link['class'] = 'windows';
308 $link['class'] = 'media';
311 $link['title'] = $xhtml->_xmlEntities($url);
314 $link['url'] = $url;
316 return $link;