mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-18 20:39:13 +02:00
html fixs, spanned body tag, added CSS for A:hover
This commit is contained in:
@@ -11,6 +11,16 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $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'].'"';
|
$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'])
|
if (!$phpgw_info['server']['htmlcompliant'])
|
||||||
{
|
{
|
||||||
@@ -24,6 +34,7 @@
|
|||||||
$tpl->set_var('font_family',$phpgw_info['theme']['font']);
|
$tpl->set_var('font_family',$phpgw_info['theme']['font']);
|
||||||
$tpl->set_var('website_title',$phpgw_info['server']['site_title']);
|
$tpl->set_var('website_title',$phpgw_info['server']['site_title']);
|
||||||
$tpl->set_var('body_tags',$bodyheader);
|
$tpl->set_var('body_tags',$bodyheader);
|
||||||
|
$tpl->set_var('css_hovlink',$csshover);
|
||||||
$tpl->pfp('out','head');
|
$tpl->pfp('out','head');
|
||||||
unset($tpl);
|
unset($tpl);
|
||||||
?>
|
?>
|
||||||
|
@@ -8,12 +8,13 @@
|
|||||||
<META NAME="keywords" CONTENT="phpGroupWare">
|
<META NAME="keywords" CONTENT="phpGroupWare">
|
||||||
<STYLE type="text/css">
|
<STYLE type="text/css">
|
||||||
<!--
|
<!--
|
||||||
a { text-decoration:none; }
|
a { text-decoration:none; }
|
||||||
A:link{ text-decoration:none }
|
A:link{ text-decoration:none }
|
||||||
A:visted{ text-decoration:none }
|
A:visted{ text-decoration:none }
|
||||||
A:active{ text-decoration:none }
|
A:active{ text-decoration:none }
|
||||||
body { margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: {font_family} }
|
{css_hovlink}
|
||||||
.tablink { color: #000000; }
|
body { margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: "{font_family}" }
|
||||||
|
.tablink { color: "#000000"; }
|
||||||
-->
|
-->
|
||||||
</STYLE>
|
</STYLE>
|
||||||
<script language="javascript">
|
<script language="javascript">
|
||||||
@@ -32,5 +33,5 @@ function MM_preloadImages() {
|
|||||||
|
|
||||||
<TITLE>{website_title}</TITLE>
|
<TITLE>{website_title}</TITLE>
|
||||||
</HEAD>
|
</HEAD>
|
||||||
<BODY {body_tags}>
|
<!-- idsociety body tags continue into navbar.tpl, so the closing bracket here is there END Head -->
|
||||||
<!-- END Head -->
|
<BODY {body_tags}
|
||||||
|
@@ -1,4 +1,12 @@
|
|||||||
<body bgcolor="AAAAAA" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" rightmargin="0" leftmargin="0" border="0" onLoad="MM_preloadImages('{app_images}','{img_root}/log_out_over.gif','{img_root}/preferences_over.gif','{img_root}/help-over.gif','{img_root}/welcome_over.gif')">
|
marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" rightmargin="0" leftmargin="0" border="0"
|
||||||
|
onLoad="MM_preloadImages('{app_images}',
|
||||||
|
'{img_root}/log_out_over.gif',
|
||||||
|
'{img_root}/preferences_over.gif',
|
||||||
|
'{img_root}/help-over.gif',
|
||||||
|
'{img_root}/welcome_over.gif')">
|
||||||
|
<!-- the above is the continuation and finishing if the < body > element started in head.tpl
|
||||||
|
the margin items could be merged into head, as head already supplies some
|
||||||
|
the variables for onLoad are set in navbar -->
|
||||||
|
|
||||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
|
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -11,7 +19,7 @@
|
|||||||
|
|
||||||
<TR>
|
<TR>
|
||||||
<TD><img src="{img_root}/right_nav_bar.gif" border="0" name="one"></TD>
|
<TD><img src="{img_root}/right_nav_bar.gif" border="0" name="one"></TD>
|
||||||
<TR>
|
</tr>
|
||||||
|
|
||||||
{applications}
|
{applications}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user