Home
last modified time | relevance | path

Searched refs:str (Results 26 – 50 of 895) sorted by relevance

12345678910>>...36

/plugin/freechat/phpfreechat/lib/utf8/
H A Dutf8_substr.php18 function utf8_substr($str,$start,$len=null) { argument
21 $byte_start = @utf8_char2byte_pos($str,$start);
30 $str = substr($str,$byte_start);
33 $byte_end = @utf8_char2byte_pos($str,$len);
35 …return $len<0 ? '' : $str; // When length is less than zero and exceeds, then we return blank s…
37 return substr($str,0,$byte_end);
39 else return $str;
H A Dutf8_char2byte_pos.php14 function utf8_char2byte_pos($str,$pos) { argument
22 $i = strlen($str)-1;
26 for( ; strlen($str{$i}) && $n<$p; $i+=$d) {
27 $c = (int)ord($str{$i});
33 if (!strlen($str{$i})) return false; // offset beyond string length
37 while ((ord($str{$i}) & 0x80) && !(ord($str{$i}) & 0x40)) { $i++; }
/plugin/autlogin/
H A Dscript.js15 parseatt: function(str){ argument
16 if(str[0] == '?') str = str.substr(1);
18 var all = str.split('&');
31 hsc: function(str) { argument
32 str = str.replace(/&/g,"&amp;");
33 str = str.replace(/\"/g,"&quot;");
34 str = str.replace(/\'/g,"&#039;");
35 str = str.replace(/</g,"&lt;");
36 str = str.replace(/>/g,"&gt;");
37 return str;
/plugin/swiftmail/
H A Dadmin.php33 if($INPUT->str('to')) $mail->to($INPUT->str('to'));
34 if($INPUT->str('cc')) $mail->to($INPUT->str('cc'));
35 if($INPUT->str('bcc')) $mail->to($INPUT->str('bcc'));
63 $form->addElement(form_makeField('text', 'to', $INPUT->str('to'), 'To:', '', 'block'));
64 $form->addElement(form_makeField('text', 'cc', $INPUT->str('cc'), 'Cc:', '', 'block'));
65 $form->addElement(form_makeField('text', 'bcc', $INPUT->str('bcc'), 'Bcc:', '', 'block'));
/plugin/smtp/
H A Dadmin.php33 if($INPUT->str('to')) $mail->to($INPUT->str('to'));
34 if($INPUT->str('cc')) $mail->cc($INPUT->str('cc'));
35 if($INPUT->str('bcc')) $mail->bcc($INPUT->str('bcc'));
63 $form->addElement(form_makeField('text', 'to', $INPUT->str('to'), 'To:', '', 'block'));
64 $form->addElement(form_makeField('text', 'cc', $INPUT->str('cc'), 'Cc:', '', 'block'));
65 $form->addElement(form_makeField('text', 'bcc', $INPUT->str('bcc'), 'Bcc:', '', 'block'));
/plugin/pagemove/lang/cs/
H A Dpagemove.txt.txt3 Pomocí tohoto pluginu lze přesunout nebo přejmenovat aktuální stránku. Platí však jistá omezení:
5 * Nelze přesouvat titulní stránku.
6 * Musíte mít práva na danou stránku a na všechny, které se na ní odkazují.
7 * Tato stránka a na ni odkazující stránky nesmí být zamčené.
8 * Pro přesun stránky potřebujete práva pro zápis v cílovém místě.
9 * Nelze přesunout stránku někam, kde již existuje stránka stejného jména.
11 Všechny odkazy na a ze stránky budou upraveny podle nového umístění stránky.
/plugin/fedauth/Auth/Yadis/
H A DParseHTML.php74 * @param string $str The string in which to look for entities
77 function replaceEntities($str) argument
80 $str = preg_replace(sprintf("/&%s;/", $old), $new, $str);
85 $str = preg_replace('~&#x([0-9a-f]+);~ei', 'chr(hexdec("\\1"))', $str);
86 $str = preg_replace('~&#([0-9]+);~e', 'chr(\\1)', $str);
88 return $str;
96 * @param string $str The original string
100 function removeQuotes($str) argument
106 if (preg_match($double, $str, $matches)) {
108 } else if (preg_match($single, $str, $matches)) {
[all …]
/plugin/confmanager/
H A Dhelper.php138 * @param string $str
141 public function prepareEntity($str) { argument
142 $str = trim($str);
143 $str = str_replace("\n", '', $str);
144 $str = str_replace("\r", '', $str);
145 $str = str_replace('#', '\\#', $str);
146 return $str;
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Formatter/
H A DLineFormatter.php149 $str = $this->formatException($e);
157 return $str;
176 protected function replaceNewlines(string $str): string argument
179 if (0 === strpos($str, '{')) {
183 return $str;
186 return str_replace(["\r\n", "\r", "\n"], ' ', $str);
194 $str .= ' faultcode: ' . $e->faultcode;
198 $str .= ' faultactor: ' . $e->faultactor;
203 $str .= ' detail: ' . $e->detail;
212 $str .= "\n[stacktrace]\n" . $e->getTraceAsString() . "\n";
[all …]
/plugin/bpmnioeditor/action/
H A Dbpmnioeditor.php101 if(file_exists(mediaFN($INPUT->str('name')))){
107 if(strlen($INPUT->str('name')) > 0){
108 if(auth_quickaclcheck(cleanID(substr($INPUT->str('name'), 0, -5))) >= $checkFor){
114 …if(strlen($INPUT->str('name')) > 0 && strlen($INPUT->str('type')) > 0 && array_key_exists($INPUT->
115 …if(auth_quickaclcheck(cleanID(substr($INPUT->str('name'), 0, -5))) >= $authLookup[$INPUT->str('typ…
127 $ID = cleanID($INPUT->str('name'));
132 file_put_contents($conf['tmpdir'].'/'.$tmpFilename, $INPUT->str('newXML'));
135 'name' => $INPUT->str('name'),
/plugin/blogtng/action/
H A Dnew.php49 if(!$INPUT->str('new-title')){
55 $newId = $tools->mkpostid($INPUT->str('new-format'), $INPUT->str('new-title'));
60 'post-blog' => $INPUT->post->str('post-blog'),
61 'post-tags' => $INPUT->post->str('post-tags'),
62 'post-commentstatus' => $INPUT->post->str('post-commentstatus'),
63 'new-format' => $INPUT->post->str('new-format'),
64 'new-title' => $INPUT->post->str('new-title')
69 $TEXT = $this->prepareTemplateNewEntry($newId, $INPUT->str('new-title'));
H A Dajax.php39 $comment->setText($INPUT->post->str('text'));
40 $comment->setName($INPUT->post->str('name'));
41 $comment->setMail($INPUT->post->str('mail'));
42 $comment->setWeb($INPUT->post->str('web'));
47 if(!$comment->getName() && $INPUT->server->str('REMOTE_USER')){
48 if($auth AND $info = $auth->getUserData($INPUT->server->str('REMOTE_USER'))) {
54 $comment->output($INPUT->post->str('tplname'));
/plugin/superacl/
H A Dscript.js67 parseatt: function(str){ argument
68 if(str[0] == '?') str = str.substr(1);
70 var all = str.split('&');
83 hsc: function(str) { argument
84 str = str.replace(/&/g,"&amp;");
85 str = str.replace(/\"/g,"&quot;");
86 str = str.replace(/\'/g,"&#039;");
87 str = str.replace(/</g,"&lt;");
88 str = str.replace(/>/g,"&gt;");
89 return str;
/plugin/davcard/vendor/sabre/vobject/lib/Property/
H A DText.php228 $str = $this->name;
235 $str.=';' . $param->serialize();
245 $str.=';ENCODING=QUOTED-PRINTABLE:';
246 $lastLine=$str;
272 $str.=':' . $val;
274 while(strlen($str)>0) {
275 if (strlen($str)>75) {
276 $out.= mb_strcut($str,0,75,'utf-8') . "\r\n";
277 $str = ' ' . mb_strcut($str,75,strlen($str),'utf-8');
279 $out.=$str . "\r\n";
[all …]
/plugin/webdavclient/vendor/sabre/vobject/lib/Property/
H A DText.php228 $str = $this->name;
235 $str.=';' . $param->serialize();
245 $str.=';ENCODING=QUOTED-PRINTABLE:';
246 $lastLine=$str;
272 $str.=':' . $val;
274 while(strlen($str)>0) {
275 if (strlen($str)>75) {
276 $out.= mb_strcut($str,0,75,'utf-8') . "\r\n";
277 $str = ' ' . mb_strcut($str,75,strlen($str),'utf-8');
279 $out.=$str . "\r\n";
[all …]
/plugin/davcal/vendor/sabre/vobject/lib/Property/
H A DText.php228 $str = $this->name;
235 $str.=';' . $param->serialize();
245 $str.=';ENCODING=QUOTED-PRINTABLE:';
246 $lastLine=$str;
272 $str.=':' . $val;
274 while(strlen($str)>0) {
275 if (strlen($str)>75) {
276 $out.= mb_strcut($str,0,75,'utf-8') . "\r\n";
277 $str = ' ' . mb_strcut($str,75,strlen($str),'utf-8');
279 $out.=$str . "\r\n";
[all …]
/plugin/loglog/
H A Daction.php126 $page = $INPUT->str('page');
232 $this->logAdmin([$INPUT->str('act') . ' ' . $INPUT->str('ext')], 'extension');
246 if ($INPUT->str('page') === 'config'
254 if ($INPUT->str('page') === 'extension') {
262 } elseif ($INPUT->post->str('installurl')) {
270 if ($INPUT->str('page') === 'acl' && $INPUT->has('cmd')) {
271 $cmd = $INPUT->extract('cmd')->str('cmd');
278 'ns' => $INPUT->str('ns'),
279 'acl_t' => $INPUT->str('acl_t'),
280 'acl_w' => $INPUT->str('acl_w'),
[all …]
/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/
H A DSimpleTokenParser.php97 public static function parseGrammar($str, $main = true) argument
108 while ($cursor < strlen($str)) {
109 if (preg_match('/\s+/A', $str, $match, null, $cursor)) {
111 } elseif (preg_match('/<(\w+)(?:\:(\w+))?>/A', $str, $match, null, $cursor)) {
118 } elseif (preg_match('/\w+/A', $str, $match, null, $cursor)) {
121 } elseif (preg_match('/,/A', $str, $match, null, $cursor)) {
124 } elseif (preg_match('/\[/A', $str, $match, null, $cursor)) {
126 $grammar->addGrammar(self::parseGrammar($str, false));
127 } elseif (true !== $main && preg_match('/\]/A', $str, $match, null, $cursor)) {
132 …or_Runtime(sprintf('Unable to parse grammar "%s" near "...%s..."', $str, substr($str, $cursor, 10)…
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Utils/
H A DUtfString.php12 * @param string $str
17 public static function strcode2utf($str, $lo = true) argument
19 $str = preg_replace_callback('/\&\#(\d+)\;/m', function ($matches) use ($lo) {
21 }, $str);
22 $str = preg_replace_callback('/\&\#x([0-9a-fA-F]+)\;/m', function ($matches) use ($lo) {
24 }, $str);
26 return $str;
/plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/
H A DQuery.php15 * @param string $str Query string to parse
20 public static function parse($str, $urlEncoding = true) argument
24 if ($str === '') {
37 $decoder = function ($str) {
38 return $str;
42 foreach (explode('&', $str) as $kvp) {
80 $encoder = function ($str) {
81 return $str;
/plugin/icalevents/vendor/sabre/vobject/lib/Property/
H A DText.php230 $str = $this->name;
231 if ($this->group) $str = $this->group . '.' . $this->name;
237 $str .= ';' . $param->serialize();
247 $str .= ';ENCODING=QUOTED-PRINTABLE:';
248 $lastLine = $str;
274 $str .= ':' . $val;
276 while (strlen($str) > 0) {
277 if (strlen($str) > 75) {
279 $str = ' ' . mb_strcut($str, 75, strlen($str), 'utf-8');
281 $out .= $str . "\r\n";
[all …]
/plugin/xcom/scripts/
H A DsafeFN_class.js157 var str = new Array();
159 str[i] = this.code2utf(unic[i]);
162 return this.utf8Decode(str.join(''));
195 var str = new Array();
205 if (code < 128) str[j++]= this.chr(code);
206 else if (code < 224) str[j++] = this.chr(((code-192)<<6) + (code2-128));
211 return str.join('');
217 var str = new Array();
223 str[j++]= utf8str.substr(0, pos) + this._utf8Decode(tmpStr);
227 str[j++] = utf8str;
[all …]
/plugin/tindexmenu/
H A Dindexmenu-full.js105 var str = '';
118 str += '>';
143 return str;
178 return str;
184 return str;
219 (node.hns) ? str += node.hns : str += node.dokuid;
230 str += '</div>';
242 return str;
272 return str;
430 if (str) {
[all …]
/plugin/indexmenu/scripts/
H A Dindexmenu.js203 let str = '';
206 str += '<div id="cdtree_' + this.treeName + '" class="dtree" style="position:relative;overflow:hidden;width:100%;">';
208 str += '<div id="dtree_' + this.treeName + '" class="dtree ' + this.config.theme + '" style="overflow:';
210 str += 'visible;position:relative;width:100%"';
212 str += 'hidden;"';
214 str += '>';
216 str += '<div class="error">Indexmenu id conflict</div>';
219 str += '<div id="t' + this.treeName + '" class="indexmenu_tocbullet ' + this.config.theme + '" style="display:none;" title="Table of contents"></div>';
220 str += '<div id="toc_' + this.treeName + '" style="display:none;"></div>';
225 str
[all...]
/plugin/geophp/vendor/funiq/geophp/src/Adapter/
H A DKML.php286 $str = '<' . $this->nss . "Point>\n<" . $this->nss . 'coordinates>';
288 $str .= "0,0";
290 $str .= $geometry->x() . ',' . $geometry->y() . ($geometry->hasZ() ? ',' . $geometry->z() : '');
292 return $str . '</' . $this->nss . 'coordinates></' . $this->nss . "Point>\n";
306 $str = '<' . $this->nss . $type . ">\n";
309 $str .= '<' . $this->nss . 'coordinates>';
313 $str .= ' ';
315 $str .= $comp->x() . ',' . $comp->y();
319 $str .= '</' . $this->nss . 'coordinates>';
322 $str
[all...]

12345678910>>...36