fix error message

This commit is contained in:
iBNu Maksum 2024-10-26 19:15:28 +07:00
parent 3778499611
commit 8e41749cd4
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
3 changed files with 6 additions and 4 deletions

View File

@ -77,7 +77,7 @@ class Package
r2(U . 'home', 'e', Lang::T('Plan Not found'));
}
if (!in_array($admin['user_type'], ['SuperAdmin', 'Admin'])) {
r2(U . 'dashboard', 'e', Lang::T('Plan Not found'));
r2(U . 'dashboard', 'e', Lang::T('You do not have permission to access this page'));
}
}

View File

@ -875,5 +875,7 @@
"will_be_replaced_with_Customer_password": "will be replaced with Customer password",
"will_be_replaced_with_Customer_Portal_URL": "will be replaced with Customer Portal URL",
"will_be_replaced_with_Company_Name": "will be replaced with Company Name",
"Token_has_expired__Please_log_in_again_": "Token has expired. Please log in again."
"Token_has_expired__Please_log_in_again_": "Token has expired. Please log in again.",
"Minute": "Minute",
"Hour": "Hour"
}

View File

@ -258,8 +258,8 @@
</div>
</form>
<form class="form-horizontal" method="post" role="form" action="{$_url}settings/app-post" enctype="multipart/form-data">
<input type="hidden" name="csrf_token" value="{$csrf_token}">
<form class="form-horizontal" method="post" role="form" action="{$_url}settings/app-post" enctype="multipart/form-data">
<input type="hidden" name="csrf_token" value="{$csrf_token}">
<div class="panel">
<div class="panel-heading" role="tab" id="Voucher">
<h4 class="panel-title">