fix formating. phpdoc complained about unknown tag.
[squirrelmail.git] / src / folders.php
index e3cc6127e6d20933348decd26d075b39a558a918..a040f5e7c17860ad75a2573d3185e871e78a0399 100644 (file)
@@ -74,7 +74,7 @@ if ( sqgetGlobalVar('smaction', $action, SQ_POST) ) {
                 sqgetGlobalVar('orig',        $orig,     SQ_POST);
                 sqgetGlobalVar('old_name',    $old_name, SQ_POST);
                 folders_rename_do($imapConnection, $delimiter, $orig, $old_name, $new_name);
-                $td_str =  _("Renamed successfully!");
+                $td_str =  _("Renamed successfully.");
             }
             break;
         case 'delete':
@@ -99,7 +99,7 @@ if ( sqgetGlobalVar('smaction', $action, SQ_POST) ) {
             folders_unsubscribe($imapConnection, $folder_names);
             $td_str =  _("Unsubscribed successfully.");
             break;
-    } 
+    }
 
     // if there are any messages, output them.
     if ( !empty($td_str) ) {
@@ -293,7 +293,7 @@ if ($show_only_subscribed_folders) {
             echo addForm('folders.php')
                . addHidden('smaction', 'unsubscribe')
                . "<tt><select name=\"folder_names[]\" multiple=\"multiple\" size=\"8\">\n";
-           foreach ( $boxes as $box ) {
+            foreach ( $boxes as $box ) {
                 $use_folder = true;
                 if ((strtolower($box["unformatted"]) != "inbox") &&
                     ($box['unformatted'] != $trash_folder) &&
@@ -311,7 +311,7 @@ if ($show_only_subscribed_folders) {
                . "\" />\n"
                . "</form></td>\n";
         } else {
-            echo _("No folders were found to unsubscribe from!") . '</td>';
+            echo _("No folders were found to unsubscribe from.") . '</td>';
         }
 
         /** SUBSCRIBE TO FOLDERS **/
@@ -323,7 +323,7 @@ if ($show_only_subscribed_folders) {
             // here we filter out all boxes we're already subscribed to,
             // so we keep only the unsubscribed ones.
             foreach ($boxes_all as $box_a) {
-            
+
                 $use_folder = true;
                 foreach ( $boxes as $box ) {
                     if ($box_a['unformatted'] == $box['unformatted'] ||
@@ -331,14 +331,14 @@ if ($show_only_subscribed_folders) {
                         $use_folder = false;
                     }
                 }
-            
+
                 if ($use_folder == true) {
-                       $box_enc  = htmlspecialchars($box_a['unformatted-dm']);
+                    $box_enc  = htmlspecialchars($box_a['unformatted-dm']);
                     $box_disp = htmlspecialchars(imap_utf7_decode_local($box_a['unformatted-disp']));
                     $subboxes[$box_enc] = $box_disp;
                 }
             }
-            
+
             if ( count($subboxes) > 0 ) {
                 echo addForm('folders.php')
                  . addHidden('smaction', 'subscribe')
@@ -367,9 +367,10 @@ if ($show_only_subscribed_folders) {
 
 do_hook('folders_bottom');
 sqimap_logout($imapConnection);
+
 ?>
     </td></tr>
     </table>
 </td></tr>
 </table>
-</body></html>
+</body></html>
\ No newline at end of file