| /dokuwiki/_test/tests/inc/ |
| H A D | utf8_html.test.php | 10 $out = 'a'; 11 $this->assertEquals(\dokuwiki\Utf8\Conversion::toHtml($in),$out); 16 $out = 'a'; 17 $this->assertEquals(\dokuwiki\Utf8\Conversion::toHtml($in, true),$out); 22 $out = 'ü'; 23 $this->assertEquals(\dokuwiki\Utf8\Conversion::toHtml($in),$out); 28 $out = '♊'; 29 $this->assertEquals(\dokuwiki\Utf8\Conversion::toHtml($in),$out); 34 $out = '􀀁'; 35 $this->assertEquals(\dokuwiki\Utf8\Conversion::toHtml($in),$out); [all …]
|
| H A D | mail_quoted_printable_encode.test.php | 7 $out = 'hello'; 8 $this->assertEquals(mail_quotedprintable_encode($in),$out); 13 $out = "hello=20\r\nhello"; 14 $this->assertEquals(mail_quotedprintable_encode($in),$out); 19 $out = 'hello =C3=BCberl=C3=A4nge'; 20 $this->assertEquals(mail_quotedprintable_encode($in),$out); 25 …$out = "123456789 123456789 123456789 123456789 123456789 123456789 123456789 1234=\r\n56789 12345… 26 $this->assertEquals(mail_quotedprintable_encode($in,74),$out); 31 …$out = '123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789'; 32 $this->assertEquals(mail_quotedprintable_encode($in,0),$out); [all …]
|
| H A D | auth_nameencode.test.php | 12 $out = 'hey%24you'; 13 $this->assertEquals(auth_nameencode($in),$out); 18 $out = 'hey%22you'; 19 $this->assertEquals(auth_nameencode($in),$out); 24 $out = 'hey%27you'; 25 $this->assertEquals(auth_nameencode($in),$out); 30 $out = 'hey%5cyou'; 31 $this->assertEquals(auth_nameencode($in),$out); 36 $out = 'hey%20%24%20you%20%21%24%25%21%20foo%20'; 37 $this->assertEquals(auth_nameencode($in),$out); [all …]
|
| H A D | utf8_unicode.test.php | 10 $out = array(97); 11 $this->assertEquals(\dokuwiki\Utf8\Unicode::fromUtf8($in),$out); 16 $out = array(252); 17 $this->assertEquals(\dokuwiki\Utf8\Unicode::fromUtf8($in),$out); 22 $out = array(9802); 23 $this->assertEquals(\dokuwiki\Utf8\Unicode::fromUtf8($in),$out); 28 $out = array(1048577); 29 $this->assertEquals(\dokuwiki\Utf8\Unicode::fromUtf8($in),$out); 33 $out = 'a'; 35 $this->assertEquals(\dokuwiki\Utf8\Unicode::toUtf8($in),$out); [all …]
|
| H A D | httpclient_http.test.php | 20 $this->markTestSkipped('connection timed out'); 37 $this->markTestSkipped('connection timed out'); 54 $this->markTestSkipped('connection timed out'); 71 $this->markTestSkipped('connection timed out'); 88 $this->markTestSkipped('connection timed out'); 105 $this->markTestSkipped('connection timed out'); 122 $this->markTestSkipped('connection timed out'); 136 $this->markTestSkipped('connection timed out'); 141 $this->markTestSkipped('connection timed out'); 157 $this->markTestSkipped('connection timed out'); [all …]
|
| H A D | media_searchlist.test.php | 66 $out = ob_get_contents(); 68 return $out;
|
| /dokuwiki/_test/tests/conf/ |
| H A D | CascadeProtectedTest.php | 16 $out = "<?php\n/*\n * protected settings, cannot modified in the Config manager\n" . 18 $out .= "\$conf['title'] = 'Protected Title';\n"; 19 $out .= "\$conf['tagline'] = 'Protected Tagline';\n"; 20 $out .= "\$conf['plugin']['testing']['schnibble'] = 1;\n"; 21 $out .= "\$conf['plugin']['testing']['second'] = 'Protected setting';\n"; 23 file_put_contents(end($config_cascade['main']['protected']), $out);
|
| H A D | CascadeExtraDefaultsTest.php | 18 $out = "<?php\n/*\n * protected settings, cannot modified in the Config manager\n" . 20 $out .= "\$conf['title'] = 'New default Title';\n"; 21 $out .= "\$conf['tagline'] = 'New default Tagline';\n"; 22 $out .= "\$conf['plugin']['testing']['schnibble'] = 1;\n"; 23 $out .= "\$conf['plugin']['testing']['second'] = 'New default setting';\n"; 26 file_put_contents($file, $out);
|
| /dokuwiki/lib/plugins/config/_test/ |
| H A D | LoaderExtraDefaultsTest.php | 25 $out = "<?php\n/*\n * protected settings, cannot modified in the Config manager\n" . 27 $out .= "\$conf['title'] = 'New default Title';\n"; 28 $out .= "\$conf['tagline'] = 'New default Tagline';\n"; 29 $out .= "\$conf['plugin']['testing']['schnibble'] = 1;\n"; 30 $out .= "\$conf['plugin']['testing']['second'] = 'New default setting';\n"; 33 file_put_contents($file, $out);
|
| /dokuwiki/lib/plugins/config/_test/Setting/ |
| H A D | SettingTest.php | 31 * @param string $out The expected output (for conf[test]) 34 public function testOut($in, $out) { argument 39 $this->assertEquals($out, $setting->out('conf'));
|
| /dokuwiki/lib/plugins/config/core/ |
| H A D | Writer.php | 50 $out = ''; 53 $out .= $setting->out('conf', 'php'); 57 if ($out === '') { 60 $out = $this->getHeader() . $out; 62 fwrite($fh, $out);
|
| /dokuwiki/inc/ |
| H A D | template.php | 483 $out = '<a href="' . $url . '" '; 484 if ($more) $out .= ' ' . $more; 485 $out .= ">$name</a>"; 486 if ($return) return $out; 487 echo $out; 505 $out = '<bdi>' . html_wikilink($id, $name) . '</bdi>'; 506 if ($return) return $out; 507 echo $out; 555 $out = sprintf($data, 'button'); 565 $out = html_topbtn(); [all …]
|
| H A D | html.php | 835 $out = '<!-- TOC START -->' . DOKU_LF; 836 $out .= '<div id="dw__toc" class="dw__toc">' . DOKU_LF; 837 $out .= '<h3 class="toggle">'; 838 $out .= $lang['toc']; 839 $out .= '</h3>' . DOKU_LF; 840 $out .= '<div>' . DOKU_LF; 841 $out .= html_buildlist($toc, 'toc', 'html_list_toc', null, true); 842 $out .= '</div>' . DOKU_LF . '</div>' . DOKU_LF; 843 $out .= '<!-- TOC END -->' . DOKU_LF; 844 return $out; [all …]
|
| /dokuwiki/lib/plugins/config/core/Setting/ |
| H A D | Setting.php | 144 $out = str_replace(Configuration::KEYMARKER, "»", $this->key); 145 if ($url && !strstr($out, '»')) {//provide no urls for plugins, etc. 146 if ($out == 'start') { 148 return '<a href="https://www.dokuwiki.org/config:startpage">' . $out . '</a>'; 150 return '<a href="https://www.dokuwiki.org/config:' . $out . '">' . $out . '</a>'; 153 return $out; 253 public function out($var, $fmt = 'php') function in dokuwiki\\plugin\\config\\core\\Setting\\Setting 263 $out = '$' . $var . "['" . $this->getArrayKey() . "'] = $value;\n"; 265 return $out;
|
| H A D | SettingNumeric.php | 38 public function out($var, $fmt = 'php') function in dokuwiki\\plugin\\config\\core\\Setting\\SettingNumeric 43 $out = '$' . $var . "['" . $this->getArrayKey() . "'] = " . $local . ";\n"; 45 return $out;
|
| /dokuwiki/vendor/splitbrain/lesserphp/src/ |
| H A D | Lessc.php | 135 $out = ob_get_clean(); 137 return $out; 166 $out = $this->compile(file_get_contents($fname), $fname); 171 return file_put_contents($outFname, $out); 174 return $out; 362 protected function tryImport($importPath, $parentBlock, $out) argument 417 $this->compileImportedProps($top, $parentBlock, $out, $parser, $dir); 425 protected function compileImportedProps($props, $block, $out, $sourceParser, $importDir) argument 436 $this->compileProp($prop, $block, $out); 498 $out = $this->makeOutputBlock(null, $env->selectors); [all …]
|
| H A D | Parser.php | 395 protected function expression(&$out) argument 398 $out = $this->expHelper($lhs, 0); 405 $out = ['list', '', [$out, ['keyword', '/'], $rhs]]; 500 protected function parenValue(&$out) argument 513 $out = $exp; 580 protected function import(&$out) argument 589 $out = ['import', $value]; 595 protected function mediaQueryList(&$out) argument 598 $out = $list[2]; 604 protected function mediaQuery(&$out) argument [all …]
|
| /dokuwiki/inc/Utf8/ |
| H A D | Conversion.php | 133 $out = $bom ? "\xFE\xFF" : ''; 135 return $out . mb_convert_encoding($str, 'UTF-16BE', 'UTF-8'); 140 $out .= pack('n', $cp); 142 return $out;
|
| H A D | Unicode.php | 42 $out = []; 54 $out[] = $in; 144 $out[] = $mUcs4; 166 return $out;
|
| /dokuwiki/vendor/php81_bc/strftime/src/ |
| H A D | php-8.1-strftime.php | 130 …$out = preg_replace_callback('/(?<!%)%([_#-]?)([a-zA-Z])/', function ($match) use ($translation_ta… 165 $out = str_replace('%%', '%', $out); 166 return $out;
|
| /dokuwiki/vendor/splitbrain/lesserphp/src/Utils/ |
| H A D | Color.php | 103 $out = [ 110 if (count($color) > 4) $out[] = $color[4]; // copy alpha 111 return $out; 142 $out = ['color', $r * 255, $g * 255, $b * 255]; 143 if (count($color) > 4) $out[] = $color[4]; // copy alpha 144 return $out;
|
| /dokuwiki/vendor/simplepie/simplepie/src/ |
| H A D | File.php | 169 $out = "GET $get HTTP/1.1\r\n"; 170 $out .= "Host: $url_parts[host]\r\n"; 171 $out .= "User-Agent: $useragent\r\n"; 173 $out .= "Accept-Encoding: x-gzip,gzip,deflate\r\n"; 177 … $out .= "Authorization: Basic " . base64_encode("$url_parts[user]:$url_parts[pass]") . "\r\n"; 180 $out .= "$key: $value\r\n"; 182 $out .= "Connection: Close\r\n\r\n"; 183 fwrite($fp, $out);
|
| /dokuwiki/vendor/splitbrain/php-cli/src/ |
| H A D | TableFormatter.php | 206 $out = ''; 218 $out .= $chunk; 222 $out .= $this->border; 225 $out .= "\n"; 227 return $out;
|
| /dokuwiki/inc/HTTP/ |
| H A D | HTTPClient.php | 860 $out = ''; 862 $out .= $boundary . HTTP_NL; 864 $out .= 'Content-Disposition: form-data; name="' . urlencode($key) . '"' . HTTP_NL; 865 $out .= HTTP_NL; // end of headers 866 $out .= $val; 867 $out .= HTTP_NL; 869 $out .= 'Content-Disposition: form-data; name="' . urlencode($key) . '"'; 870 if ($val['filename']) $out .= '; filename="' . urlencode($val['filename']) . '"'; 871 $out .= HTTP_NL; 872 if ($val['mimetype']) $out .= 'Content-Type: ' . $val['mimetype'] . HTTP_NL; [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/ |
| H A D | AsymmetricKey.php | 539 $out = $v->toBytes(); 541 if (strlen($out) < $rolen) { 542 return str_pad($out, $rolen, "\0", STR_PAD_LEFT); 543 } elseif (strlen($out) > $rolen) { 544 return substr($out, -$rolen); 546 return $out;
|