X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Freport.tpl;h=a05618db94dbc373124240cf5afca2fccba73e44;hb=eb23c6e3ef94c259eda67218e0902f981e5dcfb2;hp=4ed3baa138d2c432d24ae7048adc5cac5f53bf0b;hpb=a781da5661a1932521e0d1feb4be340b97edce9a;p=timetracker.git diff --git a/WEB-INF/templates/report.tpl b/WEB-INF/templates/report.tpl index 4ed3baa1..a05618db 100644 --- a/WEB-INF/templates/report.tpl +++ b/WEB-INF/templates/report.tpl @@ -14,13 +14,13 @@ {if $bean->getAttribute('chtotalsonly')} - {$group_by_header|escape:'html'} + {$group_by_header|escape} {if $bean->getAttribute('chduration')}{$i18n.label.duration}{/if} {if $bean->getAttribute('chcost')}{$i18n.label.cost}{/if} {foreach $subtotals as $subtotal} - {if $subtotal['name']}{$subtotal['name']|escape:'html'}{else} {/if} + {if $subtotal['name']}{$subtotal['name']|escape}{else} {/if} {if $bean->getAttribute('chduration')}{$subtotal['time']}{/if} {if $bean->getAttribute('chcost')}{if $user->canManageTeam() || $user->isClient()}{$subtotal['cost']}{else}{$subtotal['expenses']}{/if}{/if} @@ -30,7 +30,7 @@ {$i18n.label.total} {if $bean->getAttribute('chduration')}{$totals['time']}{/if} - {if $bean->getAttribute('chcost')}{$user->currency|escape:'html'} {if $user->canManageTeam() || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if}{/if} + {if $bean->getAttribute('chcost')}{$user->currency|escape} {if $user->canManageTeam() || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if}{/if} {else} @@ -40,7 +40,7 @@ {if $bean->getAttribute('chclient')}{$i18n.label.client}{/if} {if $bean->getAttribute('chproject')}{$i18n.label.project}{/if} {if $bean->getAttribute('chtask')}{$i18n.label.task}{/if} - {if $bean->getAttribute('chcf_1')}{$custom_fields->fields[0]['label']|escape:'html'}{/if} + {if $bean->getAttribute('chcf_1')}{$custom_fields->fields[0]['label']|escape}{/if} {if $bean->getAttribute('chstart')}{$i18n.label.start}{/if} {if $bean->getAttribute('chfinish')}{$i18n.label.finish}{/if} {if $bean->getAttribute('chduration')}{$i18n.label.duration}{/if} @@ -56,11 +56,11 @@ {if $cur_grouped_by != $prev_grouped_by && !$first_pass} {$i18n.label.subtotal} - {if $user->canManageTeam() || $user->isClient()}{if $group_by == 'user'}{$subtotals[$prev_grouped_by]['name']|escape:'html'}{/if}{/if} - {if $bean->getAttribute('chclient')}{if $group_by == 'client'}{$subtotals[$prev_grouped_by]['name']|escape:'html'}{/if}{/if} - {if $bean->getAttribute('chproject')}{if $group_by == 'project'}{$subtotals[$prev_grouped_by]['name']|escape:'html'}{/if}{/if} - {if $bean->getAttribute('chtask')}{if $group_by == 'task'}{$subtotals[$prev_grouped_by]['name']|escape:'html'}{/if}{/if} - {if $bean->getAttribute('chcf_1')}{if $group_by == 'cf_1'}{$subtotals[$prev_grouped_by]['name']|escape:'html'}{/if}{/if} + {if $user->canManageTeam() || $user->isClient()}{if $group_by == 'user'}{$subtotals[$prev_grouped_by]['name']|escape}{/if}{/if} + {if $bean->getAttribute('chclient')}{if $group_by == 'client'}{$subtotals[$prev_grouped_by]['name']|escape}{/if}{/if} + {if $bean->getAttribute('chproject')}{if $group_by == 'project'}{$subtotals[$prev_grouped_by]['name']|escape}{/if}{/if} + {if $bean->getAttribute('chtask')}{if $group_by == 'task'}{$subtotals[$prev_grouped_by]['name']|escape}{/if}{/if} + {if $bean->getAttribute('chcf_1')}{if $group_by == 'cf_1'}{$subtotals[$prev_grouped_by]['name']|escape}{/if}{/if} {if $bean->getAttribute('chstart')}{/if} {if $bean->getAttribute('chfinish')}{/if} {if $bean->getAttribute('chduration')}{$subtotals[$prev_grouped_by]['time']}{/if} @@ -78,18 +78,18 @@ {/if} {$item.date} - {if $user->canManageTeam() || $user->isClient()}{$item.user|escape:'html'}{/if} - {if $bean->getAttribute('chclient')}{$item.client|escape:'html'}{/if} - {if $bean->getAttribute('chproject')}{$item.project|escape:'html'}{/if} - {if $bean->getAttribute('chtask')}{$item.task|escape:'html'}{/if} - {if $bean->getAttribute('chcf_1')}{$item.cf_1|escape:'html'}{/if} + {if $user->canManageTeam() || $user->isClient()}{$item.user|escape}{/if} + {if $bean->getAttribute('chclient')}{$item.client|escape}{/if} + {if $bean->getAttribute('chproject')}{$item.project|escape}{/if} + {if $bean->getAttribute('chtask')}{$item.task|escape}{/if} + {if $bean->getAttribute('chcf_1')}{$item.cf_1|escape}{/if} {if $bean->getAttribute('chstart')}{$item.start}{/if} {if $bean->getAttribute('chfinish')}{$item.finish}{/if} {if $bean->getAttribute('chduration')}{$item.duration}{/if} - {if $bean->getAttribute('chnote')}{$item.note|escape:'html'}{/if} + {if $bean->getAttribute('chnote')}{$item.note|escape}{/if} {if $bean->getAttribute('chcost')}{if $user->canManageTeam() || $user->isClient()}{$item.cost}{else}{$item.expense}{/if}{/if} {if $bean->getAttribute('chinvoice')} - {$item.invoice|escape:'html'} + {$item.invoice|escape} {if $use_checkboxes} {if 1 == $item.type}{/if} {if 2 == $item.type}{/if} @@ -103,11 +103,11 @@ {if $print_subtotals} {$i18n.label.subtotal} - {if $user->canManageTeam() || $user->isClient()}{if $group_by == 'user'}{$subtotals[$cur_grouped_by]['name']|escape:'html'}{/if}{/if} - {if $bean->getAttribute('chclient')}{if $group_by == 'client'}{$subtotals[$cur_grouped_by]['name']|escape:'html'}{/if}{/if} - {if $bean->getAttribute('chproject')}{if $group_by == 'project'}{$subtotals[$cur_grouped_by]['name']|escape:'html'}{/if}{/if} - {if $bean->getAttribute('chtask')}{if $group_by == 'task'}{$subtotals[$cur_grouped_by]['name']|escape:'html'}{/if}{/if} - {if $bean->getAttribute('chcf_1')}{if $group_by == 'cf_1'}{$subtotals[$cur_grouped_by]['name']|escape:'html'}{/if}{/if} + {if $user->canManageTeam() || $user->isClient()}{if $group_by == 'user'}{$subtotals[$cur_grouped_by]['name']|escape}{/if}{/if} + {if $bean->getAttribute('chclient')}{if $group_by == 'client'}{$subtotals[$cur_grouped_by]['name']|escape}{/if}{/if} + {if $bean->getAttribute('chproject')}{if $group_by == 'project'}{$subtotals[$cur_grouped_by]['name']|escape}{/if}{/if} + {if $bean->getAttribute('chtask')}{if $group_by == 'task'}{$subtotals[$cur_grouped_by]['name']|escape}{/if}{/if} + {if $bean->getAttribute('chcf_1')}{if $group_by == 'cf_1'}{$subtotals[$cur_grouped_by]['name']|escape}{/if}{/if} {if $bean->getAttribute('chstart')}{/if} {if $bean->getAttribute('chfinish')}{/if} {if $bean->getAttribute('chduration')}{$subtotals[$cur_grouped_by]['time']}{/if} @@ -129,7 +129,7 @@ {if $bean->getAttribute('chfinish')}{/if} {if $bean->getAttribute('chduration')}{$totals['time']}{/if} {if $bean->getAttribute('chnote')}{/if} - {if $bean->getAttribute('chcost')}{$user->currency|escape:'html'} {if $user->canManageTeam() || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if}{/if} + {if $bean->getAttribute('chcost')}{$user->currency|escape} {if $user->canManageTeam() || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if}{/if} {if $bean->getAttribute('chinvoice')}{/if} {/if}