frio: set a dummy img for background image if no img was set (Otherwise the empty value would be replaced in the browser with a path to the theme and the css would be loaded a second time)
This commit is contained in:
parent
9be6dfadba
commit
1585918f29
|
@ -69,7 +69,8 @@ $nav_bg = (empty($nav_bg) ? "#708fa0" : $nav_bg);
|
||||||
$nav_icon_color = (empty($nav_icon_color) ? "#fff" : $nav_icon_color);
|
$nav_icon_color = (empty($nav_icon_color) ? "#fff" : $nav_icon_color);
|
||||||
$link_color = (empty($link_color) ? "#6fdbe8" : $link_color);
|
$link_color = (empty($link_color) ? "#6fdbe8" : $link_color);
|
||||||
$bgcolor = (empty($bgcolor) ? "#ededed" : $bgcolor);
|
$bgcolor = (empty($bgcolor) ? "#ededed" : $bgcolor);
|
||||||
$background_image = (empty($background_image) ? '' : $background_image);
|
// The background image can not be empty. So we use a dummy jpg if no image was set.
|
||||||
|
$background_image = (empty($background_image) ? 'img/none.jpg' : $background_image);
|
||||||
$modified = (empty($modified) ? time() :$modified);
|
$modified = (empty($modified) ? time() :$modified);
|
||||||
|
|
||||||
$contentbg_transp = ((isset($contentbg_transp) && $contentbg_transp != "") ? $contentbg_transp : 100);
|
$contentbg_transp = ((isset($contentbg_transp) && $contentbg_transp != "") ? $contentbg_transp : 100);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user