Added option to disable custom background images
This commit is contained in:
parent
87424e1d2e
commit
bf0182b8fa
2
.env
2
.env
|
@ -112,3 +112,5 @@ TITLE_FOOTER_CONTACT="Contact"
|
|||
HOME_FOOTER_LINK=""
|
||||
|
||||
HIDE_VERIFICATION_CHECKMARK=false
|
||||
|
||||
ALLOW_CUSTOM_BACKGROUNDS=true
|
|
@ -214,6 +214,10 @@
|
|||
"description": "Enter any URL to redirect your home link URL.<br>Leave empty to use the default link."
|
||||
},
|
||||
|
||||
{"value": "ALLOW_CUSTOM_BACKGROUNDS",
|
||||
"title": "Allow custom backgrounds",
|
||||
"description": "Allow users to upload custom background images for their pages."
|
||||
},
|
||||
|
||||
{"value": "HIDE_VERIFICATION_CHECKMARK",
|
||||
"title": "Hide verification checkmark",
|
||||
|
|
|
@ -293,6 +293,10 @@ foreach($users as $user){if($user->littlelink_name != $configValue2){echo '<opti
|
|||
{{toggle('USE_THEME_PREVIEW_IFRAME')}}
|
||||
|
||||
|
||||
{{toggle('ALLOW_CUSTOM_BACKGROUNDS')}}
|
||||
|
||||
|
||||
|
||||
<a name="Security"><h2 class="ch2">Security</h2></a>
|
||||
|
||||
|
||||
|
|
|
@ -36,6 +36,9 @@ use Illuminate\Support\Facades\File;
|
|||
if(EnvEditor::keyExists('HIDE_VERIFICATION_CHECKMARK')){ /* Do nothing if key already exists */
|
||||
} else {EnvEditor::addKey('HIDE_VERIFICATION_CHECKMARK', 'false');}
|
||||
|
||||
if(EnvEditor::keyExists('ALLOW_CUSTOM_BACKGROUNDS')){ /* Do nothing if key already exists */
|
||||
} else {EnvEditor::addKey('ALLOW_CUSTOM_BACKGROUNDS', 'true');}
|
||||
|
||||
|
||||
// Footer page customization
|
||||
if(EnvEditor::keyExists('DISPLAY_FOOTER_HOME')){} else {EnvEditor::addKey('DISPLAY_FOOTER_HOME', 'true');}
|
||||
|
|
|
@ -112,3 +112,5 @@ TITLE_FOOTER_CONTACT="Contact"
|
|||
HOME_FOOTER_LINK=""
|
||||
|
||||
HIDE_VERIFICATION_CHECKMARK=false
|
||||
|
||||
ALLOW_CUSTOM_BACKGROUNDS=true
|
Loading…
Reference in New Issue