#2098 admin footer copyright is static

This commit is contained in:
Diatrex 2020-09-07 10:10:21 +03:00
parent d1620343c2
commit 7c0ccfc693
3 changed files with 10 additions and 1 deletions

View File

@ -18,6 +18,12 @@ return [
"default_value" => 'OpenClassify', "default_value" => 'OpenClassify',
] ]
], ],
"footer_copyright_org_name" => [
"type" => "anomaly.field_type.text",
"config" => [
"default_value" => 'OpenClassify, Inc',
]
],
"sidebar_main_color" => [ "sidebar_main_color" => [
"type" => "anomaly.field_type.colorpicker", "type" => "anomaly.field_type.colorpicker",
"config" => [ "config" => [

View File

@ -17,6 +17,9 @@ return [
"title" => [ "title" => [
'name' => 'Title', 'name' => 'Title',
], ],
"footer_copyright_org_name" => [
'name' => 'Footer Copyright Organization Name',
],
"sidebar_main_color" => [ "sidebar_main_color" => [
'name' => 'Sidebar Main Color', 'name' => 'Sidebar Main Color',
], ],

View File

@ -2,7 +2,7 @@
<ul class="meta"> <ul class="meta">
<li class="copyright"> <li class="copyright">
&copy; {{ 'now'|date('Y') }} OpenClassify, Inc &copy; {{ 'now'|date('Y') }} {{ setting_value('visiosoft.theme.defaultadmin::footer_copyright_org_name') }}
</li> </li>
<li class="footprint"> <li class="footprint">
{{ request_time() }} <span>|</span> {{ memory_usage() }} {{ request_time() }} <span>|</span> {{ memory_usage() }}