Project

General

Profile

Statistics
| Branch: | Revision:

colonymech / docs / www / colonyscout / internal / jeditable / php / echo.php @ f59acf11

History | View | Annotate | Download (348 Bytes)

1
<?php
2

    
3
/* Does not save anything. Just echoes back for demonstration purposes. */
4

    
5
$renderer = isset($_GET['renderer']) ?  $_GET['renderer'] : $_POST['renderer'];
6
if ('textile' == $renderer) {
7
    require_once './Textile.php';
8
    $t = new Textile();
9
    print $t->TextileThis(stripslashes($_POST['value']));
10
} else {
11
    print $_POST['value']; 
12
}