2012-04-26 16:14:42 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
2012-05-21 21:29:18 -04:00
|
|
|
* Name: Dispy Light
|
|
|
|
* Description: Dispy Light: Light, Spartan, Sleek, and Functional
|
2012-04-26 16:14:42 -04:00
|
|
|
* 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',
|
|
|
|
);
|
|
|
|
|
|
|
|
function dispy_light_init(&$a) {
|
|
|
|
|
|
|
|
/** @purpose set some theme defaults
|
|
|
|
*/
|
|
|
|
$cssFile = null;
|
|
|
|
$colour = 'light';
|
2012-05-21 21:29:18 -04:00
|
|
|
$colour_path = "/light/";
|
2012-04-26 16:14:42 -04:00
|
|
|
|
2012-05-21 21:29:18 -04:00
|
|
|
// set css
|
2012-04-26 16:14:42 -04:00
|
|
|
if (!is_null($cssFile)) {
|
|
|
|
$a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|