Ignore:
Timestamp:
07/27/11 18:57:54 (14 years ago)
Author:
fpvanagthoven
Message:

Absolutely had to do something about styling. Also some other things.

File:
1 edited

Legend:

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

    r58 r59  
    1717        SurveyMenu::newSurveyButton();
    1818        SurveyMenu::loadSurveyButton();
     19        SurveyMenu::deleteSurveyButton();
    1920        ?> </div> <?php
    2021        SurveyMenu::loadSurveyList($surveys);
     
    3435    }
    3536
    36     /**
    37      *
    38      * @param Survey $surveys An array of surveys
    39      */
    4037    public static function loadSurveyButton() {
    4138        ?>
     
    4643    }
    4744
     45    public static function deleteSurveyButton() {
     46        ?>
     47        <form action="" method="post">
     48            <input type="button" onclick="delSurvey()" value="Delete survey" class="surveyButton bigSurveyButton" />
     49        </form>
     50        <?php
     51    }
     52
     53    /**
     54     *
     55     * @param Survey $surveys An array of surveys
     56     */
    4857    public static function loadSurveyList($surveys) {
    4958        ?>
     
    5665        </select>
    5766        <?php
    58 
    5967    }
    6068
Note: See TracChangeset for help on using the changeset viewer.