Home
last modified time | relevance | path

Searched refs:text (Results 1 – 25 of 123) sorted by relevance

12345

/dokuwiki/_test/tests/lib/exe/
H A Dcss_css_compress.test.php8 $text = '/**
13 $this->assertEquals('', css_compress($text));
17 $text = '#comment/* */ {
20 $this->assertEquals('#comment/* */{color:lime;}', css_compress($text));
24 $text = '// this is a comment';
25 $this->assertEquals('', css_compress($text));
29 $text = '#foo {
32 $this->assertEquals('#foo{color:lime;}', css_compress($text));
36 $text = '#foo {
39 … $this->assertEquals('#foo{background-image:url(http://foo.bar/baz.jpg);}', css_compress($text));
[all …]
/dokuwiki/vendor/php81_bc/strftime/
H A D.gitattributes3 * text=auto
4 * text eol=lf
6 # Explicitly declare text files we want to always be normalized and converted
8 *.php text
9 *.default text
10 *.ctp text
11 *.sql text
12 *.md text
13 *.po text
14 *.js text
[all …]
/dokuwiki/vendor/openpsa/universalfeedcreator/
H A D.gitattributes1 *.txt text eol=lf
2 *.js text eol=lf
3 *.html text eol=lf
4 *.css text eol=lf
5 *.php text eol=lf
/dokuwiki/inc/parser/
H A Dcode.php20 * @param string $text
24 public function code($text, $language = null, $filename = '') argument
35 $text = str_replace("\n", "\r\n", $text);
42 echo trim($text, "\r\n");
52 * @param string $text
56 public function file($text, $language = null, $filename = '') argument
58 $this->code($text, $language, $filename);
H A Dmetadata.php123 public function cdata($text) argument
129 $this->doc .= $text;
131 $this->captured += strlen($text);
141 * @param string $text the text to display
144 public function toc_additem($id, $text, $level) argument
153 'title' => $text,
163 * @param string $text the text to display
167 public function header($text, $level, $pos) argument
170 $this->meta['title'] = $text;
174 $hid = $this->_headerToLink($text, true);
[all …]
H A Dxhtmlsummary.php42 * @param string $text
47 public function header($text, $level, $pos, $returnonly = false) argument
50 $this->info['sum_pagetitle'] = $text;
54 $this->doc .= $this->_xmlEntities($text);
/dokuwiki/lib/scripts/
H A Dtextselection.js73 function pasteText(selection,text,opts){ argument
78 selection.obj.value.substring(0, selection.start) + text +
84 selection.end = selection.start + text.replace(/\r?\n/g, '\r\n').length;
86 selection.end = selection.start + text.length;
113 var text = selection.getText();
117 if(text.charAt(text.length - 1) == ' '){
119 text = selection.getText();
122 if(!text){
124 text = sampleText;
137 text = tagOpen + text + tagClose;
[all …]
H A Dcookie.js22 var text = [],
36 text.push(encodeURIComponent(key)+'#'+encodeURIComponent(val));
39 …jQuery.cookie(this.name, text.join('#'), {expires: 365, path: DOKU_COOKIE_PARAM.path, secure: DOKU…
59 var text, parts, i;
63 text = jQuery.cookie(this.name);
64 if(text){
65 parts = text.split('#');
/dokuwiki/inc/Ui/
H A DPageConflict.php14 protected $text; variable in dokuwiki\\Ui\\PageConflict
20 * @param string $text wiki text
23 public function __construct($text = '', $summary = '') argument
25 $this->text = $text;
48 $form->setHiddenField('wikitext', $this->text);
60 … (new PageDiff($INFO['id']))->compareWith($this->text)->preference('showIntro', false)->show();
H A DPageView.php14 protected $text; variable in dokuwiki\\Ui\\PageView
19 * @param null|string $text wiki text or null for showing $ID
21 public function __construct($text = null) argument
23 $this->text = $text;
43 if ($this->text !== null || $REV) {
49 if ($this->text !== null) {
56 … $html = html_secedit(p_render('xhtml', p_get_instructions($this->text), $info), $secedit);
H A DPageDraft.php29 $text = $draft->getDraftText();
35 (new PageDiff($INFO['id']))->compareWith($text)->preference('showIntro', false)->show();
42 $form->setHiddenField('wikitext', $text);
/dokuwiki/inc/Utf8/
H A DAsian.php73 * @param string $text Original text containing asian words
77 public static function separateAsianWords($text, $sep = ' ') argument
80 $asia = @preg_replace('/(' . self::REGEXP . ')/u', $sep . '\1' . $sep, $text);
81 if (!is_null($asia)) $text = $asia; // recover from regexp falure
83 return $text;
/dokuwiki/_test/tests/inc/
H A Dcommon_stripsourcemaps.test.php7 $text = <<<EOL
23 stripsourcemaps($text);
26 $this->assertEquals($expect, $text);
/dokuwiki/inc/Action/
H A DRevert.php40 $text = '';
43 $text = rawWiki($ID, $REV);
44 if (!$text) throw new ActionException(); //something went wrong
49 if (checkwordblock($text)) {
54 saveWikiText($ID, $text, $sum, false);
H A DConflict.php36 $text = con($PRE, $TEXT, $SUF);
37 (new PageConflict($text, $SUM))->show();
/dokuwiki/inc/Parsing/Handler/
H A DPreformatted.php8 protected $text = ''; variable in dokuwiki\\Parsing\\Handler\\Preformatted
30 $this->text .= "\n";
33 $this->text .= $call[1][0];
36 if (trim($this->text)) {
37 $this->callWriter->writeCall(['preformatted', [$this->text], $this->pos]);
/dokuwiki/inc/
H A Dcompatibility.php13 * @param string $text
17 function ctype_space($text) argument
19 …if (!is_string($text)) return false; #FIXME original treats between -128 and 255 inclusive as ASCI…
20 if (trim($text) === '') return true;
29 * @param string $text
33 function ctype_digit($text) argument
35 …if (!is_string($text)) return false; #FIXME original treats between -128 and 255 inclusive as ASCI…
36 if (preg_match('/^\d+$/', $text)) return true;
H A DMailer.class.php25 protected $text = ''; variable in Mailer
196 * @param string $text plain text body
202 public function setBody($text, $textrep = null, $htmlrep = null, $html = null, $wrap = true) argument
210 $html = $text;
222 if (strpos($text, '@EMAILSIGNATURE@') === false) {
223 $text .= '@EMAILSIGNATURE@';
249 $text = str_replace('@' . strtoupper($key) . '@', $substitution, $text);
256 $this->setText($text);
278 * @param string $text
280 public function setText($text) argument
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DCaption.php97 public $text; variable in SimplePie\\Caption
105 … function __construct($type = null, $lang = null, $startTime = null, $endTime = null, $text = null) argument
111 $this->text = $text;
175 if ($this->text !== null) {
176 return $this->text;
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DOptions.php366 $text = '';
377 $text .= $this->colors->wrap('USAGE:', Colors::C_BROWN);
378 $text .= "\n";
379 $text .= ' ' . $this->bin;
382 $text .= $this->newline;
383 $text .= $this->colors->wrap(' ' . $command, Colors::C_PURPLE);
388 $text .= ' ' . $this->colors->wrap('<OPTIONS>', Colors::C_GREEN);
392 $text .= ' ' . $this->colors->wrap('<COMMAND> ...', Colors::C_PURPLE);
401 $text .= ' ' . $out;
403 $text .= $this->newline;
[all …]
/dokuwiki/lib/styles/
H A Dall.css54 .leftalign { text-align: left; }
55 .centeralign { text-align: center; }
56 .rightalign { text-align: right; }
57 [dir=rtl] .leftalign { text-align: left; }
58 [dir=rtl] .centeralign { text-align: center; }
59 [dir=rtl] .rightalign { text-align: right; }
64 text-decoration: underline;
/dokuwiki/inc/Form/
H A DTextareaElement.php14 protected $text; variable in dokuwiki\\Form\\TextareaElement
37 $this->text = cleanText($value);
40 return $this->text;
/dokuwiki/lib/tpl/dokuwiki/css/
H A D_forms.css22 text-align: right;
26 text-align: left;
31 text-align: left;
35 text-align: right;
49 text-align: center;
92 text-align: center;
96 text-align: left;
100 text-align: right;
/dokuwiki/_test/tests/Feed/
H A DFeedCreatorValidationTest.php48 $text = (string)$xml->xpath('//m:warnings/m:warninglist/warning/text')[0];
57 "Line $line: $text\n" .
66 $text = (string)$xml->xpath('//m:errors/m:errorlist/error/text')[0];
75 "Line $line: $text\n" .
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DSalsa20.php306 * @param string $text
310 private function crypt($text, $mode) argument
317 $text,
325 $blocks = str_split($text, 64);
341 $ciphertext = $text ^ Strings::shift($buffer['ciphertext'], strlen($text));
342 $text = substr($text, strlen($ciphertext));
343 if (!strlen($text)) {
348 $overflow = strlen($text) % 64; // & 0x3F
350 $text2 = Strings::pop($text, $overflow);
354 $buffer['counter'] += (strlen($text) >> 6) + 1; // ie. divide by 64
[all …]

12345