loadTemplate('admin_edit_rallyes', false, $OUT);
} else {
// Nothing selected to edit
- loadTemplate('admin_settings_saved', false, '{--RALLYE_NO_RALLYES_SELECTED--}');
+ displayMessage('{--RALLYE_NO_RALLYES_SELECTED--}');
}
} elseif ((getRequestParameter('sub') == 'users') && (getRequestParameter('rallye') > 0)) {
// List users and their refs before start and current
loadTemplate('admin_list_rallye_usr', false, $content);
} else {
// No entries found?
- loadTemplate('admin_settings_saved', false, '{--RALLYE_ADMIN_USERS_404--}');
+ displayMessage('{--RALLYE_ADMIN_USERS_404--}');
}
} else {
// Start listing rallyes
loadTemplate('admin_list_rallyes', false, $content);
} else {
// No rallyes setup so far
- loadTemplate('admin_settings_saved', false, '{--RALLYE_NO_RALLYES_SETUP--}');
+ displayMessage('{--RALLYE_NO_RALLYES_SETUP--}');
}
}