<td class="tableHeader">{$i18n.label.edit}</td>
<td class="tableHeader">{$i18n.label.delete}</td>
</tr>
- {if $teams}
- {foreach $teams as $team}
+{if $teams}
+ {foreach $teams as $team}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
<td>{$team.id}</td>
<td>{$team.name|escape:'html'}</td>
<td><a href="admin_team_edit.php?id={$team.id}">{$i18n.label.edit}</a></td>
<td><a href="admin_team_delete.php?id={$team.id}">{$i18n.label.delete}</a></td>
</tr>
- {/foreach}
- {/if}
+ {/foreach}
+{/if}
</table>
-
+
<table width="100%">
<tr>
<td align="center">
<table cellspacing="4" cellpadding="7" border="0">
<tr>
<td>
- {if $user->canManageTeam()}
+{if $user->canManageTeam()}
<table cellspacing="1" cellpadding="2" border="0">
<tr>
<td align="right">{$i18n.label.thing_name} (*):</td>
<td colspan="2" align="center" height="50">{$forms.fieldForm.btn_add.control}</td>
</tr>
</table>
- {/if}
+{/if}
</td>
</tr>
</table>
<table cellspacing="4" cellpadding="7" border="0">
<tr>
<td>
- {if $user->canManageTeam()}
+{if $user->canManageTeam()}
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td colspan="2" align="center"><b>{$field|escape:'html'}</b></td>
<td align="left"> {$forms.fieldDeleteForm.btn_cancel.control}</td>
</tr>
</table>
- {/if}
+{/if}
</td>
</tr>
</table>
<table cellspacing="4" cellpadding="7" border="0">
<tr>
<td>
- {if $user->canManageTeam()}
+{if $user->canManageTeam()}
<table cellspacing="1" cellpadding="2" border="0">
<tr>
<td align="right">{$i18n.label.thing_name} (*):</td>
<td colspan="2" align="center" height="50">{$forms.fieldForm.btn_save.control}</td>
</tr>
</table>
- {/if}
+{/if}
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="7" border="0" width="720">
<tr>
<td valign="top">
- {if $user->canManageTeam()}
- <table cellspacing="1" cellpadding="3" border="0" width="100%">
+{if $user->canManageTeam()}
+ <table cellspacing="1" cellpadding="3" border="0" width="100%">
<tr>
<td width="50%" class="tableHeader">{$i18n.label.thing_name}</td>
<td class="tableHeader">{$i18n.label.type}</td>
<td class="tableHeader">{$i18n.label.edit}</td>
<td class="tableHeader">{$i18n.label.delete}</td>
</tr>
- {if $custom_fields}
- {foreach $custom_fields as $field}
+ {if $custom_fields}
+ {foreach $custom_fields as $field}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
<td>{$field['label']|escape:'html'}</td>
- {if CustomFields::TYPE_TEXT == $field['type']}
+ {if CustomFields::TYPE_TEXT == $field['type']}
<td>{$i18n.label.type_text}</td>
<td></td>
- {else if CustomFields::TYPE_DROPDOWN == $field['type']}
+ {else if CustomFields::TYPE_DROPDOWN == $field['type']}
<td>{$i18n.label.type_dropdown}</td>
<td><a href="cf_dropdown_options.php?field_id={$field['id']}">{$i18n.label.configure}</a></td>
- {/if}
+ {/if}
<td><a href="cf_custom_field_edit.php?id={$field['id']}">{$i18n.label.edit}</a></td>
<td><a href="cf_custom_field_delete.php?id={$field['id']}">{$i18n.label.delete}</a></td>
</tr>
- {/foreach}
- {/if}
+ {/foreach}
+ {/if}
</table>
-
+
<table width="100%">
<tr><td align="center"><br>{$forms.customFieldsForm.btn_add.control}</td></tr>
- </table>
- {/if}
+ </table>
+{/if}
</td>
</tr>
</table>
<table cellspacing="4" cellpadding="7" border="0">
<tr>
<td>
- {if $user->canManageTeam()}
+{if $user->canManageTeam()}
<table cellspacing="1" cellpadding="2" border="0">
<tr>
<td align="right">{$i18n.label.thing_name} (*):</td>
<td colspan="2" align="center" height="50">{$forms.optionAddForm.btn_add.control}</td>
</tr>
</table>
- {/if}
+{/if}
</td>
</tr>
</table>
<table cellspacing="4" cellpadding="7" border="0">
<tr>
<td>
- {if $user->canManageTeam()}
+{if $user->canManageTeam()}
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td colspan="2" align="center"><b>{$option|escape:'html'}</b></td>
<td align="left"> {$forms.optionDeleteForm.btn_cancel.control}</td>
</tr>
</table>
- {/if}
+{/if}
</td>
</tr>
</table>
<table cellspacing="4" cellpadding="7" border="0">
<tr>
<td>
- {if $user->canManageTeam()}
+{if $user->canManageTeam()}
<table cellspacing="1" cellpadding="2" border="0">
<tr>
<td align="right">{$i18n.label.thing_name} (*):</td>
<td colspan="2" align="center" height="50">{$forms.optionEditForm.btn_save.control}</td>
</tr>
</table>
- {/if}
+{/if}
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="7" border="0" width="720">
<tr>
<td valign="top">
- {if $user->canManageTeam()}
+{if $user->canManageTeam()}
<table cellspacing="1" cellpadding="3" border="0" width="100%">
<tr>
<td width="70%" class="tableHeader">{$i18n.label.thing_name}</td>
<td class="tableHeader">{$i18n.label.edit}</td>
<td class="tableHeader">{$i18n.label.delete}</td>
</tr>
- {if $options}
- {foreach $options as $key=>$val}
+ {if $options}
+ {foreach $options as $key=>$val}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
<td>{$val|escape:'html'}</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>
- {/foreach}
- {/if}
+ {/foreach}
+ {/if}
</table>
-
+
<table width="100%">
<tr>
<td align="center">
</td>
</tr>
</table>
- {/if}
+{/if}
</td>
</tr>
</table>
<table width="100%">
<tr><td align="center"><br><form><input type="button" onclick="chLocation('client_add.php');" value="{$i18n.button.add_client}"></form></td></tr>
</table>
-
+
{if $inactive_clients}
<table cellspacing="1" cellpadding="3" border="0" width="100%">
<tr><td class="sectionHeaderNoBorder">{$i18n.form.clients.inactive_clients}</td></tr>
</tr>
{/foreach}
</table>
-
+
<table width="100%">
<tr><td align="center"><br><form><input type="button" onclick="chLocation('client_add.php');" value="{$i18n.button.add_client}"></form></td></tr>
</table>
- {/if}
+ {/if}
{/if}
</td>
</tr>
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
<td class="tableHeader" align="center">{$i18n.label.project}</td>
{/if}
- <td class="tableHeader" align="center">{$i18n.label.item}</td>
+ <td class="tableHeader" align="center">{$i18n.label.item}</td>
<td class="tableHeader" align="center">{$i18n.label.cost}</td>
</tr>
<tr bgcolor="{cycle values="#f5f5f5,#ccccce"}">
// Populate project dropdown.
if (!id) {
// If we are here, client is not selected.
- var len = projects.length;
+ var len = projects.length;
for (var i = 0; i < len; i++) {
dropdown.options[i+1] = new Option(projects[i][1], projects[i][0]);
if (dropdown.options[i+1].value == selected_item)
<td>
<table width = "100%">
<tr>
- <td valign="top">
+ <td valign="top">
<table border="0">
{if in_array('cl', explode(',', $user->plugins))}
<tr>