projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modified templates to use newline in the end of file.
[timetracker.git]
/
WEB-INF
/
templates
/
expense_edit.tpl
diff --git
a/WEB-INF/templates/expense_edit.tpl
b/WEB-INF/templates/expense_edit.tpl
index
5f4a4e4
..
7881d79
100644
(file)
--- a/
WEB-INF/templates/expense_edit.tpl
+++ b/
WEB-INF/templates/expense_edit.tpl
@@
-76,9
+76,9
@@
function get_date() {
<tr>
<td valign="top">
<table border="0">
<tr>
<td valign="top">
<table border="0">
-{if
in_array('cl', explode(',', $user->plugins)
)}
+{if
$user->isPluginEnabled('cl'
)}
<tr>
<tr>
- <td align="right">{$i18n.label.client} {if
in_array('cm', explode(',', $user->plugins)
)}(*){/if}:</td>
+ <td align="right">{$i18n.label.client} {if
$user->isPluginEnabled('cm'
)}(*){/if}:</td>
<td>{$forms.expenseItemForm.client.control}</td>
</tr>
{/if}
<td>{$forms.expenseItemForm.client.control}</td>
</tr>
{/if}
@@
-114,4
+114,4
@@
function get_date() {
</td>
</tr>
</table>
</td>
</tr>
</table>
-{$forms.expenseItemForm.close}
\ No newline at end of file
+{$forms.expenseItemForm.close}