IE6 compatibility for action buttons, html code cleanup

This commit is contained in:
Klaus Leithoff 2010-02-24 13:36:20 +00:00
parent ee5edc0bd6
commit ff82712ac3
6 changed files with 12 additions and 13 deletions

View File

@ -533,7 +533,9 @@ class felamimail_hooks
$file[] = array(
'text' => "<TABLE WIDTH=\"100%\" CELLPADDING=\"0\" CELLSPACING=\"0\" style=\"border: solid #aaaaaa 1px; border-right: solid black 1px; \">
<tr class=\"navbarBackground\">
<td align=\"right\" width=\"100%\">".$navbarButtons."</td></tr></table></div>",
<td align=\"right\" width=\"100%\">".$navbarButtons."</td>
</tr>
</table>",
'no_lang' => True,
'link' => False,
'icon' => False,

View File

@ -853,7 +853,7 @@
$image = $GLOBALS['egw']->common->image('felamimail',$_imageName);
$float = $_float == 'right' ? 'right' : 'left';
return "<div class='navButton' style='float:$float;' onmousedown='this.className=\"navButtonActive\";' onmouseup='this.className=\"navButtonHover\";' onmouseout='this.className=\"navButton\";' onclick=\"$_imageAction\"><img style='width:16px; height:16px;' title='$_toolTip' src='$image' ></div>";
return "<div class='navButton' style='float:$float;' onmousedown='this.className=\"navButtonActive\";' onmouseup='this.className=\"navButtonHover\";' onmouseout='this.className=\"navButton\";' onclick=\"$_imageAction\"><img style='width:16px; height:16px;' class=\"sideboxstar\" title='$_toolTip' src='$image' ></div>";
}
function navbarSeparator()

View File

@ -312,8 +312,6 @@ div.navButton {
padding: 2px;
margin: 2px;
border: solid #dddddd 1px;
position: relative;
z-index:1;
}
div.navButton:hover, div.navButtonHover {

View File

@ -82,11 +82,11 @@ fm_startTimerMessageListUpdate(refreshTimeOut);
</table>
<form method="post" name="mainView" id="mainView" action="{reloadView}">
</form>
<TABLE width="100%" cellpadding="0" cellspacing="0" border="0" style="height:100px;">
<input type="hidden" name="folderAction" id="folderAction" value="changeFolder">
<INPUT TYPE=hidden NAME="oldMailbox" value="{oldMailbox}">
<INPUT TYPE=hidden NAME="mailbox">
<input type="hidden" name="folderAction" id="folderAction" value="changeFolder">
<INPUT TYPE=hidden NAME="oldMailbox" value="{oldMailbox}">
<INPUT TYPE=hidden NAME="mailbox">
<TABLE width="100%" cellpadding="0" cellspacing="0" border="0" style="height:100px;">
<tr style="height: 20px;">
<td nowrap>

View File

@ -357,7 +357,6 @@ div.navButton {
padding: 2px;
margin: 2px;
border: solid #dddddd 1px;
position: relative;
}
div.navButton:hover, div.navButtonHover {

View File

@ -83,11 +83,11 @@ fm_startTimerMessageListUpdate(refreshTimeOut);
</table>
<form method="post" name="mainView" id="mainView" action="{reloadView}">
</form>
<input type="hidden" name="folderAction" id="folderAction" value="changeFolder">
<INPUT TYPE=hidden NAME="oldMailbox" value="{oldMailbox}">
<INPUT TYPE=hidden NAME="mailbox">
<TABLE width="100%" cellpadding="0" cellspacing="0" border="0" style="height:100px;">
<input type="hidden" name="folderAction" id="folderAction" value="changeFolder">
<INPUT TYPE=hidden NAME="oldMailbox" value="{oldMailbox}">
<INPUT TYPE=hidden NAME="mailbox">
<tr style="height: 20px;">
<td nowrap>
<span id="folderFunction" align="left" style="font-size:11px;"></span>