mirror of
https://github.com/friendica/friendica
synced 2024-11-14 15:02:54 +00:00
30 lines
677 B
PHP
30 lines
677 B
PHP
<?php
|
|
|
|
/*
|
|
* Name: Dispy Light
|
|
* Description: Dispy Light: Light, Spartan, Sleek, and Functional
|
|
* Author: Simon <http://simon.kisikew.org/>
|
|
* Maintainer: Simon <http://simon.kisikew.org/>
|
|
* Screenshot: <a href="screenshot.jpg">Screenshot</a>
|
|
*/
|
|
|
|
function dispy_light_init(&$a) {
|
|
|
|
$a->theme_info = array(
|
|
'family' => 'dispy',
|
|
'name' => 'light',
|
|
);
|
|
set_template_engine($a, 'smarty3');
|
|
|
|
/** @purpose set some theme defaults
|
|
*/
|
|
$cssFile = null;
|
|
$colour = 'light';
|
|
$colour_path = "/light/";
|
|
|
|
// set css
|
|
if (!is_null($cssFile)) {
|
|
$a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
|
|
}
|
|
}
|
|
|