php refrences updated
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 23 Nov 1999 03:12:51 +0000 (03:12 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 23 Nov 1999 03:12:51 +0000 (03:12 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@21 7612ce4b-ef26-0410-bec9-ea0150e637f0

12 files changed:
functions/array.php
functions/date.php
functions/display_messages.php
functions/imap.php
functions/mailbox.php
functions/mailbox_display.php
functions/page_header.php
src/left_main.php
src/login.php
src/right_main.php
src/signout.php
src/webmail.php

index 049f63c..99dd126 100644 (file)
@@ -1,6 +1,6 @@
 <?
    /**
-    **  array.php3
+    **  array.php
     **
     **  This contains functions that work with array manipulation.  They
     **  will help sort, and do other types of things with arrays
index 9e07dc7..4760d02 100644 (file)
@@ -1,6 +1,6 @@
 <?
    /**
-    **  date.php3
+    **  date.php
     **
     **  Takes a date and parses it into a usable format.  The form that a
     **  date SHOULD arrive in is:
index 41f52a8..fef1fc3 100644 (file)
@@ -1,6 +1,6 @@
 <?
    /**
-    **  display_messages.php3
+    **  display_messages.php
     **
     **  This contains all messages, including information, error, and just
     **  about any other message you can think of.
@@ -14,7 +14,7 @@
       echo "      <TD BGCOLOR=DCDCDC>";
       echo "         <FONT FACE=\"Arial,Helvetica\"><B><CENTER>ERROR</CENTER></B></FONT>";
       echo "   </TD></TR><TR><TD>";
-      echo "      <CENTER><FONT FACE=\"Arial,Helvetica\"><BR>Unknown user or password incorrect.<BR><A HREF=\"login.php3\" TARGET=_top>Click here to try again</A>.</FONT></CENTER>";
+      echo "      <CENTER><FONT FACE=\"Arial,Helvetica\"><BR>Unknown user or password incorrect.<BR><A HREF=\"login.php\" TARGET=_top>Click here to try again</A>.</FONT></CENTER>";
       echo "   </TD></TR>";
       echo "</TABLE>";
       echo "</BODY></HTML>";
@@ -47,4 +47,4 @@
       echo "</TABLE>";
       echo "</BODY></HTML>";
    }
-?>
\ No newline at end of file
+?>
index 4861d0d..c757cf7 100644 (file)
@@ -1,6 +1,6 @@
 <?
    /**
-    **  imap.php3
+    **  imap.php
     **
     **  Functions for the IMAP connection
     **
index 4508e41..3b6af28 100644 (file)
@@ -1,6 +1,6 @@
 <?
    /**
-    **  mailbox.php3
+    **  mailbox.php
     **
     **  This contains functions that request information about a mailbox.  Including
     **  reading and parsing headers, getting folder information, etc.
 
       return $from;
    }
-?>
\ No newline at end of file
+?>
index 942ae2e..437cfb8 100644 (file)
@@ -1,6 +1,6 @@
 <?
    /**
-    **  mailbox_display.php3
+    **  mailbox_display.php
     **
     **  This contains functions that display mailbox information, such as the
     **  table row that has sender, date, subject, etc...
 
       echo "<TR BGCOLOR=FFFFFF><TD>";
       if (($nextGroup <= $numMessages) && ($prevGroup >= 0)) {
-         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
-         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
+         echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
+         echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
       }
       else if (($nextGroup > $numMessages) && ($prevGroup >= 0)) {
-         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
+         echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
       }
       else if (($nextGroup <= $numMessages) && ($prevGroup < 0)) {
-         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
+         echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
       }
       echo "</TD></TR>\n";
 
       echo "   <TD WIDTH=25%><FONT FACE=\"Arial,Helvetica\"><B>From</B></FONT></TD>";
       echo "   <TD WIDTH=15%><FONT FACE=\"Arial,Helvetica\"><B>Date</B></FONT>";
       if ($sort == 0)
-         echo "   <A HREF=\"right_main.php3?sort=1&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/up_pointer.gif\" BORDER=0></A></TD>\n";
+         echo "   <A HREF=\"right_main.php?sort=1&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/up_pointer.gif\" BORDER=0></A></TD>\n";
       else
-         echo "   <A HREF=\"right_main.php3?sort=0&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/down_pointer.gif\" BORDER=0></A></TD>\n";
+         echo "   <A HREF=\"right_main.php?sort=0&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/down_pointer.gif\" BORDER=0></A></TD>\n";
       echo "   <TD WIDTH=*><FONT FACE=\"Arial,Helvetica\"><B>Subject</B></FONT></TD>\n";
       echo "</TR>";
 
       echo "</TD></TR>\n";
       echo "<TR BGCOLOR=FFFFFF><TD>";
       if (($nextGroup <= $numMessages) && ($prevGroup >= 0)) {
-         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
-         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
+         echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
+         echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
       }
       else if (($nextGroup > $numMessages) && ($prevGroup >= 0)) {
-         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
+         echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
       }
       else if (($nextGroup <= $numMessages) && ($prevGroup < 0)) {
-         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
+         echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
       }
       echo "</TD></TR></TABLE>"; /** End of message-list table */
    }
index 1dfb4b7..e4e5f66 100644 (file)
@@ -1,6 +1,6 @@
 <?
    /**
-    **  page_header.php3
+    **  page_header.php
     **
     **  Prints the page header (duh)
     **
@@ -12,7 +12,7 @@
       echo "<TABLE BGCOLOR=FFFFFF BORDER=0 COLS=2 WIDTH=100% CELLSPACING=0 CELLPADDING=2>";
       echo "   <TR BGCOLOR=A0B8C8 WIDTH=50%>";
       echo "      <TD ALIGN=left>";
-      echo "         <FONT FACE=\"Arial,Helvetica\" SIZE=-1><A HREF=\"signout.php3\" TARGET=_top><B>Sign Out</B></A></FONT>";
+      echo "         <FONT FACE=\"Arial,Helvetica\" SIZE=-1><A HREF=\"signout.php\" TARGET=_top><B>Sign Out</B></A></FONT>";
       echo "      </TD><TD ALIGN=right WIDTH=50%>";
       echo "         <FONT FACE=\"Arial,Helvetica\"><div align=right>Current Folder: <B>$shortBoxName</div></B></FONT>";
       echo "      </TD>";
@@ -22,7 +22,7 @@
       echo "         <FONT FACE=\"Arial,Helvetica\">Addresses</FONT>&nbsp&nbsp";
       echo "         <FONT FACE=\"Arial,Helvetica\">Options</FONT>&nbsp&nbsp";
       echo "      </TD><TD ALIGN=right WIDTH=50%>";
-      echo "         <FONT FACE=\"Arial,Helvetica\"><A HREF=\"http://adam.usa.om.org/~luke/main.php3\" TARGET=_top>Todos & Bugs</A></FONT>&nbsp&nbsp";
+      echo "         <FONT FACE=\"Arial,Helvetica\"><A HREF=\"http://adam.usa.om.org/~luke/main.php\" TARGET=_top>Todos & Bugs</A></FONT>&nbsp&nbsp";
       echo "         <FONT FACE=\"Arial,Helvetica\">Help!</FONT>";
       echo "      </TD>";
       echo "</TABLE>";
index 7a2d670..568de7e 100644 (file)
@@ -1,6 +1,6 @@
 <?
    /**
-    **  left_main.php3
+    **  left_main.php
     **
     **  This is the code for the left bar.  The left bar shows the folders
     **  available, and has cookie information.
@@ -34,9 +34,9 @@
 <BODY BGCOLOR=A0B8C8 TEXT="#000000" LINK="#0000EE" VLINK="#0000EE" ALINK="#0000EE" onUnLoad="unSetCookies()">
 <FONT FACE="Arial,Helvetica">
 <?
-   include("../config/config.php3");
-   include("../functions/strings.php3");
-   include("../functions/imap.php3");
+   include("../config/config.php");
+   include("../functions/strings.php");
+   include("../functions/imap.php");
 
    // *****************************************
    //    Parse the incoming mailbox name and return a string that is the FOLDER.MAILBOX
@@ -85,7 +85,7 @@
          echo "&nbsp;&nbsp;";
       
       $mailboxURL = urlencode($mailbox);
-      echo "<a href=\"right_main.php3?sort=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\" style=\"text-decoration:none\"><FONT FACE=\"Arial,Helvetica\">";
+      echo "<a href=\"right_main.php?sort=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\" style=\"text-decoration:none\"><FONT FACE=\"Arial,Helvetica\">";
       echo readShortMailboxName($mailbox, ".");
       echo "</FONT></a><br>\n";
    }
index a9bb279..cff8c3f 100644 (file)
@@ -1,6 +1,6 @@
 <?
    /**
-    **  login.php3
+    **  login.php
     **
     **  Very simple login screen that clears the cookie every time it's loaded
     **
@@ -13,9 +13,9 @@
 <HTML>
 <BODY BGCOLOR=FFFFFF>
 <?
-   include("../config/config.php3");
+   include("../config/config.php");
 
-   echo "<FORM ACTION=webmail.php3 METHOD=POST NAME=f>\n";
+   echo "<FORM ACTION=webmail.php METHOD=POST NAME=f>\n";
    echo "<CENTER><IMG SRC=\"$org_logo\"</CENTER>\n";
    echo "<CENTER><FONT FACE=\"Arial,Helvetica\" SIZE=-2>SquirrelMail version $version<BR>By Nathan and Luke Ehresman<BR></FONT><CENTER>\n";
    echo "<TABLE COLS=1 WIDTH=350>\n";
index 32715d6..cbc699f 100644 (file)
@@ -1,6 +1,6 @@
 <?
    /**
-    **  right_main.php3
+    **  right_main.php
     **
     **  This is where the mailboxes are listed.  This controls most of what
     **  goes on in SquirrelMail.
@@ -8,7 +8,7 @@
     **/
 
    if(!isset($logged_in)) {
-      echo "You must <a href=\"login.php3\">login</a> first.";
+      echo "You must <a href=\"login.php\">login</a> first.";
       exit;
    }
    if(!isset($username) || !isset($key)) {
 <BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#0000EE" ALINK="#0000EE">
 <FONT FACE="Arial,Helvetica">
 <?
-   include("../config/config.php3");
-   include("../functions/imap.php3");
-   include("../functions/strings.php3");
-   include("../functions/date.php3");
-   include("../functions/page_header.php3");
-   include("../functions/array.php3");
-   include("../functions/mailbox.php3");
-   include("../functions/mailbox_display.php3");
-   include("../functions/display_messages.php3");
+   include("../config/config.php");
+   include("../functions/imap.php");
+   include("../functions/strings.php");
+   include("../functions/date.php");
+   include("../functions/page_header.php");
+   include("../functions/array.php");
+   include("../functions/mailbox.php");
+   include("../functions/mailbox_display.php");
+   include("../functions/display_messages.php");
 
    /////////////////////////////////////////////////////////////////////////////////
    //
index 888b960..3197d19 100644 (file)
@@ -1,6 +1,6 @@
 <?
        /**
-        **  signout.php3
+        **  signout.php
         **
         **  Clears the cookie, and logs them out.
         **
@@ -26,7 +26,7 @@
    echo "   <TR BGCOLOR=FFFFFF WIDTH=100%>";
    echo "      <TD ALIGN=CENTER>";
    echo "         <FONT FACE=\"Arial,Helvetica\"><BR>You have been successfully signed out.<BR></FONT>";
-   echo "         <FONT FACE=\"Arial,Helvetica\">Click here to <A HREF=\"login.php3\" TARGET=_top>log back in.</A></FONT><BR><BR>";
+   echo "         <FONT FACE=\"Arial,Helvetica\">Click here to <A HREF=\"login.php\" TARGET=_top>log back in.</A></FONT><BR><BR>";
    echo "      </TD>";
    echo "   </TR>";
    echo "   <TR BGCOLOR=DCDCDC WIDTH=100%>";
index 4b434e2..380e0cf 100644 (file)
@@ -1,6 +1,6 @@
 <?
    /**
-    **  webmail.php3
+    **  webmail.php
     **
     **  This simply creates the frames.
     **
@@ -20,7 +20,7 @@
 OM-USA WebMail
 </TITLE>
 <FRAMESET COLS="200, *" NORESIZE BORDER=0>
-   <FRAME SRC="left_main.php3" NAME="left">
-   <FRAME SRC="right_main.php3" NAME="right">
+   <FRAME SRC="left_main.php" NAME="left">
+   <FRAME SRC="right_main.php" NAME="right">
 </FRAMESET>
 </HEAD></HTML>