source: Dev/trunk/pipelineEditor.php @ 184

Last change on this file since 184 was 184, checked in by fpvanagthoven, 13 years ago
File size: 1.3 KB
Line 
1<?php
2require 'classes/master.php'; //should be at top of every page
3
4if (!isset($_SESSION['username'])) {
5    redirect('index.php');
6}
7
8$sequencer = new PipelineSequencer();
9$sequencer->LoadSession($_SESSION['currentSession']); //load session into php part of the sequencer
10$sequencer->HandlePostData();
11?>
12
13<!--
14To change this template, choose Tools | Templates
15and open the template in the editor.
16-->
17<!DOCTYPE html>
18
19<html>
20    <head>
21        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
22        <title></title>
23        <?php
24        new StyleSheet("visualeditors");
25        $sequencer->Javascript();
26        ?>
27
28    </head>
29    <body>
30        <div id="header">
31            <?php new Logo(); ?>
32            <input type="button" onClick="debug_switchType();" value="debug_switchType()" />
33            <input type="button" onClick="debug_addQuestion();" value="debug_addQuestion()" />
34        </div>
35
36        <div id="wrapper">
37            <div id="content">
38                <?php $sequencer->init(); ?>
39                <?php $toolbox = new Toolbox(); ?>
40                <?php new PipelineInfoPanel(); ?>
41            </div>
42        </div>
43        <div id="settingsFields">
44            <input type="hidden" id="sContentTypeField" value="session" />
45        </div>
46
47    </body>
48</html>
Note: See TracBrowser for help on using the repository browser.