<?php
function community_init(&$a) {
- if(! local_user())
+ if(! local_user()) {
unset($_SESSION['theme']);
+ unset($_SESSION['mobile-theme']);
+ }
}
$o .= '<h3>' . t('Community') . '</h3>';
if(! $update) {
nav_set_selected('community');
- $o .= '<div id="live-community"></div>' . "\r\n";
- $o .= "<script> var profile_uid = -1; var netargs = '/?f='; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
}
if(x($a->data,'search'))