Added check for ?help.php so left frame is set large.
authorlbergman <lbergman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 6 Jun 2000 13:31:41 +0000 (13:31 +0000)
committerlbergman <lbergman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 6 Jun 2000 13:31:41 +0000 (13:31 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@525 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/webmail.php

index e751032..717eafd 100644 (file)
    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