/plugin/htmlokay/ |
H A D | syntax.php | 111 if (preg_match('/<FORM(.*?)>/i', $match, $matches)) 133 elseif (preg_match('/<(DIV)/i', $match, $matches)) 146 elseif (preg_match('/<TABLE/i', $match, $matches)) 208 if (preg_match('/action/i', $matches[1])) 287 foreach($matches[1] as $index => $m) 306 if (isset($matches[1]) && !preg_match('/^htmlO_K_/', $matches[1])) 309 $value = rtrim($matches[1], ' ">'); 316 if (isset($matches[1]) && !preg_match('/^htmlO_K_/', $matches[1])) 319 $value = rtrim($matches[1], ' "'); 339 foreach($matches[1] as $index => $m) [all …]
|
/plugin/iframe/ |
H A D | syntax.php | 46 $matches=array(); 47 if(preg_match('/\[?(\d+(em|%|pt|px)?)\s*([,xX]\s*(\d+(em|%|pt|px)?))?\]?/',$param,$matches)){ 48 if(count($matches) > 3) { 50 $opts['width'] = $matches[1]; 51 if(!$matches[2]) $opts['width'] .= 'px'; //default to pixel when no unit was set 52 $opts['height'] = $matches[4]; 53 if(!$matches[5]) $opts['height'] .= 'px'; //default to pixel when no unit was set 54 }elseif (count($matches) > 1) { 56 $opts['height'] = $matches[1]; 57 if(!$matches[ [all...] |
/plugin/tagsections/syntax/ |
H A D | tag.php | 67 $matches = array(); 69 if ( preg_match_all($secLevelRegex, $renderer->doc, $matches, PREG_SET_ORDER) ) { 71 $matches = array_pop($matches); 75 $matches[2] = preg_replace("/(class=\")(.*?)/", "$1$tags $2", $matches[2]); 81 … = str_replace($matches[0], "<h{$matches[1]}{$matches[2]}{$matches[3]}$tagList{$matches[4]}{$match…
|
/plugin/mdpage/vendor/cebe/markdown/inline/ |
H A D | EmphStrongTrait.php | 37 …arker === '*' && preg_match('/^[*]{2}((?>\\\\[*]|[^*]|[*][^*]*[*])+?)[*]{2}/s', $text, $matches) || 38 $marker === '_' && preg_match('/^__((?>\\\\_|[^_]|_[^_]*_)+?)__/us', $text, $matches)) { 43 $this->parseInline($matches[1]), 45 strlen($matches[0]) 57 …' && preg_match('/^[*]((?>\\\\[*]|[^*]|[*][*][^*]+?[*][*])+?)[*](?![*][^*])/s', $text, $matches) || 58 …$marker === '_' && preg_match('/^_((?>\\\\_|[^_]|__[^_]*__)+?)_(?!_[^_])\b/us', $text, $matches)) { 60 if ($matches[1] === '' || $matches[1] === ' ') { 66 $this->parseInline($matches[1]), 68 strlen($matches[0])
|
/plugin/ckgdoku/action/ |
H A D | edit.php | 239 $matches[0] = str_replace('%%', 'DBLPERCENT',$matches[0]); 240 $matches[0] = str_replace('\\ ', 'DBLBACKSPLASH',$matches[0]); 241 $matches[0] = str_replace('|', 'NWPIPECHARACTER',$matches[0]); 268 $matches[1] = str_replace($needles, $replacements, $matches[1]); 407 $matches[2] = str_ireplace('<br/>',"",$matches[2]); 408 return $matches[1] . $matches[2] . "<br />"; 482 …if (!in_array('code', $matches[1]) && !in_array('file', $matches[1]) && !in_array('nowiki', $match… 1043 if(strpos($matches[0],"\n") !== false) return $matches[0]; 1156 …if($matches[3] && $matches[3] != 'inherit') { $str .= '<span style = "color:' . $matches[3] .'">';… 1157 …if($matches[1] && $matches[1] != 'inherit') { $str .= '<span style = "font-size:' . $matches[1] .'… [all …]
|
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/ |
H A D | CssRewriteFilter.php | 70 … $content = $this->filterReferences($asset->getContent(), function ($matches) use ($host, $path) { 71 …if (false !== strpos($matches['url'], '://') || 0 === strpos($matches['url'], '//') || 0 === strpo… 73 return $matches[0]; 76 if (isset($matches['url'][0]) && '/' == $matches['url'][0]) { 78 return str_replace($matches['url'], $host.$matches['url'], $matches[0]); 82 $url = $matches['url']; 97 return str_replace($matches['url'], implode('/', $parts), $matches[0]);
|
H A D | CssImportFilter.php | 44 $callback = function ($matches) use ($importFilter, $sourceRoot, $sourcePath) { 45 if (!$matches['url'] || null === $sourceRoot) { 46 return $matches[0]; 51 if (false !== strpos($matches['url'], '://')) { 53 list($importScheme, $tmp) = explode('://', $matches['url'], 2); 56 } elseif (0 === strpos($matches['url'], '//')) { 60 } elseif ('/' == $matches['url'][0]) { 62 $importPath = substr($matches['url'], 1); 65 $importPath = $matches['url']; 70 return $matches[0]; [all …]
|
/plugin/canvas/ |
H A D | canvas.php | 203 foreach ($matches as $match) { 213 foreach ($matches as $match) { 221 if (preg_match($pattern, $args, $matches)) { 222 if ($matches[4]) { 224 $arg['width'] = $matches[1]; 226 $arg['height'] = $matches[4]; 228 } elseif ($matches[2]) { 231 $arg[$singlekey] = $matches[1]; 233 } elseif ($matches[1]) { 235 $arg[$singlekey] = $matches[1].$unit; [all …]
|
/plugin/bureaucracy/helper/ |
H A D | fieldusers.php | 42 public function replacementValueCallback($matches) { argument 48 if (isset($matches[2]) && is_array($matches[2]) && count($matches[2]) == 2) { 49 return is_null($value) || $value === false ? $matches[0] : $value; 52 $attribute = isset($matches['attribute']) ? $matches['attribute'] : ''; 54 $delimiter = preg_match('/\(.*\)/s', $matches[0]) ? $matches['delimiter'] : ', '; 66 return $matches[0];
|
/plugin/formatplus2/syntax/ |
H A D | blockinsertplus.php | 66 if(preg_match("/^(.*) =(.*?) @(.*?)$/", $match, $matches)){ 67 $output = array(trim($matches[1]),trim($matches[2]),trim($matches[3])); 68 }elseif(preg_match("/^(.*) @(.*?) =(.*?)$/", $match, $matches)){ 69 $output = array(trim($matches[1]),trim($matches[3]),trim($matches[2])); 70 }elseif(preg_match("/^(.*) =(.*?)$/", $match, $matches)){ 71 $output = array(trim($matches[1]),trim($matches[2]),''); 72 }elseif(preg_match("/^(.*) @(.*?)$/", $match, $matches)){ 73 $output = array(trim($matches[1]),'',trim($matches[2]));
|
H A D | blockdeleteplus.php | 71 if(preg_match("/^(.*) =(.*?) @(.*?)$/", $match, $matches)){ 72 $output = array(trim($matches[1]),trim($matches[2]),trim($matches[3])); 73 }elseif(preg_match("/^(.*) @(.*?) =(.*?)$/", $match, $matches)){ 74 $output = array(trim($matches[1]),trim($matches[3]),trim($matches[2])); 75 }elseif(preg_match("/^(.*) =(.*?)$/", $match, $matches)){ 76 $output = array(trim($matches[1]),trim($matches[2]),''); 77 }elseif(preg_match("/^(.*) @(.*?)$/", $match, $matches)){ 78 $output = array(trim($matches[1]),'',trim($matches[2]));
|
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/ |
H A D | module.misc.pdf.php | 32 if (preg_match('#^%PDF-([0-9\\.]+)$#', rtrim($this->fgets()), $matches)) { 33 $info['pdf']['header']['version'] = floatval($matches[1]); 44 $info['pdf']['trailer']['startxref'] = intval($matches[1]); 72 if (preg_match('#^'.$objectNumber.' ([0-9]+) obj#', $line, $matches)) { 73 if (strlen($line) > strlen($matches[0])) { 75 $this->fseek($offset + strlen($matches[0])); 86 if (preg_match('#/Count ([0-9]+)#', $objectData, $matches)) { 87 $info['pdf']['pages'] = (int) $matches[1]; 130 if (preg_match('#^([0-9]+) ([0-9]+) ([nf])$#', $line, $matches)) { 131 $info['pdf']['xref']['offset'][($firstObjectNumber + $i)] = (int) $matches[1]; [all …]
|
/plugin/formatplus/syntax/ |
H A D | blockinsertplus.php | 66 if(preg_match("/^(.*) =(.*?) @(.*?)$/", $match, $matches)){ 67 $output = array(trim($matches[1]),trim($matches[2]),trim($matches[3])); 68 }elseif(preg_match("/^(.*) @(.*?) =(.*?)$/", $match, $matches)){ 69 $output = array(trim($matches[1]),trim($matches[3]),trim($matches[2])); 70 }elseif(preg_match("/^(.*) =(.*?)$/", $match, $matches)){ 71 $output = array(trim($matches[1]),trim($matches[2]),''); 72 }elseif(preg_match("/^(.*) @(.*?)$/", $match, $matches)){ 73 $output = array(trim($matches[1]),'',trim($matches[2]));
|
H A D | blockdeleteplus.php | 71 if(preg_match("/^(.*) =(.*?) @(.*?)$/", $match, $matches)){ 72 $output = array(trim($matches[1]),trim($matches[2]),trim($matches[3])); 73 }elseif(preg_match("/^(.*) @(.*?) =(.*?)$/", $match, $matches)){ 74 $output = array(trim($matches[1]),trim($matches[3]),trim($matches[2])); 75 }elseif(preg_match("/^(.*) =(.*?)$/", $match, $matches)){ 76 $output = array(trim($matches[1]),trim($matches[2]),''); 77 }elseif(preg_match("/^(.*) @(.*?)$/", $match, $matches)){ 78 $output = array(trim($matches[1]),'',trim($matches[2]));
|
/plugin/webcomics/ |
H A D | syntax.php | 28 if (preg_match('/(.*?)="(.*?)"/', $feed, $matches) == 1) { 29 if (!empty($matches[1]) && !empty($matches[2])) { 30 $key = strtoupper($matches[1]); 31 $this->comics[$key] = $matches[2]; 66 preg_match('/src="(.*?)"/', (string) $xml->channel->item->description, $matches); 68 $src = $matches[1]; 71 … if (preg_match('/title="(.*?)"/', (string) $xml->channel->item->description, $matches) == 1) { 72 $title = $matches[1]; 74 … if (preg_match('/alt="(.*?)"/', (string) $xml->channel->item->description, $matches) == 1) { 75 $alt = $matches[1];
|
/plugin/tagging/ |
H A D | syntax.php | 34 $matches = array(); 35 preg_match('/{{tagging::(\w+)(?:>([^}\?]+))?(\?[0-9]+)?}}/', $match, $matches); 36 $data['cmd'] = $matches[1]; 37 $data['limit'] = (int)ltrim($matches[3], '?'); 44 if (count($matches) > 2) { 45 $data['user'] = trim($matches[2]); 49 if (count($matches) > 2) { 50 $data['tag'] = trim($matches[2]); 54 if (count($matches) > 2) { 55 $data['ns'] = trim($matches[ [all...] |
/plugin/swiftmail/Swift/Plugin/ |
H A D | FileEmbedder.php | 317 protected function embedRemoteFile($matches) argument 331 return $matches[1] . $cid . $matches[4]; 337 return $matches[1] . $cid . $matches[4]; 345 return $matches[1] . $matches[3] . $matches[4]; 351 return $matches[1] . $id . $matches[4]; 359 protected function embedLocalFile($matches) argument 361 $path = realpath($matches[3]); 364 return $matches[1] . $matches[3] . $matches[4]; 376 return $matches[1] . $cid . $matches[4]; 382 return $matches[1] . $cid . $matches[4]; [all …]
|
/plugin/goto/ |
H A D | syntax.php | 39 $matches = explode("?", substr($match,7,-2)); 40 if($matches[0] == 'user') { 41 $matches[0] = "user"; // wildcard replaced in javascript goto_redirect() 45 else if (preg_match("#^\s*https?:\/\/#",$matches[0])) { 49 if (is_numeric($matches[1])){ 50 $seconds = $matches[1]; 52 else if(!is_numeric($matches[1]) && $is_extern) { 53 if (is_numeric($matches[2])){ 54 $seconds = $matches[2]; 56 $matches[0] .= '?' . $matches[1]; [all …]
|
/plugin/patchpanel/ |
H A D | syntax.php | 82 $optsin = $matches[0]; 85 if (preg_match("/^name=(.+)/",$o,$matches)) { 89 $opt['ports'] = $matches[1]; 91 $opt['rows'] = $matches[1]; 93 $opt['groups'] = $matches[1]; 95 $opt['rotate'] = $matches[1]; 97 $opt['switch'] = $matches[1]; 201 $item['port'] = $matches[0][0]; 205 $item['color'] = $matches[0][2]; 207 $item['comment'] = $matches[0][2]; [all …]
|
/plugin/bureaucracyau/helper/ |
H A D | fieldusers.php | 42 public function replacementValueCallback($matches) { argument 48 if (is_array($matches[2]) && count($matches[2]) == 2) { 49 return is_null($value) || $value === false ? $matches[0] : $value; 52 $attribute = isset($matches['attribute']) ? $matches['attribute'] : ''; 54 $delimiter = preg_match('/\(.*\)/s', $matches[0]) ? $matches['delimiter'] : ', '; 66 return $matches[0];
|
/plugin/bureaucracy-au/helper/ |
H A D | fieldusers.php | 42 public function replacementValueCallback($matches) { argument 48 if (is_array($matches[2]) && count($matches[2]) == 2) { 49 return is_null($value) || $value === false ? $matches[0] : $value; 52 $attribute = isset($matches['attribute']) ? $matches['attribute'] : ''; 54 $delimiter = preg_match('/\(.*\)/s', $matches[0]) ? $matches['delimiter'] : ', '; 66 return $matches[0];
|
/plugin/html2pdf/html2pdf/html2ps/ |
H A D | xhtml.tables.inc.php | 23 preg_match("#<[^>]+>$#",substr($html,0,$offset),$matches); 28 …$html = substr_replace($html, "<tr>".$matches[0], $offset - strlen($matches[0]), strlen($matches[0… 33 $r = process_row($html, $offset - strlen($matches[0]) + strlen("<tr>")); 69 preg_match("#<[^>]+>$#",substr($html,0,$offset),$matches); 74 …ple_html = substr_replace($html, "<colgroup>".$matches[0], $offset - strlen($matches[0]), strlen($… 77 return process_colgroup($html, $offset - strlen($matches[0]));
|
H A D | xhtml.autoclose.inc.php | 7 while (preg_match("#^(.*?)({$tags})#is", substr($sample_html, $offset),$matches)) { 9 $tag = strtolower($matches[3]); 11 $tag_start = $offset + strlen($matches[1]); 12 $tag_end = $tag_start + strlen($matches[2]); 38 if (preg_match("#^(.*?)<\s*({$tag})#is", $suffix, $matches)) { 39 $suffix = substr($suffix, strlen($matches[1])); 49 while (preg_match("#^(.*?)({$tags})#is", substr($sample_html, $offset),$matches)) { 51 $tag = strtolower($matches[3]); 53 $tag_start = $offset + strlen($matches[1]); 54 $tag_end = $tag_start + strlen($matches[2]);
|
/plugin/fedauth/Auth/OpenID/ |
H A D | Parse.php | 169 $matches = array(); 172 if ($result === false || !$matches) { 176 return $matches[0][1]; 181 $matches = array(); 184 if ($result === false || !$matches) { 188 return $matches[count($matches) - 1][1]; 206 $matches = array(); 211 return $matches[1]; 213 return $matches[1]; 351 if (!$matches) { [all …]
|
/plugin/openid/Auth/OpenID/ |
H A D | Parse.php | 173 $matches = []; 176 if ($result === false || !$matches) { 180 return $matches[0][1]; 185 $matches = []; 188 if ($result === false || !$matches) { 192 return $matches[count($matches) - 1][1]; 210 $matches = []; 215 return $matches[1]; 217 return $matches[1]; 348 if (!$matches) { [all …]
|