mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 19:06:27 +00:00
14 lines
324 B
PHP
14 lines
324 B
PHP
<?
|
|
/* AJAX Previews, simple stuff. */
|
|
|
|
include(SERVER_ROOT.'/classes/class_text.php'); // Text formatting class
|
|
$Text = new TEXT;
|
|
|
|
if(!empty($_POST['AdminComment'])) {
|
|
echo $Text->full_format($_POST['AdminComment']);
|
|
} else {
|
|
$Content = $_REQUEST['body']; // Don't use URL decode.
|
|
echo $Text->full_format($Content);
|
|
}
|
|
?>
|