Changeset 95 for Dev/trunk/classes/SurveyTool.php
- Timestamp:
- 08/31/11 15:35:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/classes/SurveyTool.php
r59 r95 70 70 71 71 private function displayDescription() { 72 if ($this->survey->description != Survey::DEFAULT_DESCRIPTION) 73 $description = $this->survey->description; 74 else 75 $description = ""; 72 76 ?> 73 <p class='centerBoxed'><?php echo $ this->survey->description; ?></p>77 <p class='centerBoxed'><?php echo $description; ?></p> 74 78 <?php 75 79 } … … 97 101 98 102 private function displayQuestionDescription($question) { 103 if ($question->description != "Write a question description here.") 104 $description = $question->description; 105 else 106 $description = ""; 99 107 ?> 100 <p><?php echo "<div class='questionDescription noPadding'>" . $ question->description . "</div>"; ?></p>108 <p><?php echo "<div class='questionDescription noPadding'>" . $description . "</div>"; ?></p> 101 109 <?php 102 110 }
Note: See TracChangeset
for help on using the changeset viewer.