Luke Ehresman пре 25 година
родитељ
комит
c292629da4
3 измењених фајлова са 11 додато и 5 уклоњено
  1. 5 1
      ChangeLog
  2. 1 1
      config/conf.pl
  3. 5 3
      functions/mailbox_display.php

+ 5 - 1
ChangeLog

@@ -1,4 +1,8 @@
-Version 0.4pre2 -- DEVELOPMENT
+Version 0.4 -- DEVELOPMENT
+--------------------------
+- Changed <? to <?php in a few places
+
+Version 0.4pre2 -- May 5, 2000
 ------------------------------
 - Replying sets the "Answered" flag on the original message
 - When message is sent, it sends you to the folder you were looking at.

+ 1 - 1
config/conf.pl

@@ -1121,7 +1121,7 @@ sub command62 {
 sub save_data {
    open (FILE, ">config.php");
 
-   print FILE "<?\n\t/** SquirrelMail configuration\n";
+   print FILE "<?php\n\t/** SquirrelMail configuration\n";
    print FILE "\t ** Created using the configure script, conf.pl\n\t **/\n\n";
 
    print FILE "\t\$org_name   = \"$org_name\";\n";

+ 5 - 3
functions/mailbox_display.php

@@ -194,9 +194,11 @@
 
       $boxes = sqimap_mailbox_list($imapConnection);
       for ($i = 0; $i < count($boxes); $i++) {
-         $box = $boxes[$i]["unformatted"];
-         $box2 = replace_spaces($boxes[$i]["formatted"]);
-         echo "         <OPTION VALUE=\"$box\">$box2\n";
+			if ($boxes[$i]["flags"][0] != "noselect" && $boxes[$i]["flags"][1] != "noselect" && $boxes[$i]["flags"][2] != "noselect") {
+         	$box = $boxes[$i]["unformatted"];
+         	$box2 = replace_spaces($boxes[$i]["formatted"]);
+         	echo "         <OPTION VALUE=\"$box\">$box2\n";
+			}	
       }
       echo "         </SELECT></SMALL></TT>";
       echo "         <SMALL><INPUT TYPE=SUBMIT NAME=\"moveButton\" VALUE=\"". _("Move") ."\"></SMALL></NOBR>\n";