$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
$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') . '%}');
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;
$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&what=config_rallye_prices&rallye_id=' . getRequestElement('rallye_id') . '%}">{--RALLYE_NO_PRICES_SELECTED_2--}</a>{--RALLYE_NO_PRICES_SELECTED_3--}';
$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
$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
$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--}');