use Friendica\Model\Item;
use Friendica\Model\User;
-function community_init(App $a)
-{
- if (!local_user()) {
- unset($_SESSION['theme']);
- unset($_SESSION['mobile-theme']);
- }
-}
-
function community_content(App $a, $update = 0)
{
$o = '';
}
$a->page['aside'] .= search_saved_searches();
-
- } else {
- unset($_SESSION['theme']);
- unset($_SESSION['mobile-theme']);
}
}
}
}
-
- if (!empty($_SESSION['theme'])) {
- unset($_SESSION['theme']);
- }
- if (!empty($_SESSION['mobile-theme'])) {
- unset($_SESSION['mobile-theme']);
- }
-
$tpl = Renderer::getMarkupTemplate("uimport.tpl");
return Renderer::replaceMacros($tpl, [
'$regbutt' => L10n::t('Import'),
if (local_user()) {
$app->page['aside'] .= Widget::findPeople();
$app->page['aside'] .= Widget::follow();
- } else {
- unset($_SESSION['theme']);
- unset($_SESSION['mobile-theme']);
}
$output = '';
{
public static function content()
{
- if (!empty($_SESSION['theme'])) {
- unset($_SESSION['theme']);
- }
-
- if (!empty($_SESSION['mobile-theme'])) {
- unset($_SESSION['mobile-theme']);
- }
-
$app = self::getApp();
$config = $app->getConfig();
{
$a = self::getApp();
- Session::remove('theme');
- Session::remove('mobile-theme');
-
if (local_user()) {
$a->internalRedirect();
}
}
}
- if (!empty($_SESSION['theme'])) {
- unset($_SESSION['theme']);
- }
- if (!empty($_SESSION['mobile-theme'])) {
- unset($_SESSION['mobile-theme']);
- }
-
$username = defaults($_REQUEST, 'username' , '');
$email = defaults($_REQUEST, 'email' , '');
$openid_url = defaults($_REQUEST, 'openid_url', '');