From d3a9f7a2ced4fb992b2579b33d590f9a7e916623 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 10 Jun 2010 13:25:05 +0000 Subject: [PATCH] fix some problems regarding position of divs, and footer information --- felamimail/inc/class.uifelamimail.inc.php | 6 ++---- felamimail/templates/default/app.css | 9 +++++---- felamimail/templates/default/view_attachments.tpl | 4 ++-- felamimail/templates/jerryr/app.css | 9 +++++---- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/felamimail/inc/class.uifelamimail.inc.php b/felamimail/inc/class.uifelamimail.inc.php index 275fd5ae0f..50a16248ba 100644 --- a/felamimail/inc/class.uifelamimail.inc.php +++ b/felamimail/inc/class.uifelamimail.inc.php @@ -512,8 +512,7 @@ $this->t->parse("out","main"); print $this->t->get('out','main'); - - $GLOBALS['egw']->common->egw_footer(); + $GLOBALS['egw']->framework->footer(false); exit; } $this->t->set_var('activeFolder',$urlMailbox); @@ -861,8 +860,7 @@ $this->t->parse("out","main"); print $this->t->get('out','main'); - - $GLOBALS['egw']->common->egw_footer(); + $GLOBALS['egw']->framework->footer(false); } function array_merge_replace( $array, $newValues ) diff --git a/felamimail/templates/default/app.css b/felamimail/templates/default/app.css index dad796313a..af381597b2 100644 --- a/felamimail/templates/default/app.css +++ b/felamimail/templates/default/app.css @@ -436,10 +436,10 @@ DIV.divButton { } #subjectDIV { - position:absolute; + position:fixed; background-color:#ffffff; top:32px; - height:20px; + min-height:20px; width:100%; font-weight:bold; text-align:left; @@ -478,10 +478,11 @@ DIV.divButton { } #attachmentDIV { - position:absolute; + position:fixed; background-color:#efefdf; bottom:0px; - height:80px; + min-height:80px; + max-height:240px; width:100%; border-top: 1px solid silver; overflow:auto; diff --git a/felamimail/templates/default/view_attachments.tpl b/felamimail/templates/default/view_attachments.tpl index 2a47f421ec..20029e0e24 100644 --- a/felamimail/templates/default/view_attachments.tpl +++ b/felamimail/templates/default/view_attachments.tpl @@ -2,10 +2,10 @@ -
+
{subject_data}
-
+
{attachment_rows}
diff --git a/felamimail/templates/jerryr/app.css b/felamimail/templates/jerryr/app.css index bf8f6512b0..11b49e9166 100644 --- a/felamimail/templates/jerryr/app.css +++ b/felamimail/templates/jerryr/app.css @@ -479,10 +479,10 @@ DIV.divButton { } #subjectDIV { - position:absolute; + position:fixed; background-color:#ffffff; top:32px; - height:20px; + min-height:20px; width:100%; font-weight:bold; text-align:left; @@ -521,10 +521,11 @@ DIV.divButton { } #attachmentDIV { - position:absolute; + position:fixed; background-color:#efefdf; bottom:0px; - height:80px; + min-height:80px; + max-height:240px; width:100%; border-top: 1px solid silver; overflow:auto;