source: Dev/trunk/classes/SurveyButton.php @ 36

Last change on this file since 36 was 36, checked in by fpvanagthoven, 14 years ago

QuestionID gets removed when answerType changes. Not yet when answers change.

File size: 761 bytes
Line 
1<?php
2/*
3 * To change this template, choose Tools | Templates
4 * and open the template in the editor.
5 */
6
7/**
8 * Description of NewSurveyButton
9 *
10 * @author fpvanagthoven
11 */
12class SurveyButton {
13
14    public function __construct() {
15       
16    }
17
18    public static function newSurveyButton() {
19        ?>
20
21        <form action="surveycreation.php" method="post">
22
23            <input type="submit" value="Create new survey" class="surveyButton bigSurveyButton" />
24
25        </form>
26
27        <?php
28    }
29
30    public static function loadSurveyButton() {
31        ?>
32
33        <form action="surveycreation.php" method="post">
34
35            <input type="submit" value="Load survey" class="surveyButton bigSurveyButton" />
36
37        </form>
38
39        <?php
40    }
41
42}
43?>
Note: See TracBrowser for help on using the repository browser.