app = $app; $this->parsetarget = $parsetarget; $this->Form(); } public function userDelete() { $this->form->Execute("user","delete"); $this->userList(); } function Edit() { $this->form->Edit(); } function Copy() { $this->form->Copy(); } public function Create() { $this->form->Create(); } public function Search() { $this->app->Tpl->Set($this->parsetarget,"SUUUCHEEE"); } public function Summary() { $this->app->Tpl->Set($this->parsetarget,"grosse Tabelle"); } function Form() { $this->form = $this->app->FormHandler->CreateNew("user"); $this->form->UseTable("user"); $this->form->UseTemplate("user.tpl",$this->parsetarget); $field = new HTMLInput("description","text","","40","","","","","","","0"); $this->form->NewField($field); $this->form->AddMandatory("description","notempty","Pflichfeld!",MSGDESCRIPTION); $field = new HTMLSelect("select1",0,"select1"); $this->form->NewField($field); $field = new HTMLInput("username","text","","40","","","","","","","0"); $this->form->NewField($field); $field = new HTMLInput("internebezeichnung","text","","40","","","","","","","0"); $this->form->NewField($field); $field = new HTMLInput("adresse","text","","","","","","","","","0"); $this->form->NewField($field); $field = new HTMLCheckbox("externlogin","","","1","0"); $this->form->NewField($field); $field = new HTMLCheckbox("activ","","","1","0"); $this->form->NewField($field); $field = new HTMLInput("vorlage","text","","40","","","","","","","0"); $this->form->NewField($field); $field = new HTMLInput("startseite","text","","40","","","","","","","0"); $this->form->NewField($field); $field = new HTMLInput("fehllogins","text","","5","","","","","","","0"); $this->form->NewField($field); $field = new HTMLCheckbox("neuanmeldenlinkuebernehmen","","","1","0"); $this->form->NewField($field); $field = new HTMLInput("password","password","","40","","","","","","","0"); $this->form->NewField($field); $field = new HTMLInput("repassword","password","","40","","","","","","","0"); $this->form->NewField($field); $field = new HTMLSelect("hwtoken",0,"hwtoken"); $field->AddOption('Benutzername + Passwort','0'); $field->AddOption(' Benutzername + mOTP','1'); $field->AddOption('Benutzername + FRED OTP','2'); $this->form->NewField($field); $field = new HTMLInput("motppin","text","","40","","","","","","","0"); $this->form->NewField($field); $field = new HTMLInput("motpsecret","text","","40","","","","","","","0"); $this->form->NewField($field); $field = new HTMLInput("hwkey","text","","40","","","","","","","0"); $this->form->NewField($field); $field = new HTMLInput("hwcounter","text","","40","","","","","","","0"); $this->form->NewField($field); $field = new HTMLInput("standarddrucker","text","","40","","","","","","","0"); $this->form->NewField($field); $field = new HTMLInput("settings","text","","40","","","","","","","0"); $this->form->NewField($field); } } ?>