Add Sections + Add setting($key) function

Reorganisation
This commit is contained in:
slawkens
2020-06-09 23:48:31 +02:00
parent 96068d003b
commit 084e191b28
6 changed files with 61 additions and 32 deletions

View File

@@ -1,6 +1,10 @@
<?php
return [
'section_1' => [
'type' => 'section',
'title' => 'Template'
],
'template' => [
'name' => 'Template Name',
'type' => 'options',
@@ -14,6 +18,10 @@ return [
'desc' => 'Allow changing template of the website by showing a special select in the part of website',
'default' => true,
],
'section_2' => [
'type' => 'section',
'title' => 'Misc'
],
'vocations_amount' => [
'name' => 'Amount of Vocations',
'type' => 'number',
@@ -48,6 +56,10 @@ allows using gesior templates and pages with myaac<br/>
might bring some performance when disabled',
'default' => true,
],
'section_3' => [
'type' => 'section',
'title' => 'Meta Site Settings'
],
'charset' => [
'name' => 'Meta Charset',
'type' => 'text',
@@ -85,6 +97,10 @@ might bring some performance when disabled',
'default' => false,
'desc' => 'default language (currently only English available)'
],*/
'section_4' => [
'type' => 'section',
'title' => 'Visitors Counter & Views Counter'
],
'visitors_counter' => [
'name' => 'Visitors Counter',
'type' => 'boolean',
@@ -103,6 +119,10 @@ might bring some performance when disabled',
'desc' => 'Enable Views Counter? It will show how many times the website has been viewed by users',
'default' => true,
],
'section_5' => [
'type' => 'section',
'title' => 'Images URL'
],
'outfit_images_url' => [
'name' => 'Outfit Images URL',
'type' => 'text',