Last change
on this file since 181 was
178,
checked in by fpvanagthoven, 13 years ago
|
- returnQuestionDisplay.php is vergelijkbaar met returnStep.php. Stuur "uids=blablablabla" erheen en je krijgt de HTML markup voor de question display terug als plain text. Deze gaat worden gebruikt in de surveyEditor, zelfde principe als pipelineSequencer/returnStep.php
- Nieuwe icons, alpha channel. Betere styling mee mogelijk, formaat/cropping is nog wel een beetje weird.
- surveyEditorWidget.php is de survey versie van pipelineSequencer.php. (Ook hier weer een consistent naming scheme toepassen? Als in: pipelineEditor->pipelineEditorWidget, surveyEditor->surveyEditorWidget, etc...?
- layout van pipelineEditor.php klopt nu weer en werkt nu helemaal op de nieuwe stylesheet, visualeditors.css. Logo, header en navbar stuff moet nog wel gemaakt worden.
- surveyEditorScripts.js: scripts voor, verrassing, surveyEditor.php. loadSurvey werkt, drawQuestions ook bijna. BELANGRIJK! Deze editor werkt met global variables ipv de hidden fields die in pipelineSequencer.php gebruikt worden. Om conflicten te voorkomen wordt alles opgeslagen in een object literal "surveyEditor".
|
File size:
988 bytes
|
Line | |
---|
1 | <?php |
---|
2 | require 'classes/master.php'; //should be at top of every page |
---|
3 | |
---|
4 | if (!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 | <!-- |
---|
14 | To change this template, choose Tools | Templates |
---|
15 | and 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 new StyleSheet("visualeditors"); |
---|
24 | $sequencer->Javascript(); |
---|
25 | ?> |
---|
26 | |
---|
27 | </head> |
---|
28 | <body> |
---|
29 | <div id="header"> |
---|
30 | <?php new Logo(); ?> |
---|
31 | </div> |
---|
32 | |
---|
33 | <div id="wrapper"> |
---|
34 | <div id="content"> |
---|
35 | <?php $sequencer->init(); ?> |
---|
36 | <?php $toolbox = new Toolbox(); ?> |
---|
37 | <?php new PipelineInfoPanel(); ?> |
---|
38 | </div> |
---|
39 | |
---|
40 | </body> |
---|
41 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.