mirror of
https://github.com/friendica/friendica
synced 2025-05-12 10:24:10 +02:00
Several more warnings ... (#5340)
* Some more warnings removed * Even more warnings ... * Will it ever end? ;-) * Avoid warning in dbstructure * Origin and OStatus ... * There are more warnings solved ... yeah! * And again ... * We are not done yet * And more ... * And some new places ... * And more in the feeds * Avoid some more * And some backend stuff * Notifications cleared * Some more stuff * and again ... * It's getting fewer ... * Some warnings had been hidden in the notifications * Fix the fix * And another missing one ... * We need the owner here, not the user * Forgotten user * And more ... * And some more warnings disappeared ... * Some more frontend warnings * Some backend warnings removed * Fixed sidebar for "vier" * And more ... * Some more ... * And something for "remote self" * Am I stuck in an endless loop? * Fix: Clear tag and file field on update * Preset page content
This commit is contained in:
parent
32ef5623ab
commit
0360f7197a
48 changed files with 415 additions and 267 deletions
23
src/App.php
23
src/App.php
|
@ -174,7 +174,21 @@ class App
|
|||
$this->callstack['parser'] = [];
|
||||
|
||||
$this->config = [];
|
||||
$this->page = [];
|
||||
|
||||
$this->page = [
|
||||
'aside' => '',
|
||||
'bottom' => '',
|
||||
'content' => '',
|
||||
'end' => '',
|
||||
'footer' => '',
|
||||
'htmlhead' => '',
|
||||
'nav' => '',
|
||||
'page_title' => '',
|
||||
'right_aside' => '',
|
||||
'template' => '',
|
||||
'title' => ''
|
||||
];
|
||||
|
||||
$this->pager = [];
|
||||
|
||||
$this->query_string = '';
|
||||
|
@ -1154,7 +1168,12 @@ class App
|
|||
}
|
||||
}
|
||||
|
||||
$user_theme = defaults($_SESSION, 'theme', $system_theme);
|
||||
if (!empty($_SESSION)) {
|
||||
$user_theme = defaults($_SESSION, 'theme', $system_theme);
|
||||
} else {
|
||||
$user_theme = $system_theme;
|
||||
}
|
||||
|
||||
// Specific mobile theme override
|
||||
if (($this->is_mobile || $this->is_tablet) && defaults($_SESSION, 'show-mobile', true)) {
|
||||
$system_mobile_theme = Config::get('system', 'mobile-theme');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue