projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplified templates by using the default Smarty escape calls.
[timetracker.git]
/
WEB-INF
/
templates
/
mobile
/
expenses.tpl
diff --git
a/WEB-INF/templates/mobile/expenses.tpl
b/WEB-INF/templates/mobile/expenses.tpl
index
9aab9a8
..
276f826
100644
(file)
--- a/
WEB-INF/templates/mobile/expenses.tpl
+++ b/
WEB-INF/templates/mobile/expenses.tpl
@@
-106,7
+106,7
@@
function get_date() {
</tr>
<tr>
<td align="right">{$i18n.label.cost} (*):</td>
</tr>
<tr>
<td align="right">{$i18n.label.cost} (*):</td>
- <td>{$forms.expensesForm.cost.control} {$user->currency|escape
:'html'
}</td>
+ <td>{$forms.expensesForm.cost.control} {$user->currency|escape}</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
@@
-144,24
+144,23
@@
function get_date() {
{foreach $expense_items as $item}
<tr bgcolor="{cycle values="#f5f5f5,#ccccce"}">
{if $user->isPluginEnabled('cl')}
{foreach $expense_items as $item}
<tr bgcolor="{cycle values="#f5f5f5,#ccccce"}">
{if $user->isPluginEnabled('cl')}
- <td valign='top'>{$item.client|escape
:'html'
}</td>
+ <td valign='top'>{$item.client|escape}</td>
{/if}
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
{/if}
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- <td valign='top'>{$item.project|escape
:'html'
}</td>
+ <td valign='top'>{$item.project|escape}</td>
{/if}
{/if}
- <td valign='top'>{if $item.invoice_id} {$item.item|escape
:'html'} {else}<a href='expense_edit.php?id={$item.id}'>{$item.item|escape:'html'
}</a>{/if}</td>
+ <td valign='top'>{if $item.invoice_id} {$item.item|escape
} {else}<a href='expense_edit.php?id={$item.id}'>{$item.item|escape
}</a>{/if}</td>
<td valign='top' align='right'>{$item.cost}</td>
</tr>
{/foreach}
</table>
<table border="0" cellpadding="3" cellspacing="1" width="100%">
<tr>
<td valign='top' align='right'>{$item.cost}</td>
</tr>
{/foreach}
</table>
<table border="0" cellpadding="3" cellspacing="1" width="100%">
<tr>
- <td nowrap align="right">{$i18n.label.day_total}: {$user->currency|escape
:'html'
} {$day_total}</td>
+ <td nowrap align="right">{$i18n.label.day_total}: {$user->currency|escape} {$day_total}</td>
</tr>
</table>
{/if}
</td>
</tr>
</table>
</tr>
</table>
{/if}
</td>
</tr>
</table>
-
{$forms.expensesForm.close}
{$forms.expensesForm.close}