mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
13 lines
328 B
PHP
13 lines
328 B
PHP
<?
|
|
/* AJAX Previews, simple stuff. */
|
|
|
|
include(SERVER_ROOT.'/classes/text.class.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);
|
|
}
|
|
|