Lines Matching refs:text

215                     list($PRE,$text,$SUF) = rawWikiSlices($RANGE,$ID,$REV);
217 $text = rawWiki($ID,$REV);
221 $text = pageTemplate($ID);
223 if(!$text && $this->page_from_template) $text = $this->page_from_template;
226 else $text = $draft_text;
228 $text = str_replace('&notags', '&notags',$text);
229 $text = preg_replace_callback(
235 },$text);
239 …$text=preg_replace("#(?<=http://)(.*?)(?=lib/plugins/ckgedit/ckeditor/plugins/smiley/images)#s", $…
252 if($this->getConf('complex_tables') || strrpos($text, '~~COMPLEX_TABLES~~') !== false) {
259 …if(strpos($text, '%%') !== false || strpos($text, '\\\\') !== false || strpos($text, '|') !== fals…
260 $text = preg_replace('/%%\s*<nowiki>\s*%%/ms', 'PERCNWPERC',$text);
261 $text = preg_replace('/%%\s*<(code|file)>\s*%%/ms', 'PERC' . "$1" . 'PERC',$text);
262 $text = preg_replace_callback(
270 $text
273 $text = preg_replace_callback(
278 $text
281 $text = str_replace('DBLPERCENT','%%',$text);
284 $pos = strpos($text, '<');
289 $text = preg_replace_callback(
297 $text
301 $text = preg_replace_callback(
309 $text
312 $text = preg_replace_callback(
344 $text
347 $text = preg_replace_callback(
352 },$text);
354 $text = preg_replace_callback(
364 $text
366 $text = preg_replace('/TPRE_CLOSE\s+/ms',"TPRE_CLOSE",$text);
367 …$text = preg_replace('/<(?!code|file|nowiki|del|sup|sub|\/\/|\s|\/del|\/code|\/nowiki|\/file|\/sup…
368 …$text = str_replace(array('<nowiki>','</nowiki>'),array('NWIKISTART<nowiki>','NWIKICLOSE</nowiki>'…
369 $text = str_replace('%%&lt;', '&#37;&#37;&#60;', $text);
373 $text = preg_replace_callback('/\(\((.*?)\)\)/ms',
382 }, $text
385 $text = preg_replace('/^\>/ms',"_QUOT_",$text); // dw quotes
386 $text = str_replace('>>','CHEVRONescC',$text);
387 $text = str_replace('<<','CHEVRONescO',$text);
388 $text = preg_replace('/(={3,}.*?)(\{\{.*?\}\})(.*?={3,})/',"$1$3\n$2",$text);
390 $text = preg_replace($email_regex,"<$1>",$text);
392 $text = preg_replace('/{{(.*)\.swf(\s*)}}/ms',"__SWF__$1.swf$2__FWS__",$text);
393 $text = preg_replace('/PERCNWPERC/ms', '%%&lt; nowiki &gt;%%',$text);
395 $text = preg_replace('/PERCcodePERC/ms','%%&lt;code&gt;%%', $text);
396 $text = preg_replace('/PERCfilePERC/ms','%%&lt;file&gt;%%', $text);
401 $text = preg_replace_callback('/\n([;#]{3})/',
405 }, $text
408 $text = preg_replace_callback(
413 }, $text
416 $this->xhtml = $this->_render_xhtml($text);
501 $text = urldecode($cdata['text']);
510 $this->draft_text = $prefix . $text . $suffix;
1058 function _render_xhtml($text){ argument
1069 if(strpos($text,'~~NO_STYLING~~') !== false) {
1073 $text = preg_replace_callback('/\[\[(.*?>)(.*?)\]\]/ms',
1084 $text);
1110 $text = preg_replace_callback(
1116 $text);
1119 $text = str_replace('"',"_ckgedit_QUOT_",$text);
1121 $text = preg_replace_callback('/(<code.*?>)([^<]+)(<\/code>)/ms',
1127 }, $text);
1129 $text = preg_replace_callback('/(<file.*?>)([^<]+)(<\/file>)/ms',
1135 }, $text);
1137 …$text = preg_replace_callback('/\|([\s\S]+)\|/ms', // prevents extra backslash from hanging on …
1145 $text
1148 $text = preg_replace_callback('/(<code>|<file>)([^<]+)(<\/code>|<\/file>)/ms',
1153 }, $text);
1155 $text = str_replace('CODE_BLOCK_EOL_MASK','\\', $text);
1159 $instructions = p_get_instructions($text);