if ($set == "save") {
    //checkinput
    if (empty($subject)) {
        $check = false;
        $_MAIN_MESSAGE .= ___("Betreff sollte nicht leer sein.");
    }
    //upload ?!
    include_once TM_INCLUDEPATH . "/nl_upload.inc.php";
    $track_image = "";
    if ($uploaded_track_image_new) {
        $track_image = "/" . $uploaded_track_image_new_name;
    } else {
        $track_image = $track_image_existing;
    }
    if ($check) {
        $NEWSLETTER->updateNL(array("id" => $nl_id, "subject" => $subject, "title" => $title, "title_sub" => $title_sub, "body" => $body, "body_text" => $body_text, "summary" => $summary, "aktiv" => $aktiv, "is_template" => $is_template, "massmail" => $massmail, "link" => $link, "created" => $updated, "author" => $author, "grp_id" => $nl_grp_id, "content_type" => $content_type, "track_image" => $track_image, "track_personalized" => $track_personalized, "rcpt_name" => $rcpt_name, "attachements" => $attach_existing));
        $_MAIN_MESSAGE .= "<br>" . sprintf(___("Newsletter %s wurde aktualisiert."), "'<b>" . display($subject) . "</b>'");
        $_MAIN_MESSAGE .= "<br>" . ___("Der Newsletter wurde gespeichert unter:") . "<ul>" . ___("Vorlage:") . " <a href=\"" . $tm_URL_FE . "/" . $tm_nldir . "/" . $NL_Filename_N . "\" target=\"_preview\">" . $tm_nldir . "/" . $NL_Filename_N . "</a>" . "<br>" . ___("Online:") . " <a href=\"" . $tm_URL_FE . "/" . $tm_nldir . "/" . $NL_Filename_P . "\" target=\"_preview\">" . $tm_nldir . "/" . $NL_Filename_P . "</a>" . "<br>" . ___("Text:") . " <a href=\"" . $tm_URL_FE . "/" . $tm_nldir . "/" . $NL_Filename_T . "\" target=\"_preview\">" . $tm_nldir . "/" . $NL_Filename_T . "</a>" . "</ul>";
        $action = "nl_list";
        require_once TM_INCLUDEPATH . "/nl_list.inc.php";
    } else {
        $body = stripslashes(strtr($body, $trans));
        require_once TM_INCLUDEPATH . "/nl_form.inc.php";
        require_once TM_INCLUDEPATH . "/nl_form_show.inc.php";
    }
} else {
    $NL = $NEWSLETTER->getNL($nl_id, 0, 0, 0, 1);
    $subject = $NL[0]['subject'];
    $title = $NL[0]['title'];
    $title_sub = $NL[0]['title_sub'];
    #$body=strtr($NL[0]['body'], $trans);