浏览代码

added the BUG file, updated config script

Luke Ehresman 25 年之前
父节点
当前提交
f4cab0de8e
共有 2 个文件被更改,包括 28 次插入2 次删除
  1. 6 1
      BUG
  2. 22 1
      config/conf.pl

+ 6 - 1
BUG

@@ -1,2 +1,7 @@
-BUGS:
+Known BUGS to be fixed before 0.4pre1:
 
+  -    The icon for message sorting doesn't always stay.  It usually reverts back to the date.
+  -    If a new message comes in while still browsing cached message list, the space is allocated, but it is blank.
+(lme)  I'm not convinced that the cache gets deleted all the time.  I'll look into this one.  
+  -    Special folders don't get listed at the top of folder list
+  -    In UW, removing folders with a / at the end is broke

+ 22 - 1
config/conf.pl

@@ -119,6 +119,9 @@ while (($command ne "q") && ($command ne "Q")) {
 		print "R   Return to Main Menu\n";
 	} elsif ($menu == 7) {
 		print $WHT."Message of the Day (MOTD)\n".$NRM;
+		print "\n$motd\n";
+		print "\n";
+		print "1   Edit the MOTD\n";
 		print "\n";
 		print "R   Return to Main Menu\n";
 	}
@@ -136,7 +139,7 @@ while (($command ne "q") && ($command ne "Q")) {
 		$menu = 0;
 	} else {
 		if ($menu == 0) {
-			if (($command > 0) && ($command < 7)) {
+			if (($command > 0) && ($command < 8)) {
 				$menu = $command;
 			}
 		} elsif ($menu == 1) {
@@ -156,6 +159,7 @@ while (($command ne "q") && ($command ne "Q")) {
 		} elsif ($menu == 5) {
 		} elsif ($menu == 6) {
 		} elsif ($menu == 7) {
+			if    ($command == 1) { $motd   = command71 (); }
 		}
 	}	
 }
@@ -318,3 +322,20 @@ sub command17 {
    }
 	return $new_smtpPort;
 }
+
+# MOTD
+sub command71 {
+	print "\nYou can now create the welcome message that is displayed\n";
+	print "every time a user logs on.  You can use HTML or just plain\n";
+	print "text.\n\n(Type @ on a blank line to exit)\n";
+	do {
+	   print "] ";
+	   $line = <STDIN>;
+	   $line =~ s/[\r|\n]//g;
+	   $line =~ s/  /\&nbsp;\&nbsp;/g;
+	   if ($line ne "@") {
+	      $new_motd = $new_motd . $line;
+	   }
+	} while ($line ne "@");
+	return $new_motd;
+}