The following files exists in this folder. Click to view.
theme-grid.php1 lines UTF-8 Unix (LF) <?php
/**
* Config-file for Anax, theme related settings, return it all as array.
*
*/
return [
/**
* Settings for Which theme to use, theme directory is found by path and name.
*
* path: where is the base path to the theme directory, end with a slash.
* name: name of the theme is mapped to a directory right below the path.
*/
'settings' => [
'path' => ANAX_INSTALL_PATH . 'theme/',
'name' => 'anax-grid',
],
/**
* Add default views.
*/
'views' => [
[
'region' => 'header',
'template' => 'welcome/header',
'data' => [
'siteTitle' => "Min me-sida i PHPMVC",
'siteTagline' => "Här är en tagline som säger nåt vackert",
],
'sort' => -1
],
[
'region' => 'navbar',
'template' => [
'callback' => function() {
return $this->di->navbar->create();
},
],
'data' => [],
'sort' => -1
],
['region' => 'footer', 'template' => 'welcome/footer', 'data' => [], 'sort' => -1],
],
/**
* Data to extract and send as variables to the main template file.
*/
'data' => [
// Language for this page.
'lang' => 'sv',
// Append this value to each <title>
'title_append' => ' | Min ME-sida för phpmvc-kursen',
// Stylesheets
//'stylesheets' => ['css/style.css', 'css/navbar_me.css'],
'stylesheets' => ['css/anax-grid/style.php'],
// Inline style
'style' => null,
// Favicon
'favicon' => 'favicon.ico',
// Path to modernizr or null to disable
'modernizr' => 'js/modernizr.js',
// Path to jquery or null to disable
'jquery' => '//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js',
// Array with javscript-files to include
'javascript_include' => [],
// Use google analytics for tracking, set key or null to disable
'google_analytics' => null,
],
];