<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.18.58.4869 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.18.58.4870 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
<tr>
<td width="35%" class="tableHeader">{$i18n.label.thing_name}</td>
<td width="35%" class="tableHeader">{$i18n.label.description}</td>
+ {if $show_files}
+ <td class="tableHeader">{$i18n.label.files}</td>
+ {/if}
<td class="tableHeader">{$i18n.label.edit}</td>
<td class="tableHeader">{$i18n.label.delete}</td>
</tr>
<tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
<td>{$project.name|escape}</td>
<td>{$project.description|escape}</td>
+ {if $show_files}
+ <td><a href="project_files.php?id={$project.id}">{$i18n.label.view}</a></td>
+ {/if}
<td><a href="project_edit.php?id={$project.id}">{$i18n.label.edit}</a></td>
<td><a href="project_delete.php?id={$project.id}">{$i18n.label.delete}</a></td>
</tr>
<tr>
<td width="35%" class="tableHeader">{$i18n.label.thing_name}</td>
<td width="35%" class="tableHeader">{$i18n.label.description}</td>
+ {if $show_files}
+ <td class="tableHeader">{$i18n.label.files}</td>
+ {/if}
<td class="tableHeader">{$i18n.label.edit}</td>
<td class="tableHeader">{$i18n.label.delete}</td>
</tr>
<tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
<td>{$project.name|escape}</td>
<td>{$project.description|escape}</td>
+ {if $show_files}
+ <td><a href="project_files.php?id={$project.id}">{$i18n.label.view}</a></td>
+ {/if}
<td><a href="project_edit.php?id={$project.id}">{$i18n.label.edit}</a></td>
<td><a href="project_delete.php?id={$project.id}">{$i18n.label.delete}</a></td>
</tr>
<tr>
<td class="tableHeader">{$i18n.label.thing_name}</td>
<td class="tableHeader">{$i18n.label.description}</td>
+ {if $show_files}
+ <td class="tableHeader">{$i18n.label.files}</td>
+ {/if}
</tr>
{if $active_projects}
{foreach $active_projects as $project}
<tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
<td>{$project.name|escape}</td>
<td>{$project.description|escape}</td>
+ {if $show_files}
+ <td><a href="project_files.php?id={$project.id}">{$i18n.label.view}</a></td>
+ {/if}
</tr>
{/foreach}
{/if}
$smarty->assign('active_projects', $active_projects);
$smarty->assign('inactive_projects', $inactive_projects);
+$smarty->assign('show_files', $user->isPluginEnabled('at'));
$smarty->assign('title', $i18n->get('title.projects'));
$smarty->assign('content_page_name', 'projects.tpl');
$smarty->display('index.tpl');