summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/pages/TimeTracker/ReportResource.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/ReportResource.page
parentff6db29dff9b4778b97d2234d08cdcc10770562a (diff)
Time-Tracker Demo: Escape html entities in output.
Diffstat (limited to 'demos/time-tracker/protected/pages/TimeTracker/ReportResource.page')
-rw-r--r--demos/time-tracker/protected/pages/TimeTracker/ReportResource.page16
1 files changed, 8 insertions, 8 deletions
diff --git a/demos/time-tracker/protected/pages/TimeTracker/ReportResource.page b/demos/time-tracker/protected/pages/TimeTracker/ReportResource.page
index 5e112505..e72fd0f2 100644
--- a/demos/time-tracker/protected/pages/TimeTracker/ReportResource.page
+++ b/demos/time-tracker/protected/pages/TimeTracker/ReportResource.page
@@ -31,9 +31,9 @@
<com:TView>
<h3>Beginning Date</h3>
- <h4><%= $this->dateFrom->Date %></h4>
+ <h4><%= h($this->dateFrom->Date) %></h4>
<h3>Ending Date</h3>
- <h4><%= $this->dateTo->Date %></h4>
+ <h4><%= h($this->dateTo->Date) %></h4>
<com:TRepeater ID="resource_report" OnItemCreated="resource_report_itemCreated" EnableViewState="false">
<prop:ItemTemplate>
@@ -43,8 +43,8 @@
<th>Total Hours</th>
</tr>
<tr>
- <td><%# $this->DataItem->Username %></td>
- <td><%# $this->DataItem->TotalHours %></td>
+ <td><%# h($this->DataItem->Username) %></td>
+ <td><%# h($this->DataItem->TotalHours) %></td>
</tr>
</table>
@@ -68,10 +68,10 @@
Pattern="dd/MM/yyyy"
Value=<%# $this->DataItem->ReportDate %> />
</td>
- <td><%# $this->DataItem->ProjectName %></td>
- <td><%# $this->DataItem->CategoryName %></td>
- <td><%# $this->DataItem->Duration %></td>
- <td><%# $this->DataItem->Description %></td>
+ <td><%# h($this->DataItem->ProjectName) %></td>
+ <td><%# h($this->DataItem->CategoryName) %></td>
+ <td><%# h($this->DataItem->Duration) %></td>
+ <td><%# h($this->DataItem->Description) %></td>
</tr>
</prop:ItemTemplate>
</com:TRepeater>