From: Nik Okuntseff Date: Tue, 27 Mar 2018 15:16:08 +0000 (+0000) Subject: Fixed page title. X-Git-Tag: timetracker_1.19-1~921 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6380ce5acad1e2911e44db3d339183646e3963ac;p=timetracker.git Fixed page title. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 37e220f6..31553a4f 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.76.4185 | Copyright © Anuko | +  Anuko Time Tracker 1.17.76.4186 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/WEB-INF/templates/header.tpl b/WEB-INF/templates/header.tpl index 97ee53da..ac6e99fe 100644 --- a/WEB-INF/templates/header.tpl +++ b/WEB-INF/templates/header.tpl @@ -154,7 +154,11 @@ {if $title} + {if $user->name} + {else} + + {/if}
{$title}{if $timestring}: {$timestring}{/if}
{$user->name|escape} - {$user->role_name|escape}{if $user->behalf_id > 0} {$i18n.label.on_behalf} {$user->behalf_name|escape}{/if}{if $user->team}, {$user->team|escape}{/if}
 
{/if} diff --git a/profile_edit.php b/profile_edit.php index 9c27ab41..2fed4f6b 100644 --- a/profile_edit.php +++ b/profile_edit.php @@ -31,11 +31,12 @@ import('form.Form'); import('ttUserHelper'); import('ttRoleHelper'); -// Access check. +// Access checks. if (!ttAccessAllowed('manage_own_settings')) { header('Location: access_denied.php'); exit(); } +// End of access checks. if (!defined('CURRENCY_DEFAULT')) define('CURRENCY_DEFAULT', '$'); $can_change_login = $user->canManageTeam();