X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdispy%2Ftheme.php;h=15e54f7e215598b58988316d558b2822570e7034;hb=77aeba0d127857b0243c57bbac59b687cabb1dca;hp=a7aec1c1a4f9041a368aa4e6626e0198c7340c69;hpb=8a85914e1d46bb97da7571f1d3fdd377594320f9;p=friendica.git
diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php
index a7aec1c1a4..15e54f7e21 100644
--- a/view/theme/dispy/theme.php
+++ b/view/theme/dispy/theme.php
@@ -1,5 +1,18 @@
theme_info = array();
+
+/*
+ * Name: Dispy
+ * Description: Dispy, Friendica theme
+ * Version: 1.0
+ * Author: unknown
+ * Maintainer: Simon
+ * Screenshot: Screenshot
+ */
+
+
+$a->theme_info = array(
+ 'extends' => 'dispy'
+);
$a->page['htmlhead'] .= <<< EOT
EOT;
-$a->page['footer'] .= <<get_baseurl($ssl_state);
+ $aside['$url'] = $url;
+
+ $tpl = file_get_contents(dirname(__file__).'/communityhome.tpl');
+ $a->page['aside_bottom'] = replace_macros($tpl, $aside);
+}
+
+// use our 'default.php' instead of the system-wide one
+$theme_name = 'dispy';
+//$a->page['template'] = "theme/dispy/default";
+
+// aside on profile page
+if ($a->argv[0] === "profile") {
+ dispy_community_info();
+}