Lines Matching refs:text

192                     list($PRE,$text,$SUF) = rawWikiSlices($RANGE,$ID,$REV);
194 $text = rawWiki($ID,$REV);
198 $text = pageTemplate($ID);
200 if(!$text && $this->page_from_template) $text = $this->page_from_template;
203 else $text = $draft_text;
205 $text = preg_replace_callback(
213 ),$text);
216 …$text=preg_replace("#(?<=http://)(.*?)(?=lib/plugins/ckgdoku/ckeditor/plugins/smiley/images)#s", $…
219 $text = preg_replace_callback('/\[\[\w+>.*?\]\]/ms',
223 ), $text);
226 if($this->getConf('complex_tables') || strrpos($text, '~~COMPLEX_TABLES~~') !== false) {
233 …if(strpos($text, '%%') !== false || strpos($text, '\\\\') !== false || strpos($text, '|') !== fals…
234 $text = preg_replace('/%%\s*<nowiki>\s*%%/ms', 'PERCNWPERC',$text);
235 $text = preg_replace('/%%\s*<(code|file)>\s*%%/ms', 'PERC' . "$1" . 'PERC',$text);
236 $text = preg_replace_callback(
244 $text
247 $text = preg_replace_callback(
252 $text
255 $text = str_replace('DBLPERCENT','%%',$text);
258 $pos = strpos($text, '<');
263 $text = preg_replace_callback(
271 $text
275 $text = preg_replace_callback(
284 $text
287 $text = preg_replace_callback(
319 $text
322 $text = preg_replace_callback(
328 ),$text);
330 $text = preg_replace_callback(
341 $text
343 $text = preg_replace('/TPRE_CLOSE\s+/ms',"TPRE_CLOSE",$text);
345 …$text = preg_replace('/<(?!code|file|del|sup|sub|\/\/|\s|\/del|\/code|\/file|\/sup|\/sub)/ms',"&lt…
347 $text = str_replace('%%&lt;', '&#37;&#37;&#60;', $text);
351 $text = preg_replace_callback('/\(\((.*?)\)\)/ms',
361 ), $text
364 $text = preg_replace('/^\>/ms',"_QUOT_",$text); // dw quotes
365 $text = str_replace('>>','CHEVRONescC',$text);
366 $text = str_replace('<<','CHEVRONescO',$text);
367 $text = preg_replace('/(={3,}.*?)(\{\{.*?\}\})(.*?={3,})/',"$1$3\n$2",$text);
369 $text = preg_replace($email_regex,"<$1>",$text);
371 $text = preg_replace('/{{(.*)\.swf(\s*)}}/ms',"__SWF__$1.swf$2__FWS__",$text);
372 $text = preg_replace('/PERCNWPERC/ms', '%%&lt; nowiki &gt;%%',$text);
374 $text = preg_replace('/PERCcodePERC/ms','%%&lt;code&gt;%%', $text);
375 $text = preg_replace('/PERCfilePERC/ms','%%&lt;file&gt;%%', $text);
381 $text = preg_replace_callback('/\n([;#]{3})/',
385 }, $text
388 $this->xhtml = $this->_render_xhtml($text);
475 $text = urldecode($cdata['text']);
484 $this->draft_text = $prefix . $text . $suffix;
1028 function _render_xhtml($text){ argument
1037 if(strpos($text,'~~NO_STYLING~~') !== false) {
1041 $text = preg_replace_callback('/\[\[(.*?>)(.*?)\]\]/ms',
1052 $text);
1078 $text = preg_replace_callback(
1084 $text);
1087 $text = str_replace('"',"_ckgdoku_QUOT_",$text);
1089 $text = preg_replace_callback('/(<code.*?>)([^<]+)(<\/code>)/ms',
1096 ), $text);
1098 $text = preg_replace_callback('/(<file.*?>)([^<]+)(<\/file>)/ms',
1105 ), $text);
1108 $text = preg_replace_callback('/(<code>|<file>)([^<]+)(<\/code>|<\/file>)/ms',
1114 ), $text);
1118 $instructions = p_get_instructions($text);