forked from mirrors/easyappointments
Add page title to the account pages
This commit is contained in:
parent
37b165f8a2
commit
d02c71a0e2
4 changed files with 4 additions and 1 deletions
|
@ -40,6 +40,7 @@ class Login extends EA_Controller {
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
html_vars([
|
html_vars([
|
||||||
|
'page_title' => lang('login'),
|
||||||
'base_url' => config('base_url'),
|
'base_url' => config('base_url'),
|
||||||
'dest_url' => session('dest_url', site_url('calendar')),
|
'dest_url' => session('dest_url', site_url('calendar')),
|
||||||
'company_name' => setting('company_name')
|
'company_name' => setting('company_name')
|
||||||
|
|
|
@ -29,6 +29,7 @@ class Logout extends EA_Controller {
|
||||||
$company_name = setting('company_name');
|
$company_name = setting('company_name');
|
||||||
|
|
||||||
html_vars([
|
html_vars([
|
||||||
|
'page_title' => lang('log_out'),
|
||||||
'company_name' => $company_name
|
'company_name' => $company_name
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@ class Recovery extends EA_Controller {
|
||||||
$company_name = setting('company_name');
|
$company_name = setting('company_name');
|
||||||
|
|
||||||
html_vars([
|
html_vars([
|
||||||
|
'page_title' => lang('forgot_your_password'),
|
||||||
'dest_url' => session('dest_url', site_url('backend')),
|
'dest_url' => session('dest_url', site_url('backend')),
|
||||||
'company_name' => $company_name
|
'company_name' => $company_name
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
<?php slot('meta') ?>
|
<?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" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
|
||||||
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
|
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
|
||||||
|
|
Loading…
Reference in a new issue