Ejemplo n.º 1
0
function baseFormTest(&$session)
{
    if (!isset($_POST['test_text'])) {
        $_POST['test_text'] = 'Noch nix!';
    }
    guiStandardHeader($session, 'Test', Th_StandardHeader, Th_StandardBodyStart);
    $engine = new DiffEnginge("a\nx\\b", "a\nb");
    $engine->compare(1, 1);
    guiStandardBodyEnd($session, Th_StandardBodyEnd);
}
Ejemplo n.º 2
0
function baseFormTest(&$session)
{
    global $test_text, $test;
    if (!isset($test_text)) {
        $test_text = "Noch nix!";
    }
    guiStandardHeader($session, 'Test', Th_StandardHeader, Th_StandardBodyStart);
    $engine = new DiffEnginge("a\nx\\b", "a\nb");
    $engine->compare(1, 1);
    guiStandardBodyEnd($session, Th_StandardBodyEnd);
}