]> git.mxchange.org Git - friendica.git/blob - view/theme/dispy/light/theme.php
Implement Smarty3
[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 $a = get_app();
12 $a->theme_info = array(
13     'family' => 'dispy',
14         'name' => 'light',
15 );
16 $a->theme['template_engine'] = 'smarty3';
17
18 function dispy_light_init(&$a) {
19
20     /** @purpose set some theme defaults
21     */
22     $cssFile = null;
23     $colour = 'light';
24         $colour_path = "/light/";
25
26     // set css
27     if (!is_null($cssFile)) {
28         $a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
29     }
30 }
31