friendica_2021-01/view/theme/dispy/light/theme.php

32 lines
691 B
PHP
Raw Normal View History

<?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>
*/
$a = get_app();
$a->theme_info = array(
'family' => 'dispy',
'name' => 'light',
);
set_template_engine($a, 'smarty3');
function dispy_light_init(&$a) {
/** @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);
}
}