Lines Matching refs:x_comment

244     function xs_format($x_comment)  argument
246 $x_comment = preg_replace('/\[([bius])\]/i', '<\\1>', $x_comment);
247 $x_comment = preg_replace('/\[\/([bius])\]/i', '</\\1>', $x_comment);
249 $x_comment = preg_replace('/\[ol\]/i', '<ol>', $x_comment);
250 $x_comment = preg_replace('/\[\/ol\]/i', '</ol>', $x_comment);
252 $x_comment = preg_replace('/\[ul\]/i', '<ul>', $x_comment);
253 $x_comment = preg_replace('/\[\/ul\]/i', '</ul>', $x_comment);
255 $x_comment = preg_replace('/\[li\]/i', '<li>', $x_comment);
256 $x_comment = preg_replace('/\[\/li\]/i', '</li>', $x_comment);
258 $x_comment = preg_replace('/\[sup\]/i', '<sup>', $x_comment);
259 $x_comment = preg_replace('/\[\/sup\]/i', '</sup>', $x_comment);
261 $x_comment = preg_replace('/\[sub\]/i', '<sub>', $x_comment);
262 $x_comment = preg_replace('/\[\/sub\]/i', '</sub>', $x_comment);
264 $x_comment = preg_replace('/\[hr\]/i', '<hr>', $x_comment);
266 $x_comment = preg_replace('/\[blockquote\]/i', '<blockquote>', $x_comment);
267 $x_comment = preg_replace('/\[\/blockquote\]/i', '</blockquote>', $x_comment);
269 $x_comment = preg_replace('/\[code\]/i', '<code>', $x_comment);
270 $x_comment = preg_replace('/\[\/code\]/i', '</code>', $x_comment);
272 $x_comment = preg_replace('/\[red\]/i', '<span style="color:red;">', $x_comment);
273 $x_comment = preg_replace('/\[\/red\]/i', '</span>', $x_comment);
275 $x_comment = preg_replace('/\[grn\]/i', '<span style="color:green;">', $x_comment);
276 $x_comment = preg_replace('/\[\/grn\]/i', '</span>', $x_comment);
278 $x_comment = preg_replace('/\[bgy\]/i', '<span style="background:yellow;">', $x_comment);
279 $x_comment = preg_replace('/\[\/bgy\]/i', '</span>', $x_comment);
281 $x_comment = preg_replace('/\[blu\]/i', '<span style="color:blue;">', $x_comment);
282 $x_comment = preg_replace('/\[\/blu\]/i', '</span>', $x_comment);
288 $x_comment = preg_replace($urlsuch, $urlreplace, $x_comment);
289 …$x_comment = preg_replace("/\[link\]www.(.*?)\[\/link\]/si", "<a target=\"_blank\" href=\"http://w…
290 …$x_comment = preg_replace("/\[link=www.(.*?)\](.*?)\[\/link\]/si", "<a target=\"_blank\" href=\"ht…
291 …$x_comment = preg_replace("/\[link\](\:.*?)\[\/link\]/si", "<a target=\"_blank\" href=\"doku.php?i…
292 …$x_comment = preg_replace("/\[link=(\:.*?)\]\[\/link\]/si", "<a target=\"_blank\" href=\"doku.php?…
293 …$x_comment = preg_replace("/\[link=(\:.*?)\](.*?)\[\/link\]/si", "<a target=\"_blank\" href=\"doku…
294 …$x_comment = preg_replace("/\[link\](.*?)\[\/link\]/si", "<a target=\"_blank\" href=\"\\1\">\\1</a…
295 …$x_comment = preg_replace("/\[link=(.*?)\](.*?)\[\/link\]/si", "<a target=\"_blank\" href=\"\\1\">…
297 …$x_comment = preg_replace("/\[img\](http.*?)\[\/img\]/si", "<img src=\"\\1\"title=\"\\1\" alt=\"\\…
298 …$x_comment = preg_replace("/\[img=(http.*?)\](.*?)\[\/img\]/si", "<img src=\"\\1\" title=\"\\2\" a…
299 …$x_comment = preg_replace("/\[img\](file.*?)\[\/img\]/si", "<img src=\"\\1\" title=\"\\1\" alt=\"\…
300 …$x_comment = preg_replace("/\[img=(file.*?)\](.*?)\[\/img\]/si", "<img src=\"\\1\" title=\"\\2\" a…
301x_comment = preg_replace("/\[img\](\:.*?)\[\/img\]/si", "<img src=\"". DOKU_URL . "lib/exe/fetch.p…
302x_comment = preg_replace("/\[img=(\:.*?)\](.*?)\[\/img\]/si", "<img src=\"". DOKU_URL . "lib/exe/f…
303 …$x_comment = preg_replace("/\[img\](.*?)\[\/img\]/si", "<img src=\"\\1\" title=\"\\1\" style=\"max…
304 …$x_comment = preg_replace("/\[img=(.*?)\](.*?)\[\/img\]/si", "<img src=\"\\1\" title=\"\\2\" style…
313 return $x_comment;