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
1010NOTIFY_UPDATES = true
1111DISPLAY_FOOTER = true
1212DISPLAY_CREDIT = true
13+ DISPLAY_CREDIT_FOOTER = true
1314
1415ADMIN_EMAIL =
1516
Original file line number Diff line number Diff line change 2525 },
2626
2727 {"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 ."
3030 },
3131
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+
3237 {"value" : " HOME_URL" ,
3338 "title" : " Set user page as Home Page" ,
3439 "description" : " Set user page as Home Page"
239244 "description" : " Determines if admins have to manually verify newly registered users."
240245 },
241246
247+ {"value" : " ADMIN_EMAIL" ,
248+ "title" : " Admin email" ,
249+ "description" : " Used to send notification emails."
250+ },
251+
242252 {"value" : " HIDE_VERIFICATION_CHECKMARK" ,
243253 "title" : " Hide verification checkmark" ,
244254 "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){
239239{{ toggle (' MANUAL_USER_VERIFICATION' )} }
240240@endif
241241
242+ {{ text (' ADMIN_EMAIL' )} }
242243
243244{{-- start home url --}}
244245<?php $configValue2 = str_replace (' "' , " " , EnvEditor:: getKey (' HOME_URL' )); ? >
@@ -400,6 +401,8 @@ function text($key){
400401
401402{{ toggle (' DISPLAY_CREDIT' )} }
402403
404+ {{ toggle (' DISPLAY_CREDIT_FOOTER' )} }
405+
403406{{ toggle (' DISPLAY_FOOTER_HOME' )} }
404407{{ text (' TITLE_FOOTER_HOME' )} }
405408
Original file line number Diff line number Diff line change 5252 if (EnvEditor:: keyExists (' MANUAL_USER_VERIFICATION' )){ /* Do nothing if key already exists */
5353 } else {EnvEditor:: addKey (' MANUAL_USER_VERIFICATION' , ' false' );}
5454
55+ if (EnvEditor:: keyExists (' DISPLAY_CREDIT_FOOTER' )){ /* Do nothing if key already exists */
56+ } else {EnvEditor:: addKey (' DISPLAY_CREDIT_FOOTER' , ' true' );}
57+
5558 if (EnvEditor:: keyExists (' ADMIN_EMAIL' )){} else
5659 {if (Auth:: user ()-> id == 1 ){EnvEditor:: addKey (' ADMIN_EMAIL' , App \Models \User:: find (1 )-> email );}
5760 else {EnvEditor:: addKey (' ADMIN_EMAIL' , ' ' );}}
Original file line number Diff line number Diff line change 223223 </ul >
224224 <div class =" right-panel" >
225225 Copyright © ; @php echo date (' Y' ); @endphp {{ config (' app.name' ) } }
226+ @if (env (' DISPLAY_CREDIT_FOOTER' ) === true )
226227 <span class =" " >
227228 - Made with
228229 <svg class =" icon-15" width =" 15" viewBox =" 0 0 24 24" fill =" none" xmlns =" http://www.w3.org/2000/svg" >
229230 <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>
230231 </svg >
231232 </span > by <a href =" https://linkstack.org/" target =" _blank" >LinkStack</a >.
233+ @endif
232234 </div >
233235 </div >
234236 </footer >
Original file line number Diff line number Diff line change 538538 </ul >
539539 <div class =" right-panel" >
540540 Copyright © ; @php echo date (' Y' ); @endphp {{ config (' app.name' ) } }
541+ @if (env (' DISPLAY_CREDIT_FOOTER' ) === true )
541542 <span class =" " >
542543 - Made with
543544 <svg class =" icon-15" width =" 15" viewBox =" 0 0 24 24" fill =" none" xmlns =" http://www.w3.org/2000/svg" >
544545 <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>
545546 </svg >
546547 </span > by <a href =" https://linkstack.org/" target =" _blank" >LinkStack</a >.
548+ @endif
547549 </div >
548550 </div >
549551 </footer >
Original file line number Diff line number Diff line change 8181 </ul >
8282 <div class =" right-panel" >
8383 Copyright © ; @php echo date (' Y' ); @endphp {{ config (' app.name' ) } }
84+ @if (env (' DISPLAY_CREDIT_FOOTER' ) === true )
8485 <span class =" " >
8586 - Made with
8687 <svg class =" icon-15" width =" 15" viewBox =" 0 0 24 24" fill =" none" xmlns =" http://www.w3.org/2000/svg" >
8788 <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>
8889 </svg >
8990 </span > by <a href =" https://linkstack.org/" target =" _blank" >LinkStack</a >.
91+ @endif
9092 </div >
9193 </div >
9294 </footer >
You can’t perform that action at this time.
0 commit comments