<?php
/**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
$modified = time();
if (DI::mode()->has(\Friendica\App\Mode::MAINTENANCEDISABLED)) {
- DI::config()->load('frio');
+ DI::config()->reload();
// Default to hard-coded values for empty settings
$scheme = DI::config()->get('frio', 'scheme', DI::config()->get('frio', 'schema'));
}
}
-$contentbg_transp = $contentbg_transp ?? 0 ?: 100;
+$contentbg_transp = $contentbg_transp != '' ? $contentbg_transp : 100;
// Calculate some colors in dependance of existing colors.
// Some colors are calculated to don't have too many selection
'$login_bg_image' => $login_bg_image,
'$login_bg_color' => $login_bg_color,
'$font_color_darker' => $font_color_darker ?? '#222',
+ '$font_color_lighter' => $font_color_lighter ?? '#aaa',
'$font_color' => $font_color ?? '#444',
];
$css_tpl = file_get_contents('view/theme/frio/css/style.css');
+$css_tpl .= file_get_contents('view/theme/frio/css/dropzone.min.frio.css');
// Get the content of the scheme css file and the time of the last file change.
if ($schemecssfile) {