summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/pages/TimeTracker/ReportProject.page
diff options
context:
space:
mode:
authorwei <>2006-07-28 07:56:03 +0000
committerwei <>2006-07-28 07:56:03 +0000
commitfbf05a159bc1a688940c16dc304eaaf140188b01 (patch)
tree9346b49526b9ef908e59039244b2f3c220f5a530 /demos/time-tracker/protected/pages/TimeTracker/ReportProject.page
parentff6db29dff9b4778b97d2234d08cdcc10770562a (diff)
Time-Tracker Demo: Escape html entities in output.
Diffstat (limited to 'demos/time-tracker/protected/pages/TimeTracker/ReportProject.page')
-rw-r--r--demos/time-tracker/protected/pages/TimeTracker/ReportProject.page16
1 files changed, 8 insertions, 8 deletions
diff --git a/demos/time-tracker/protected/pages/TimeTracker/ReportProject.page b/demos/time-tracker/protected/pages/TimeTracker/ReportProject.page
index 38c8d86d..5f961da4 100644
--- a/demos/time-tracker/protected/pages/TimeTracker/ReportProject.page
+++ b/demos/time-tracker/protected/pages/TimeTracker/ReportProject.page
@@ -22,9 +22,9 @@
<th>Est. Completion</th>
</tr>
<tr>
- <td><%# $this->DataItem->ProjectName %></td>
- <td><%# $this->DataItem->EstimateHours %></td>
- <td><%# $this->DataItem->ActualHours %></td>
+ <td><%# h($this->DataItem->ProjectName) %></td>
+ <td><%# h($this->DataItem->EstimateHours) %></td>
+ <td><%# h($this->DataItem->ActualHours) %></td>
<td>
<com:System.I18N.TDateFormat
Pattern="dd/MM/yyyy"
@@ -49,9 +49,9 @@
<th>Actual Hours</th>
</tr>
<tr>
- <td><%# $this->DataItem->CategoryName %></td>
- <td><%# $this->DataItem->EstimateHours %></td>
- <td><%# $this->DataItem->ActualHours %></td>
+ <td><%# h($this->DataItem->CategoryName) %></td>
+ <td><%# h($this->DataItem->EstimateHours) %></td>
+ <td><%# h($this->DataItem->ActualHours) %></td>
</tr>
@@ -60,10 +60,10 @@
<!-- member -->
<tr>
<td colspan="2">
- <%# $this->DataItem['username'] %>
+ <%# h($this->DataItem['username']) %>
</td>
<td>
- <%# $this->DataItem['hours'] %>
+ <%# h($this->DataItem['hours']) %>
</td>
</tr>
<!-- //member -->