File tree Expand file tree Collapse file tree 7 files changed +25
-2
lines changed Expand file tree Collapse file tree 7 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ NOTIFY_EVENTS=true
10
10
NOTIFY_UPDATES = true
11
11
DISPLAY_FOOTER = true
12
12
DISPLAY_CREDIT = true
13
+ DISPLAY_CREDIT_FOOTER = true
13
14
14
15
ADMIN_EMAIL =
15
16
Original file line number Diff line number Diff line change 25
25
},
26
26
27
27
{"value" : " DISPLAY_CREDIT" ,
28
- "title" : " Show credit" ,
29
- "description" : " Determines whether the credit notice should be displayed."
28
+ "title" : " Display credit on user pages " ,
29
+ "description" : " Determines whether the credit notice should be displayed on users pages ."
30
30
},
31
31
32
+ {"value" : " DISPLAY_CREDIT_FOOTER" ,
33
+ "title" : " Display credit in footer" ,
34
+ "description" : " Determines whether the credit notice should be displayed in the footer."
35
+ },
36
+
32
37
{"value" : " HOME_URL" ,
33
38
"title" : " Set user page as Home Page" ,
34
39
"description" : " Set user page as Home Page"
239
244
"description" : " Determines if admins have to manually verify newly registered users."
240
245
},
241
246
247
+ {"value" : " ADMIN_EMAIL" ,
248
+ "title" : " Admin email" ,
249
+ "description" : " Used to send notification emails."
250
+ },
251
+
242
252
{"value" : " HIDE_VERIFICATION_CHECKMARK" ,
243
253
"title" : " Hide verification checkmark" ,
244
254
"description" : " Hides verification badge displayed on admin and VIP pages."
Original file line number Diff line number Diff line change @@ -239,6 +239,7 @@ function text($key){
239
239
{{ toggle (' MANUAL_USER_VERIFICATION' )} }
240
240
@endif
241
241
242
+ {{ text (' ADMIN_EMAIL' )} }
242
243
243
244
{{-- start home url --}}
244
245
<?php $configValue2 = str_replace (' "' , " " , EnvEditor:: getKey (' HOME_URL' )); ? >
@@ -400,6 +401,8 @@ function text($key){
400
401
401
402
{{ toggle (' DISPLAY_CREDIT' )} }
402
403
404
+ {{ toggle (' DISPLAY_CREDIT_FOOTER' )} }
405
+
403
406
{{ toggle (' DISPLAY_FOOTER_HOME' )} }
404
407
{{ text (' TITLE_FOOTER_HOME' )} }
405
408
Original file line number Diff line number Diff line change 52
52
if (EnvEditor:: keyExists (' MANUAL_USER_VERIFICATION' )){ /* Do nothing if key already exists */
53
53
} else {EnvEditor:: addKey (' MANUAL_USER_VERIFICATION' , ' false' );}
54
54
55
+ if (EnvEditor:: keyExists (' DISPLAY_CREDIT_FOOTER' )){ /* Do nothing if key already exists */
56
+ } else {EnvEditor:: addKey (' DISPLAY_CREDIT_FOOTER' , ' true' );}
57
+
55
58
if (EnvEditor:: keyExists (' ADMIN_EMAIL' )){} else
56
59
{if (Auth:: user ()-> id == 1 ){EnvEditor:: addKey (' ADMIN_EMAIL' , App \Models \User:: find (1 )-> email );}
57
60
else {EnvEditor:: addKey (' ADMIN_EMAIL' , ' ' );}}
Original file line number Diff line number Diff line change 223
223
</ul >
224
224
<div class =" right-panel" >
225
225
Copyright © ; @php echo date (' Y' ); @endphp {{ config (' app.name' ) } }
226
+ @if (env (' DISPLAY_CREDIT_FOOTER' ) === true )
226
227
<span class =" " >
227
228
- Made with
228
229
<svg class =" icon-15" width =" 15" viewBox =" 0 0 24 24" fill =" none" xmlns =" http://www.w3.org/2000/svg" >
229
230
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.85 2.50065C16.481 2.50065 17.111 2.58965 17.71 2.79065C21.401 3.99065 22.731 8.04065 21.62 11.5806C20.99 13.3896 19.96 15.0406 18.611 16.3896C16.68 18.2596 14.561 19.9196 12.28 21.3496L12.03 21.5006L11.77 21.3396C9.48102 19.9196 7.35002 18.2596 5.40102 16.3796C4.06102 15.0306 3.03002 13.3896 2.39002 11.5806C1.26002 8.04065 2.59002 3.99065 6.32102 2.76965C6.61102 2.66965 6.91002 2.59965 7.21002 2.56065H7.33002C7.61102 2.51965 7.89002 2.50065 8.17002 2.50065H8.28002C8.91002 2.51965 9.52002 2.62965 10.111 2.83065H10.17C10.21 2.84965 10.24 2.87065 10.26 2.88965C10.481 2.96065 10.69 3.04065 10.89 3.15065L11.27 3.32065C11.3618 3.36962 11.4649 3.44445 11.554 3.50912C11.6104 3.55009 11.6612 3.58699 11.7 3.61065C11.7163 3.62028 11.7329 3.62996 11.7496 3.63972C11.8354 3.68977 11.9247 3.74191 12 3.79965C13.111 2.95065 14.46 2.49065 15.85 2.50065ZM18.51 9.70065C18.92 9.68965 19.27 9.36065 19.3 8.93965V8.82065C19.33 7.41965 18.481 6.15065 17.19 5.66065C16.78 5.51965 16.33 5.74065 16.18 6.16065C16.04 6.58065 16.26 7.04065 16.68 7.18965C17.321 7.42965 17.75 8.06065 17.75 8.75965V8.79065C17.731 9.01965 17.8 9.24065 17.94 9.41065C18.08 9.58065 18.29 9.67965 18.51 9.70065Z" fill="currentColor"></path>
230
231
</svg >
231
232
</span > by <a href =" https://linkstack.org/" target =" _blank" >LinkStack</a >.
233
+ @endif
232
234
</div >
233
235
</div >
234
236
</footer >
Original file line number Diff line number Diff line change 538
538
</ul >
539
539
<div class =" right-panel" >
540
540
Copyright © ; @php echo date (' Y' ); @endphp {{ config (' app.name' ) } }
541
+ @if (env (' DISPLAY_CREDIT_FOOTER' ) === true )
541
542
<span class =" " >
542
543
- Made with
543
544
<svg class =" icon-15" width =" 15" viewBox =" 0 0 24 24" fill =" none" xmlns =" http://www.w3.org/2000/svg" >
544
545
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.85 2.50065C16.481 2.50065 17.111 2.58965 17.71 2.79065C21.401 3.99065 22.731 8.04065 21.62 11.5806C20.99 13.3896 19.96 15.0406 18.611 16.3896C16.68 18.2596 14.561 19.9196 12.28 21.3496L12.03 21.5006L11.77 21.3396C9.48102 19.9196 7.35002 18.2596 5.40102 16.3796C4.06102 15.0306 3.03002 13.3896 2.39002 11.5806C1.26002 8.04065 2.59002 3.99065 6.32102 2.76965C6.61102 2.66965 6.91002 2.59965 7.21002 2.56065H7.33002C7.61102 2.51965 7.89002 2.50065 8.17002 2.50065H8.28002C8.91002 2.51965 9.52002 2.62965 10.111 2.83065H10.17C10.21 2.84965 10.24 2.87065 10.26 2.88965C10.481 2.96065 10.69 3.04065 10.89 3.15065L11.27 3.32065C11.3618 3.36962 11.4649 3.44445 11.554 3.50912C11.6104 3.55009 11.6612 3.58699 11.7 3.61065C11.7163 3.62028 11.7329 3.62996 11.7496 3.63972C11.8354 3.68977 11.9247 3.74191 12 3.79965C13.111 2.95065 14.46 2.49065 15.85 2.50065ZM18.51 9.70065C18.92 9.68965 19.27 9.36065 19.3 8.93965V8.82065C19.33 7.41965 18.481 6.15065 17.19 5.66065C16.78 5.51965 16.33 5.74065 16.18 6.16065C16.04 6.58065 16.26 7.04065 16.68 7.18965C17.321 7.42965 17.75 8.06065 17.75 8.75965V8.79065C17.731 9.01965 17.8 9.24065 17.94 9.41065C18.08 9.58065 18.29 9.67965 18.51 9.70065Z" fill="currentColor"></path>
545
546
</svg >
546
547
</span > by <a href =" https://linkstack.org/" target =" _blank" >LinkStack</a >.
548
+ @endif
547
549
</div >
548
550
</div >
549
551
</footer >
Original file line number Diff line number Diff line change 81
81
</ul >
82
82
<div class =" right-panel" >
83
83
Copyright © ; @php echo date (' Y' ); @endphp {{ config (' app.name' ) } }
84
+ @if (env (' DISPLAY_CREDIT_FOOTER' ) === true )
84
85
<span class =" " >
85
86
- Made with
86
87
<svg class =" icon-15" width =" 15" viewBox =" 0 0 24 24" fill =" none" xmlns =" http://www.w3.org/2000/svg" >
87
88
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.85 2.50065C16.481 2.50065 17.111 2.58965 17.71 2.79065C21.401 3.99065 22.731 8.04065 21.62 11.5806C20.99 13.3896 19.96 15.0406 18.611 16.3896C16.68 18.2596 14.561 19.9196 12.28 21.3496L12.03 21.5006L11.77 21.3396C9.48102 19.9196 7.35002 18.2596 5.40102 16.3796C4.06102 15.0306 3.03002 13.3896 2.39002 11.5806C1.26002 8.04065 2.59002 3.99065 6.32102 2.76965C6.61102 2.66965 6.91002 2.59965 7.21002 2.56065H7.33002C7.61102 2.51965 7.89002 2.50065 8.17002 2.50065H8.28002C8.91002 2.51965 9.52002 2.62965 10.111 2.83065H10.17C10.21 2.84965 10.24 2.87065 10.26 2.88965C10.481 2.96065 10.69 3.04065 10.89 3.15065L11.27 3.32065C11.3618 3.36962 11.4649 3.44445 11.554 3.50912C11.6104 3.55009 11.6612 3.58699 11.7 3.61065C11.7163 3.62028 11.7329 3.62996 11.7496 3.63972C11.8354 3.68977 11.9247 3.74191 12 3.79965C13.111 2.95065 14.46 2.49065 15.85 2.50065ZM18.51 9.70065C18.92 9.68965 19.27 9.36065 19.3 8.93965V8.82065C19.33 7.41965 18.481 6.15065 17.19 5.66065C16.78 5.51965 16.33 5.74065 16.18 6.16065C16.04 6.58065 16.26 7.04065 16.68 7.18965C17.321 7.42965 17.75 8.06065 17.75 8.75965V8.79065C17.731 9.01965 17.8 9.24065 17.94 9.41065C18.08 9.58065 18.29 9.67965 18.51 9.70065Z" fill="currentColor"></path>
88
89
</svg >
89
90
</span > by <a href =" https://linkstack.org/" target =" _blank" >LinkStack</a >.
91
+ @endif
90
92
</div >
91
93
</div >
92
94
</footer >
You can’t perform that action at this time.
0 commit comments