Changeset 96 for Dev


Ignore:
Timestamp:
08/31/11 18:28:26 (14 years ago)
Author:
fpvanagthoven
Message:

End of day commit

Location:
Dev/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/applicationcreation.php

    r92 r96  
    99$savedApplication = null;
    1010
    11 if(isset($_POST['applicationUID']) && $_POST['applicationUID'] != "")
     11if(isset($_POST['applicationUID']) && $_POST['applicationUID'] != "") //either from same page or from menu
    1212{
    1313    $applicationUID = $_POST['applicationUID'];
    1414    $applicationDBI = new ApplicationDatabaseInterface($applicationUID);
     15   
     16    if (isset($_POST['applicationDescription']) && isset($_POST['applicationTitle'])) // from same page
     17    {
     18        $applicationDBI->setApplicationInfo($_POST);
     19    }
     20   
    1521    $info = $applicationDBI->getApplicationInfo($applicationUID);
    1622    $savedApplication = Application::getApplication($info);
  • Dev/trunk/classes/DashboardTool.php

    r75 r96  
    99{
    1010        private $surveys;
     11        private $gamedata;
    1112
    12         public function __construct($surveys)
     13        public function __construct($surveys, $gamedata = null)
    1314        {
    1415                $this->surveys = $surveys;
     16                $this->gamedata = $gamedata;
    1517
    1618                $this->init();
  • Dev/trunk/dashboard.php

    r75 r96  
    4141<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    4242    <head>
    43         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     43        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    4444            <title></title>
    4545                        <?php new StyleSheet(); ?>
  • Dev/trunk/doc/TODO

    r95 r96  
    2222Dashboard
    2323    Dashboard Menu
    24     DashboardCreationTool
     24    **DashboardCreationTool
    2525    Dashboard kunnen selecteren bij Session
    2626   
  • Dev/trunk/sessioncreation.php

    r91 r96  
    99    $sessionID = $_POST['UID'];
    1010    $sessionDBI = new SessionCreationDatabaseInterface($sessionID);
    11     $info = $sessionDBI->getSurveyInfo();
    12 
    13     $savedSurvey = Survey::getSurvey($info);
     11    $info = $sessionDBI->getSessionInfo();
    1412}
    1513
     
    2422<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    2523    <head>
    26         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     24        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    2725            <title>Session Creation</title>
    2826            <?php new StyleSheet(); ?>
Note: See TracChangeset for help on using the changeset viewer.