Browse Source

-added patch 101376 => makes some things in folders.php bold, like in the rest of squirrelmail
-added patch 101377 => several things that help traslations be more complete.
-added patch 101378 => see previous patch

gpadgham 25 years ago
parent
commit
6bad516869
5 changed files with 17 additions and 17 deletions
  1. 9 9
      src/folders.php
  2. 5 5
      src/help.php
  3. 1 1
      src/options_display.php
  4. 1 1
      src/options_folder.php
  5. 1 1
      src/options_personal.php

+ 9 - 9
src/folders.php

@@ -82,16 +82,16 @@
          if (!sqimap_mailbox_exists ($imapConnection, $trash_folder) && $trash_folder != "none"){
          if (!sqimap_mailbox_exists ($imapConnection, $trash_folder) && $trash_folder != "none"){
             echo _("Create Trash") . "<INPUT TYPE=checkbox NAME=trash_create value=true><br>\n";
             echo _("Create Trash") . "<INPUT TYPE=checkbox NAME=trash_create value=true><br>\n";
          }
          }
-         echo "<INPUT TYPE=submit VALUE=Create>";
+         echo "<INPUT TYPE=submit VALUE="._("Create").">";
          echo "</FORM></TD></TR></TABLE><br>";
          echo "</FORM></TD></TR></TABLE><br>";
       }
       }
    }
    }
 
 
    /** DELETING FOLDERS **/
    /** DELETING FOLDERS **/
    echo "<TABLE WIDTH=70% COLS=1 ALIGN=CENTER cellpadding=2 cellspacing=0 border=0>\n";
    echo "<TABLE WIDTH=70% COLS=1 ALIGN=CENTER cellpadding=2 cellspacing=0 border=0>\n";
-   echo "<TR><TD BGCOLOR=\"$color[9]\" ALIGN=CENTER>";
+   echo "<TR><TD BGCOLOR=\"$color[9]\" ALIGN=CENTER><B>";
    echo _("Delete Folder");
    echo _("Delete Folder");
-   echo "</TD></TR>";
+   echo "</B></TD></TR>";
    echo "<TR><TD BGCOLOR=\"$color[0]\" ALIGN=CENTER>";
    echo "<TR><TD BGCOLOR=\"$color[0]\" ALIGN=CENTER>";
 
 
    $count_special_folders = 0;
    $count_special_folders = 0;
@@ -141,9 +141,9 @@
    echo "<tr><td bgcolor=\"$color[4]\">&nbsp;</td></tr>\n";
    echo "<tr><td bgcolor=\"$color[4]\">&nbsp;</td></tr>\n";
 
 
    /** CREATING FOLDERS **/
    /** CREATING FOLDERS **/
-   echo "<TR><TD BGCOLOR=\"$color[9]\" ALIGN=CENTER>";
+   echo "<TR><TD BGCOLOR=\"$color[9]\" ALIGN=CENTER><B>";
    echo _("Create Folder");
    echo _("Create Folder");
-   echo "</TD></TR>";
+   echo "</B></TD></TR>";
    echo "<TR><TD BGCOLOR=\"$color[0]\" ALIGN=CENTER>";
    echo "<TR><TD BGCOLOR=\"$color[0]\" ALIGN=CENTER>";
    echo "<FORM NAME=cf ACTION=\"folders_create.php\" METHOD=\"POST\">\n";
    echo "<FORM NAME=cf ACTION=\"folders_create.php\" METHOD=\"POST\">\n";
    echo "<INPUT TYPE=TEXT SIZE=25 NAME=folder_name><BR>\n";
    echo "<INPUT TYPE=TEXT SIZE=25 NAME=folder_name><BR>\n";
@@ -205,9 +205,9 @@
    echo "<tr><td bgcolor=\"$color[4]\">&nbsp;</td></tr>\n";
    echo "<tr><td bgcolor=\"$color[4]\">&nbsp;</td></tr>\n";
 
 
    /** RENAMING FOLDERS **/
    /** RENAMING FOLDERS **/
-   echo "<TR><TD BGCOLOR=\"$color[9]\" ALIGN=CENTER>";
+   echo "<TR><TD BGCOLOR=\"$color[9]\" ALIGN=CENTER><B>";
    echo _("Rename a Folder");
    echo _("Rename a Folder");
-   echo "</TD></TR>";
+   echo "</B></TD></TR>";
    echo "<TR><TD BGCOLOR=\"$color[0]\" ALIGN=CENTER>";
    echo "<TR><TD BGCOLOR=\"$color[0]\" ALIGN=CENTER>";
    if ($count_special_folders < count($boxes)) {
    if ($count_special_folders < count($boxes)) {
       echo "<FORM ACTION=\"folders_rename_getname.php\" METHOD=\"POST\">\n";
       echo "<FORM ACTION=\"folders_rename_getname.php\" METHOD=\"POST\">\n";
@@ -239,9 +239,9 @@
    
    
    /** UNSUBSCRIBE FOLDERS **/
    /** UNSUBSCRIBE FOLDERS **/
    echo "<TABLE WIDTH=70% COLS=1 ALIGN=CENTER cellpadding=2 cellspacing=0 border=0>\n";
    echo "<TABLE WIDTH=70% COLS=1 ALIGN=CENTER cellpadding=2 cellspacing=0 border=0>\n";
-   echo "<TR><TD BGCOLOR=\"$color[9]\" ALIGN=CENTER colspan=3>";
+   echo "<TR><TD BGCOLOR=\"$color[9]\" ALIGN=CENTER colspan=3><B>";
    echo _("Unsubscribe") . "/" . _("Subscribe");
    echo _("Unsubscribe") . "/" . _("Subscribe");
-   echo "</TD></TR>";
+   echo "</B></TD></TR>";
    echo "<TR><TD BGCOLOR=\"$color[0]\" width=49% ALIGN=CENTER>";
    echo "<TR><TD BGCOLOR=\"$color[0]\" width=49% ALIGN=CENTER>";
    if ($count_special_folders < count($boxes)) {
    if ($count_special_folders < count($boxes)) {
       echo "<FORM ACTION=\"folders_subscribe.php?method=unsub\" METHOD=\"POST\">\n";
       echo "<FORM ACTION=\"folders_subscribe.php?method=unsub\" METHOD=\"POST\">\n";

+ 5 - 5
src/help.php

@@ -170,11 +170,11 @@
 
 
          echo "<small><center>";
          echo "<small><center>";
 
 
-         if ($chapter <= 1) echo "<font color=\"$color[9]\">Previous</font> | ";
-         else echo "<a href=\"../src/help.php?chapter=".($chapter-1)."\">Previous</a> | ";
-         echo "<a href=\"../src/help.php\">Table of Contents</a>";
-         if ($chapter >= count($helpdir)) echo " | <font color=\"$color[9]\">Next</font>";
-         else echo " | <a href=\"../src/help.php?chapter=".($chapter+1)."\">Next</a>\n";
+         if ($chapter <= 1) echo "<font color=\"$color[9]\">"._("Previous")."</font> | ";
+         else echo "<a href=\"../src/help.php?chapter=".($chapter-1)."\">"._("Previous")."</a> | ";
+         echo "<a href=\"../src/help.php\">"._("Table of Contents")."</a>";
+         if ($chapter >= count($helpdir)) echo " | <font color=\"$color[9]\">"._("Next")."</font>";
+         else echo " | <a href=\"../src/help.php?chapter=".($chapter+1)."\">"._("Next")."</a>\n";
          echo "</center></small><br>\n";
          echo "</center></small><br>\n";
 
 
          echo "<font size=5><b>$chapter - $help_info[0]</b></font><br><br>\n";
          echo "<font size=5><b>$chapter - $help_info[0]</b></font><br><br>\n";

+ 1 - 1
src/options_display.php

@@ -264,7 +264,7 @@
          <tr>
          <tr>
             <td>&nbsp;
             <td>&nbsp;
             </td><td>
             </td><td>
-               <input type="submit" value="Submit" name="submit_display">
+               <input type="submit" value="<?php echo _("Submit"); ?>"name="submit_display">
             </td>
             </td>
          </tr>
          </tr>
       </table>   
       </table>   

+ 1 - 1
src/options_folder.php

@@ -137,7 +137,7 @@
          <tr>
          <tr>
             <td>&nbsp;
             <td>&nbsp;
             </td><td>
             </td><td>
-               <input type="submit" value="Submit" name="submit_folder">
+               <input type="submit" value="<?php echo _("Submit"); ?>" name="submit_folder">
             </td>
             </td>
          </tr>
          </tr>
       </table>
       </table>

+ 1 - 1
src/options_personal.php

@@ -80,7 +80,7 @@
          <tr>
          <tr>
             <td>&nbsp;
             <td>&nbsp;
             </td><td>
             </td><td>
-               <input type="submit" value="Submit" name="submit_personal">
+               <input type="submit" value="<?php echo _("Submit"); ?>" name="submit_personal">
             </td>
             </td>
          </tr>
          </tr>
       </table>   
       </table>