Ignore:
Timestamp:
08/25/11 17:52:09 (14 years ago)
Author:
basvannuland
Message:

start with answer saving

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/classes/SessionCreationTool.php

    r72 r83  
    1010    private $session;
    1111    private $surveys;
     12    private $applications;
    1213
    1314    public function __construct($session = null) {
     
    4041    private function init() {
    4142        $this->surveys = Loader::loadSurveys();
     43        $this->applications = Loader::loadApplications();
    4244    }
    4345
     
    227229        ?>
    228230        <select id="applicationsList" size="5" class="width100p">
     231            <?php
     232            foreach ($this->applications as $application) {
     233                ?>
     234                <option name="<?php echo $application->id; ?>" value="<?php echo $application->id; ?>">
     235                    <?php echo $application->title; ?>
     236                </option>
     237                <?php
     238            }
     239            ?>
    229240        </select>
    230241        <?php
Note: See TracChangeset for help on using the changeset viewer.