Home
last modified time | relevance | path

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

123

/plugin/translation3/
H A 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;
H A 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/
H A 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/
H A 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/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/
H A 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/autotranslation/
H A Daction.php192 $lc = $this->helper->getLangPart($id);
198 if(!$lc) return;
200 $conf['lang'] = $lc;
201 $event->data = $lc;
214 $lc = $this->helper->getBrowserLang();
215 if(!$lc) $lc = $conf['lang'];
226 $lc = $this->helper->getLangPart($ID);
232 if(!$lc) $lc = $_SESSION[DOKU_COOKIE]['translationlc'];
233 if(!$lc) return;
234 $this->locale = $lc;
[all …]
H A Dhelper.php170 function realLC($lc) { argument
172 if($lc) {
173 return $lc;
212 list($lc, $idpart) = $this->getTransParts($about);
234 list($lc, $idpart) = $this->getTransParts($id);
235 $lang = $this->realLC($lc);
238 if($t == $lc) continue; //skip self
260 list($lc, $idpart) = $this->getTransParts($INFO['id']);
261 $lang = $this->realLC($lc);
345 function getTransItem($lc, $idpart) { argument
[all …]
H A Dadmin.php52 list($lc, $idpart) = $helper->getTransParts($page["id"]);
/plugin/code2/
H A Dscript.js4lc,lcn,p='p',pf='pre',r=[];_Divs=0;if((l=d.length)){try{do{if((e=d[--l])&&(fc=e.firstChild)&&(fcn=…
H A 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
/plugin/translation/
H A Dhelper.php138 * @param string $lc argument
141 public function realLC($lc)
144 if ($lc) {
145 return $lc;
199 * Returns a list of (lc => link) for all existing translations of a page
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,
[all...]
H A Daction.php166 $lc = $this->helper->getBrowserLang();
168 [$translatedStartpage, ] = $this->helper->buildTransID($lc, $conf['start']);
189 foreach ($translations as $lc => $translation) {
192 'hreflang' => $lc,
H A Ddeleted.files141 flags/lc.gif
274 flags/more/lc.gif
/plugin/tindexmenu/
H A Dedit.js1lc=document.createElement("label");lc.innerHTML=i[g][0]+" ";if(i[g][1]){lc.title=i[g][1];h=documen…
H A 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/
H A Dindexing.php246 $lc = $trans->getLangPart($id);
247 $data['language'] = $trans->realLC($lc);
/plugin/abc2/abc-libraries/abc2svg/
H A 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" stroke-width="1" d="M',sf='" style="font-size:'+(font.size*.72).toFixed(1)+'px'
46 lc+=build_cell(cell,x,y,yl,hr)
56 line+=lc
H A 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/gchart/
H A Dsyntax.php182 case 'lc': # line graph
/plugin/code3/src/
H A 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/captcha/
H A Dhelper.php310 $lc = __DIR__ . '/lang/' . $conf['lang'] . '/audio/';
319 $file = $lc . $char . '.wav';
/plugin/a2s/
H A Ddemo.txt158 |[lc] |
167 [lc]: {"fill":"LemonChiffon","a2s:delref":true}
232 |[lc] |
241 [lc]: {"fill":"LemonChiffon","a2s:delref":true}
/plugin/bibtex/OSBib/format/
H A DBIBFORMAT.php104 $lc = $stylePath . strtolower($style) . "/" . strtoupper($style) . ".xml";
105 $styleFile = file_exists($uc) ? $uc : $lc;
/plugin/amcharts/assets/amcharts/plugins/export/libs/jszip/
H A Djszip.js8523 var lc; /* match length or unmatched char (if dist == 0) */
8531 lc = s.pending_buf[s.l_buf + lx];
8535 send_code(s, lc, ltree); /* send a literal byte */
8539 code = _length_code[lc];
8543 lc -= base_length[code];
8544 send_bits(s, lc, extra); /* send the extra length bits */
9060 function _tr_tally(s, dist, lc) argument
9070 s.pending_buf[s.l_buf + s.last_lit] = lc & 0xff;
9075 s.dyn_ltree[lc*2]/*.Freq*/++;
9084 s.dyn_ltree[(_length_code[lc]+LITERALS+1) * 2]/*.Freq*/++;

123