Code style changed, ext-user continued:
[mailer.git] / inc / modules / admin / what-config_rallye_prices.php
index 90039eb2fca1fd7fa219feded8e274008b294e99..c3c160ab39fd7ea0fb65f9061f3aa52073c2882a 100644 (file)
@@ -147,7 +147,7 @@ LIMIT 1",
                                $content['rallye_content'] = generateOptions('rallye_data', 'id', 'title', $content['rallye_id']);
 
                                // Load row template and switch color
-                               $OUT .= loadTemplate('admin_edit_rallye_prices_row', true, $content);
+                               $OUT .= loadTemplate('admin_edit_rallye_prices_row', TRUE, $content);
                        } // END - foreach
 
                        // Remember row content
@@ -157,7 +157,7 @@ LIMIT 1",
                        $content['rallye_id'] = bigintval(getRequestElement('rallye_id'));
 
                        // Load main template
-                       loadTemplate('admin_edit_rallye_prices', false, $content);
+                       loadTemplate('admin_edit_rallye_prices', FALSE, $content);
                } else {
                        // Nothing selected
                        displayMessage('{%message,ADMIN_RALLYE_NO_PRICES_SELECTED=' . getRequestElement('rallye_id') . '%}');
@@ -189,7 +189,7 @@ LIMIT 1",
                                SQL_FREERESULT($result);
 
                                // Load row template and switch color
-                               $OUT .= loadTemplate('admin_delete_rallye_prices_row', true, $content);
+                               $OUT .= loadTemplate('admin_delete_rallye_prices_row', TRUE, $content);
                        } // END - foreach
                        $content['rows'] = $OUT;
 
@@ -197,7 +197,7 @@ LIMIT 1",
                        $content['rallye_id'] = bigintval(getRequestElement('rallye_id'));
 
                        // Load main template
-                       loadTemplate('admin_delete_rallye_prices', false, $content);
+                       loadTemplate('admin_delete_rallye_prices', FALSE, $content);
                } else {
                        // Nothing selected
                        $content = '{--RALLYE_NO_PRICES_SELECTED_1--}<a href="{%url=modules.php?module=admin&amp;what=config_rallye_prices&amp;rallye_id=' . getRequestElement('rallye_id') . '%}">{--RALLYE_NO_PRICES_SELECTED_2--}</a>{--RALLYE_NO_PRICES_SELECTED_3--}';
@@ -213,7 +213,7 @@ LIMIT 1",
                        $OUT = '';
                        while ($content = SQL_FETCHARRAY($result)) {
                                // Load row template and switch color
-                               $OUT .= loadTemplate('admin_list_rallye_prices_simple_row', true, $content);
+                               $OUT .= loadTemplate('admin_list_rallye_prices_simple_row', TRUE, $content);
                        } // END - while
 
                        // Free memory
@@ -226,13 +226,13 @@ LIMIT 1",
                        $content['rallye_id'] = bigintval(getRequestElement('rallye_id'));
 
                        // Load main template
-                       loadTemplate('admin_list_rallye_prices_simple', false, $content);
+                       loadTemplate('admin_list_rallye_prices_simple', FALSE, $content);
                } // END - if
        }
 
        // Add form for adding new price level
        if ((!isFormSent('edit')) && (!isFormSent('delete'))) {
-               loadTemplate('admin_add_rallye_prices', false, getRequestElement('rallye_id'));
+               loadTemplate('admin_add_rallye_prices', FALSE, getRequestElement('rallye_id'));
        } // END - if
 } else {
        // No rallye selected so display all available without prices
@@ -261,14 +261,14 @@ ORDER BY
                        $content['end_time']   = generateDateTime($content['end_time']  , '3');
 
                        // Load row template and switch color
-                       $OUT .= loadTemplate('admin_list_rallye_prices_row', true, $content);
+                       $OUT .= loadTemplate('admin_list_rallye_prices_row', TRUE, $content);
                } // END - while
 
                // Free memory
                SQL_FREERESULT($result);
 
                // Load main template
-               loadTemplate('admin_list_rallye_prices', false, $OUT);
+               loadTemplate('admin_list_rallye_prices', FALSE, $OUT);
        } else {
                // No rallyes setup so far
                displayMessage('{--ADMIN_RALLYE_NO_RALLYES_SETUP--}');