projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed an unused string.
[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
79be818
..
41e3c2e
100644
(file)
--- a/
WEB-INF/templates/expense_edit.tpl
+++ b/
WEB-INF/templates/expense_edit.tpl
@@
-27,7
+27,7
@@
projects = new Array();
empty_label_project = '{$i18n.dropdown.select|escape:'javascript'}';
// The fillProjectDropdown function populates the project combo box with
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).
+// projects associated with a selected client (client id is passed here as id).
function fillProjectDropdown(id) {
var str_ids = project_ids[id];
var dropdown = document.getElementById("project");
function fillProjectDropdown(id) {
var str_ids = project_ids[id];
var dropdown = document.getElementById("project");
@@
-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}