2012-04-26 22:14:42 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
2012-05-22 03:29:18 +02:00
|
|
|
* Name: Dispy Light
|
|
|
|
* Description: Dispy Light: Light, Spartan, Sleek, and Functional
|
2012-04-26 22:14:42 +02: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-22 03:29:18 +02:00
|
|
|
$colour_path = "/light/";
|
2012-04-26 22:14:42 +02:00
|
|
|
|
2012-05-22 03:29:18 +02:00
|
|
|
// set css
|
2012-04-26 22:14:42 +02:00
|
|
|
if (!is_null($cssFile)) {
|
|
|
|
$a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|