Changeset 51
- Timestamp:
- 07/25/11 20:19:23 (14 years ago)
- Location:
- Dev/trunk
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/classes/ApplicationDatabaseInterface.php
r45 r51 32 32 $aStyle = $application['applicationStyle']; 33 33 34 $this->applicationRDFWriter->setApplicationInfo($aTitle, $aDescription, $aStyle) 34 $this->applicationRDFWriter->setApplicationInfo($aTitle, $aDescription, $aStyle); 35 35 36 36 $this->applicationRDFWriter->saveApplications(); -
Dev/trunk/classes/SurveyAnswerRDFReader.php
r45 r51 4 4 { 5 5 protected $tempModel; 6 protected $answerPath 6 protected $answerPath; 7 7 8 8 public function __construct($surveyUID) … … 10 10 parent::__construct($surveyUID); 11 11 12 / Create empty MemModel12 // Create empty MemModel 13 13 $factory = new ModelFactory(); 14 14 $this->tempModel = $factory->getDefaultModel(); -
Dev/trunk/classes/SurveyAnswerRDFWriter.php
r45 r51 4 4 { 5 5 protected $userUID; 6 protected $answerPath 6 protected $answerPath; 7 7 8 8 public function __construct($surveyUID,$userUID) -
Dev/trunk/classes/master.php
r10 r51 14 14 require 'classes/' . $class_name . '.php'; 15 15 } 16 17 18 // Redirects user to $url 19 function redirect($url = null) 20 { 21 if (is_null($url)) 22 $url = $_SERVER['PHP_SELF']; 23 24 header("Location: $url"); 25 exit(); 26 } -
Dev/trunk/css/style.css
r50 r51 80 80 #surveyCreation { 81 81 min-height: 10em; 82 background-color: # eee;82 background-color: #f2f1f1; 83 83 -moz-border-radius: 15px; 84 84 border-radius: 15px; -
Dev/trunk/survey.php
r50 r51 1 <?php 1 <?php 2 2 require 'classes/master.php'; 3 4 if (isset($_GET['id'])) 5 { 6 $surveyID = $_GET['id']; 7 8 $surveyDBI = new SurveyDatabaseInterface($surveyID); 9 $info = $surveyDBI->getSurveyInfo(); 10 11 $savedSurvey = Survey::getSurvey($info); 12 13 var_dump($_POST); 14 } 15 else 16 redirect('index.php'); 3 17 ?> 4 18 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" … … 8 22 <head> 9 23 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 10 <title>Facilitator</title>11 <link rel="stylesheet" type="text/css" href="css/style.css" />12 <script type="text/javascript" src="js/menu.js"></script>24 <title>Facilitator</title> 25 <link rel="stylesheet" type="text/css" href="css/style.css" /> 26 <script type="text/javascript" src="js/menu.js"></script> 13 27 </head> 14 28 15 29 <body> 16 30 <div id="header"> 17 <?php new Logo(); ?>31 <?php new Logo(); ?> 18 32 </div> 19 33 20 34 <div id="wrapper"> 21 22 35 <div id="content"> 23 36 <?php new SurveyTool($savedSurvey); ?> 24 37 </div> 25 38 </div> -
Dev/trunk/surveycreation.php
r50 r51 4 4 $savedSurvey = null; 5 5 $timeStamp = null; 6 //var_dump($_POST); 6 7 7 8 8 /* LOAD SURVEY */ … … 18 18 $timeStamp = $_POST['timeStamp']; 19 19 20 //echo 'This is what gets sent:';21 //var_dump($_POST);20 echo 'This is what gets sent:'; 21 var_dump($_POST); 22 22 // echo '<br/><br/>'; 23 23 $surveyDBI = new SurveyDatabaseInterface($_POST['surveyID']); … … 25 25 $info = $surveyDBI->getSurveyInfo(); 26 26 // echo '<br/><br/>'; 27 //echo 'This is what I get back:';28 //var_dump($info);27 echo 'This is what I get back:'; 28 var_dump($info); 29 29 30 30 $savedSurvey = Survey::getSurvey($info);
Note: See TracChangeset
for help on using the changeset viewer.