Adding status bar to the compose window
authorjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 10 Aug 2004 05:31:56 +0000 (05:31 +0000)
committerjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 10 Aug 2004 05:31:56 +0000 (05:31 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7873 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/page_header.php

index 9dc29bb..fd072dc 100644 (file)
@@ -166,7 +166,7 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) {
                            '   var newwin = window.open(comp_uri' .
                            ', "_blank",'.
                            '"width='.$compose_width. ',height='.$compose_height.
                            '   var newwin = window.open(comp_uri' .
                            ', "_blank",'.
                            '"width='.$compose_width. ',height='.$compose_height.
-                           ',scrollbars=yes,resizable=yes");'."\n".
+                           ',scrollbars=yes,resizable=yes,status=yes");'."\n".
                            "}\n\n";
                     $js .= "function comp_in_new(comp_uri) {\n".
                            "       if (!comp_uri) {\n".
                            "}\n\n";
                     $js .= "function comp_in_new(comp_uri) {\n".
                            "       if (!comp_uri) {\n".
@@ -175,7 +175,7 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) {
                            '    var newwin = window.open(comp_uri' .
                            ', "_blank",'.
                            '"width='.$compose_width. ',height='.$compose_height.
                            '    var newwin = window.open(comp_uri' .
                            ', "_blank",'.
                            '"width='.$compose_width. ',height='.$compose_height.
-                           ',scrollbars=yes,resizable=yes");'."\n".
+                           ',scrollbars=yes,resizable=yes,status=yes");'."\n".
                            "}\n\n";
                 }
 
                            "}\n\n";
                 }
 
@@ -272,13 +272,13 @@ function displayPageHeader($color, $mailbox, $xtra='', $session=false) {
                         $compose_height = '550';
                     }
                     $js .= "function comp_in_new(comp_uri) {\n".
                         $compose_height = '550';
                     }
                     $js .= "function comp_in_new(comp_uri) {\n".
-                 "       if (!comp_uri) {\n".
-                 '           comp_uri = "'.$compose_uri."\";\n".
-                 '       }'. "\n".
+                         "       if (!comp_uri) {\n".
+                         '           comp_uri = "'.$compose_uri."\";\n".
+                         '       }'. "\n".
                          '    var newwin = window.open(comp_uri' .
                          ', "_blank",'.
                          '"width='.$compose_width. ',height='.$compose_height.
                          '    var newwin = window.open(comp_uri' .
                          ', "_blank",'.
                          '"width='.$compose_width. ',height='.$compose_height.
-                         ',scrollbars=yes,resizable=yes");'."\n".
+                         ',scrollbars=yes,resizable=yes,status=yes");'."\n".
                          "}\n\n";
 
                 }
                          "}\n\n";
 
                 }