mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 19:23:27 +02:00
Add Sections + Add setting($key) function
Reorganisation
This commit is contained in:
@@ -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',
|
||||
|
Reference in New Issue
Block a user