Last change
on this file since 145 was
144,
checked in by fpvanagthoven, 13 years ago
|
Fixed mkdir call in ApplicationConnector?.php, now actually makes a directory instead of errors.
Cleaning up of pipeline Sequencer, smaller icons, etc. Trying to get non-db version of editor working properly, then integrate db calls.
|
File size:
1.5 KB
|
Rev | Line | |
---|
[142] | 1 | <?php |
---|
| 2 | require 'classes/master.php'; //should be at top of every page |
---|
| 3 | |
---|
| 4 | |
---|
[144] | 5 | $pipeline = $_SESSION['currentPipeline']; |
---|
[142] | 6 | |
---|
[144] | 7 | // generate a set array of pipeline contents, in lieue of working database interface |
---|
| 8 | //if (isset($pipeline)){ |
---|
| 9 | //$pipeline = array(new Step("Questionnaire", "Questionnaire 1", 1), new Step("Dashboard", "Dashboard 1", 2), new Step("Application", "Application 1", 3)); |
---|
| 10 | //} |
---|
| 11 | //else { |
---|
| 12 | $pipeline = $_SESSION['currentPipeline']; |
---|
| 13 | //} |
---|
[142] | 14 | |
---|
[144] | 15 | if (isset($_POST['objectToCreate'])){ |
---|
| 16 | $pipeline[] = new Step($_POST['objectToCreate'], $_POST['objectToCreate']." NEW", 4); |
---|
| 17 | unset($_POST); |
---|
[142] | 18 | } |
---|
| 19 | |
---|
[144] | 20 | $_SESSION['currentPipeline'] = $pipeline; |
---|
| 21 | |
---|
| 22 | $pipelineCount = 3; |
---|
[142] | 23 | $pipelineName = "Test pipeline"; |
---|
[144] | 24 | |
---|
| 25 | $dbi = new DatabaseInterface(); //mkdir error?!?!?! |
---|
[142] | 26 | ?> |
---|
| 27 | |
---|
| 28 | <!-- |
---|
| 29 | To change this template, choose Tools | Templates |
---|
| 30 | and open the template in the editor. |
---|
| 31 | --> |
---|
| 32 | <!DOCTYPE html> |
---|
[144] | 33 | |
---|
[142] | 34 | <html> |
---|
| 35 | <head> |
---|
| 36 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
---|
| 37 | <title></title> |
---|
| 38 | <?php new StyleSheet("awesome"); ?> |
---|
| 39 | <script type="text/javascript" src="js/menu.js"></script> |
---|
| 40 | <script type="text/javascript" src="js/jquery.jps"></script> |
---|
[144] | 41 | <script type="text/javascript" src="js/editorScripts.js"></script> |
---|
[142] | 42 | </head> |
---|
| 43 | <body> |
---|
[144] | 44 | <div id="header"> |
---|
[142] | 45 | <?php new Logo(); ?> |
---|
| 46 | </div> |
---|
| 47 | |
---|
| 48 | <div id="wrapper"> |
---|
| 49 | <div id="content"> |
---|
[144] | 50 | <?php new pipelineSequencer($pipeline); ?> |
---|
| 51 | <?php new Toolbox(); ?> |
---|
[142] | 52 | </div> |
---|
| 53 | </body> |
---|
| 54 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.