Lines Matching refs:link
69 $link= array();
70 $link['url'] = array_shift($data);
71 $link['name'] = array_shift($data);
72 $link['title'] = array_shift($data);
75 if (empty($link['title']) ) $link['title']= $link['name'];
78 $link['name'] = str_replace ('\|', '|', $link['name']);
79 $link['title'] = str_replace ('\|', '|', $link['title']);
86 if (empty($data) && empty($link['title']) ) {
87 $handler->_addCall('externallink',array( $link['url'],$link['name'] ), $pos);
111 DW_common_linkbonus::parse_options ($data, $link, $keys);
114 if (array_key_exists('fetchname', $link)) {
116 … if ($link['fetchname'] === '' || empty($link['fetchname'])) $link['fetchname'] = 'title';
128 if ($link['doa'] || $link['fetchname']) {
129 $pagestatus = DW_common_linkbonus::_doTestPage($link['url']);
132 if ($link['fetchname']) {
133 … if ($pagestatus == 'text/html') $ext_title= DW_common_linkbonus::_doGetPageTitle($link['url']);
134 else $ext_title = $link['name']. " file $pagestatus";
136 if ($link['fetchname'] == 'tooltip') $link['title'] = $ext_title;
137 else if ($link['fetchname'] == 'title') $link['name']= $ext_title;
140 if (array_key_exists('doa', $link)) {
141 $link['class'].= ($pagestatus === false) ? 'doa_error' : 'doa_ok';
142 $link['title'].= ' '. $this->getLang(($pagestatus===false) ? 'doa_no' : 'doa_ok');
143 unset($link['doa']);
146 $link['class']= 'urlextern '. $link['class']; // default DW external-link class
147 $link['format'] = $this->getConf('in_formatting');
154 'link' => $link,