add_system_message(_("At least one of the required parameters is empty."), 'error'); forward(WWW_ROOT."{$handler}/trainingplan/${obj_id}/edit"); } $fitness = new Fitness(); $training = $fitness->loadType("trainingplan", $id); $obj_id = $training->build($input_values); $TeKe->add_system_message(_("Saved")); forward(WWW_ROOT."{$handler}/trainingplan/${obj_id}/view"); ?>