/plugin/ckgedit/ckeditor/plugins/shortcuts/ |
H A D | plugin.js.unc | 22 var text = get_selected_text(editor); 27 editor.insertHtml( '<div>' + text + '</div>' ); 38 var text = get_selected_text(editor); 39 write_header(editor,text,"1"); 48 write_header(editor,text,"2"); 57 write_header(editor,text,"3"); 66 write_header(editor,text,"4"); 75 write_header(editor,text,"5"); 93 var text = selection.getSelectedText(); 94 return text; [all …]
|
/plugin/latexit/ |
H A D | renderer.php | 794 $text = str_replace('”', '"', $text); 795 $text = str_replace('–', '-', $text); 1512 $text = str_replace("\"", "", $text); 1599 $text = $this->_stripDiacritics($text); 1600 $text = strtolower($text); 1601 $text = str_replace(" ", "_", $text); 1602 $text = $this->_removeMathAndSymbols($text); 1603 return $text; 1746 $text = $this->_removeMathAndSymbols($text); 1756 $text = preg_replace("#\$(.*)\$#", "", $text); [all …]
|
H A D | helper.php | 98 * @param string $text Text to be escaped. 101 static public function escape($text) { argument 103 preg_match('#///ENTITYSTART///(.*?)///ENTITYEND///#si', $text, $entity); 105 $text = str_replace( 108 $text); 110 $text = str_replace('\\textbackslash', '\textbackslash{}', $text); 112 $text = preg_replace('#///ENTITYSTART///(.*?)///ENTITYEND///#si', $entity[1], $text); 113 return $text;
|
/plugin/fedauth/Auth/OpenID/ |
H A D | HMAC.php | 25 function Auth_OpenID_SHA1($text) argument 32 return hash('sha1', $text, true); 35 $hex = sha1($text); 54 * @param string $text The message text to hash 57 function Auth_OpenID_HMACSHA1($key, $text) argument 66 return hash_hmac('sha1', $text, $key, true); 73 $hash1 = Auth_OpenID_SHA1(($key ^ $ipad) . $text, true); 81 function Auth_OpenID_SHA256($text) argument 84 return hash('sha256', $text, true); 95 function Auth_OpenID_HMACSHA256($key, $text) argument [all …]
|
/plugin/openid/Auth/OpenID/ |
H A D | HMAC.php | 25 function Auth_OpenID_SHA1($text) argument 32 return hash('sha1', $text, true); 35 $hex = sha1($text); 55 * @param string $text The message text to hash 58 function Auth_OpenID_HMACSHA1($key, $text) argument 67 return hash_hmac('sha1', $text, $key, true); 74 $hash1 = Auth_OpenID_SHA1(($key ^ $ipad) . $text); 82 function Auth_OpenID_SHA256($text) argument 85 return hash('sha256', $text, true); 96 function Auth_OpenID_HMACSHA256($key, $text) argument [all …]
|
/plugin/freechat/phpfreechat/src/ |
H A D | pfcurlprocessing.php | 18 function pfc_make_hyperlink($text) argument 28 $text = preg_replace('#(script|about|applet|activex|chrome):#is', "\\1:", $text); 31 $ret = ' ' . $text; 63 function pfc_undo_make_hyperlink($text) argument 65 …$text = preg_replace("#<!-- BBcode auto-mailto start --><a href=\"mailto:(.*?)\".*?>.*?</a><!-- BB… 66 …$text = preg_replace("#<!-- BBCode auto-link start --><a href=\"(.*?)\".*?>.*?</a><!-- BBCode auto… 68 return $text;
|
/plugin/header2/ |
H A D | syntax.php | 109 function _remove_html_tags($text) { argument 123 $displaytext = $text; // <= added 124 $text = htmlspecialchars_decode($this->_remove_html_tags($text),ENT_QUOTES); // <= added 125 if(!$text) return; //skip empty headlines 127 $hid = $renderer->_headerToLink($text,true); 130 $renderer->toc_additem($hid, $text, $level); 158 $displaytext = $text; // <= added 159 $text = $this->_remove_html_tags($text); // <= added 160 $hid = $renderer->_headerToLink($text,true); 169 if (!$text) return; //skip empty headlines [all …]
|
/plugin/upgrade/vendor/splitbrain/php-cli/src/ |
H A D | Options.php | 9 * 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...] |
/plugin/icalevents/vendor/sabre/vobject/resources/schema/ |
H A D | xcard.rng | 19 value-text = element text { text } 20 value-text-list = value-text+ 131 value-text 148 value-text-list 198 element text { "work" | "home" | "text" | "voice" 211 value-text 246 value-text 253 value-text 267 value-text-list 301 value-text-list [all …]
|
/plugin/webdav/vendor/sabre/vobject/resources/schema/ |
H A D | xcard.rng | 19 value-text = element text { text } 20 value-text-list = value-text+ 131 value-text 148 value-text-list 198 element text { "work" | "home" | "text" | "voice" 211 value-text 246 value-text 253 value-text 267 value-text-list 301 value-text-list [all …]
|
/plugin/aichat/vendor/vanderlee/php-sentence/src/ |
H A D | Sentence.php | 40 * List of replacements in the text. 47 * Generate an in-text replacement code for the specified index 59 * Clean floating point numbers by replace them with an in-text index 61 * @param string $text 65 private function replaceFloatNumbers(string $text) argument 67 preg_match_all('!\d+(?:\.\d+)?!', $text, $matches, PREG_OFFSET_CAPTURE); 78 $text = (string)substr_replace($text, $code, $offset, mb_strlen($number)); 83 return $text; 89 * @param string[] $text 93 restoreReplacements($text) global() argument 115 linebreakSplit($text) global() argument 407 split($text, $flags = 0) global() argument 463 count($text) global() argument [all...] |
/plugin/aichat/ |
H A D | Chunk.php | 15 * @param string $text 23 protected $text, 79 return $this->text; 83 * @param string $text 85 public function setText($text): void 87 $this->text = $text; 185 $data['text'], 198 'text' => $this->text, 12 protected $text; global() variable in dokuwiki\\plugin\\aichat\\Chunk 27 __construct($page, $id, $text, $embedding, $created = '', $score = 0) global() argument 80 setText($text) global() argument [all...] |
/plugin/refnotes/ |
H A D | rendering.php | 279 $text = $data->get('note-text', 'title'); 281 if (empty($text)) { 282 $text = $data->getLongest(); 286 $text = '[[' . $url . '|' . $text . ']]'; 289 return $text; 317 $html .= '<span id="' . $note->getAnchorName() . ':text">' . DOKU_LF; 346 $baseStyle = $this->getInlineReferenceStyle($reference, 'reference-base', 'text'); 417 $xmlOdt .= '<text [all...] |
/plugin/wysiwyg/fckeditor/editor/_source/internals/ |
H A D | fcktools.js | 89 if ( !text ) 92 text = text.replace( /&/g, '&' ) ; 93 text = text.replace( /</g, '<' ) ; 94 text = text.replace( />/g, '>' ) ; 96 return text ; 101 if ( !text ) 104 text = text.replace( />/g, '>' ) ; 105 text = text.replace( /</g, '<' ) ; 106 text = text.replace( /&/g, '&' ) ; 108 return text ; [all …]
|
/plugin/mdpage/vendor/cebe/markdown/inline/ |
H A D | LinkTrait.php | 50 protected function replaceEscape($text) argument 56 return strtr($text, $strtr); 70 'text' => $this->parseInline($text), 102 'text' => $text, 125 $text = $textMatches[1]; 139 $text, 148 $key = strtolower($text); 153 $text, 168 protected function parseLt($text) argument 170 if (strpos($text, '>') !== false) { [all …]
|
/plugin/displayfile/ |
H A D | syntax.php | 58 $text = 'CONTENT NOT SET'; 59 $error = $this->_validate($target, $title, $text); 70 list($text, $language, $title) = $data; 71 if (!$this->_isPhpFixRequired($text, $language)) 72 { $renderer->file($text, $language, $title); } 196 function _isPhpFixCandidate($text, $language) argument 199 function _isPhpFixRequired($text, $language) argument 201 if ($this->_isPhpFixCandidate($text, $language)) 267 $index = strpos($text, "\n"); 268 $line = substr($text, 0, $index); [all …]
|
/plugin/ifauthex/lib/ |
H A D | tokenizer.php | 24 function mb_preg_match($text, $matchRegex, $position=0) { argument 27 $textPiece = mb_substr($text, $position); 42 function sb_preg_match($text, $matchRegex, $position=0) { argument 91 public function tryMatch($text, $position) { argument 112 $this->_text = $text; 118 public function text() { return $this->_text; } function in AST\\TokenInstance 134 function tokenize($text, array $tokDefs, array $stripTokDefs) { argument 136 $textLen = mb_strlen($text); 138 $textLen = strlen($text); 146 $match = $tokDef->tryMatch($text, $position); [all …]
|
/plugin/struct/meta/ |
H A D | CSVPageImporter.php | 54 $text = pageTemplate($pid); 55 if (trim($text) === '') { 58 $text = "====== $pagename ======\n"; 84 $text = $this->evaluateIfNotEmptyTags($text, $keys, $flatValues); 85 $text = str_replace($keysAt, $flatValues, $text); 87 $text = str_replace($keysHash, $flatValues, $text); 88 saveWikiText($pid, $text, 'Create 104 evaluateIfNotEmptyTags($text, $keys, $values) global() argument [all...] |
/plugin/linkfix/_test/ |
H A D | linkfix.test.php | 27 $text = rawWiki('linkfix:linkfix'); 28 $this->assertRegExp('/linkfox:linkfix\|case 1/', $text); 39 $text = rawWiki('linkfix:linkfix'); 40 $this->assertRegExp('/http:\/\/www\.foogle\.com\|case 2/', $text); 51 $text = rawWiki('linkfix:linkfix'); 52 $this->assertRegExp('/\{\{ something:icon\.png \|case 3\}\}/', $text); 64 $text = rawWiki('linkfix:linkfix'); 65 $this->assertRegExp('/{{ http:\/\/www\.foogle\.com\/logo.png |case 4}}/', $text); 76 $text = rawWiki('linkfix:linkfix'); 77 $this->assertRegExp('/\\\\foobar\\share|case 5/', $text);
|
/plugin/combo/vendor/php-webdriver/webdriver/lib/ |
H A D | WebDriverSelectInterface.php | 58 * Select all options that display text matching the argument. That is, when given "Bar" this would 63 * @param string $text The visible text to match against. 67 public function selectByVisibleText($text); argument 70 * Select all options that display text partially matching the argument. That is, when given "Bar" this would 75 * @param string $text The visible text to match against. 79 public function selectByVisiblePartialText($text); argument 108 * Deselect all options that display text matching the argument. That is, when given "Bar" this would 113 * @param string $text Th 116 deselectByVisibleText($text) global() argument 127 deselectByVisiblePartialText($text) global() argument [all...] |
/plugin/purplenumbers/ |
H A D | renderer.php | 37 function header($text, $level, $pos, $returnonly = false) { argument 38 parent::header($text, $level, $pos); 83 function preformatted($text, $type='code') { argument 85 trim($this->_xmlEntities($text),"\n\r"). 98 function php($text, $wrapper='code') { argument 103 eval($text); 108 $code .= trim(p_xhtml_cached_geshi($text, 'php', false),"\n\r"); 113 $this->doc .= p_xhtml_cached_geshi($text, 'php', $wrapper); 117 function html($text, $wrapper='code') { argument 121 $this->doc .= $text; 133 _highlight($type, $text, $language = null, $filename = null) global() argument [all...] |
/plugin/findologicxmlexport/vendor/phpdocumentor/reflection-docblock/src/DocBlock/ |
H A D | Serializer.php | 76 $text = $this->removeTrailingSpaces( 85 if ($text) { 86 $comment .= "{$indent} * {$text}\n"; 101 private function removeTrailingSpaces($indent, $text) argument 103 return str_replace("\n{$indent} * \n", "\n{$indent} *\n", $text); 111 private function addAsterisksForEachLine($indent, $text) argument 113 return str_replace("\n", "\n{$indent} * ", $text); 123 …$text = $docblock->getSummary() . ((string)$docblock->getDescription() ? "\n\n" . $docblock->getDe… 126 $text = wordwrap($text, $wrapLength); 127 return $text; [all …]
|
/plugin/commonmark/vendor/league/commonmark/src/Normalizer/ |
H A D | TextNormalizer.php | 17 * Normalize text input using the steps given by the CommonMark spec to normalize labels 30 public function normalize(string $text, array $context = []): string 34 $text = \preg_replace('/[ \t\r\n]+/', ' ', \trim($text)); 35 \assert(\is_string($text)); 37 return \mb_convert_case($text, \MB_CASE_FOLD, 'UTF-8'); 36 normalize(string $text, $context = null) global() argument
|
/plugin/mathpublish/phpmathpublisher/ |
H A D | Helper.php | 430 $text = trim(stripslashes($text)); 431 switch ($text) { 460 $text = $symbols[$text]; 506 $text = $symbols[$text]; 561 $text = $symbols[$text]; 634 $text = $symbols[$text]; 714 $text = stripslashes($text); 716 $textHeight = 'dg' . $text; 742 $text = stripslashes($text); 751 $text = $symbols[$text]; [all …]
|
/plugin/blogtng/renderer/ |
H A D | comment.php | 30 * @param string $text the text to display 34 function header($text, $level, $pos, $returnonly = false) { argument 35 $this->cdata($text); 53 * @param string $text PHP code that is either executed or printed 58 function php($text, $wrapper='code') { argument 59 $this->doc .= p_xhtml_cached_geshi($text, 'php', $wrapper); 65 * @param string $text html text 70 function html($text, $wrapper='code') { argument 71 $this->doc .= p_xhtml_cached_geshi($text, 'html4strict', $wrapper);
|