Fixed wrong var usage. This solves the errors Thijs saw in his previous
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 15 Apr 2005 13:38:34 +0000 (13:38 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 15 Apr 2005 13:38:34 +0000 (13:38 +0000)
commit.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9299 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/message_list.tpl

index cb04f12a1398f2c28492d5003598b16ccda61e4a..e2fbfe7892bd12336f06470569d4468a1d53bc96 100644 (file)
@@ -286,7 +286,6 @@ else
 
     /**
      * Check usage of images for attachments, flags and priority
 
     /**
      * Check usage of images for attachments, flags and priority
-     * Aaaaaaaaaah fix me. DO NOT USE the string "None" if you mean FALSE, no icon theme
      */
     $bIcons = ($use_icons && $icon_theme) ? true : false;
 
      */
     $bIcons = ($use_icons && $icon_theme) ? true : false;
 
@@ -408,8 +407,7 @@ else
      * we have to do some php coding to display the columns in the right order
      */
     foreach ($aOrder as $iCol) {
      * we have to do some php coding to display the columns in the right order
      */
     foreach ($aOrder as $iCol) {
-        // FIXME: first parameter cannot be an array in PHP < 4.2
-        if (in_array($index_order_part, $show_label_columns)) {
+        if (in_array($iCol, $show_label_columns)) {
             $sLabelStart = '<label for="msg[' . $i . ']">';
             $sLabelEnd = '</label>';
         } else {
             $sLabelStart = '<label for="msg[' . $i . ']">';
             $sLabelEnd = '</label>';
         } else {