Merge pull request #7377 from friendica/revert-7374-task/frio/default-to-login
Revert "Default theme = login theme"
This commit is contained in:
commit
06f6bc8a4a
1 changed files with 5 additions and 5 deletions
|
@ -96,12 +96,12 @@ if (!$scheme) {
|
|||
|
||||
//Set some defaults - we have to do this after pulling owner settings, and we have to check for each setting
|
||||
//individually. If we don't, we'll have problems if a user has set one, but not all options.
|
||||
$nav_bg = (empty($nav_bg) ? Config::get('frio', 'nav_bg', '#708fa0') : $nav_bg);
|
||||
$nav_icon_color = (empty($nav_icon_color) ? Config::get('frio', 'nav_icon_color', '#fff') : $nav_icon_color);
|
||||
$link_color = (empty($link_color) ? Config::get('frio', 'link_color', '#6fdbe8') : $link_color);
|
||||
$background_color = (empty($background_color) ? Config::get('frio', 'background_color', '#ededed') : $background_color);
|
||||
$nav_bg = (empty($nav_bg) ? '#708fa0' : $nav_bg);
|
||||
$nav_icon_color = (empty($nav_icon_color) ? '#fff' : $nav_icon_color);
|
||||
$link_color = (empty($link_color) ? '#6fdbe8' : $link_color);
|
||||
$background_color = (empty($background_color) ? '#ededed' : $background_color);
|
||||
// The background image can not be empty. So we use a dummy jpg if no image was set.
|
||||
$background_image = (empty($background_image) ? Config::get('frio', 'background_image', 'img/none.png') : $background_image);
|
||||
$background_image = (empty($background_image) ? 'img/none.png' : $background_image);
|
||||
$modified = (empty($modified) ? time() : $modified);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue