<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
- <td colspan="2" align="center"><b>{$team_to_delete|escape:'html'}</b></td>
+ <td colspan="2" align="center"><b>{$team_to_delete|escape}</b></td>
</tr>
<tr>
<td colspan="2" align="center"> </td>
{foreach $teams as $team}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
<td>{$team.id}</td>
- <td>{$team.name|escape:'html'}</td>
+ <td>{$team.name|escape}</td>
<td nowrap>{$team.date}</td>
<td align="center">{$team.lang}</td>
<td><a href="admin_team_edit.php?id={$team.id}">{$i18n.label.edit}</a></td>
{if $user->canManageTeam()}
<table cellspacing="0" cellpadding="0" border="0">
<tr>
- <td colspan="2" align="center"><b>{$field|escape:'html'}</b></td>
+ <td colspan="2" align="center"><b>{$field|escape}</b></td>
</tr>
<tr>
<td colspan="2" align="center"> </td>
{if $custom_fields}
{foreach $custom_fields as $field}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$field['label']|escape:'html'}</td>
+ <td>{$field['label']|escape}</td>
{if CustomFields::TYPE_TEXT == $field['type']}
<td>{$i18n.label.type_text}</td>
<td></td>
{if $user->canManageTeam()}
<table cellspacing="0" cellpadding="0" border="0">
<tr>
- <td colspan="2" align="center"><b>{$option|escape:'html'}</b></td>
+ <td colspan="2" align="center"><b>{$option|escape}</b></td>
</tr>
<tr>
<td colspan="2" align="center"> </td>
{if $options}
{foreach $options as $key=>$val}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$val|escape:'html'}</td>
+ <td>{$val|escape}</td>
<td><a href="cf_dropdown_option_edit.php?id={$key}">{$i18n.label.edit}</a></td>
<td><a href="cf_dropdown_option_delete.php?id={$key}">{$i18n.label.delete}</a></td>
</tr>
<table border="0" cellspacing="3">
{section name=i loop=$totals}
{if $smarty.section.i.index <= 12}
- <tr><td style="width:7px;height:1em;background-color:{$totals[i].color_html};"></td><td>{$totals[i].name|escape:'html'}</td></tr>
+ <tr><td style="width:7px;height:1em;background-color:{$totals[i].color_html};"></td><td>{$totals[i].name|escape}</td></tr>
{/if}
{/section}
</table>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td>{$i18n.form.client.client_to_delete}:</td>
- <th>{$client_to_delete|escape:'html'}</th>
+ <th>{$client_to_delete|escape}</th>
</tr>
<tr>
<td>{$i18n.form.client.client_entries}:</td>
</tr>
{foreach $active_clients as $client}
<tr valign="top" bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$client.name|escape:'html'}</td>
- <td>{$client.address|escape:'html'}</td>
+ <td>{$client.name|escape}</td>
+ <td>{$client.address|escape}</td>
<td><a href="client_edit.php?id={$client.id}">{$i18n.label.edit}</a></td>
<td><a href="client_delete.php?id={$client.id}">{$i18n.label.delete}</a></td>
</tr>
</tr>
{foreach $inactive_clients as $client}
<tr valign="top" bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$client.name|escape:'html'}</td>
- <td>{$client.address|escape:'html'}</td>
+ <td>{$client.name|escape}</td>
+ <td>{$client.address|escape}</td>
<td><a href="client_edit.php?id={$client.id}">{$i18n.label.edit}</a></td>
<td><a href="client_delete.php?id={$client.id}">{$i18n.label.delete}</a></td>
</tr>
</tr>
<tr bgcolor="{cycle values="#f5f5f5,#ccccce"}">
{if $user->isPluginEnabled('cl')}
- <td>{$expense_item.client_name|escape:'html'}</td>
+ <td>{$expense_item.client_name|escape}</td>
{/if}
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- <td>{$expense_item.project_name|escape:'html'}</td>
+ <td>{$expense_item.project_name|escape}</td>
{/if}
- <td>{$expense_item.name|escape:'html'}</td>
+ <td>{$expense_item.name|escape}</td>
<td align="right">{$expense_item.cost}</td>
</tr>
</table>
</tr>
<tr>
<td align="right">{$i18n.label.cost}:</td>
- <td>{$forms.expenseItemForm.cost.control} {$user->currency|escape:'html'}</td>
+ <td>{$forms.expenseItemForm.cost.control} {$user->currency|escape}</td>
</tr>
<tr>
<td align="right">{$i18n.label.date}:</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>
{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)}
- <td valign='top'>{$item.project|escape:'html'}</td>
+ <td valign='top'>{$item.project|escape}</td>
{/if}
- <td valign='top'>{$item.item|escape:'html'}</td>
+ <td valign='top'>{$item.item|escape}</td>
<td valign='top' align='right'>{$item.cost}</td>
<td valign='top' align='center'>{if $item.invoice_id} {else}<a href='expense_edit.php?id={$item.id}'>{$i18n.label.edit}</a>{/if}</td>
</tr>
</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}
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.9.35.3553 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.9.35.3554 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
{if $title}
<table cellspacing="0" cellpadding="5" width="{$tab_width+20}" border="0">
<tr><td class="sectionHeader"><div class="pageTitle">{$title}{if $timestring}: {$timestring}{/if}</div></td></tr>
- <tr><td>{$user->name|escape:'html'}{if $user->isAdmin()} {$i18n.label.role_admin}{elseif $user->isManager()} {$i18n.label.role_manager}{elseif $user->canManageTeam()} {$i18n.label.role_comanager}{/if}{if $user->behalf_id > 0} <b>{$i18n.label.on_behalf} {$user->behalf_name|escape:'html'}</b>{/if}{if $user->team}, {$user->team|escape:'html'}{/if}</td></tr>
+ <tr><td>{$user->name|escape}{if $user->isAdmin()} {$i18n.label.role_admin}{elseif $user->isManager()} {$i18n.label.role_manager}{elseif $user->canManageTeam()} {$i18n.label.role_comanager}{/if}{if $user->behalf_id > 0} <b>{$i18n.label.on_behalf} {$user->behalf_name|escape}</b>{/if}{if $user->team}, {$user->team|escape}{/if}</td></tr>
</table>
{/if}
<!-- end of page title and user details -->
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td>{$i18n.form.invoice.invoice_to_delete}:</td>
- <th>{$invoice_to_delete|escape:'html'}</th>
+ <th>{$invoice_to_delete|escape}</th>
</tr>
<tr>
<td>{$i18n.form.invoice.invoice_entries}:</td>
<tr>
<td>
<table border=0 width=100%>
- <tr><td align="center"><b style="font-size: 15pt; font-family: Arial, Helvetica, sans-serif;">{$i18n.title.invoice} {$invoice_name|escape:'html'} </b></td></tr>
+ <tr><td align="center"><b style="font-size: 15pt; font-family: Arial, Helvetica, sans-serif;">{$i18n.title.invoice} {$invoice_name|escape} </b></td></tr>
<tr><td align='left'><b>{$i18n.label.date}:</b> {$invoice_date}</td></tr>
- <tr><td align='left'><b>{$i18n.label.client}:</b> {$client_name|escape:'html'}</td></tr>
- <tr><td align='left'><b>{$i18n.label.client_address}:</b> {$client_address|escape:'html'}</td></tr>
+ <tr><td align='left'><b>{$i18n.label.client}:</b> {$client_name|escape}</td></tr>
+ <tr><td align='left'><b>{$i18n.label.client_address}:</b> {$client_address|escape}</td></tr>
</table>
</td>
</tr>
{foreach $invoice_items as $invoice_item}
<tr bgcolor="{cycle values="#f5f5f5,#ccccce"}">
<td valign='top'>{$invoice_item.date}</td>
- <td valign='top'>{$invoice_item.user_name|escape:'html'}</td>
+ <td valign='top'>{$invoice_item.user_name|escape}</td>
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- <td valign='top'>{$invoice_item.project_name|escape:'html'}</td>
+ <td valign='top'>{$invoice_item.project_name|escape}</td>
{/if}
{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- <td valign='top'>{$invoice_item.task_name|escape:'html'}</td>
+ <td valign='top'>{$invoice_item.task_name|escape}</td>
{/if}
- <td valign='top'>{$invoice_item.note|escape:'html'}</td>
+ <td valign='top'>{$invoice_item.note|escape}</td>
<td align='right' valign='top'>{$invoice_item.duration}</td>
<td align='right' valign='top'>{$invoice_item.cost}</td>
</tr>
{if $tax}
<tr>
<td align="right" colspan="{$colspan}"><b>{$i18n.label.subtotal}:</b></td>
- <td align="right"><nobr>{$subtotal|escape:'html'}</nobr></td>
+ <td align="right"><nobr>{$subtotal|escape}</nobr></td>
</tr>
<tr>
<td align="right" colspan="{$colspan}"><b>{$i18n.label.tax}:</b></td>
- <td align="right"><nobr>{$tax|escape:'html'}</nobr></td>
+ <td align="right"><nobr>{$tax|escape}</nobr></td>
</tr>
{/if}
<tr>
<td align="right" colspan="{$colspan}"><b>{$i18n.label.total}:</b></td>
- <td align="right"><nobr>{$total|escape:'html'}</nobr></td>
+ <td align="right"><nobr>{$total|escape}</nobr></td>
</tr>
</table>
{/if}
</tr>
{foreach $invoices as $invoice}
<tr valign="top" bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$invoice.name|escape:'html'}</td>
- <td>{$invoice.client_name|escape:'html'}</td>
+ <td>{$invoice.name|escape}</td>
+ <td>{$invoice.client_name|escape}</td>
<td>{$invoice.date}</td>
<td><a href="invoice_view.php?id={$invoice.id}">{$i18n.label.view}</a></td>
{if !$user->isClient()}
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td>{$i18n.form.client.client_to_delete}:</td>
- <th>{$client_to_delete|escape:'html'}</th>
+ <th>{$client_to_delete|escape}</th>
</tr>
<tr>
<td>{$i18n.form.client.client_entries}:</td>
</tr>
{foreach $active_clients as $client}
<tr valign="top" bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td><a href="client_edit.php?id={$client.id}">{$client.name|escape:'html'}</a></td>
- <td>{$client.address|escape:'html'}</td>
+ <td><a href="client_edit.php?id={$client.id}">{$client.name|escape}</a></td>
+ <td>{$client.address|escape}</td>
</tr>
{/foreach}
</table>
</tr>
{foreach $inactive_clients as $client}
<tr valign="top" bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td><a href="client_edit.php?id={$client.id}">{$client.name|escape:'html'}</a></td>
- <td>{$client.address|escape:'html'}</td>
+ <td><a href="client_edit.php?id={$client.id}">{$client.name|escape}</a></td>
+ <td>{$client.address|escape}</td>
</tr>
{/foreach}
</table>
</tr>
<tr bgcolor="{cycle values="#f5f5f5,#ccccce"}">
{if $user->isPluginEnabled('cl')}
- <td>{$expense_item.client_name|escape:'html'}</td>
+ <td>{$expense_item.client_name|escape}</td>
{/if}
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- <td>{$expense_item.project_name|escape:'html'}</td>
+ <td>{$expense_item.project_name|escape}</td>
{/if}
- <td>{$expense_item.name|escape:'html'}</td>
+ <td>{$expense_item.name|escape}</td>
<td align="right">{$expense_item.cost}</td>
</tr>
</table>
</tr>
<tr>
<td align="right">{$i18n.label.cost}:</td>
- <td>{$forms.expenseItemForm.cost.control} {$user->currency|escape:'html'}</td>
+ <td>{$forms.expenseItemForm.cost.control} {$user->currency|escape}</td>
</tr>
<tr>
<td align="right">{$i18n.label.date}:</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>
{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)}
- <td valign='top'>{$item.project|escape:'html'}</td>
+ <td valign='top'>{$item.project|escape}</td>
{/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 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>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
- <td colspan="2" align="center"><b>{$project_to_delete|escape:'html'}</b></td>
+ <td colspan="2" align="center"><b>{$project_to_delete|escape}</b></td>
</tr>
<tr><td colspan="2" align="center"> </td></tr>
<tr>
{if $active_projects}
{foreach $active_projects as $project}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td><a href="project_edit.php?id={$project.id}">{$project.name|escape:'html'}</a></td>
- <td>{$project.description|escape:'html'}</td>
+ <td><a href="project_edit.php?id={$project.id}">{$project.name|escape}</a></td>
+ <td>{$project.description|escape}</td>
</tr>
{/foreach}
{/if}
</tr>
{foreach $inactive_projects as $project}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td><a href="project_edit.php?id={$project.id}">{$project.name|escape:'html'}</a></td>
- <td>{$project.description|escape:'html'}</td>
+ <td><a href="project_edit.php?id={$project.id}">{$project.name|escape}</a></td>
+ <td>{$project.description|escape}</td>
</tr>
{/foreach}
</table>
{if $active_projects}
{foreach $active_projects as $project}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$project.name|escape:'html'}</td>
- <td>{$project.description|escape:'html'}</td>
+ <td>{$project.name|escape}</td>
+ <td>{$project.description|escape}</td>
</tr>
{/foreach}
{/if}
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
- <td colspan="2" align="center"><b>{$task_to_delete|escape:'html'}</b></td>
+ <td colspan="2" align="center"><b>{$task_to_delete|escape}</b></td>
</tr>
<tr>
<td colspan="2" align="center"> </td>
{if $active_tasks}
{foreach $active_tasks as $task}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td><a href="task_edit.php?id={$task.id}">{$task.name|escape:'html'}</a></td>
- <td>{$task.description|escape:'html'}</td>
+ <td><a href="task_edit.php?id={$task.id}">{$task.name|escape}</a></td>
+ <td>{$task.description|escape}</td>
</tr>
{/foreach}
{/if}
</tr>
{foreach $inactive_tasks as $task}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td><a href="task_edit.php?id={$task.id}">{$task.name|escape:'html'}</a></td>
- <td>{$task.description|escape:'html'}</td>
+ <td><a href="task_edit.php?id={$task.id}">{$task.name|escape}</a></td>
+ <td>{$task.description|escape}</td>
</tr>
{/foreach}
</table>
{if $active_tasks}
{foreach $active_tasks as $task}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$task.name|escape:'html'}</td>
- <td>{$task.description|escape:'html'}</td>
+ <td>{$task.name|escape}</td>
+ <td>{$task.description|escape}</td>
</tr>
{/foreach}
{/if}
{foreach $time_records as $record}
<tr bgcolor="{cycle values="#ccccce,#f5f5f5"}" {if !$record.billable} class="not_billable" {/if}>
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- <td valign='top'>{$record.project|escape:'html'}</td>
+ <td valign='top'>{$record.project|escape}</td>
{/if}
<td align='right' valign='top'>{if ($record.duration == '0:00' && $record.start <> '')}<font color="#ff0000">{/if}{$record.duration}{if ($record.duration == '0:00' && $record.start <> '')}</font>{/if}</td>
<td align='center'>{if $record.invoice_id} {else}<a href='time_edit.php?id={$record.id}'>{$i18n.label.edit}</a>{/if}</td>
<tr><td><label>{$forms.timeRecordForm.billable.control}{$i18n.form.time.billable}</label></td></tr>
{/if}
{if ($custom_fields && $custom_fields->fields[0])}
- <tr><td>{$custom_fields->fields[0]['label']|escape:'html'}:</td></tr>
+ <tr><td>{$custom_fields->fields[0]['label']|escape}:</td></tr>
<tr><td>{$forms.timeRecordForm.cf_1.control}</td></tr>
{/if}
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
</tr>
<tr bgcolor="#f5f5f5">
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- <td>{$time_rec.project_name|escape:'html'}</td>
+ <td>{$time_rec.project_name|escape}</td>
{/if}
<td align="right">{if ($time_rec.duration == '0:00' && $time_rec.start <> '')}<font color="#ff0000">{$i18n.form.time.uncompleted}</font>{else}{$time_rec.duration}{/if}</td>
- <td>{if $time_rec.comment}{$time_rec.comment|escape:'html'}{else} {/if}</td>
+ <td>{if $time_rec.comment}{$time_rec.comment|escape}{else} {/if}</td>
</tr>
</table>
<table width="100%">
<tr><td><label>{$forms.timeRecordForm.billable.control}{$i18n.form.time.billable}</label></td></tr>
{/if}
{if ($custom_fields && $custom_fields->fields[0])}
- <tr><td>{$custom_fields->fields[0]['label']|escape:'html'}:</td></tr>
+ <tr><td>{$custom_fields->fields[0]['label']|escape}:</td></tr>
<tr><td>{$forms.timeRecordForm.cf_1.control}</td></tr>
{/if}
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
<tr><td><label>{$forms.timerRecordForm.billable.control}{$i18n.form.time.billable}</label></td></tr>
{/if}
{if ($custom_fields && $custom_fields->fields[0])}
- <tr><td>{$custom_fields->fields[0]['label']|escape:'html'}:</td></tr>
+ <tr><td>{$custom_fields->fields[0]['label']|escape}:</td></tr>
<tr><td>{$forms.timerRecordForm.cf_1.control}</td></tr>
{/if}
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
- <td colspan="2" align="center"><b>{$user_to_delete|escape:'html'}</b></td>
+ <td colspan="2" align="center"><b>{$user_to_delete|escape}</b></td>
</tr>
<tr>
<td colspan="2" align="center"> </td>
<span class="uncompleted-entry{if $u.has_uncompleted_entry} active{/if}"{if $u.has_uncompleted_entry} title="{$i18n.form.users.uncompleted_entry}"{/if}></span>
{/if}
{if $user->isManager()}
- <a href="user_edit.php?id={$u.id}">{$u.name|escape:'html'}</a>
+ <a href="user_edit.php?id={$u.id}">{$u.name|escape}</a>
{else}
{if ($user->id == $u.id) || ($smarty.const.ROLE_CLIENT == $u.role) || ($smarty.const.ROLE_USER == $u.role)}
- <a href="user_edit.php?id={$u.id}">{$u.name|escape:'html'}</a>
+ <a href="user_edit.php?id={$u.id}">{$u.name|escape}</a>
{else}
- {$u.name|escape:'html'}
+ {$u.name|escape}
{/if}
{/if}
</td>
- <td>{$u.login|escape:'html'}</td>
+ <td>{$u.login|escape}</td>
{if $smarty.const.ROLE_MANAGER == $u.role}
<td>{$i18n.form.users.manager}</td>
{elseif $smarty.const.ROLE_COMANAGER == $u.role}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
<td>
{if $user->isManager()}
- <a href="user_edit.php?id={$u.id}">{$u.name|escape:'html'}</a>
+ <a href="user_edit.php?id={$u.id}">{$u.name|escape}</a>
{else}
- {if ($user->id == $u.id) || ($smarty.const.ROLE_CLIENT == $u.role) || ($smarty.const.ROLE_USER == $u.role)}<a href="user_edit.php?id={$u.id}">{$u.name|escape:'html'}</a>{/if}
+ {if ($user->id == $u.id) || ($smarty.const.ROLE_CLIENT == $u.role) || ($smarty.const.ROLE_USER == $u.role)}<a href="user_edit.php?id={$u.id}">{$u.name|escape}</a>{/if}
{/if}
</td>
- <td>{$u.login|escape:'html'}</td>
+ <td>{$u.login|escape}</td>
{if $smarty.const.ROLE_MANAGER == $u.role}
<td>{$i18n.form.users.manager}</td>
{elseif $smarty.const.ROLE_COMANAGER == $u.role}
</tr>
{foreach $active_users as $u}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$u.name|escape:'html'}</td>
- <td>{$u.login|escape:'html'}</td>
+ <td>{$u.name|escape}</td>
+ <td>{$u.login|escape}</td>
{if $smarty.const.ROLE_MANAGER == $u.role}
<td>{$i18n.form.users.manager}</td>
{elseif $smarty.const.ROLE_COMANAGER == $u.role}
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
- <td colspan="2" align="center"><b>{$notification_to_delete|escape:'html'}</b></td>
+ <td colspan="2" align="center"><b>{$notification_to_delete|escape}</b></td>
</tr>
<tr><td colspan="2" align="center"> </td></tr>
<tr>
{if $notifications}
{foreach $notifications as $notification}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$notification['name']|escape:'html'}</td>
- <td>{$notification['cron_spec']|escape:'html'}</td>
- <td>{$notification['email']|escape:'html'}</td>
+ <td>{$notification['name']|escape}</td>
+ <td>{$notification['cron_spec']|escape}</td>
+ <td>{$notification['email']|escape}</td>
<td><a href="notification_edit.php?id={$notification['id']}">{$i18n.label.edit}</a></td>
<td><a href="notification_delete.php?id={$notification['id']}">{$i18n.label.delete}</a></td>
</tr>
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
- <td colspan="2" align="center"><b>{$project_to_delete|escape:'html'}</b></td>
+ <td colspan="2" align="center"><b>{$project_to_delete|escape}</b></td>
</tr>
<tr><td colspan="2" align="center"> </td></tr>
<tr>
{if $active_projects}
{foreach $active_projects as $project}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$project.name|escape:'html'}</td>
- <td>{$project.description|escape:'html'}</td>
+ <td>{$project.name|escape}</td>
+ <td>{$project.description|escape}</td>
<td><a href="project_edit.php?id={$project.id}">{$i18n.label.edit}</a></td>
<td><a href="project_delete.php?id={$project.id}">{$i18n.label.delete}</a></td>
</tr>
</tr>
{foreach $inactive_projects as $project}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$project.name|escape:'html'}</td>
- <td>{$project.description|escape:'html'}</td>
+ <td>{$project.name|escape}</td>
+ <td>{$project.description|escape}</td>
<td><a href="project_edit.php?id={$project.id}">{$i18n.label.edit}</a></td>
<td><a href="project_delete.php?id={$project.id}">{$i18n.label.delete}</a></td>
</tr>
{if $active_projects}
{foreach $active_projects as $project}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$project.name|escape:'html'}</td>
- <td>{$project.description|escape:'html'}</td>
+ <td>{$project.name|escape}</td>
+ <td>{$project.description|escape}</td>
</tr>
{/foreach}
{/if}
<!-- totals only report -->
{if $bean->getAttribute('chtotalsonly')}
<tr>
- <td class="tableHeader">{$group_by_header|escape:'html'}</td>
+ <td class="tableHeader">{$group_by_header|escape}</td>
{if $bean->getAttribute('chduration')}<td class="tableHeaderCentered" width="5%">{$i18n.label.duration}</td>{/if}
{if $bean->getAttribute('chcost')}<td class="tableHeaderCentered" width="5%">{$i18n.label.cost}</td>{/if}
</tr>
{foreach $subtotals as $subtotal}
<tr class="rowReportSubtotal">
- <td class="cellLeftAlignedSubtotal">{if $subtotal['name']}{$subtotal['name']|escape:'html'}{else} {/if}</td>
+ <td class="cellLeftAlignedSubtotal">{if $subtotal['name']}{$subtotal['name']|escape}{else} {/if}</td>
{if $bean->getAttribute('chduration')}<td class="cellRightAlignedSubtotal">{$subtotal['time']}</td>{/if}
{if $bean->getAttribute('chcost')}<td class="cellRightAlignedSubtotal">{if $user->canManageTeam() || $user->isClient()}{$subtotal['cost']}{else}{$subtotal['expenses']}{/if}</td>{/if}
</tr>
<tr class="rowReportSubtotal">
<td class="cellLeftAlignedSubtotal">{$i18n.label.total}</td>
{if $bean->getAttribute('chduration')}<td nowrap class="cellRightAlignedSubtotal">{$totals['time']}</td>{/if}
- {if $bean->getAttribute('chcost')}<td nowrap class="cellRightAlignedSubtotal">{$user->currency|escape:'html'} {if $user->canManageTeam() || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if}</td>{/if}
+ {if $bean->getAttribute('chcost')}<td nowrap class="cellRightAlignedSubtotal">{$user->currency|escape} {if $user->canManageTeam() || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if}</td>{/if}
</tr>
{else}
<!-- normal report -->
{if $bean->getAttribute('chclient')}<td class="tableHeader">{$i18n.label.client}</td>{/if}
{if $bean->getAttribute('chproject')}<td class="tableHeader">{$i18n.label.project}</td>{/if}
{if $bean->getAttribute('chtask')}<td class="tableHeader">{$i18n.label.task}</td>{/if}
- {if $bean->getAttribute('chcf_1')}<td class="tableHeader">{$custom_fields->fields[0]['label']|escape:'html'}</td>{/if}
+ {if $bean->getAttribute('chcf_1')}<td class="tableHeader">{$custom_fields->fields[0]['label']|escape}</td>{/if}
{if $bean->getAttribute('chstart')}<td class="tableHeaderCentered" width="5%">{$i18n.label.start}</td>{/if}
{if $bean->getAttribute('chfinish')}<td class="tableHeaderCentered" width="5%">{$i18n.label.finish}</td>{/if}
{if $bean->getAttribute('chduration')}<td class="tableHeaderCentered" width="5%">{$i18n.label.duration}</td>{/if}
{if $cur_grouped_by != $prev_grouped_by && !$first_pass}
<tr class="rowReportSubtotal">
<td class="cellLeftAlignedSubtotal">{$i18n.label.subtotal}
- {if $user->canManageTeam() || $user->isClient()}<td class="cellLeftAlignedSubtotal">{if $group_by == 'user'}{$subtotals[$prev_grouped_by]['name']|escape:'html'}</td>{/if}{/if}
- {if $bean->getAttribute('chclient')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'client'}{$subtotals[$prev_grouped_by]['name']|escape:'html'}</td>{/if}{/if}
- {if $bean->getAttribute('chproject')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'project'}{$subtotals[$prev_grouped_by]['name']|escape:'html'}</td>{/if}{/if}
- {if $bean->getAttribute('chtask')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'task'}{$subtotals[$prev_grouped_by]['name']|escape:'html'}</td>{/if}{/if}
- {if $bean->getAttribute('chcf_1')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'cf_1'}{$subtotals[$prev_grouped_by]['name']|escape:'html'}</td>{/if}{/if}
+ {if $user->canManageTeam() || $user->isClient()}<td class="cellLeftAlignedSubtotal">{if $group_by == 'user'}{$subtotals[$prev_grouped_by]['name']|escape}</td>{/if}{/if}
+ {if $bean->getAttribute('chclient')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'client'}{$subtotals[$prev_grouped_by]['name']|escape}</td>{/if}{/if}
+ {if $bean->getAttribute('chproject')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'project'}{$subtotals[$prev_grouped_by]['name']|escape}</td>{/if}{/if}
+ {if $bean->getAttribute('chtask')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'task'}{$subtotals[$prev_grouped_by]['name']|escape}</td>{/if}{/if}
+ {if $bean->getAttribute('chcf_1')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'cf_1'}{$subtotals[$prev_grouped_by]['name']|escape}</td>{/if}{/if}
{if $bean->getAttribute('chstart')}<td></td>{/if}
{if $bean->getAttribute('chfinish')}<td></td>{/if}
{if $bean->getAttribute('chduration')}<td class="cellRightAlignedSubtotal">{$subtotals[$prev_grouped_by]['time']}</td>{/if}
{/if}
<tr class="{$report_row_class}">
<td class="cellLeftAligned">{$item.date}</td>
- {if $user->canManageTeam() || $user->isClient()}<td class="cellLeftAligned">{$item.user|escape:'html'}</td>{/if}
- {if $bean->getAttribute('chclient')}<td class="cellLeftAligned">{$item.client|escape:'html'}</td>{/if}
- {if $bean->getAttribute('chproject')}<td class="cellLeftAligned">{$item.project|escape:'html'}</td>{/if}
- {if $bean->getAttribute('chtask')}<td class="cellLeftAligned">{$item.task|escape:'html'}</td>{/if}
- {if $bean->getAttribute('chcf_1')}<td class="cellLeftAligned">{$item.cf_1|escape:'html'}</td>{/if}
+ {if $user->canManageTeam() || $user->isClient()}<td class="cellLeftAligned">{$item.user|escape}</td>{/if}
+ {if $bean->getAttribute('chclient')}<td class="cellLeftAligned">{$item.client|escape}</td>{/if}
+ {if $bean->getAttribute('chproject')}<td class="cellLeftAligned">{$item.project|escape}</td>{/if}
+ {if $bean->getAttribute('chtask')}<td class="cellLeftAligned">{$item.task|escape}</td>{/if}
+ {if $bean->getAttribute('chcf_1')}<td class="cellLeftAligned">{$item.cf_1|escape}</td>{/if}
{if $bean->getAttribute('chstart')}<td nowrap class="cellRightAligned">{$item.start}</td>{/if}
{if $bean->getAttribute('chfinish')}<td nowrap class="cellRightAligned">{$item.finish}</td>{/if}
{if $bean->getAttribute('chduration')}<td class="cellRightAligned">{$item.duration}</td>{/if}
- {if $bean->getAttribute('chnote')}<td class="cellLeftAligned">{$item.note|escape:'html'}</td>{/if}
+ {if $bean->getAttribute('chnote')}<td class="cellLeftAligned">{$item.note|escape}</td>{/if}
{if $bean->getAttribute('chcost')}<td class="cellRightAligned">{if $user->canManageTeam() || $user->isClient()}{$item.cost}{else}{$item.expense}{/if}</td>{/if}
{if $bean->getAttribute('chinvoice')}
- <td class="cellRightAligned">{$item.invoice|escape:'html'}</td>
+ <td class="cellRightAligned">{$item.invoice|escape}</td>
{if $use_checkboxes}
{if 1 == $item.type}<td bgcolor="white"><input type="checkbox" name="log_id_{$item.id}"></td>{/if}
{if 2 == $item.type}<td bgcolor="white"><input type="checkbox" name="item_id_{$item.id}"></td>{/if}
{if $print_subtotals}
<tr class="rowReportSubtotal">
<td class="cellLeftAlignedSubtotal">{$i18n.label.subtotal}
- {if $user->canManageTeam() || $user->isClient()}<td class="cellLeftAlignedSubtotal">{if $group_by == 'user'}{$subtotals[$cur_grouped_by]['name']|escape:'html'}</td>{/if}{/if}
- {if $bean->getAttribute('chclient')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'client'}{$subtotals[$cur_grouped_by]['name']|escape:'html'}</td>{/if}{/if}
- {if $bean->getAttribute('chproject')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'project'}{$subtotals[$cur_grouped_by]['name']|escape:'html'}</td>{/if}{/if}
- {if $bean->getAttribute('chtask')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'task'}{$subtotals[$cur_grouped_by]['name']|escape:'html'}</td>{/if}{/if}
- {if $bean->getAttribute('chcf_1')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'cf_1'}{$subtotals[$cur_grouped_by]['name']|escape:'html'}</td>{/if}{/if}
+ {if $user->canManageTeam() || $user->isClient()}<td class="cellLeftAlignedSubtotal">{if $group_by == 'user'}{$subtotals[$cur_grouped_by]['name']|escape}</td>{/if}{/if}
+ {if $bean->getAttribute('chclient')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'client'}{$subtotals[$cur_grouped_by]['name']|escape}</td>{/if}{/if}
+ {if $bean->getAttribute('chproject')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'project'}{$subtotals[$cur_grouped_by]['name']|escape}</td>{/if}{/if}
+ {if $bean->getAttribute('chtask')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'task'}{$subtotals[$cur_grouped_by]['name']|escape}</td>{/if}{/if}
+ {if $bean->getAttribute('chcf_1')}<td class="cellLeftAlignedSubtotal">{if $group_by == 'cf_1'}{$subtotals[$cur_grouped_by]['name']|escape}</td>{/if}{/if}
{if $bean->getAttribute('chstart')}<td></td>{/if}
{if $bean->getAttribute('chfinish')}<td></td>{/if}
{if $bean->getAttribute('chduration')}<td class="cellRightAlignedSubtotal">{$subtotals[$cur_grouped_by]['time']}</td>{/if}
{if $bean->getAttribute('chfinish')}<td></td>{/if}
{if $bean->getAttribute('chduration')}<td class="cellRightAlignedSubtotal">{$totals['time']}</td>{/if}
{if $bean->getAttribute('chnote')}<td></td>{/if}
- {if $bean->getAttribute('chcost')}<td nowrap class="cellRightAlignedSubtotal">{$user->currency|escape:'html'} {if $user->canManageTeam() || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if}</td>{/if}
+ {if $bean->getAttribute('chcost')}<td nowrap class="cellRightAlignedSubtotal">{$user->currency|escape} {if $user->canManageTeam() || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if}</td>{/if}
{if $bean->getAttribute('chinvoice')}<td></td>{/if}
</tr>
{/if}
<td>{if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}<label>{$forms.reportForm.chfinish.control} {$i18n.label.finish}</label>{/if}</td>
<td><label>{$forms.reportForm.chnote.control} {$i18n.label.note}</label></td>
{if ($custom_fields && $custom_fields->fields[0])}
- <td><label>{$forms.reportForm.chcf_1.control} {$custom_fields->fields[0]['label']|escape:'html'}</label></td>
+ <td><label>{$forms.reportForm.chcf_1.control} {$custom_fields->fields[0]['label']|escape}</label></td>
{else}
<td></td>
{/if}
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
- <td colspan="2" align="center"><b>{$task_to_delete|escape:'html'}</b></td>
+ <td colspan="2" align="center"><b>{$task_to_delete|escape}</b></td>
</tr>
<tr>
<td colspan="2" align="center"> </td>
{if $active_tasks}
{foreach $active_tasks as $task}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$task.name|escape:'html'}</td>
- <td>{$task.description|escape:'html'}</td>
+ <td>{$task.name|escape}</td>
+ <td>{$task.description|escape}</td>
<td><a href="task_edit.php?id={$task.id}">{$i18n.label.edit}</a></td>
<td><a href="task_delete.php?id={$task.id}">{$i18n.label.delete}</a></td>
</tr>
</tr>
{foreach $inactive_tasks as $task}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$task.name|escape:'html'}</td>
- <td>{$task.description|escape:'html'}</td>
+ <td>{$task.name|escape}</td>
+ <td>{$task.description|escape}</td>
<td><a href="task_edit.php?id={$task.id}">{$i18n.label.edit}</a></td>
<td><a href="task_delete.php?id={$task.id}">{$i18n.label.delete}</a></td>
</tr>
{if $active_tasks}
{foreach $active_tasks as $task}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$task.name|escape:'html'}</td>
- <td>{$task.description|escape:'html'}</td>
+ <td>{$task.name|escape}</td>
+ <td>{$task.description|escape}</td>
</tr>
{/foreach}
{/if}
{/if}
{if ($custom_fields && $custom_fields->fields[0])}
<tr>
- <td align="right">{$custom_fields->fields[0]['label']|escape:'html'}{if $custom_fields->fields[0]['required']} (*){/if}:</td><td>{$forms.timeRecordForm.cf_1.control}</td>
+ <td align="right">{$custom_fields->fields[0]['label']|escape}{if $custom_fields->fields[0]['required']} (*){/if}:</td><td>{$forms.timeRecordForm.cf_1.control}</td>
</tr>
{/if}
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
{foreach $time_records as $record}
<tr bgcolor="{cycle values="#f5f5f5,#ccccce"}" {if !$record.billable} class="not_billable" {/if}>
{if $user->isPluginEnabled('cl')}
- <td valign='top'>{$record.client|escape:'html'}</td>
+ <td valign='top'>{$record.client|escape}</td>
{/if}
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- <td valign='top'>{$record.project|escape:'html'}</td>
+ <td valign='top'>{$record.project|escape}</td>
{/if}
{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- <td valign='top'>{$record.task|escape:'html'}</td>
+ <td valign='top'>{$record.task|escape}</td>
{/if}
{if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
<td nowrap align='right' valign='top'>{if $record.start}{$record.start}{else} {/if}</td>
<td nowrap align='right' valign='top'>{if $record.finish}{$record.finish}{else} {/if}</td>
{/if}
<td align='right' valign='top'>{if ($record.duration == '0:00' && $record.start <> '')}<font color="#ff0000">{$i18n.form.time.uncompleted}</font>{else}{$record.duration}{/if}</td>
- <td valign='top'>{if $record.comment}{$record.comment|escape:'html'}{else} {/if}</td>
+ <td valign='top'>{if $record.comment}{$record.comment|escape}{else} {/if}</td>
<td valign='top' align='center'>
{if $record.invoice_id}
</tr>
<tr bgcolor="#f5f5f5">
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- <td>{$time_rec.project_name|escape:'html'}</td>
+ <td>{$time_rec.project_name|escape}</td>
{/if}
{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- <td>{$time_rec.task_name|escape:'html'}</td>
+ <td>{$time_rec.task_name|escape}</td>
{/if}
{if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
<td align="right">{if $time_rec.start}{$time_rec.start}{else} {/if}</td>
{if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
<td align="right">{if ($time_rec.duration == '0:00' && $time_rec.start <> '')}<font color="#ff0000">{$i18n.form.time.uncompleted}</font>{else}{$time_rec.duration}{/if}</td>
{/if}
- <td>{if $time_rec.comment}{$time_rec.comment|escape:'html'}{else} {/if}</td>
+ <td>{if $time_rec.comment}{$time_rec.comment|escape}{else} {/if}</td>
</tr>
</table>
<table width="100%">
{/if}
{if ($custom_fields && $custom_fields->fields[0])}
<tr>
- <td align="right">{$custom_fields->fields[0]['label']|escape:'html'}{if $custom_fields->fields[0]['required']} (*){/if}:</td><td>{$forms.timeRecordForm.cf_1.control}</td>
+ <td align="right">{$custom_fields->fields[0]['label']|escape}{if $custom_fields->fields[0]['required']} (*){/if}:</td><td>{$forms.timeRecordForm.cf_1.control}</td>
</tr>
{/if}
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
- <td colspan="2" align="center"><b>{$user_to_delete|escape:'html'}</b></td>
+ <td colspan="2" align="center"><b>{$user_to_delete|escape}</b></td>
</tr>
<tr>
<td colspan="2" align="center"> </td>
{if $smarty.const.UNCOMPLETED_INDICATORS == $user->uncompleted_indicators}
<span class="uncompleted-entry{if $u.has_uncompleted_entry} active{/if}"{if $u.has_uncompleted_entry} title="{$i18n.form.users.uncompleted_entry}"{/if}></span>
{/if}
- {$u.name|escape:'html'}
+ {$u.name|escape}
</td>
- <td>{$u.login|escape:'html'}</td>
+ <td>{$u.login|escape}</td>
{if $smarty.const.ROLE_MANAGER == $u.role}
<td>{$i18n.form.users.manager}</td>
{elseif $smarty.const.ROLE_COMANAGER == $u.role}
</tr>
{foreach $inactive_users as $u}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$u.name|escape:'html'}</td>
- <td>{$u.login|escape:'html'}</td>
+ <td>{$u.name|escape}</td>
+ <td>{$u.login|escape}</td>
{if $smarty.const.ROLE_MANAGER == $u.role}
<td>{$i18n.form.users.manager}</td>
{elseif $smarty.const.ROLE_COMANAGER == $u.role}
</tr>
{foreach $active_users as $u}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
- <td>{$u.name|escape:'html'}</td>
- <td>{$u.login|escape:'html'}</td>
+ <td>{$u.name|escape}</td>
+ <td>{$u.login|escape}</td>
{if $smarty.const.ROLE_MANAGER == $u.role}
<td>{$i18n.form.users.manager}</td>
{elseif $smarty.const.ROLE_COMANAGER == $u.role}