Added option to disable verification checkmark

This commit is contained in:
Julian Prieber 2023-02-13 14:18:53 +01:00
parent c150c10ddb
commit 2914523907
5 changed files with 15 additions and 2 deletions

2
.env
View File

@ -110,3 +110,5 @@ TITLE_FOOTER_PRIVACY="Privacy"
TITLE_FOOTER_CONTACT="Contact"
HOME_FOOTER_LINK=""
HIDE_VERIFICATION_CHECKMARK=false

View File

@ -212,5 +212,11 @@
{"value": "HOME_FOOTER_LINK",
"title": "<div style=\"margin-top:-40px\">Home footer link URL</div>",
"description": "Enter any URL to redirect your home link URL.<br>Leave empty to use the default link."
},
{"value": "HIDE_VERIFICATION_CHECKMARK",
"title": "Hide verification checkmark",
"description": "Hides verification badge displayed on admin and VIP pages."
}
]

View File

@ -276,6 +276,9 @@ foreach($users as $user){if($user->littlelink_name != $configValue2){echo '<opti
{{text('APP_NAME')}}
{{toggle('HIDE_VERIFICATION_CHECKMARK')}}
<a name="Panel-settings"><h2 class="ch2">Panel settings</h2></a>
{{toggle('NOTIFY_EVENTS')}}

View File

@ -259,7 +259,7 @@ function get_operating_system() {
@endif
<!-- Your Name -->
<h1 class="fadein">{{ $info->name }}@if(($userinfo->role == 'vip' or $userinfo->role == 'admin') and theme('disable_verification_badge') != "true")<span title="Verified user">@include('components.verify-svg')@endif</span></h1>
<h1 class="fadein">{{ $info->name }}@if(($userinfo->role == 'vip' or $userinfo->role == 'admin') and theme('disable_verification_badge') != "true" and env('HIDE_VERIFICATION_CHECKMARK') != true)<span title="Verified user">@include('components.verify-svg')@endif</span></h1>
<!-- Short Bio -->
<div class="fadein"><center><p style="width:50%;min-width:300px;" class="fadein">@if(env('ALLOW_USER_HTML') === true){!! $info->littlelink_description !!}@else{{ $info->littlelink_description }}@endif</p></center></div>

View File

@ -110,3 +110,5 @@ TITLE_FOOTER_PRIVACY="Privacy"
TITLE_FOOTER_CONTACT="Contact"
HOME_FOOTER_LINK=""
HIDE_VERIFICATION_CHECKMARK=false