| /plugin/autostartpage/ |
| D | action.php | 40 $wikitext=io_readFile($templatefile); 45 if($ns_type === "pages" && $wikitext){ 78 $wikitext=preg_replace("/@NS@/", $ns, $wikitext); 79 $wikitext=preg_replace("/@!NS@/", ucfirst($goodns), $wikitext); 80 $wikitext=preg_replace("/@!!NS@/", ucwords($goodns), $wikitext); 81 $wikitext=preg_replace("/@!!NS!@/", strtoupper($goodns), $wikitext); 82 $wikitext=preg_replace("/@ID@/", $id, $wikitext); 83 $wikitext=preg_replace("/@PAGE@/",$page, $wikitext); 84 $wikitext=preg_replace("/@!PAGE@/",ucfirst($page), $wikitext); 85 $wikitext=preg_replace("/@!!PAGE@/",$uupage=ucwords($page), $wikitext); [all …]
|
| /plugin/mermaid/ |
| H A D | action.php | 31 private function lockMermaidDiagram(string $wikitext): string { argument 32 preg_match_all('/<mermaid.*?>(.*?)<\/mermaid>/s', $wikitext, $matches, PREG_OFFSET_CAPTURE); 36 …return substr($wikitext, 0, $whereToInsert) . "\n%%" . urldecode($_REQUEST['svg']) . "\n" . substr… 43 private function unlockMermaidDiagram(string $wikitext): string { argument 44 … $newWikitext = str_replace("\n%%" . urldecode($_REQUEST['svg']) . "\n", '', $wikitext, $count); 54 private function isWikiTextChanged(string $wikitext, string $newWikitext): bool { argument 55 return strlen($newWikitext) > 0 && $newWikitext !== $wikitext; 88 $wikitext = rawWiki($ID); 89 $newWikitext = $wikitext; 92 … preg_match_all('/<mermaid.*?>(.*?)<\/mermaid>/s', $wikitext, $matches, PREG_OFFSET_CAPTURE); [all …]
|
| /plugin/move/helper/ |
| D | handler.php | 43 public $wikitext = ''; variable in helper_plugin_move_handler 224 $this->wikitext .= $match; 228 $this->wikitext .= "[[$newNS:$match]]"; 231 $this->wikitext .= "[[$newID|$match]]"; 268 $this->wikitext .= $match; 271 $this->wikitext .= $match; 274 $this->wikitext .= $match; 277 $this->wikitext .= $match; 280 $this->wikitext .= $match; 302 $this->wikitext .= $match; [all …]
|
| /plugin/todo/ |
| H A D | action.php | 134 $wikitext = rawWiki($ID); 143 $todoTagStartPos = $this->_strnpos($wikitext, '<todo', $index); 144 $todoTagEndPos = strpos($wikitext, '>', $todoTagStartPos) + 1; 148 $todoTextEndPos = strpos( $wikitext, '</todo', $todoTagEndPos ); 149 … $todoText = substr( $wikitext, $todoTagEndPos, $todoTextEndPos-$todoTagEndPos ); 151 … $oldTag = substr($wikitext, $todoTagStartPos, ($todoTagEndPos - $todoTagStartPos)); 153 …$wikitext = substr_replace($wikitext, $newTag, $todoTagStartPos, ($todoTagEndPos - $todoTagStartPo… 158 …saveWikiText($ID, $wikitext, $this->getLang($checked?'checkboxchange_on':'checkboxchange_off').': … 171 … $newWikitext = preg_replace('/(<todo.*?)(\s+#[^>\s]*)(.*?>|\s.*?<\/todo>)/', '$1$3', $wikitext);
|
| /plugin/dokucrypt3/ |
| H A D | script.js | 29 var wikitext=document.getElementById('wiki__text'); 31 editform.parentNode.insertBefore(wikitext,editform); 35 hiddentext.value=wikitext.value; 46 var editform=null, wikitext=null, hiddentext=null, preview=null; 51 if(!(wikitext=document.getElementById('wiki__text'))) { 135 var wikitext=null, hiddentext=null; 136 if(!(wikitext=document.getElementById('wiki__text'))) { 140 if (wikitext.value.includes("<" + tag_pt)) 150 var wikitext = document.getElementById('wiki__text'); 168 var encrypted_text = encryptMixedText(wikitext.value); [all …]
|
| /plugin/dwtimeline/syntax/ |
| H A D | renderpagetimeline.php | 109 $wikitext = rawWiki($target); 110 if ($wikitext === null) { 116 $instr = p_get_instructions($wikitext); 148 $synthetic = $this->buildSyntheticTimeline($wikitext, $headers, $title, $milLevel, $align); 166 * @param string $wikitext Raw wikitext of the source page 174 string $wikitext, argument 180 $len = strlen($wikitext); // byte-based; header positions are byte offsets 200 $start = $this->lineEndAt($wikitext, (int)$h['pos'], $len); 210 $end = $this->lineStartAt($wikitext, $nextPos); 216 $section = $this->cutSection($wikitext, $start, $end);
|
| H A D | dwtimeline.php | 191 public function getLink(string $wikitext): string argument 193 $ins = p_get_instructions($wikitext); 253 if (preg_match('/\b(?:https?|ftp):\/\/\S+/i', $wikitext, $m)) { 256 if (preg_match('/^[\w.+-]+@[\w.-]+\.[A-Za-z]{2,}$/', trim($wikitext), $m)) {
|
| /plugin/dwspecialist/ |
| D | syntax.php | 184 $wikitext=""; 190 $wikitext.=$this->_render_special(array($action), $crlf, $listoffset, $prolog); 192 $wikitext.=$this->_render_special($actions, $crlf, " ".$listoffset, $prolog); 195 $wikitext.=$this->_render_special(array($action), $crlf, $listoffset, $prolog); 197 $wikitext.=$this->_render_special($actions, $crlf, " ".$listoffset, $prolog); 200 $wikitext.=$this->_render_special(array($action), $crlf, $listoffset, $prolog); 202 $wikitext.=$this->_render_special($actions, $crlf, " ".$listoffset, $prolog); 206 $wikitext.=$this->_render_special(array($action), $crlf, $listoffset, $prolog); 214 $this->dwspecialist_content.=$wikitext; //$renderer->_xmlEntities($match);
|
| /plugin/rtmchecklist/ |
| D | action.php | 94 $wikitext = "=== ".$this->getLang('Results')." ===\n"; 114 $wikitext .= $this->getLang('error_fill_email'); 129 $wikitext.= $this->getLang('checklist_sent'); 131 $wikitext.= $this->getLang('checklist_not_sent'); 133 …$wikitext.= "[[".htmlspecialchars($pageId)."|".$this->getLang('go_back_to').htmlspecialchars($page… 135 $ret = p_render('xhtml',p_get_instructions($wikitext),$info);
|
| /plugin/dwtimeline/_test/ |
| H A D | RenderPageTimelineTest.php | 26 $wikitext = <<<TXT 40 saveWikiText($srcId, $wikitext, 'setup'); 73 $wikitext = "====== Self test ======\n\n<dwtimeline page=$srcId />"; 74 saveWikiText($srcId, $wikitext, 'setup');
|
| /plugin/struct/_test/action/ |
| H A D | EditTest.php | 253 $wikitext = 'teststring'; 264 $request->setPost('wikitext', $wikitext); 268 $expected_wikitext = $wikitext; 343 $wikitext = 'teststring'; 356 $request->setPost('wikitext', $wikitext); 373 $request->setPost('wikitext', $wikitext); 406 $wikitext = 'teststring'; 419 $request->setPost('wikitext', $wikitext); 469 $wikitext = 'teststring'; 493 $request->setPost('wikitext', $wikitext); [all …]
|
| H A D | DiffTest.php | 34 $wikitext = 'teststring'; 47 $request->setPost('wikitext', $wikitext); 64 $request->setPost('wikitext', $wikitext);
|
| /plugin/combo/action/ |
| H A D | linkmove.php | 292 $handler->wikitext .= $match; 317 $handler->wikitext .= $match; 336 if (substr($handler->wikitext, -strlen($suffix)) === $suffix) { 337 … $handler->wikitext = substr($handler->wikitext, 0, strlen($handler->wikitext) - strlen($suffix));
|
| /plugin/stylingpages/ |
| D | action.php | 71 $wikitext = $event->data['newContent']; 72 $this->update($patterns, $wikitext); 80 public function update($patterns, $wikitext) argument 90 $instructions = p_get_instructions($wikitext);
|
| D | plugin.info.txt | 6 desc Allows users to change the css/js files of this plugin with wikitext.
|
| D | README | 3 Allows users to change the css/js files of this plugin with wikitext. 45 ===== Example wikitext =====
|
| /plugin/encryptedpasswords/script/ |
| D | EditorHandling.js | 31 const text = form.wikitext.value; 55 form.wikitext.value = await this.decryptSyntax(text, passphrase); 97 const text = e.target.form.wikitext.value; 124 e.target.form.wikitext.value = await this.encryptSyntax(text, passphrase);
|
| /plugin/dokubookmark/ |
| D | helper.php | 138 $wikitext = parseWikiIdTemplate($data['wikitpl'], $data); 140 $TEXT = $wikitext; 274 function printPost($targeturl, $path, $wikiid, $timestamp, $title, $wikitext) { argument 291 i0.value = '<?php echo implode('\n', explode("\n",str_replace("'","\\'",$wikitext)));?>';
|
| /plugin/blogtng/action/ |
| D | comments.php | 77 if($INPUT->post->has('wikitext')) { 78 $text = cleanText($INPUT->post->str('wikitext'));
|
| /plugin/translate/ |
| D | action.php | 256 $wikitext = "====== ".$title." ======".DOKU_LF.DOKU_LF; 257 …saveWikiText($id, $wikitext, $GLOBALS['lang']['created']); //$this->getLang('translation_created')… 368 $wikitext = "====== ".$target_title." ======".DOKU_LF.DOKU_LF; 369 saveWikiText($target_id, $wikitext, $this->getLang('translation_created'));
|
| /plugin/sql/ |
| D | syntax.php | 72 $wikitext = property('wikitext', $match); 75 …return array('urn' => $urn, 'wikitext' => $wikitext, 'display' => $display, 'position' => $positio…
|
| /plugin/chiplink/ |
| D | plugin.info.txt | 6 desc Provides automatic links to HTML reports on your server, by searching the wikitext.
|
| /plugin/ckgedit/ |
| D | locktimer.js | 72 dwform.elements.wikitext.value = CKEDITOR.instances.wiki__text.getData(); 74 params += '&wikitext='+encodeURIComponent(dwform.elements.wikitext.value);
|
| /plugin/dwinsect/ |
| D | syntax.php | 136 $this->wikitext=_get_linkfile($ns_file, $this->getConf('linklistname')); 146 if (preg_match($pattern, $this->wikitext, $section)) {
|
| /plugin/todo/syntax/ |
| H A D | list.php | 241 $wikitext = rawWiki($item['id']); //get wiki text 244 if(1 == preg_match('/~~NOTODO~~/', $wikitext)) return false; 246 …$item['count'] = preg_match_all($opts['pattern'], $wikitext, $matches); //count how many times app…
|