Replacing tabs with spaces, trimming white space at EOL and newline at EOF
[squirrelmail.git] / plugins / listcommands / setup.php
index 68643796c220519c3e32a6201d8246672f94b4cc..2a79ad45fbf449bf66f13ed4e64637c01faf45e4 100644 (file)
@@ -43,14 +43,14 @@ function plugin_listcommands_menu() {
 
     foreach ($message->rfc822_header->mlist as $cmd => $actions) {
 
-       /* I don't know this action... skip it */
-       if ( !array_key_exists($cmd, $fieldsdescr) ) {
+        /* I don't know this action... skip it */
+        if ( !array_key_exists($cmd, $fieldsdescr) ) {
             continue;
         }
 
         /* proto = {mailto,href} */
-       $proto = array_shift(array_keys($actions));
-       $act   = array_shift($actions);
+        $proto = array_shift(array_keys($actions));
+        $act   = array_shift($actions);
 
         if ($proto == 'mailto') {
 
@@ -66,9 +66,9 @@ function plugin_listcommands_menu() {
             if ($cmd == 'post') {
                 if (!isset($mailbox))
                     $mailbox = 'INBOX';
-               $url .= '&passed_id='.$passed_id.
-                       '&mailbox='.urlencode($mailbox).
-                       (isset($passed_ent_id)?'&passed_ent_id='.$passed_ent_id:'');
+                $url .= '&passed_id='.$passed_id.
+                        '&mailbox='.urlencode($mailbox).
+                        (isset($passed_ent_id)?'&passed_ent_id='.$passed_ent_id:'');
                 $url .= '&smaction=reply';
 
                 $output[] = makeComposeLink($url, $fieldsdescr['reply']);
@@ -89,4 +89,4 @@ function plugin_listcommands_menu() {
     }
 }
 
-?>
+?>
\ No newline at end of file