Changeset 182 for Dev/trunk/returnQuestionDisplay.php
- Timestamp:
- 12/12/11 10:49:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/returnQuestionDisplay.php
r178 r182 16 16 $results = $dbi->get("Question", array("uid" => $uid)); 17 17 (is_array($results)) ? $result = $results[0] : $result = $results; //ternary operation! 18 $output += "HTML CODE HERE!"; 18 $output += ' 19 <div id="questionUID" class="smallFrame"> 20 <div class="smallTitle"><div class="listNumber">1</div>#QUESTION-IDENT-NO</div> 21 <div class="content"> 22 <p class="questionBody"> 23 This is the question body text. This is what the user will read when he/she is answering the survey.This is the question body text. This is what the user will read when he is answering the survey.This is the question body text. This is what the user will read when he is answering the survey. 24 </p> 25 <div class="questionParamsView"> 26 PARAMETERS GO HERE, probably in one line (Only answer type and identifier?) Tags? 27 </div> 28 </div> 29 <div id="questionDisplayControls" class="controls"> 30 <input type="button" value="Edit" onClick="javascript:alert(\'editing not yet supported\');" class =" smallButton"/> 31 <input type="button" value="Remove" onClick="javascript:alert(\'removing not yet supported\');" class =" smallButton"/> 32 </div> 33 </div> 34 '; 19 35 } 20 36
Note: See TracChangeset
for help on using the changeset viewer.