public static function show($console, $result, $data) { $text = ''; if (!$console) { $text .= Design::erstelleBeschreibung($console, Language::Get('access', 'description')); $text .= Design::erstelleZeile($console, Language::Get('access', 'local'), 'e', Design::erstelleGruppenAuswahl($console, $data['ZV']['zv_type'], 'data[ZV][zv_type]', 'local', 'local', true), 'v'); $text .= Design::erstelleZeile($console, ' ', '', '', ''); $text .= Design::erstelleZeile($console, Language::Get('access', 'ssh'), 'e', Design::erstelleGruppenAuswahl($console, $data['ZV']['zv_type'], 'data[ZV][zv_type]', 'ssh', null, true), 'v'); $text .= Design::erstelleZeile($console, Language::Get('access', 'username'), 'e', Design::erstelleEingabezeile($console, $data['ZV']['zv_ssh_login'], 'data[ZV][zv_ssh_login]', 'root'), 'v'); $text .= Design::erstelleZeile($console, Language::Get('access', 'address'), 'e', Design::erstelleEingabezeile($console, $data['ZV']['zv_ssh_address'], 'data[ZV][zv_ssh_address]', 'localhost'), 'v'); $text .= Design::erstelleZeile($console, Language::Get('access', 'password'), 'e', Design::erstellePasswortzeile($console, $data['ZV']['zv_ssh_password'], 'data[ZV][zv_ssh_password]', ''), 'v', Design::erstelleGruppenAuswahl($console, $data['ZV']['zv_ssh_auth_type'], 'data[ZV][zv_ssh_auth_type]', 'passwd', 'passwd', true), 'h'); $text .= Design::erstelleZeile($console, Language::Get('access', 'keyFile'), 'e', Design::erstelleEingabezeile($console, $data['ZV']['zv_ssh_key_file'], 'data[ZV][zv_ssh_key_file]', '/var/public.ppk'), 'v', Design::erstelleGruppenAuswahl($console, $data['ZV']['zv_ssh_auth_type'], 'data[ZV][zv_ssh_auth_type]', 'keyFile', null, true), 'h'); echo Design::erstelleBlock($console, Language::Get('access', 'title'), $text); } return null; }