Ignore:
Timestamp:
07/21/11 20:04:58 (14 years ago)
Author:
fpvanagthoven
Message:

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

File:
1 moved

Legend:

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

    r32 r36  
    1010 * @author fpvanagthoven
    1111 */
    12 class NewSurveyButton {
     12class SurveyButton {
    1313
    1414    public function __construct() {
     15       
     16    }
     17
     18    public static function newSurveyButton() {
    1519        ?>
    1620
    1721        <form action="surveycreation.php" method="post">
    1822
    19             <input id="newSurveyButton" type="submit" name="btnlogin" value="Create new survey" class="surveyButton" />
     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" />
    2036
    2137        </form>
Note: See TracChangeset for help on using the changeset viewer.