postRequestParameter('points'),
postRequestParameter('info')
), __FILE__, __LINE__);
- loadTemplate('admin_settings_saved', false, '{--RALLYE_PRICE_LEVEL_SAVED--}');
+ displayMessage('{--RALLYE_PRICE_LEVEL_SAVED--}');
} else {
// Free memory
SQL_FREERESULT($result);
// Price level found
- loadTemplate('admin_settings_saved', false, '{--RALLYE_PRICE_ALREADY_FOUND--}');
+ displayMessage('{--RALLYE_PRICE_ALREADY_FOUND--}');
}
}
} elseif (isFormSent('remove')) {
} // END - foreach
// Output message
- loadTemplate('admin_settings_saved', false, '{--RALLYE_ENTRIES_DELETED--}');
+ displayMessage('{--RALLYE_ENTRIES_DELETED--}');
} else {
- loadTemplate('admin_settings_saved', false, '{--RALLYE_ENTRIES_NOT_DELETED--}');
+ displayMessage('{--RALLYE_ENTRIES_NOT_DELETED--}');
}
} elseif (isFormSent('change')) {
// Change entries
}
// Output message
- loadTemplate('admin_settings_saved', false, '{--RALLYE_ENTRIES_CHANGED--}');
+ displayMessage('{--RALLYE_ENTRIES_CHANGED--}');
}
if (isFormSent('edit')) {
} else {
// Nothing selected
$content = '{--RALLYE_NO_PRICES_SELECTED_1--}<a href="{%url=modules.php?module=admin&what=config_rallye_prices&rallye=' . getRequestParameter('rallye') . '%}">{--RALLYE_NO_PRICES_SELECTED_2--}</a>{--RALLYE_NO_PRICES_SELECTED_3--}';
- loadTemplate('admin_settings_saved', false, $content);
+ displayMessage($content);
}
} elseif (isFormSent('delete')) {
// Check if at last one line is selected
} else {
// Nothing selected
$content = '{--RALLYE_NO_PRICES_SELECTED_1--}<a href="{%url=modules.php?module=admin&what=config_rallye_prices&rallye=' . getRequestParameter('rallye') . '%}">{--RALLYE_NO_PRICES_SELECTED_2--}</a>{--RALLYE_NO_PRICES_SELECTED_3--}';
- loadTemplate('admin_settings_saved', false, $content);
+ displayMessage($content);
}
} else {
// a rallye was selected, so check if there are already prices assigned...
loadTemplate('admin_list_rallye_prices', false, $OUT);
} else {
// No rallyes setup so far
- loadTemplate('admin_settings_saved', false, '{--RALLYE_NO_RALLYES_SETUP--}');
+ displayMessage('{--RALLYE_NO_RALLYES_SETUP--}');
}
}