X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdispy%2Ftheme.php;h=f3c54caf9eaf00beef3f45d26588bd25276d675c;hb=64a1367525ac920721943a08adec1124657df70d;hp=190872d01e7ac9da10db81ca17d46761efaa336a;hpb=356e654521a3d93e4ba14c4d243df259b0d21c4f;p=friendica.git
diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php
index 190872d01e..f3c54caf9e 100644
--- a/view/theme/dispy/theme.php
+++ b/view/theme/dispy/theme.php
@@ -9,11 +9,6 @@
* Screenshot: Screenshot
*/
-
-$a->theme_info = array(
- 'extends' => 'dispy'
-);
-
$a->page['htmlhead'] .= <<< EOT
EOT;
@@ -156,10 +137,7 @@ function dispy_community_info() {
$a->page['aside_bottom'] = replace_macros($tpl, $aside);
}
-// use our 'default.php' instead of the system-wide one
-$a->page['template'] = "theme/dispy-dark/default";
-
// aside on profile page
-if ($a->argv[0] === "profile") {
+if (($a->argv[0] . $a->argv[1]) === ("profile" . $a->user['nickname'])) {
dispy_community_info();
}