Skip to content

Instantly share code, notes, and snippets.

@dzhuryn
Created November 17, 2019 17:58
Show Gist options
  • Save dzhuryn/8e3a01655181b9732b8eaebaf8f76e32 to your computer and use it in GitHub Desktop.
Save dzhuryn/8e3a01655181b9732b8eaebaf8f76e32 to your computer and use it in GitHub Desktop.
template3edit
<?php
/**
* default config
*/
global $_lang;
return [
'General' => [
'default' => true,
'title' => $_lang['settings_general'],
'fields' => [
'pagetitle' => [],
'longtitle' => [],
'description' => [],
'alias' => [],
'link_attributes' => [],
'introtext' => [],
'template' => [],
'menutitle' => [],
'menuindex' => [],
'hidemenu' => [],
'parent' => [],
'content' => [
'position'=>'c'
],
'weblink' => [],
]
],
'Seo' => [
'title' => 'SEO',
'fields' => [
'titl' => [],
'desc' => [],
'keyw' => [],
'noIndex' => [],
]
],
'Settings' => [
'title' => $_lang['settings_page_settings'],
'fields' => [
'published' => [],
'pub_date' => [],
'unpub_date' => [],
'type' => [],
'contentType' => [],
'content_dispo' => [],
'isfolder' => [],
'alias_visible' => [],
'richtext' => [],
'donthit' => [],
'searchable' => [],
'cacheable' => [],
'syncsite' => []
]
]
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment