projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring - formatting improvements.
[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
4c92129
..
a679820
100644
(file)
--- a/
WEB-INF/templates/expense_edit.tpl
+++ b/
WEB-INF/templates/expense_edit.tpl
@@
-24,7
+24,7
@@
projects = new Array();
{/foreach}
// Mandatory top option for project dropdown.
{/foreach}
// Mandatory top option for project dropdown.
-empty_label_project =
'{$i18n.dropdown.select|escape:'javascript'}'
;
+empty_label_project =
"{$i18n.dropdown.select|escape:'javascript'}"
;
// The fillProjectDropdown function populates the project combo box with
// projects associated with a selected client (client id is passed here as id).
// The fillProjectDropdown function populates the project combo box with
// projects associated with a selected client (client id is passed here as id).
@@
-78,7
+78,7
@@
function get_date() {
<table border="0">
{if $user->isPluginEnabled('cl')}
<tr>
<table border="0">
{if $user->isPluginEnabled('cl')}
<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}
@@
-94,7
+94,7
@@
function get_date() {
</tr>
<tr>
<td align="right">{$i18n.label.cost}:</td>
</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.date}:</td>
@@
-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}