aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/light/theme.php
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-04-26 16:14:42 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-04-26 16:14:42 -0400
commitd6116b6979fb3d0f706550e0e5ca91c18079b3fd (patch)
tree2ba64b2890eb342beed92e320f677f1cbdfd8d5f /view/theme/dispy/light/theme.php
parentbd14fdec6e451ac746b1813bd8f26722b7d2fd5a (diff)
downloadvolse-hubzilla-d6116b6979fb3d0f706550e0e5ca91c18079b3fd.tar.gz
volse-hubzilla-d6116b6979fb3d0f706550e0e5ca91c18079b3fd.tar.bz2
volse-hubzilla-d6116b6979fb3d0f706550e0e5ca91c18079b3fd.zip
announced dipsy change. re-tie your boots, we're in for a wee ride ;)
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
Diffstat (limited to 'view/theme/dispy/light/theme.php')
-rw-r--r--view/theme/dispy/light/theme.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/view/theme/dispy/light/theme.php b/view/theme/dispy/light/theme.php
new file mode 100644
index 000000000..2b37c0671
--- /dev/null
+++ b/view/theme/dispy/light/theme.php
@@ -0,0 +1,32 @@
+<?php
+
+/*
+ * Name: Dispy
+ * Description: <p style="white-space:pre;"> Dispy: Light, Spartan, Sleek, and Functional<br /> Dispy Dark: Dark, Spartan, Sleek, and Functional</p>
+ * Version: 1.2
+ * 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',
+ 'version' => '1.2'
+);
+
+function dispy_light_init(&$a) {
+
+ /** @purpose set some theme defaults
+ */
+ $cssFile = null;
+ $colour = false;
+ $colour = 'light';
+
+ // custom css
+ if (!is_null($cssFile)) {
+ $a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
+ }
+}
+