2012-04-26 22:14:42 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
2012-05-22 03:29:18 +02:00
|
|
|
* Name: Dispy Dark
|
|
|
|
* Description: Dispy Dark: Dark, Spartan, Sleek, and Functional
|
|
|
|
* Author: Simon <http://simon.kisikew.org/>
|
|
|
|
* Maintainer: Simon <http://simon.kisikew.org/>
|
|
|
|
* Screenshot: <a href="screenshot.jpg">Screenshot</a>
|
|
|
|
*/
|
2012-04-26 22:14:42 +02:00
|
|
|
|
|
|
|
function dispy_dark_init(&$a) {
|
2013-01-03 18:47:45 +01:00
|
|
|
$a->theme_info = array(
|
|
|
|
'family' => 'dispy',
|
|
|
|
'name' => 'dark',
|
|
|
|
);
|
|
|
|
set_template_engine($a, 'smarty3');
|
|
|
|
|
2012-04-26 22:14:42 +02:00
|
|
|
/** @purpose set some theme defaults
|
|
|
|
*/
|
|
|
|
$cssFile = null;
|
|
|
|
$colour = 'dark';
|
|
|
|
$colour_path = "/dark/";
|
|
|
|
|
|
|
|
// set css
|
|
|
|
if (!is_null($cssFile)) {
|
|
|
|
$a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|