Last change
on this file since 37 was
36,
checked in by fpvanagthoven, 14 years ago
|
QuestionID gets removed when answerType changes. Not yet when answers change.
|
File size:
761 bytes
|
Rev | Line | |
---|
[10] | 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 | */ |
---|
[36] | 12 | class SurveyButton { |
---|
[10] | 13 | |
---|
| 14 | public function __construct() { |
---|
[36] | 15 | |
---|
| 16 | } |
---|
| 17 | |
---|
| 18 | public static function newSurveyButton() { |
---|
[10] | 19 | ?> |
---|
| 20 | |
---|
| 21 | <form action="surveycreation.php" method="post"> |
---|
| 22 | |
---|
[36] | 23 | <input type="submit" value="Create new survey" class="surveyButton bigSurveyButton" /> |
---|
[10] | 24 | |
---|
| 25 | </form> |
---|
| 26 | |
---|
| 27 | <?php |
---|
| 28 | } |
---|
| 29 | |
---|
[36] | 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 | |
---|
[10] | 42 | } |
---|
| 43 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.