-
+
-{if in_array('cl', explode(',', $user->plugins))}
+{if $user->isPluginEnabled('cl')}
{/if}
-{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
+{if $show_project}
{/if}
-
-{if in_array('cl', explode(',', $user->plugins))}
- {$expense_item.client_name|escape:'html'} |
+
+{if $user->isPluginEnabled('cl')}
+ {$expense_item.client_name|escape} |
{/if}
-{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
- {$expense_item.project_name|escape:'html'} |
+{if $show_project}
+ {$expense_item.project_name|escape} |
{/if}
- {$expense_item.name|escape:'html'} |
+ {$expense_item.name|escape} |
{$expense_item.cost} |
@@ -36,4 +36,4 @@
-{$forms.expenseItemForm.close}
\ No newline at end of file
+{$forms.expenseItemForm.close}
|