]> git.mxchange.org Git - friendica.git/blob - view/theme/dispy/dark/theme.php
Merge remote-tracking branch 'upstream/master'
[friendica.git] / view / theme / dispy / dark / theme.php
1 <?php
2
3 /*
4  * Name: Dispy Dark
5  * Description: Dispy Dark: Dark, Spartan, Sleek, and Functional
6  * Author: Simon <http://simon.kisikew.org/>
7  * Maintainer: Simon <http://simon.kisikew.org/>
8  * Screenshot: <a href="screenshot.jpg">Screenshot</a>
9  */
10
11 $a = get_app();
12 $a->theme_info = array(
13     'family' => 'dispy',
14     'name' => 'dark',
15 );
16 set_template_engine($a, 'smarty3');
17
18 function dispy_dark_init(&$a) {
19     /** @purpose set some theme defaults
20     */
21     $cssFile = null;
22     $colour = 'dark';
23         $colour_path = "/dark/";
24
25     // set css
26     if (!is_null($cssFile)) {
27         $a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
28     }
29 }
30