Browse Source

Added check for ?help.php so left frame is set large.

lbergman 25 years ago
parent
commit
04c0b685da
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/webmail.php

+ 6 - 1
src/webmail.php

@@ -36,7 +36,12 @@
    echo "<TITLE>";
    echo "$org_title";
    echo "</TITLE>";
-   echo "<FRAMESET COLS=\"$left_size, *\" NORESIZE BORDER=0>";
+   $ishelp = substr(getenv(REQUEST_URI),-8);			// If calling help, set left frame to 300
+   if ($ishelp == "help.php") {			
+      echo "<FRAMESET COLS=\"300, *\" NORESIZE BORDER=0>";
+   } else {
+      echo "<FRAMESET COLS=\"$left_size, *\" NORESIZE BORDER=0>";
+   }
 
 /**
     There are four ways to call webmail.php