Subversion Repositories ALCASAR

Rev

Rev 2770 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2770 Rev 3037
Line 53... Line 53...
53
    $webpage->run();
53
    $webpage->run();
54
    break;
54
    break;
55
case "json":
55
case "json":
56
    $webpage = new WebpageXML("complete");
56
    $webpage = new WebpageXML("complete");
57
    $json = $webpage->getJsonString();
57
    $json = $webpage->getJsonString();
58
    header("Cache-Control: no-cache, must-revalidate\n");
58
    header('Cache-Control: no-cache, must-revalidate');
59
    header("Content-Type: application/json\n\n");
59
    header('Content-Type: application/json');
60
    echo $json;
60
    echo $json;
61
    break;
61
    break;
62
case "bootstrap":
62
case "bootstrap":
63
/*
63
/*
64
    $tpl = new Template("/templates/html/index_bootstrap.html");
64
    $tpl = new Template("/templates/html/index_bootstrap.html");
Line 87... Line 87...
87
        $webpage->run();
87
        $webpage->run();
88
        break;
88
        break;
89
    default:
89
    default:
90
        $tpl = new Template("/templates/html/index_all.html");
90
        $tpl = new Template("/templates/html/index_all.html");
91
        echo $tpl->fetch();
91
        echo $tpl->fetch();
92
        break;
-
 
93
    }
92
    }
94
    break;
-
 
95
}
93
}