<?php

$success = true;
$message = "";
if (isset($request["update"])) {
    $settings = array(
        "default_thankyou_page_content" => $request["default_thankyou_page_content"]
    );
    $module->setSettings($settings);

    $success = true;
    $message = $L["notify_settings_updated"];
}

$page_vars["g_success"] = $success;
$page_vars["g_message"] = $message;
$page_vars["module_settings"] = $module->getSettings();

$module->displayPage("templates/settings.tpl", $page_vars);
