aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/light/theme.php
diff options
context:
space:
mode:
authorSimon <simon@kisikew.org>2012-04-26 13:23:23 -0700
committerSimon <simon@kisikew.org>2012-04-26 13:23:23 -0700
commit552895001c5b0a43b3e37e8dbdedda718dd882c6 (patch)
tree2ba64b2890eb342beed92e320f677f1cbdfd8d5f /view/theme/dispy/light/theme.php
parent82abb14bf9393d47e8c38ff9487f0855e22d78a7 (diff)
parentd6116b6979fb3d0f706550e0e5ca91c18079b3fd (diff)
downloadvolse-hubzilla-552895001c5b0a43b3e37e8dbdedda718dd882c6.tar.gz
volse-hubzilla-552895001c5b0a43b3e37e8dbdedda718dd882c6.tar.bz2
volse-hubzilla-552895001c5b0a43b3e37e8dbdedda718dd882c6.zip
Merge pull request #268 from simonlnu/master
announced dipsy change. re-tie your boots, we're in for a wee ride ;)
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);
+ }
+}
+