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