From de10490b4e23f7c66d065f1cbe33f489f81317f2 Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Mon, 25 Sep 2023 13:47:49 +0530 Subject: [PATCH] sanjeev --- app/Controllers/Authentication.php | 4 ++-- app/Views/auth_lock_screen.php | 4 ++-- app/Views/template/header.php | 6 ++++-- app/Views/template/topbar.php | 6 ++++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/app/Controllers/Authentication.php b/app/Controllers/Authentication.php index 699f3af7..78392676 100755 --- a/app/Controllers/Authentication.php +++ b/app/Controllers/Authentication.php @@ -264,8 +264,8 @@ class Authentication extends BaseController $details = $auth_model->getheringDetailsForHeader($session_uid); $data['loggedin_person'] = $session_uname; $data['loggedin_person_role'] = $details[0]['role']; - $data['favicon'] = $details[0]['favicon']; - $data['profile_picture'] = $details[0]['profile_picture']; + $data['favicon'] = file_exists(base_url()."public/uploads/".$details[0]['favicon']) ? base_url()."public/uploads/".$details[0]['favicon'] : base_url()."public/uploads/default.ico"; + $data['profile_picture'] = file_exists(base_url()."public/uploads/".$details[0]['profile_picture']) ? base_url()."public/uploads/".$details[0]['profile_picture'] : base_url()."public/assets/images/users/avatar-9.jpg"; $successMessage = session()->getFlashdata('success'); $validationErrors = session()->getFlashdata('error'); // Load and display the form view with the above data diff --git a/app/Views/auth_lock_screen.php b/app/Views/auth_lock_screen.php index 2302b587..953ed9ac 100644 --- a/app/Views/auth_lock_screen.php +++ b/app/Views/auth_lock_screen.php @@ -8,7 +8,7 @@ - "> + " rel="stylesheet" type="text/css" id="bs-default-stylesheet" /> " rel="stylesheet" type="text/css" id="app-default-stylesheet" /> @@ -48,7 +48,7 @@
- " alt="user-image" class="rounded-circle avatar-lg img-thumbnail"> + user-image

Enter your password to access the

diff --git a/app/Views/template/header.php b/app/Views/template/header.php index 61ad4076..e2a2ccc5 100644 --- a/app/Views/template/header.php +++ b/app/Views/template/header.php @@ -49,7 +49,8 @@ - " alt="" height="20"> + " alt="" height="50"> + @@ -59,7 +60,8 @@ " alt="" height="24"> - " alt="" height="24"> + + " alt="" height="50"> diff --git a/app/Views/template/topbar.php b/app/Views/template/topbar.php index 1db176d2..37fa1f4d 100644 --- a/app/Views/template/topbar.php +++ b/app/Views/template/topbar.php @@ -276,7 +276,8 @@ - " alt="" height="20"> + " alt="" height="50"> + @@ -286,7 +287,8 @@ " alt="" height="24"> - " alt="" height="24"> + + " alt="" height="50">