]> git.mxchange.org Git - friendica.git/blob - view/theme/dispy/light/theme.php
Merge pull request #604 from fermionic/20130204-db-debugging-in-mod-display
[friendica.git] / view / theme / dispy / light / theme.php
1 <?php
2
3 /*
4  * Name: Dispy Light
5  * Description: Dispy Light: Light, 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 function dispy_light_init(&$a) {
12
13         $a->theme_info = array(
14                 'family' => 'dispy',
15                 'name' => 'light',
16         );
17         set_template_engine($a, 'smarty3');
18
19     /** @purpose set some theme defaults
20     */
21     $cssFile = null;
22     $colour = 'light';
23         $colour_path = "/light/";
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