-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.php
80 lines (78 loc) · 2.84 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
70
71
72
73
74
75
76
77
78
79
80
<?php
/**
* Pi Engine (http://pialog.org)
*
* @link http://code.pialog.org for the Pi Engine source repository
* @copyright Copyright (c) Pi Engine http://pialog.org
* @license http://pialog.org/license.txt New BSD License
*/
/**
* 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.
*/
return array(
/**#@+
* To be stored in DB
*/
// Version
'version' => '1.1.0',
// Type of layouts available in the theme
// Potential value: 'both', 'admin', 'front', default as 'both'
'type' => 'front',
/**#@-**/
// Title of the theme
'title' => 'PayamakYab Theme',
// Author information: name, email, website
'author' => 'Architecture:'
. ' Hossein Azizabadi <[email protected]>',
// 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, usability oriented.',
// 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+;',
);