Skip to content

Commit 2914523

Browse files
committed
Added option to disable verification checkmark
1 parent c150c10 commit 2914523

File tree

5 files changed

+15
-2
lines changed

5 files changed

+15
-2
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,5 @@ TITLE_FOOTER_PRIVACY="Privacy"
110110
TITLE_FOOTER_CONTACT="Contact"
111111

112112
HOME_FOOTER_LINK=""
113+
114+
HIDE_VERIFICATION_CHECKMARK=false

config/config-legends.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,5 +212,11 @@
212212
{"value": "HOME_FOOTER_LINK",
213213
"title": "<div style=\"margin-top:-40px\">Home footer link URL</div>",
214214
"description": "Enter any URL to redirect your home link URL.<br>Leave empty to use the default link."
215+
},
216+
217+
218+
{"value": "HIDE_VERIFICATION_CHECKMARK",
219+
"title": "Hide verification checkmark",
220+
"description": "Hides verification badge displayed on admin and VIP pages."
215221
}
216222
]

resources/views/components/config/config.blade.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@ function text($key){
276276
{{text('APP_NAME')}}
277277

278278

279+
{{toggle('HIDE_VERIFICATION_CHECKMARK')}}
280+
281+
279282
<a name="Panel-settings"><h2 class="ch2">Panel settings</h2></a>
280283

281284
{{toggle('NOTIFY_EVENTS')}}

resources/views/littlelink.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ function get_operating_system() {
259259
@endif
260260

261261
<!-- Your Name -->
262-
<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>
262+
<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>
263263

264264
<!-- Short Bio -->
265265
<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>

storage/backups/default_settings

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,6 @@ TITLE_FOOTER_TERMS="Terms"
109109
TITLE_FOOTER_PRIVACY="Privacy"
110110
TITLE_FOOTER_CONTACT="Contact"
111111

112-
HOME_FOOTER_LINK=""
112+
HOME_FOOTER_LINK=""
113+
114+
HIDE_VERIFICATION_CHECKMARK=false

0 commit comments

Comments
 (0)