-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
69 lines (66 loc) · 3.16 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
/**
* Pi Engine default theme configuration
*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* @copyright Copyright (c) Pi Engine http://www.xoopsengine.org
* @license http://www.xoopsengine.org/license New BSD License
* @author Taiwen Jiang <[email protected]>
* @package Pi\Theme
*/
/**
* A complete theme set should include following files:
*
* Folder and file skeleton:
* REQUIRED for front:
* tmplate/layout-front.phtml - complete layout template: header, footer, body, blocks, navigation
* tmplate/layout-simple.phtml - error page layout: header, footer, body
* tmplate/layout-style.phtml - content with stylesheets
* tmplate/layout-content.phtml - raw content without stylesheets
* template/error.phtml - defined in var/config/config.application.php: view_manager.error_template, view_manager.error_exception_template
* REQUIRED for admin:
* tmplate/layout-admin.phtml - backoffice layout
* OPTIONAL for front:
* template/page-zone.phtml - for block manipulation on a page
* template/block.phtml - called by layout-front.phtml
* template/error-404.phtml - defined in var/config/config.application.php: view_manager.not_found_template
* template/error-denied.phtml - defined in var/config/config.application.php: view_manager.denied_template
*
* Stylesheet files:
* REQUIRED:
* asset/css/style.css - main css file
*
* Best practices:
* 1 It is highly recommended to use 'pi-' as prefix for all global id and class names used in themes to avoid conflicts.
* 2 It is highly recommended to use module identity as prefix for module id and class names used in templates to avoid conflicts, for instance 'demo-'.
*/
return array(
/**#@+
* To be stored in DB
*/
// Version
'version' => '1.0.0-rc.1',
// Type of layouts available in the theme
'type' => 'both', // Potential value: 'both', 'admin', 'front', default as 'both'
/**#@-**/
// Title of the theme
'title' => 'Pi Default Theme',
// Author information: name, email, website
'author' => 'Theme architecture: Taiwen Jiang <[email protected]>; Resources: Pi Engine Development Team',
// Screenshot image, relative path in asset. If no screenshot is available, static/image/screenshot.png will be used
'screenshot' => 'image/screenshot.png',
// License or theme images and scripts
'license' => 'Creative Common License http://creativecommons.org/licenses/by/3.0/',
// Optional description
'description' => 'Default theme for Pi Engine',
// Parent theme from which templates can be inherited, default as 'default'
'parent' => '',
// Supported browsers
'browser' => 'Internet Explorer: 6+; Chrome: 17+; Firefox: 10+; Safari: 5.1+; Opera: 9.8+;',
);