The "Delete" link when reading a message that was on the second or
[squirrelmail.git] / src / options_folder.php
index 7beab5fa96f226e0ef04533ad011163d7338bd92..bacd3effb1d0239293904e984aca605b9f8261b5 100644 (file)
@@ -25,6 +25,8 @@
       include("../functions/array.php");
    if (!isset($i18n_php))
       include("../functions/i18n.php");
+   if (!isset($plugin_php))
+      include("../functions/plugin.php");
 
    include("../src/load_prefs.php");
    displayPageHeader($color, "None");
    sqimap_logout($imapConnection);
 ?>
    <br>
-   <table width=95% align=center border=0 cellpadding=2 cellspacing=0><tr><td bgcolor="<? echo $color[0] ?>">
-      <center><b><? echo _("Options") . " - " . _("Folder Preferences"); ?></b></center>
+   <table width=95% align=center border=0 cellpadding=2 cellspacing=0><tr><td bgcolor="<?php echo $color[0] ?>">
+      <center><b><?php echo _("Options") . " - " . _("Folder Preferences"); ?></b></center>
    </td></tr></table>
 
-   <form action="options.php" method=post>
+   <form name=f action="options.php" method=post>
       <table width=100% cellpadding=0 cellspacing=2 border=0>
 
-<? if ($show_prefix_option == true) {   ?>   
+<?php if ($show_prefix_option == true) {   ?>   
          <tr>
-            <td align=right nowrap><? echo _("Folder Path"); ?>:
+            <td align=right nowrap><?php echo _("Folder Path"); ?>:
             </td><td>
-<? if (isset ($folder_prefix))
-      echo "         <input type=text name=folderprefix value=\"$folder_prefix\" size=50><br>";
+<?php if (isset ($folder_prefix))
+      echo "         <input type=text name=folderprefix value=\"$folder_prefix\" size=35><br>";
    else
-      echo "         <input type=text name=folderprefix value=\"$default_folder_prefix\" size=50><br>";
+      echo "         <input type=text name=folderprefix value=\"$default_folder_prefix\" size=35><br>";
 ?>
             </td>
          </tr>
-<? }          
+<?php }          
 
    // TRASH FOLDER
    echo "<tr><td nowrap align=right>";
       echo "</SELECT></TT>\n";
    echo "</td></tr>";  
 ?>
+         <tr>
+            <td valign=top align=right>
+               <br>
+               <?php echo _("Unseen message notification"); ?>:
+            </td>
+            <td>
+               <input type=radio name=unseennotify value=1<?php if ($unseen_notify == 1) echo " checked"; ?>> <?php echo _("No notification") ?><br>
+               <input type=radio name=unseennotify value=2<?php if ($unseen_notify != 1 && $unseen_notify != 3) echo " checked"; ?>> <?php echo _("Only INBOX") ?><br>
+               <input type=radio name=unseennotify value=3<?php if ($unseen_notify == 3) echo " checked"; ?>> <?php echo _("All Folders") ?><br>
+               <br>
+            </td>
+         </tr>
+         <tr>
+            <td valign=top align=right>
+               <br>
+               <?php echo _("Unseen message notification type"); ?>:
+            </td>
+            <td>
+               <input type=radio name=unseentype value=1<?php if ($unseen_type < 2 || $unseen_type > 2) echo " checked"; ?>> <?php echo _("Only unseen"); ?> - (4)<br> 
+               <input type=radio name=unseentype value=2<?php if ($unseen_type == 2) echo " checked"; ?>> <?php echo _("Unseen and Total"); ?> - (4/27)
+            </td>
+         </tr>
+         <?php do_hook("options_folders_inside"); ?>
          <tr>
             <td>&nbsp;
             </td><td>
-               <input type="submit" value="Submit" name="submit_folder">
+               <input type="submit" value="<?php echo _("Submit"); ?>" name="submit_folder">
             </td>
          </tr>
       </table>
    </form>
+   <?php do_hook("options_folders_bottom"); ?>
 </body></html>