X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdispy%2Ftheme.php;h=2d423a9280ec5e28547270375d4eb45841da4867;hb=7ceb21385935b777f2aa74e0aab42f0eb981736d;hp=eb70732684770145654ad614fe595fb7185222cb;hpb=cdb73f706f7830ae95c60e2c9b0199f67147ac77;p=friendica.git
diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php
index eb70732684..2d423a9280 100644
--- a/view/theme/dispy/theme.php
+++ b/view/theme/dispy/theme.php
@@ -2,17 +2,25 @@
/*
* Name: Dispy
- * Description:
Dispy: Light, Spartan, Sleek, and Functional
Dispy Dark: Dark, Spartan, Sleek, and Functional
- * Version: 1.2
+ * Description: Dispy family (light, dark): Sleek and Functional Themes
+ * Version: 1.2.1
* Author: Simon
* Maintainer: Simon
* Screenshot: Screenshot
*/
+/* If you borrow any of these functions, make sure to
+ * RENAME your functions, otherwise both themes get conflicts,
+ * and the friendica instance will get HTTP 500 errors.
+ * To paraphrase Mike: "Might wish to wrap
+ * function_name with "if(! function_exists('function_name')) ... "
+ * or rename to prefix1_function_name (prefix2_function_name), etc.
+ */
+
$a = get_app();
$a->theme_info = array(
'family' => 'dispy',
- 'version' => '1.2'
+ 'version' => '1.2.2'
);
function dispy_init(&$a) {
@@ -20,7 +28,6 @@ function dispy_init(&$a) {
/** @purpose set some theme defaults
*/
$cssFile = null;
- $colour = false;
$colour = get_pconfig(local_user(), "dispy", "colour");
$baseurl = $a->get_baseurl($ssl_state);
@@ -44,7 +51,10 @@ function dispy_init(&$a) {