move login link and user name+email to the right on the navigation bar
[phorkie.git] / data / config.default.php
1 <?php
2 $GLOBALS['phorkie']['cfg'] = array(
3     'debug'         => false,
4     'gitdir'        => __DIR__ . '/../repos/git/',
5     'workdir'       => __DIR__ . '/../repos/work/',
6     'tpl'           => __DIR__ . '/templates/',
7     'css'           => 'http://twitter.github.com/bootstrap/assets/css/bootstrap.css',
8     'title'         => 'phorkie',
9     'topbar'        => '',
10     'setupcheck'    => true,
11     'elasticsearch' => null,
12     'geshi'         => 'MediaWiki/geshi/geshi/geshi.php',
13     'index'         => 'new'//"new" or "list"
14 );
15 $GLOBALS['phorkie']['auth'] = array(
16     // 0 = public, no authentication, 1 = protect adds/edits/deletes,
17     // 2 = require authentication
18     'securityLevel'   => 0,
19     'listedUsersOnly' => false,
20     'users'           => array(),             // Array of OpenIDs that may login
21     'anonymousName'   => 'Anonymous',         // Email for non-authenticated commits
22     'anonymousEmail'  => 'anonymous@phorkie', // Email for non-authenticated commits
23 );
24 $GLOBALS['phorkie']['tools'] = array(
25     '\\phorkie\\Tool_Xmllint' => true,
26     '\\phorkie\\Tool_PHPlint' => true,
27 );
28 /**
29  * Array of supported file types / languages.
30  * Key is the file extension
31  */
32 $GLOBALS['phorkie']['languages'] = array(
33     'css' => array(
34         'title' => 'CSS',
35         'mime'  => 'text/css',
36         'geshi' => 'css'
37     ),
38     'diff' => array(
39         'title' => 'Diff',
40         'mime'  => 'text/diff',
41         'geshi' => 'diff'
42     ),
43     'htm' => array(
44         'title' => 'HTML',
45         'mime'  => 'text/html',
46         'geshi' => 'xml'
47     ),
48     'html' => array(
49         'title' => 'HTML',
50         'mime'  => 'text/html',
51         'geshi' => 'xml',
52         'show'  => false
53     ),
54     'jpg' => array(
55         'title' => 'JPEG image',
56         'mime'  => 'image/jpeg',
57         'show'  => false
58     ),
59     'ini' => array(
60         'title' => 'Ini',
61         'mime'  => 'text/ini',
62         'geshi' => 'ini'
63     ),
64     'js' => array(
65         'title' => 'Javascript',
66         'mime'  => 'application/javascript',
67         'geshi' => 'javascript'
68     ),
69     'pl' => array(
70         'title' => 'Perl',
71         'mime'  => 'application/x-perl',
72         'geshi' => 'pl'
73     ),
74     'php' => array(
75         'title' => 'PHP',
76         'mime'  => 'text/x-php',
77         'geshi' => 'php'
78     ),
79     'png' => array(
80         'title' => 'PNG image',
81         'mime'  => 'image/png',
82         'show'  => false
83     ),
84     'rb' => array(
85         'title' => 'Ruby/Rails',
86         'mime'  => 'text/x-ruby', /* Is this an acceptable mime type? */
87         'geshi' => 'rails'
88     ),
89     'rst' => array(
90         'title' => 'reStructuredText',
91         'mime'  => 'text/x-rst',
92         'geshi' => 'rst',
93         'renderer' => '\\phorkie\\Renderer_ReStructuredText',
94     ),
95     'sh' => array(
96         'title' => 'Shell script (Bash)',
97         'mime'  => 'text/x-shellscript',
98         'geshi' => 'bash'
99     ),
100     'sql' => array(
101         'title' => 'SQL',
102         'mime'  => 'text/x-sql',
103         'geshi' => 'sql'
104     ),
105     'svg' => array(
106         'title' => 'SVG image',
107         'mime'  => 'image/svg+xml',
108         'show'  => false
109     ),
110     'txt' => array(
111         'title' => 'Text (plain)',
112         'mime'  => 'text/plain',
113         'geshi' => 'txt'
114     ),
115     'ts' => array(
116         'title' => 'TypoScript',
117         'mime'  => 'text/x-typoscript',/* TODO: correct type */
118         'geshi' => 'typoscript'
119     ),
120     'xml' => array(
121         'title' => 'XML',
122         'mime'  => 'text/xml',
123         'geshi' => 'xml'
124     ),
125 );
126 ?>