Home
last modified time | relevance | path

Searched refs:replace (Results 26 – 50 of 1179) sorted by relevance

12345678910>>...48

/plugin/pagetemplater/
H A Daction.php47 $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 Dscript.js49 match = match.replace(/msword/,"");
66 text = text.replace(/<\/?div.*?>/gm,"");
67 text = text.replace(/<code>/gm,"");
69 text = text.replace(/</gm,"&lt;");
70 text = text.replace(/<\//gm,"&gt;");
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 Daction.php102 $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 DHttpHeaderOption.php33 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 Daction.php140 $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 Dscript.js50 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 Dtags.js1replace(/<[^<>]*>/g,"").replace(/&gt;/g,">");var o=(/\{\{tag>.*?\}\}/g);var n=o.exec(l);var m=[];v…
/plugin/tablelayout/_jstest/
H A DfreezeRows.tests.js37 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 DfloatTable.tests.js32 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 Dscript-cmpr.js1replace(/~~OPEN_HTML_BLOCK~~/gm,"~~START_HTML_BLOCK~~");m=m.replace(/~~END_HTML_BLOCK~~/gm,"~~CLOS…
/plugin/ckgdoku/
H A Dscript.js50 text = text.replace(/<\/?div.*?>/gm,"");
51 text = text.replace(/<code>/gm,"");
52 text = text.replace(/<\/code>/gm,"");
53 text = text.replace(/</gm,"&lt;");
54 text = text.replace(/<\//gm,"&gt;");
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 Dfckjscoreextensions.js72 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 Dsql.js140 … 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 Dstringextensions.js10replace(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 Dfontdata-1.0.js19 …,d){var e="STIX"+f.replace(/\/[^\/]*$/,"").replace(/\//,"-").replace(/-Regular/,"");e=e.replace(/-…
/plugin/syntaxhighlighter3/sxh3/src/js/
H A DshBrushSass.js10 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 DshBrushSass.js26 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 Dscript.js11 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 Dscript.js88 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 Dreplace_invalid_arg.test2 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 Dstringextensions.js22 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 Dfckeditor.py29 def escape(text, replace=string.replace): argument
36 text = replace(text, '&', '&amp;') # must be done 1st
37 text = replace(text, '<', '&lt;')
38 text = replace(text, '>', '&gt;')
39 text = replace(text, '"', '&quot;')
40 text = replace(text, "'", '&#39;')
/plugin/fastwiki/
H A Dhistory.js14 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 Dhelper.php88 $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 Djquery.prettyPhoto.js288 …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…
310replace(/{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 …]

12345678910>>...48