mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-08 12:07:42 +08:00
chore: new copyright footer options (#392)
Squashed commit of the following: commit ea640e77447e5a120f679c0b8f27d048487dd560 Author: Cinnamoroll-Rabbit <101342651+Cinnamoroll-Rabbit@users.noreply.github.com> Date: Sat Apr 16 23:16:00 2022 +0800 chore: new copyright footer options
This commit is contained in:
parent
b738b388ae
commit
2452ed06da
@ -25,6 +25,8 @@ class HomeController extends Controller
|
||||
'Powered by Blessing Skin Server.',
|
||||
'Proudly powered by Blessing Skin Server.',
|
||||
'由 Blessing Skin Server 强力驱动。',
|
||||
'采用 Blessing Skin Server 搭建。',
|
||||
'使用 Blessing Skin Server 稳定运行。',
|
||||
'自豪地采用 Blessing Skin Server。',
|
||||
],
|
||||
option_localized('copyright_prefer', 0)
|
||||
|
@ -28,7 +28,9 @@ class OptionsController extends Controller
|
||||
->option('1', 'Powered by Blessing Skin Server.')
|
||||
->option('2', 'Proudly powered by Blessing Skin Server.')
|
||||
->option('3', '由 Blessing Skin Server 强力驱动。')
|
||||
->option('4', '自豪地采用 Blessing Skin Server。')
|
||||
->option('4', '采用 Blessing Skin Server 搭建。')
|
||||
->option('5', '使用 Blessing Skin Server 稳定运行。')
|
||||
->option('6', '自豪地采用 Blessing Skin Server。')
|
||||
->description();
|
||||
|
||||
$form->textarea('copyright_text')->rows(6)->description();
|
||||
|
@ -3,15 +3,19 @@
|
||||
<!-- YOU CAN NOT MODIFIY THE COPYRIGHT TEXT W/O PERMISSION -->
|
||||
<div id="copyright-text" class="float-right d-none d-sm-inline">
|
||||
{% if copyright == 0 %}
|
||||
Powered with ❤ by <a href="{{ repo }}">Blessing Skin Server</a>.
|
||||
Powered with ❤ by <a href="{{ repo }}" target="_blank">Blessing Skin Server</a>.
|
||||
{% elseif copyright == 1 %}
|
||||
Powered by <a href="{{ repo }}">Blessing Skin Server</a>.
|
||||
Powered by <a href="{{ repo }}" target="_blank">Blessing Skin Server</a>.
|
||||
{% elseif copyright == 2 %}
|
||||
Proudly powered by <a href="{{ repo }}">Blessing Skin Server</a>.
|
||||
Proudly powered by <a href="{{ repo }}" target="_blank">Blessing Skin Server</a>.
|
||||
{% elseif copyright == 3 %}
|
||||
由 <a href="{{ repo }}">Blessing Skin Server</a> 强力驱动。
|
||||
由 <a href="{{ repo }}" target="_blank">Blessing Skin Server</a> 强力驱动。
|
||||
{% elseif copyright == 4 %}
|
||||
采用 <a href="{{ repo }}" target="_blank">Blessing Skin Server</a> 搭建。
|
||||
{% elseif copyright == 5 %}
|
||||
使用 <a href="{{ repo }}" target="_blank">Blessing Skin Server</a> 稳定运行。
|
||||
{% else %}
|
||||
自豪地采用 <a href="{{ repo }}">Blessing Skin Server</a>。
|
||||
自豪地采用 <a href="{{ repo }}" target="_blank">Blessing Skin Server</a>。
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user