add contact_widgets and provide widgets on appropriate pages, fix the saved search widget
fix directory page on testbubble, don't use system theme for community, directory, and search if the viewer is logged in.
This commit is contained in:
+7
-3
@@ -1,5 +1,12 @@
|
||||
<?php
|
||||
|
||||
function community_init(&$a) {
|
||||
if(! local_user())
|
||||
unset($_SESSION['theme']);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
function community_content(&$a, $update = 0) {
|
||||
|
||||
@@ -19,9 +26,6 @@ function community_content(&$a, $update = 0) {
|
||||
require_once('include/security.php');
|
||||
require_once('include/conversation.php');
|
||||
|
||||
if(x($_SESSION,'theme'))
|
||||
unset($_SESSION['theme']);
|
||||
|
||||
|
||||
$o .= '<h3>' . t('Community') . '</h3>';
|
||||
if(! $update) {
|
||||
|
||||
Reference in New Issue
Block a user