Lines Matching refs:this

26         $this->trans = strtolower(str_replace(',',' ',$this->getConf('translations')));
27 $this->trans = array_unique(array_filter(explode(' ',$this->trans)));
28 sort($this->trans);
36 if(in_array($dfl,$this->trans)){
37 $this->defaultlang = $dfl;
39 $this->defaultlang = '';
40 array_unshift($this->trans,'');
44 $this->tns = cleanID($this->getConf('translationns'));
45 if($this->tns) $this->tns .= ':';
52 $rx = '/^'.$this->tns.'('.join('|',$this->trans).'):/';
64 $rx = '/(^|,|:|;|-)('.join('|',$this->trans).')($|,|:|;|-)/i';
80 $link = ':'.$this->tns.$lng.':'.$idpart;
83 $link = ':'.$this->tns.$idpart;
101 if($this->tns && strpos($id,$this->tns) !== 0) return false;
102 $skiptrans = trim($this->getConf('skiptrans'));
116 $this->checkage();
120 $rx = '/^'.$this->tns.'(('.join('|',$this->trans).'):)?/';
125 if($this->getConf('localabout')){
141 foreach($this->trans as $t){
142 list($link,$name) = $this->buildTransID($t,$idpart);
151 if(!$lc) $lc = $this->getBrowserLang();
157 $localabout = $this->getConf('about'); //http://localhost/dokuwiki/doku.php?id=translation:about
159 …$localabout = $lc.':'.$this->getConf('about'); //http://localhost/dokuwiki/doku.php?id=en:translat…
166 $out .= html_wikilink($this->getConf('about'),'?');
181 if(!$this->istranslatable($ID)) return;
183 $this->checkage();
187 $rx = '/^'.$this->tns.'(('.join('|',$this->trans).'):)?/';
194 if ($this->getConf('description')){
195 $out .= '<span>'.$this->getLang('translations');
196 if ($this->getConf('showabout')) $out .= $this->showAbout();
200 if($this->getConf('dropdown')){ // use dropdown
218 foreach($this->trans as $t){
219 list($link,$name) = $this->buildTransID($t,$idpart);
223 if($this->getConf('dropdown2'))
225 $out .= $this->makecountrylink($LN, $idpart, $t, false);
258 if (!$this->getConf('description') && $this->getConf('showabout')) {
260 $out .= $this->showAbout();
268 if (!$this->getConf('description') && $this->getConf('showabout')) {
270 $out .= $this->showAbout();
274 foreach($this->trans as $t){
275 $out .= $this->makecountrylink($LN, $idpart, $t, true);
294 list($link,$name) = $this->buildTransID($t,$idpart);
319 … NULL && strlen($langflag[hsc($name)]) > 0 && $this->getConf('flags')) || $this->getConf('flags') …
386 if(!$this->getConf('checkage')) return;
388 $lng = $this->getLangPart($ID);
389 if($lng == $this->defaultlang) return;
391 $rx = '/^'.$this->tns.'(('.join('|',$this->trans).'):)?/';
395 list($orig,$name) = $this->buildTransID($this->defaultlang,$idpart);
414 $msg = sprintf($this->getLang('outdated'),wl($orig));
416 $msg .= sprintf(' '.$this->getLang('diff'),