コード例 #1
0
    if (isset($_POST["reconstructStates"])) {
        ini_set("max_execution_time", "0");
        ini_set("memory_limit", "-1");
        $ptState = new PluginTimelineticketState();
        $ptState->reconstructTimeline();
        Html::back();
    } else {
        if (isset($_POST["reconstructGroups"])) {
            ini_set("max_execution_time", "0");
            ini_set("memory_limit", "-1");
            $ptGroup = new PluginTimelineticketAssignGroup();
            $ptGroup->reconstrucTimeline();
            Html::back();
        } else {
            if (isset($_POST["add_groups"]) || isset($_POST["delete_groups"])) {
                $grplevel->update($_POST);
                Html::back();
            } else {
                if (isset($_POST["update"])) {
                    $ptConfig->update($_POST);
                    Html::back();
                } else {
                    $ptConfig->showReconstructForm();
                    $ptConfig->getFromDB(1);
                    $ptConfig->showForm();
                    Html::footer();
                }
            }
        }
    }
}