Home
last modified time | relevance | path

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

1234

/dokuwiki/inc/
H A Dcompatibility.php13 * @param string $text
17 function ctype_space($text)
19 if (!is_string($text)) return false; #FIXME original treats between -128 and 255 inclusive as ASCII chars
20 if (trim($text) === '') return true;
29 * @param string $text
33 function ctype_digit($text)
35 if (!is_string($text)) return false; #FIXME original treats between -128 and 255 inclusive as ASCII chars
36 if (preg_match('/^\d+$/', $text)) return true;
16 ctype_space($text) global() argument
31 ctype_digit($text) global() argument
H A DMailer.class.php25 protected $text = '';
33 protected $replacements = ['text' => [], 'html' => []];
188 * Set the text and HTML body and apply replacements
196 * @param string $text plain text body
197 * @param array $textrep replacements to apply on the text part
199 * @param string $html the HTML body, leave null to create it from $text
202 public function setBody($text, $textrep = null, $htmlrep = null, $html = null, $wrap = true)
208 // create HTML from text if not given
210 $html = $text;
22 protected $text = ''; global() variable in Mailer
192 setBody($text, $textrep = null, $htmlrep = null, $html = null, $wrap = true) global() argument
267 setText($text) global() argument
[all...]
H A Dhttputils.php291 * @param string $text
293 function http_status($code = 200, $text = '')
336 if ($text == '' && isset($stati[$code])) {
337 $text = $stati[$code];
343 header("Status: {$code} {$text}", true);
345 header($server_protocol . " {$code} {$text}", true, $code);
347 header("HTTP/1.1 {$code} {$text}", true, $code);
285 http_status($code = 200, $text = '') global() argument
/dokuwiki/inc/parser/
H A Dcode.php20 * @param string $text
24 public function code($text, $language = null, $filename = '')
35 $text = str_replace("\n", "\r\n", $text);
39 header("Content-Type: text/plain; charset=utf-8");
42 echo trim($text, "\r\n");
52 * @param string $text
56 public function file($text, $language = null, $filename = '')
58 $this->code($text, $language, $filename);
19 code($text, $language = null, $filename = '') global() argument
50 file($text, $language = null, $filename = '') global() argument
H A Dmetadata.php14 * Some simplified rendering to $doc is done to gather the page's (text-only) abstract.
114 * Render plain text data
119 * @param $text
121 public function cdata($text)
127 $this->doc .= $text;
129 $this->captured += strlen($text);
139 * @param string $text the text to display
142 public function toc_additem($id, $text, $level)
151 'title' => $text,
116 cdata($text) global() argument
137 toc_additem($id, $text, $level) global() argument
160 header($text, $level, $pos) global() argument
287 preformatted($text) global() argument
315 file($text, $lang = null, $file = null) global() argument
327 code($text, $language = null, $file = null) global() argument
[all...]
H A Drenderer.php186 * @param string $text the text to display
189 public function toc_additem($id, $text, $level)
196 * @param string $text the text to display
200 public function header($text, $level, $pos)
221 * Render plain text data
223 * @param string $text
225 public function cdata($text)
429 * Output unformatted $text
177 toc_additem($id, $text, $level) global() argument
187 header($text, $level, $pos) global() argument
209 cdata($text) global() argument
390 unformatted($text) global() argument
399 preformatted($text) global() argument
421 file($text, $lang = null, $file = null) global() argument
431 code($text, $lang = null, $file = null) global() argument
[all...]
H A Dxhtmlsummary.php42 * @param string $text
47 public function header($text, $level, $pos, $returnonly = false)
50 $this->info['sum_pagetitle'] = $text;
54 $this->doc .= $this->_xmlEntities($text);
39 header($text, $level, $pos) global() argument
/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/lib/scripts/
H A Dtextselection.js63 * Inserts the given text at the current cursor position or replaces the current
67 * @param {string} text the new text to be pasted
71 * @param {boolean} opts.nosel set true if new text should not be selected
73 function pasteText(selection,text,opts){ argument
78 selection.obj.value.substring(0, selection.start) + text +
83 // Opera replaces \n by \r\n when inserting text.
84 selection.end = selection.start + text.replace(/\r?\n/g, '\r\n').length;
86 selection.end = selection.start + text.length;
113 var text
148 insertAtCarret(textAreaID, text) global() argument
[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_COOKIE_PARAM.secure});
59 var text, parts, i;
63 text = jQuery.cookie(this.name);
64 if(text){
65 parts = text.split('#');
/dokuwiki/inc/Utf8/
H A DAsian.php71 * Surround all Asian words in the given text with the given separator
73 * @param string $text Original text containing asian words
77 public static function separateAsianWords($text, $sep = ' ')
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;
87 * Split the given text into separate parts
78 separateAsianWords($text, $sep = ' ') global() argument
/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 = '';
30 $this->text .= "\n";
33 $this->text .= $call[1][0];
36 if (trim($this->text)) {
37 $this->callWriter->writeCall(['preformatted', [$this->text], $this->pos]);
9 protected $text =''; global() variable in dokuwiki\\Parsing\\Handler\\Preformatted
/dokuwiki/vendor/simplepie/simplepie/src/
H A DCaption.php49 * Handles `<media:text>` captions as defined in Media RSS.
93 * Caption text
98 public $text; variable in SimplePie\\Caption
106 public function __construct($type = null, $lang = null, $startTime = null, $endTime = null, $text = null) argument
112 $this->text = $text;
170 * Get the text of the caption
176 if ($this->text !== null) {
177 return $this->text;
186 * @return string|null Either 'text' o
[all...]
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DOptions.php9 * commands and even generates a help text from this setup.
75 * Sets the help text for the tool itself
85 * Sets the help text for the tools commands itself
110 * @param string $help help text
155 * @param string $help help text for this option
366 $text = '';
377 $text .= $this->colors->wrap('USAGE:', Colors::C_BROWN);
378 $text .= "\n";
379 $text .= ' ' . $this->bin;
382 $text
[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.php12 * @var string the actual text within the area
14 protected $text; variable in dokuwiki\\Form\\TextareaElement
18 * @param string $label The label text for this element
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;
H A Dstructure.less28 text-align: right;
35 text-align: right;
40 text-align: left;
H A D_fileuploader.css20 text-decoration: none;
42 text-align: center;
87 vertical-align: text-bottom;
95 .qq-upload-failed-text {
98 .qq-upload-fail .qq-upload-failed-text {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRC4.php245 * @param string $text
247 * @return string $text
249 private function crypt($text, $mode)
266 $len = strlen($text);
275 $text[$k] = $text[$k] ^ chr($keyStream[($ksj + $ksi) & 255]);
278 return $text;
316 _crypt($text, $mode) global() argument
/dokuwiki/inc/Extension/
H A DPluginInterface.php78 * @return string wiki text
144 * output text string through the parser, allows dokuwiki markup to be used
147 * @param string $text wiki markup to parse
151 public function render_text($text, $format = 'xhtml'); argument

1234