Commit 28fa960a authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1926407: Avoid breaking old skins on pages



When they are missing the newer fetures

Change-Id: I6574045b4d26f1e22153db24290d0677e3e0d11e
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent dfb1db16
......@@ -79,8 +79,12 @@ $smarty->assign('view_text_font_family', Skin::get_css_font_family_from_font_nam
$smarty->assign('tabs_height', Skin::get_tabs_height_from_font_name($skin->viewskin['view_text_font_family'])); // TODO remove this
$smarty->assign('view_heading_font_face', Skin::get_css_font_face_from_font_name($skin->viewskin['view_heading_font_family']));
$smarty->assign('view_heading_font_family', Skin::get_css_font_family_from_font_name($skin->viewskin['view_heading_font_family'], 'heading'));
$smarty->assign('view_block_header_font', Skin::get_css_font_family_from_font_name($skin->viewskin['view_block_header_font']));
$smarty->assign('view_block_header_font_color', $skin->viewskin['view_block_header_font_color']);
if (isset($skin->viewskin['view_block_header_font'])) {
$smarty->assign('view_block_header_font', Skin::get_css_font_family_from_font_name($skin->viewskin['view_block_header_font']));
}
if (isset($skin->viewskin['view_block_header_font_color'])) {
$smarty->assign('view_block_header_font_color', $skin->viewskin['view_block_header_font_color']);
}
$smarty->assign('view_text_font_size', $skin->viewskin['view_text_font_size']);
$smarty->assign('view_text_font_color', $skin->viewskin['view_text_font_color']);
$smarty->assign('view_text_heading_color', $skin->viewskin['view_text_heading_color']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment