From bbdb5228ab00dfeb9d91217ce0e990842ab6da80 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff <support@anuko.com> Date: Sun, 31 Mar 2019 14:53:11 +0000 Subject: [PATCH] Added project name to project_files.php page title. --- WEB-INF/templates/footer.tpl | 2 +- project_files.php | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 3bec2a8d..9196e067 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@ <br> <table cellspacing="0" cellpadding="4" width="100%" border="0"> <tr> - <td align="center"> Anuko Time Tracker 1.18.62.4902 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> | + <td align="center"> Anuko Time Tracker 1.18.62.4903 | 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> diff --git a/project_files.php b/project_files.php index 860ba074..d8ef9884 100644 --- a/project_files.php +++ b/project_files.php @@ -86,5 +86,11 @@ $smarty->assign('can_manage', $user->can('manage_projects')); $smarty->assign('forms', array($form->getName()=>$form->toArray())); $smarty->assign('files', $files); $smarty->assign('title', $i18n->get('title.project_files')); + + +$smarty->assign('title', $i18n->get('title.project_files').': '.$project['name']); + + + $smarty->assign('content_page_name', 'project_files.tpl'); $smarty->display('index.tpl'); -- 2.20.1