/plugin/pagetemplater/ |
H A D | action.php | 47 $replace = $INFO['meta']['templater']; 48 unset($replace['page']); 49 $replace['content'] = $event->data; 50 $replace['page'] = $ID; 51 $replace['namespace'] = getNS($ID); 54 foreach (array_keys($replace) as $key) { 58 $replace[$key] = p_render('xhtml', p_get_instructions($replace[$key]),$info); 60 $new = str_replace('@@' . strtoupper(trim($rkey)) . '@@', $replace[$key], $template); 61 …w = str_replace(urlencode('@@') . strtoupper(trim($rkey)) . urlencode('@@'), $replace[$key], $new);
|
/plugin/ckgedit/ |
H A D | script.js | 49 match = match.replace(/msword/,""); 66 text = text.replace(/<\/?div.*?>/gm,""); 67 text = text.replace(/<code>/gm,""); 69 text = text.replace(/</gm,"<"); 70 text = text.replace(/<\//gm,">"); 115 match[0].replace( endTag, parseEndTag ); 125 match[0].replace( startTag, parseStartTag ); 142 text = text.replace(/<!--(.*?)-->/g, "$1") 143 .replace(/<!\[CDATA\[(.*?)]]>/g, "$1"); 181 rest.replace(attr, function(match, name) { [all …]
|
/plugin/task/ |
H A D | action.php | 102 $replace = array( 113 $replace['@BACK@'] = $data['back']; 114 $replace['@TITLE@'] = $data['title']; 115 $replace['@PRIORITY@'] = $data['priority']; 119 $replace['@TAG@'] = "\n\n{{tag>}}"; 121 $replace['@TAG@'] = ''; 126 $replace['@DISCUSSION@'] = "~~DISCUSSION~~"; 128 $replace['@DISCUSSION@'] = ''; 132 $tpl = str_replace(array_keys($replace), array_values($replace), $tpl);
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Compute/ |
H A D | HttpHeaderOption.php | 33 public $replace; variable in Google\\Service\\Compute\\HttpHeaderOption 66 public function setReplace($replace) argument 68 $this->replace = $replace; 75 return $this->replace;
|
/plugin/blog/ |
H A D | action.php | 140 $replace = array( 151 $replace['@TITLE@'] = $data['title']; 156 $replace['@TAG@'] = "\n\n{{tag>}}"; 158 $replace['@TAG@'] = ''; 164 $replace['@DISCUSSION@'] = "~~DISCUSSION~~"; 166 $replace['@DISCUSSION@'] = ''; 172 $replace['@LINKBACK@'] = "~~LINKBACK~~"; 174 $replace['@LINKBACK@'] = ''; 177 // do the replace 178 return str_replace(array_keys($replace), array_value [all...] |
/plugin/preservefilenames/ |
H A D | script.js | 50 params = params.replace( 74 filename = filename.replace(/\{/g, '(').replace(/\}/g, ')'); 131 filename_orig = filename_orig.replace(/\{/g, '('); 132 filename_orig = filename_orig.replace(/\}/g, ')'); 139 eval('media_manager.list = ' + media_manager.list.toString().replace( 146 eval('media_manager.select = ' + media_manager.select.toString().replace( 153 eval('media_manager.insert = ' + media_manager.insert.toString().replace(
|
/plugin/ckgedit/ckeditor/plugins/tags/dialogs/ |
H A D | tags.js | 1 …replace(/<[^<>]*>/g,"").replace(/>/g,">");var o=(/\{\{tag>.*?\}\}/g);var n=o.exec(l);var m=[];v…
|
/plugin/tablelayout/_jstest/ |
H A D | freezeRows.tests.js | 37 var actual_html = $fixture.html().replace(/\s\s+/g, ' ').trim(); 40 actual_html = actual_html.replace(new RegExp(actual_width+'px','g'), 'px'); 42 expected_html = expected_html.replace(new RegExp(expected_width+'px','g'), 'px'); 45 actual_html = actual_html.replace(actual_height+'px', 'px'); 47 expected_html = expected_html.replace(expected_height+'px', 'px'); 52 assert.deepEqual(actual_html, expected_html.replace(/\s\s+/g, ' ').trim(), 'html is ok');
|
H A D | floatTable.tests.js | 32 var actual_html = $fixture.html().replace(/\s\s+/g, ' ').trim(); 34 assert.deepEqual(actual_html, expected_html.replace(/\s\s+/g, ' ').trim(), 'html is ok'); 61 var actual_html = $fixture.html().replace(/\s\s+/g, ' ').trim(); 63 assert.deepEqual(actual_html, expected_html.replace(/\s\s+/g, ' ').trim(), 'html is ok');
|
/plugin/ckgdoku/scripts/ |
H A D | script-cmpr.js | 1 …replace(/~~OPEN_HTML_BLOCK~~/gm,"~~START_HTML_BLOCK~~");m=m.replace(/~~END_HTML_BLOCK~~/gm,"~~CLOS…
|
/plugin/ckgdoku/ |
H A D | script.js | 50 text = text.replace(/<\/?div.*?>/gm,""); 51 text = text.replace(/<code>/gm,""); 52 text = text.replace(/<\/code>/gm,""); 53 text = text.replace(/</gm,"<"); 54 text = text.replace(/<\//gm,">"); 91 match[0].replace( endTag, parseEndTag ); 101 match[0].replace( startTag, parseStartTag ); 118 text = text.replace(/<!--(.*?)-->/g, "$1") 119 .replace(/<!\[CDATA\[(.*?)]]>/g, "$1"); 157 rest.replace(attr, function(match, name) { [all …]
|
/plugin/wysiwyg/fckeditor/editor/_source/ |
H A D | fckjscoreextensions.js | 72 replaced = replaced.replace( searchArray[i], replaceArray[i] ) ; 117 return this.replace( /(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '' ) ; 123 return this.replace( /^[ \t\n\r]*/g, '' ) ; 129 return this.replace( /[ \t\n\r]*$/g, '' ) ; 134 return this.replace( /\n/g, replacement ) ; 141 return this.replace( regExp, 148 return this.replace( regExp, replacement ) ;
|
/plugin/diagramsnet/lib/plugins/ |
H A D | sql.js | 140 … var foreignKey = foreignKeySQL.replace("FOREIGN KEY (", '').replace(")", '').replace(" ", ''); 189 var foreignKey = foreignKeySQL.replace("FOREIGN KEY (", '').replace(")", ''); 302 name = name.replace('[dbo].[', ''); 303 name = name.replace('](', ''); 304 name = name.replace('].[', '.'); 305 name = name.replace('[', ''); 308 name = name.replace(' [', ''); 309 name = name.replace('] ', ''); 328 name = name.replace(' ', ''); 454 var primaryKey = name.replace('PRIMARY KEY (', '').replace(')', ''); [all …]
|
/plugin/indexmenu2/cms/extensions/ |
H A D | stringextensions.js | 10 …replace(i,"");};String.prototype.rtrim=function(i){i=new RegExp("("+(i?RegExp.escape(i):"\\s")+")+…
|
/plugin/diagramsnet/lib/math/jax/output/HTML-CSS/fonts/STIX/ |
H A D | fontdata-1.0.js | 19 …,d){var e="STIX"+f.replace(/\/[^\/]*$/,"").replace(/\//,"-").replace(/-Regular/,"");e=e.replace(/-…
|
/plugin/syntaxhighlighter3/sxh3/src/js/ |
H A D | shBrushSass.js | 10 return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b'; 15 return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b'; 20 …return '(?:' + keywords.replace(/^\s+|\s+$/g, '').replace(/\s+/g, '|' + by + '\\b').replace(/^/, b…
|
/plugin/syntaxhighlighter3/sxh3/pkg/scripts/ |
H A D | shBrushSass.js | 26 return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b'; 31 return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b'; 36 …return '(?:' + keywords.replace(/^\s+|\s+$/g, '').replace(/\s+/g, '|' + by + '\\b').replace(/^/, b…
|
/plugin/flowchartjs/ |
H A D | script.js | 11 var cls = jQuery(this).attr('class').replace(/^\s+|\s+$/, '').replace(/\s+/g, ' ').split(' '); 14 var id = classes.replace(/ /g, '_') + '_' + index; 47 var cls = jQuery(this).attr('class').replace(/^\s+|\s+$/g, '').replace(/\s+/g, ' ').split(' ');
|
/plugin/prettytables/ |
H A D | script.js | 88 t = t.replace(/^[\n ]+/,""); 92 s = s[1].replace(/^[ ]+/,""); 93 s = s.replace(/[ ]+$/,""); 105 t = t.replace(/^[\n]+/,""); 130 line = line.replace(/[%]{2}[|][%]{2}/g, "%%!@#1#@!%%"); 131 line = line.replace(/[%]{2}[^][%]{2}/g, "%%!@#2#@!%%"); 132 line = line.replace(/([\[]{2}[^\]]*)[|]([^\]]*[\]]{2})/g, "$1!@#1#@!$2"); 133 line = line.replace(/([\{]{2}[^\}]*)[|]([^\}]*[\}]{2})/g, "$1!@#1#@!$2"); 144 t = this.table[i][j].replace(/[!][@][#][1][#][@][!]/g,"|"); 145 this.table[i][j] = t.replace(/[!][@][#][2][#][@][!]/g,"^");
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/ |
H A D | replace_invalid_arg.test | 2 Exception for invalid argument type in replace call 4 {{ 'test %foo%'|replace(stdClass) }} 8 Twig\Error\RuntimeError: The "replace" filter expects an array or "Traversable" as replace values, …
|
/plugin/virtualkeyboard/vk/extensions/ |
H A D | stringextensions.js | 22 return this.replace(c, ""); 38 return this.replace(c, ""); 54 return this.replace(c, ""); 167 ,frmt = this.replace(/%%/g, "\0\0") 180 frmt = frmt.replace(re, function() { 189 x[3] = parseInt(x[3].replace(/\D/g,"")) 205 x[4] = parseInt(x[4].replace(/\D/g,"")) 216 x[4] = x[4].replace(/\D/,"") 292 return frmt.replace(/\0\0/g, "%");
|
/plugin/wysiwyg/fckeditor/ |
H A D | fckeditor.py | 29 def escape(text, replace=string.replace): argument 36 text = replace(text, '&', '&') # must be done 1st 37 text = replace(text, '<', '<') 38 text = replace(text, '>', '>') 39 text = replace(text, '"', '"') 40 text = replace(text, "'", ''')
|
/plugin/fastwiki/ |
H A D | history.js | 14 var id = url.replace(/.*id=([^&]+).*/, '$1'); 16 return url.replace(/\?.*/, '') + '?id='+id; 18 return url.replace(/\?.*/, ''); 67 var pageid = newpage.substr(1).replace(/.*doku.php(\?id=|\/)/, '').replace(/\//g, ':'); 68 var ns = pageid.replace(/:[^:]+$/, ''); 93 var idPath = JSINFO.id.replace(/:/g, '/'); 151 // When switching modes, just replace the url. When changing to a new page or in or out of show, push.
|
/plugin/autolink2/ |
H A D | helper.php | 88 $replace[$l++]=$sr."\\1".$er; 92 $replace[$l++]="$1$2$3"; 95 $replace[$l++]="$1$2$3"; 98 $replace[$l++]="$1$2$3"; 101 $replace[$l++]="$1$2$3"; 105 $replace[$l++]="$1$2$3"; 111 $replace[$l++]="[[:".$page."|$1]]"; 115 if (is_array($replace)) ksort($replace); 119 return array($pattern,$replace); 315 foreach ($replace as $value){
|
/plugin/prettyphoto/js/ |
H A D | jquery.prettyPhoto.js | 288 …ame_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_dimensions['height'])… 303 …toInject = settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,pp_dimension… 310 …replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_dimensions['height']).replace(/{… 322 …ash_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_dimensions['height'])… 331 …ect = settings.iframe_markup.replace(/{width}/g,pp_dimensions['width']).replace(/{height}/g,pp_dim… 341 toInject = settings.inline_markup.replace(/{content}/g,responseHTML); 361 toInject = settings.inline_markup.replace(/{content}/g,$(pp_images[set_position]).html()); 753 settings.markup = settings.markup.replace('{pp_social}',''); 774 toInject = settings.gallery_markup.replace(/{gallery}/g,toInject); 889 if(hashtag){ hashtag = hashtag.replace(/<|>/g,''); } [all …]
|