Changeset 59 for Dev/trunk/classes
- Timestamp:
- 07/27/11 18:57:54 (14 years ago)
- Location:
- Dev/trunk/classes
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/classes/ApplicationMenu.php
r58 r59 6 6 * @author fpvanagthoven 7 7 */ 8 class ApplicationMenu {8 class ApplicationMenu extends Menu { 9 9 10 10 public function __construct() { 11 ?> <div id="menu2" class="menu"> <?php 11 12 ?><fieldset class="menu"><?php 13 parent::__construct('Application'); 12 14 ?> <div class="menuButtons"> <?php 13 15 ApplicationMenu::createApplicationButton(); … … 15 17 ?> </div> <?php 16 18 ApplicationMenu::loadApplicationList(null); 17 ?> </div><?php19 ?></fieldset><?php 18 20 } 19 21 -
Dev/trunk/classes/SessionMenu.php
r58 r59 13 13 SessionMenu::createSessionButton(); 14 14 SessionMenu::loadSessionButton(); 15 SessionMenu::startSessionButton(); 15 16 ?> </div> <?php 16 17 SessionMenu::loadSessionList(null); … … 38 39 } 39 40 41 public static function startSessionButton() { 42 ?> 43 <form action="session.php" method="post"> 44 <input type="button" onclick="startSession()" value="Start session" class="surveyButton bigSurveyButton" /> 45 </form> 46 <?php 47 } 48 40 49 public static function loadSessionList($sessions) { 41 50 ?> -
Dev/trunk/classes/SurveyCreationTool.php
r54 r59 370 370 else 371 371 { 372 input.style.border = '1px solid # abadb3';372 input.style.border = '1px solid #888;'; 373 373 input.checkPassed = null; 374 374 } -
Dev/trunk/classes/SurveyMenu.php
r58 r59 17 17 SurveyMenu::newSurveyButton(); 18 18 SurveyMenu::loadSurveyButton(); 19 SurveyMenu::deleteSurveyButton(); 19 20 ?> </div> <?php 20 21 SurveyMenu::loadSurveyList($surveys); … … 34 35 } 35 36 36 /**37 *38 * @param Survey $surveys An array of surveys39 */40 37 public static function loadSurveyButton() { 41 38 ?> … … 46 43 } 47 44 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 */ 48 57 public static function loadSurveyList($surveys) { 49 58 ?> … … 56 65 </select> 57 66 <?php 58 59 67 } 60 68 -
Dev/trunk/classes/SurveyTool.php
r55 r59 147 147 private function submitSurvey() { 148 148 ?> 149 <input type="submit" value="Submit survey!" class="topMargin surveyButton bigSurveyButton"/>149 <input type="submit" value="Submit survey!" id="submitSurvey" class="topMargin surveyButton bigSurveyButton"/> 150 150 <?php 151 151 }
Note: See TracChangeset
for help on using the changeset viewer.