Add page title to the account pages

This commit is contained in:
Alex Tselegidis 2022-10-16 18:02:47 +03:00
parent 37b165f8a2
commit d02c71a0e2
4 changed files with 4 additions and 1 deletions

View file

@ -40,6 +40,7 @@ class Login extends EA_Controller {
public function index()
{
html_vars([
'page_title' => lang('login'),
'base_url' => config('base_url'),
'dest_url' => session('dest_url', site_url('calendar')),
'company_name' => setting('company_name')

View file

@ -29,6 +29,7 @@ class Logout extends EA_Controller {
$company_name = setting('company_name');
html_vars([
'page_title' => lang('log_out'),
'company_name' => $company_name
]);

View file

@ -38,6 +38,7 @@ class Recovery extends EA_Controller {
$company_name = setting('company_name');
html_vars([
'page_title' => lang('forgot_your_password'),
'dest_url' => session('dest_url', site_url('backend')),
'company_name' => $company_name
]);

View file

@ -8,7 +8,7 @@
<?php slot('meta') ?>
<title><?= lang('account') ?> | Easy!Appointments</title>
<title><?= vars('page_title') ?? lang('account') ?> | Easy!Appointments</title>
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">