Home
last modified time | relevance | path

Searched refs:lc (Results 1 – 25 of 71) sorted by relevance

123

/plugin/translation3/
Daction.php52 $lc = $this->hlp->getBrowserLang();
53 if(!$lc) $lc = $conf['lang'];
54 header('Location: '.wl($lc.':'.$conf['start'],'',true,'&'));
59 $lc = $this->hlp->getLangPart($ID);
62 if($ACT == 'show') $_SESSION[DOKU_COOKIE]['translationlc'] = $lc;
63 if(!$lc) $lc = $_SESSION[DOKU_COOKIE]['translationlc'];
64 if(!$lc) return;
66 if(file_exists(DOKU_INC.'inc/lang/'.$lc.'/lang.php')) {
67 require(DOKU_INC.'inc/lang/'.$lc.'/lang.php');
70 $conf['lang'] = $lc;
Dhelper.php138 $lc = '';
145 $lc = hsc($name);
147 if ($lc) break;
151 if(!$lc) $lc = $this->getBrowserLang();
154 if(!$lc) $lc = $conf['lang'];
156 if(!$lc) { //can't find language
159 …$localabout = $lc.':'.$this->getConf('about'); //http://localhost/dokuwiki/doku.php?id=en:translat…
/plugin/facebook/
Daction.php43 $lc = $conf['lang'];
44 $lc = str_replace('-','_',$lc);
45 $lc = str_replace('_pirate','_PI',$lc);
47 if(preg_match('/ ('.$lc.') /i',$fblocales,$match)){
49 }elseif(preg_match('/ ('.$lc.'_..) /i',$fblocales,$match)){
/plugin/translationbuddy/
Dsyntax.php115 $lc = 'en';
117 $lc = $ns;
127 $items[$lc][$ns][$page] = $date;
151 foreach ($items as $lc => $item) {
158 … $R->doc .= '<td rowspan="'.count($item).'" id="translationbuddy__'.$lc.'">'.$lc.'</td>';
159 $R->toc_additem('translationbuddy__'.$lc, $lc, $R->lastlevel+1);
161 $idx = ($ns=='-' ? ($lc=='en'?'-1':$lc) : ($lc=='en'?'':$lc.':').$ns);
182 … $R->doc .= '<a href="'.wl($lc.':'.$outdated[$itr]).'">'.$outdated[$itr].'</a> ';
192 … $func = create_function('$id' , "return '<a href=\"'.wl('$lc:'.\$id).'\">'.\$id.'</a>';");
204 $R->doc .= '<th>'.$lc.'</th>';
/plugin/autotranslation/
Daction.php189 $lc = $this->helper->getLangPart($id);
191 $lc = $_SESSION[DOKU_COOKIE]['translationlc'];
195 if(!$lc) return;
197 $conf['lang'] = $lc;
198 $event->data = $lc;
211 $lc = $this->helper->getBrowserLang();
212 if(!$lc) $lc = $conf['lang'];
213 $this->_redirect($lc.':'.$conf['start']);
223 $lc = $this->helper->getLangPart($ID);
227 $_SESSION[DOKU_COOKIE]['translationlc'] = $lc;
[all …]
Dhelper.php173 function realLC($lc) { argument
175 if($lc) {
176 return $lc;
215 list($lc, $idpart) = $this->getTransParts($about);
237 list($lc, $idpart) = $this->getTransParts($id);
238 $lang = $this->realLC($lc);
241 if($t == $lc) continue; //skip self
263 list($lc, $idpart) = $this->getTransParts($INFO['id']);
264 $lang = $this->realLC($lc);
348 function getTransItem($lc, $idpart) { argument
[all …]
Dadmin.php52 list($lc, $idpart) = $helper->getTransParts($page["id"]);
/plugin/davcal/action/
H A Djsinfo.php28 $lc = 'de';
31 $lc = 'nl';
34 $lc = 'fr';
37 $lc = 'ru';
40 $lc = 'en';
44 $JSINFO['plugin']['davcal']['language'] = $lc;
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/
DLessphpFilter.php91 $lc = new \lessc();
93 $lc->importDir = $dir;
97 $lc->addImportDir($loadPath);
101 $lc->registerFunction($name, $callable);
105 $lc->setFormatter($this->formatter);
109 $lc->setPreserveComments($this->preserveComments);
112 if (method_exists($lc, 'setOptions') && count($this->options) > 0 ) {
113 $lc->setOptions($this->options);
116 $asset->setContent($lc->parse($asset->getContent(), $this->presets));
/plugin/aichat/
DAbstractCLI.php45 $lc = $options->getOpt('lang');
46 if ($lc === 'auto') {
48 } elseif ($lc) {
51 $conf['lang'] = $lc;
DChunk.php165 $lc = $trans->realLC($trans->getLangPart($this->page));
167 $lc = $conf['lang'];
169 return $lc;
/plugin/code2/
Dsyntax_plugin_code.js105 lc, // the element's last child node
118 (lc = e.lastChild) &&
119 (lcn = lc.tagName.toLowerCase())) {
123 lc._PRE = fc; // link PRE to P
124 r[r.length] = lc;
128 fc._PRE = lc; // link PRE to P
Dscript.js4lc,lcn,p='p',pf='pre',r=[];_Divs=0;if((l=d.length)){try{do{if((e=d[--l])&&(fc=e.firstChild)&&(fcn=…
/plugin/translation/
Dhelper.php138 * @param string $lc
141 public function realLC($lc) argument
144 if ($lc) {
145 return $lc;
208 [$lc, $idpart] = $this->getTransParts($id);
211 if ($t == $lc) continue; //skip self
276 * @param string $lc The language code of the item
281 protected function prepareLanguageSelectorItem($lc, $idpart, $current) argument
283 [$target, $lang] = $this->buildTransID($lc, $idpart);
Daction.php166 $lc = $this->helper->getBrowserLang();
168 [$translatedStartpage, ] = $this->helper->buildTransID($lc, $conf['start']);
189 foreach ($translations as $lc => $translation) {
192 'hreflang' => $lc,
Ddeleted.files141 flags/lc.gif
274 flags/more/lc.gif
/plugin/tindexmenu/
Dedit.js1lc=document.createElement("label");lc.innerHTML=i[g][0]+" ";if(i[g][1]){lc.title=i[g][1];h=documen…
Dedit-full.js73 lc = document.createElement('label');
74 lc.innerHTML=checkboxes[key][0]+' ';
76 lc.title= checkboxes[key][1];
84 fo.appendChild(lc);
/plugin/elasticsearch/action/
Dindexing.php259 $lc = $trans->getLangPart($id);
260 $data['language'] = $trans->realLC($lc);
/plugin/abc2/abc-libraries/abc2svg/
Dgrid3-1.js8 function build_grid(){var i,k,l,line,bl,bar,w,hr,x0,x,y,yl,cl,cell,lc='',path='<path class="stroke"…
46 lc+=build_cell(cell,x,y,yl,hr)
56 line+=lc
Dgrid-1.js8 function build_grid(chords,bars,font,wmx){var i,k,l,nr,bar,w,hr,x0,x,y,yl,lc='',cells=[],nc=grid.n
/plugin/captcha/
Dhelper.php310 $lc = __DIR__ . '/lang/' . $conf['lang'] . '/audio/';
319 $file = $lc . $char . '.wav';
/plugin/code3/src/
Dtz.js1259 var lc = decodeHelper.decode(ls, lpos);
1260 if (lc != fc || decodeHelper.next != ls.length) {
1261 lc = null;
1277 if (lc) {
1283 if (lc) {
/plugin/a2s/
Ddemo.txt158 |[lc] |
167 [lc]: {"fill":"LemonChiffon","a2s:delref":true}
232 |[lc] |
241 [lc]: {"fill":"LemonChiffon","a2s:delref":true}
/plugin/bibtex/OSBib/format/
DBIBFORMAT.php104 $lc = $stylePath . strtolower($style) . "/" . strtoupper($style) . ".xml";
105 $styleFile = file_exists($uc) ? $uc : $lc;

123