From 7bc382ade39c1624db202df3ad67d3953d88ba84 Mon Sep 17 00:00:00 2001 From: angles Date: Thu, 3 May 2001 21:23:04 +0000 Subject: [PATCH] html fixs, spanned body tag, added CSS for A:hover --- phpgwapi/templates/idsociety/head.inc.php | 11 +++++++++++ phpgwapi/templates/idsociety/head.tpl | 17 +++++++++-------- phpgwapi/templates/idsociety/navbar.tpl | 12 ++++++++++-- 3 files changed, 30 insertions(+), 10 deletions(-) diff --git a/phpgwapi/templates/idsociety/head.inc.php b/phpgwapi/templates/idsociety/head.inc.php index 0a1863a100..363f2ee9bc 100644 --- a/phpgwapi/templates/idsociety/head.inc.php +++ b/phpgwapi/templates/idsociety/head.inc.php @@ -11,6 +11,16 @@ /* $Id$ */ + // needed until hovlink is specified in all theme files + if ($phpgw_info['theme']['hovlink'] == '') + { + $csshover = ''; + } + else + { + $csshover = 'A:hover{ text-decoration:none; color: "' .$phpgw_info['theme']['hovlink'] .'" }'; + }; + $bodyheader = 'BGCOLOR="'.$phpgw_info['theme']['bg_color'].'" ALINK="'.$phpgw_info['theme']['alink'].'" LINK="'.$phpgw_info['theme']['link'].'" VLINK="'.$phpgw_info['theme']['vlink'].'"'; if (!$phpgw_info['server']['htmlcompliant']) { @@ -24,6 +34,7 @@ $tpl->set_var('font_family',$phpgw_info['theme']['font']); $tpl->set_var('website_title',$phpgw_info['server']['site_title']); $tpl->set_var('body_tags',$bodyheader); + $tpl->set_var('css_hovlink',$csshover); $tpl->pfp('out','head'); unset($tpl); ?> diff --git a/phpgwapi/templates/idsociety/head.tpl b/phpgwapi/templates/idsociety/head.tpl index 48ae47a981..716ba7ec86 100644 --- a/phpgwapi/templates/idsociety/head.tpl +++ b/phpgwapi/templates/idsociety/head.tpl @@ -8,12 +8,13 @@