$org_title = "SquirrelMail $version";
// The server that your imap server is on
- $imapServerAddress = "localhost";
+ $imapServerAddress = "adam";
$imapPort = 143;
// The domain where your email address is.
// Example: in "luke@usa.om.org", usa.om.org is the domain.
// this is for all the messages sent out. Reply address
// is generated by $username@$domain
- $domain = "localhost";
+ $domain = "usa.om.org";
// Your SMTP server and port number (usually the same as the IMAP server)
- $smtpServerAddress = "localhost";
+ $smtpServerAddress = "adam";
$smtpPort = 25;
// Uncomment this if you want to deliver locally using sendmail instead
echo "<TABLE COLS=1 WIDTH=70% NOBORDER BGCOLOR=\"$color[4]\" ALIGN=CENTER>";
echo " <TR>";
echo " <TD BGCOLOR=\"$color[0]\">";
- echo " <FONT FACE=\"Arial,Helvetica\" COLOR=\"$color[2]\"><B><CENTER>. _("ERROR") .</CENTER></B></FONT>";
+ echo " <FONT FACE=\"Arial,Helvetica\" COLOR=\"$color[2]\"><B><CENTER>" . _("ERROR") . "</CENTER></B></FONT>";
echo " </TD></TR><TR><TD>";
echo " <CENTER><FONT FACE=\"Arial,Helvetica\"><BR>$message";
echo " </FONT></CENTER>";
echo "<TR BGCOLOR=\"$color[4]\"><TD>";
if (($nextGroup <= $numMessages) && ($prevGroup >= 0)) {
- 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";
+ 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.php?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">". _("Previous") ."</FONT></A>\n";
- echo "<FONT FACE=\"Arial,Helvetica\" COLOR=\"$color[9]\">". _"(Next") ."</FONT>\n";
+ echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">" . _("Previous") . "</FONT></A>\n";
+ echo "<FONT FACE=\"Arial,Helvetica\" COLOR=\"$color[9]\">" . _("Next") . "</FONT>\n";
}
else if (($nextGroup <= $numMessages) && ($prevGroup < 0)) {
echo "<FONT FACE=\"Arial,Helvetica\" COLOR=\"$color[9]\">Previous</FONT>\n";
- echo "<A HREF=\"right_main.php?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 */
}
echo "<TABLE BGCOLOR=\"$color[4]\" BORDER=0 COLS=2 WIDTH=100% CELLSPACING=0 CELLPADDING=2>";
echo " <TR BGCOLOR=\"$color[9]\" WIDTH=100%>";
echo " <TD ALIGN=left WIDTH=30%>";
- echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"signout.php\" TARGET=_top><B>". _"(Sign Out") ."</B></A></FONT>";
+ echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"signout.php\" TARGET=_top><B>" . _("Sign Out") . "</B></A></FONT>";
echo " </TD><TD ALIGN=right WIDTH=70%>";
- echo " <FONT FACE=\"Arial,Helvetica\"><div align=right>". _("Current Folder: ") ".<B>$shortBoxName </div></B></FONT>";
+ echo " <FONT FACE=\"Arial,Helvetica\"><div align=right>" . _("Current Folder: ") . "<B>$shortBoxName </div></B></FONT>";
echo " </TD>";
echo " </TR></TABLE>\n";
echo "<TABLE BGCOLOR=\"$color[4]\" BORDER=0 COLS=2 WIDTH=100% CELLSPACING=0 CELLPADDING=2><TR>";
echo " <TD ALIGN=left WIDTH=70%>";
- echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"compose.php\">". _("Compose") ."</A></FONT>  ";
+ echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"compose.php\">" . _("Compose") . "</A></FONT>  ";
echo " <FONT FACE=\"Arial,Helvetica\">". _("Addresses") ."</FONT>  ";
- echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"folders.php\">". _("Folders") ."</A></FONT>  ";
- echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"options.php\">". _("Options") ."</A></FONT>  ";
+ echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"folders.php\">" . _("Folders") . "</A></FONT>  ";
+ echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"options.php\">" . _("Options") . "</A></FONT>  ";
echo " </TD><TD ALIGN=right WIDTH=30%>";
echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"http://squirrelmail.sourceforge.net\" TARGET=_top>SquirrelMail</A></FONT>";
echo " </TD>";
function getPref($data_dir, $username, $string) {
$filename = "$data_dir$username.pref";
if (!file_exists($filename)) {
- echo _("Preference file ") "\"$filename\"" _(" not found. Exiting abnormally");
+ echo _("Preference file ") . "\"$filename\"" . _(" not found. Exiting abnormally");
exit;
}
$filename = "$data_dir$username.pref";
$found = false;
if (!file_exists($filename)) {
- echo _("Preference file, ") "\"$filename\"". _(", does not exist. Log out, and log back in to create a default preference file. ") ."<BR>";
+ echo _("Preference file, ") . "\"$filename\"" . _(", does not exist. Log out, and log back in to create a default preference file. ") ."<BR>";
exit;
}
$file = fopen($filename, "r");
echo " <TR>\n";
echo " <TD BGCOLOR=\"$color[4]\" WIDTH=15% ALIGN=RIGHT>\n";
echo " <FONT FACE=\"Arial,Helvetica\">";
- echo _("Date:")
+ echo _("Date:");
echo "</FONT>\n";
echo " </TD><TD BGCOLOR=\"$color[4]\" WIDTH=85%>\n";
echo " <FONT FACE=\"Arial,Helvetica\"><B>$dateString</B></FONT>\n";