/plugin/oiddelegate/ |
H A D | admin.php | 57 if(preg_match('/<.*?(rel=["\']openid.server["\']).*?>/i',$data,$match)){ 58 if(preg_match('/href=["\'](.*?)["\']/i',$match[0],$match)){ 59 $new[2] = $match[1]; 62 if(preg_match('/<.*?(rel=["\']openid2.provider["\']).*?>/i',$data,$match)){ 63 if(preg_match('/href=["\'](.*?)["\']/i',$match[0],$match)){ 64 $new[3] = $match[1]; 67 if(preg_match('/<.*?(http-equiv=["\']X-XRDS-Location["\']).*?>/i',$data,$match)){ 68 if(preg_match('/content=["\'](.*?)["\']/i',$match[0],$match)){ 69 $new[4] = $match[1];
|
/plugin/geogebrembed/syntax/ |
H A D | ggb.php | 50 public function handle($match, $state, $pos, Doku_Handler $handler) { argument 54 if (substr($match, 0, 2) == '< ') { 56 $match = str_replace('< ggb', '<ggb', $match); 125 if (substr($match, 0, 2) == '{{') { 126 $path = ml(preg_replace('/^\{\{([^|]+).*\}\}$/', '\1', $match)); 130 else if (substr($match, 0, 3) == 'id:') { 131 $material_id = substr($match, 3); 134 … else if (preg_match('/^[A-Z0-9]{0,'.$this->getConf('config_threshold').'}$/i', $match)) { 135 $material_id = $match; 139 if (base64_decode($match, true)) { [all …]
|
/plugin/button/ |
H A D | syntax.php | 185 function handle($match, $state, $pos, Doku_Handler $handler) 195 if (preg_match('/\[\[{ *(?<image>[^}\|]*) *\|?(?<css>[^}]*)}(?<link>[^\]\|]*)\|?(?<title>[^\]]*)/', $match, $matches)) { 225 return array($state, $match); 240 list($state, $match) = $data; 244 if (is_array($match)) { 245 $image = $match['image']; 250 if ((substr($match['link'], 0, strlen($force_uri_prefix)) === $force_uri_prefix) || (preg_match('#^mailto:|^([a-z0-9\-\.+]+?)://#i', $match['link']))) { 252 $link['url'] = $match['link']; 263 $link['name'] = $match['titl 145 handle($match, $state, $pos, Doku_Handler $handler) global() argument [all...] |
/plugin/mediasyntax/syntax/ |
H A D | teletyper.php | 33 function handle($match, $state, $pos, Doku_Handler $handler) 35 dbglog("entering function ".__FUNCTION__.", match is $match, state is $state, pos is $pos"); 36 if ($state == DOKU_LEXER_UNMATCHED) return array($state,$match); 37 if ($state == DOKU_LEXER_ENTER) return array($state,$match); 38 if ($state == DOKU_LEXER_EXIT) return array($state,$match); 46 list($state,$match) = $data; 47 dbglog("state is $state, match is $match"); 51 if ($state==DOKU_LEXER_UNMATCHED) $renderer->doc .= $match; 44 handle($match, $state, $pos, Doku_Handler $handler) global() argument [all...] |
/plugin/googletrends/ |
H A D | syntax.php | 41 public function handle($match, $state, $pos, Doku_Handler $handler){ argument 42 $match = explode("|", preg_replace("/^.*?>(.*)}}$/", "$1", $match)); 44 $terms = preg_replace("/[^,a-zA-Z0-9 +]/", "", $match[0]); 50 if (isset($match[1])) { 51 if (preg_match("/hl=([a-z]{2})/", $match[1], $matches)) $data['hl'] = $matches[1]; 52 if (preg_match("/w=([0-9]+)/", $match[1], $matches)) $data['w'] = $matches[1]; 53 if (preg_match("/h=([0-9]+)/", $match[1], $matches)) $data['h'] = $matches[1];
|
/plugin/sectiontoggle/ |
H A D | syntax.php | 39 function handle($match, $state, $pos, Doku_Handler $handler){ argument 40 $match = substr($match,10,-2); 43 return array($state, $match); 52 list($state,$match) = $data; 55 if($match == 'buttons') { 60 elseif($match == 'openDIV') { 63 elseif($match == 'closeDIV') {
|
/plugin/tag/syntax/ |
H A D | tagpage.php | 45 * @param string $match The match of the syntax 51 function handle($match, $state, $pos, Doku_Handler $handler) { argument 53 $match = trim(substr($match, 10, -2)); // get given tag 54 $match = array_pad(explode('|', $match, 2), 2, ''); // split to tags, link name and options 55 $params['title'] = $match[1]; 56 [$tag, $flag] = array_pad(explode('&', $match[0], 2), 2, '');
|
/plugin/htmlmetatags/syntax/ |
H A D | syntax.php | 57 * @param string $match 58 * The match of the syntax 67 public function handle($match, $state, $pos, Doku_Handler $handler) { 69 $match = str_replace ( PHP_EOL, "", $match ); 72 $match = str_replace ( "{{htmlmetatags>", "", $match ); 73 $match = str_replace ( "}}", "", $match ); 75 // Explode match int 70 handle($match, $state, $pos, Doku_Handler $handler) global() argument [all...] |
/plugin/ditaa/ |
H A D | syntax.php | 56 * @param string $match The text matched by the patterns 80 $lines = explode("\n", $match); 85 if(preg_match('/\b(left|center|right)\b/i', $conf, $match)) $return['align'] = $match[1]; 86 if(preg_match('/\b(\d+)x(\d+)\b/', $conf, $match)) { 87 $return['width'] = $match[1]; 88 $return['height'] = $match[2]; 90 if(preg_match('/\b(\d+(\.\d+)?)X\b/', $conf, $match)) $return['scale'] = $match[1]; 91 if(preg_match('/\bwidth=([0-9]+)\b/i', $conf, $match)) $return['width'] = $match[1]; 92 if(preg_match('/\bheight=([0-9]+)\b/i', $conf, $match)) $return['height'] = $match[1]; 95 foreach($matches as $match) { [all …]
|
/plugin/judge/ |
H A D | syntax.php | 64 if (substr($match, 2, 10) == "scoreboard") { 68 $match = substr($match, 13, -2); 69 return $this->scoreboard_handle($match); 74 $match = substr($match, 8, -2); 75 return $this->judge_handle($match); 80 $match = substr($match, 13, -2); 81 return $this->judge_handle($match); 86 public function scoreboard_handle($match) argument 92 $parameters = explode(' ', $match); 98 public function judge_handle($match) argument [all …]
|
/plugin/codemirror/dist/modes/ |
H A D | pug.min.js | 1 …match(/^yield\b/)){return"keyword"}}function m(a){if(a.match(/^(?:doctype) *([^\n]+)?/)){return d}…
|
H A D | twig.min.js | 1 …match(d)){return"atom"}if(f.match(e)){return"number"}}if(g.sign){g.sign=false;if(f.match(d)){retur…
|
H A D | coffeescript.min.js | 1 …match("####")){a.skipToEnd();return"comment"}if(a.match("###")){b.tokenize=s;return b.tokenize(a,b…
|
H A D | textile.min.js | 1 …match(l("definitionListEnd"),false))b.spanningLayout=false}function d(a,c,d){if(d==="_"){if(a.eat(…
|
/plugin/avtaskbox/ |
H A D | syntax.php | 80 public function handle($match, $state, $pos, Doku_Handler $handler) argument 92 preg_match('/^Title:(.*?)$/isxm', $match, $matches); 95 preg_match('/^Priority:(.*?)$/isxm', $match, $matches); 98 preg_match('/^Estimate:(.*?)$/isxm', $match, $matches); 101 preg_match('/^Assigned:(.*?)$/isxm', $match, $matches); 104 preg_match('/^Progress:(.*?)$/isxm', $match, $matches); 107 preg_match('/Description:(.*)/isx', $match, $matches); 130 $match = $resultStr; 131 return array($state, $match); 149 list($state, $match) = $data; [all …]
|
/plugin/a2s/ |
H A D | syntax.php | 70 * @param string $match The match of the syntax 76 public function handle($match, $state, $pos, Doku_Handler $handler){ argument 80 preg_match( '/<( *)a2s( *)>/', $match, $spaces ); 95 $o = new dokuwiki\plugin\a2s\ASCIIToSVG($this->_prepare($match)); 127 function( $match ) { 129 $this->renderer->_resolveInterWiki($match[1],$match[2]) . 217 function( $match ) { 218 return '"a2s:link":"' . wl( cleanID($match[1]), '', true ) . '"'; 226 function( $match ) { 227 … return '"a2s:link":"<INTERWIKI><' . $match[1] . '><' . $match[2] . '>"';
|
/plugin/canvas/ |
H A D | canvas.php | 47 public function handle($match, $state, $pos, Doku_Handler $handler){ argument 66 return array($state, $match); 70 return array($state, $match); 92 $match = trim(substr($data, 8, -1)); 94 $match = trim(substr($data, 1, -1)); 96 list($ctype, $cid, $cparam) = explode(' ', $match, 3); 203 foreach ($matches as $match) { 204 $arg[$match[1]] = substr($match[2], 1, -1); // drop quates from value string 205 $args = str_replace($match[0], '', $args); // remove parsed substring 213 foreach ($matches as $match) { [all …]
|
/plugin/ckgdoku/syntax/ |
H A D | specials.php | 71 function handle($match, $state, $pos, Doku_Handler $handler){ argument 77 if(preg_match('/OPEN/', $match)) { 80 elseif(preg_match('/CLOSE/', $match)) { 83 …elseif(preg_match('/(TABLES|STYLING|AUTO_INTERNAL)/', $match)) { … 88 $match = str_replace('<div class="table">',"",$match); 89 $match = preg_replace('/<\/?code>/ms',"",$match); 90 return array($state, $match);
|
/plugin/ckgedit/syntax/ |
H A D | specials.php | 70 function handle($match, $state, $pos, Doku_Handler $handler){ argument 76 if(preg_match('/OPEN/', $match)) { 79 elseif(preg_match('/CLOSE/', $match)) { 82 …elseif(preg_match('/(TABLES|STYLING|AUTO_INTERNAL)/', $match)) { … 87 $match = str_replace('<div class="table">',"",$match); 88 $match = preg_replace('/<\/?code>/ms',"",$match); 89 return array($state, $match);
|
/plugin/chordsheets/ |
H A D | syntax.php | 29 public function handle($match, $state, $pos, Doku_Handler $handler){ argument 34 preg_match($re, $match, $matches, PREG_OFFSET_CAPTURE, 0); 40 case DOKU_LEXER_UNMATCHED : return array($state, $match); 42 case DOKU_LEXER_SPECIAL: return array($state, $match); 54 list($state,$match) = $data; 57 list($transpose) = $match; 64 $renderer->doc .= $renderer->_xmlEntities($match); 70 $renderer->doc .= '<span class="jtab">'.$match.'</span>';
|
/plugin/articlelinks/ |
H A D | syntax.php | 44 * @param string $match The match of the syntax 50 public function handle($match, $state, $pos, Doku_Handler $handler){ argument 52 $type = substr($match,1,strpos($match, '>')-1); 75 …$links .= substr($match,strpos($match, '>') + 1 , strpos($match, $endtag) - strpos($match, '>') -1…
|
/plugin/htmlokalt/ |
H A D | common.php | 31 function handle ($match, $state, $pos, Doku_Handler $handler) { argument 34 return array($state, $match); 37 $match= $this->html_sanitize($match, 'code'); 38 return array($state, $match); 41 return array($state, $match); 44 return array($state, $match);
|
/plugin/datatables/ |
H A D | syntax.php | 53 public function handle($match, $state, $pos, Doku_Handler $handler) 60 return [$state, $match]; 75 list($state, $match) = $data; 82 $xml = @simplexml_load_string(str_replace('>', '/>', $match)); 93 hsc($match) 112 $renderer->doc .= $match; 29 handle($match, $state, $pos, Doku_Handler $handler) global() argument
|
/plugin/dirtylittlehelper/syntax/ |
H A D | sidebar.php | 76 * @param string $match The match of the syntax 83 public function handle($match, $state, $pos, Doku_Handler $handler) argument 90 if ($match == '<dlh.togglesb>'){ 91 return array( $state, 'TOGGLESB',$match); 93 }elseif( $match == '<dlh.nosb>'){ 95 return array($state, 'NOSB',$match); 97 }elseif( $match == '<dlh.hidesb>'){ 98 return array($state, 'HIDESB',$match);
|
/plugin/diagram/syntax/ |
H A D | splitter.php | 131 * @param string $match 137 function handle ($match, $state, $pos, Doku_Handler $handler) argument 142 if ($match == "\n") 144 elseif ($match[strlen($match) - 1] == '=') 148 $abbr_and_params = trim(substr($match, 1, -1)); 161 $res['command'] = trim(substr($match, 1)); 165 $res['text'] = $match;
|