| Server IP : 104.21.25.180 / Your IP : 104.23.197.123 Web Server : Apache/2.4.37 System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64 User : ricodeal ( 1046) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/libexec/webmin/smf/ |
Upload File : |
#!/usr/bin/perl
require './smf-lib.pl';
&ReadParse();
&ui_print_header(undef, $text{'smfwizard_title'}, "");
# wizard-specific info here!
if (defined($in{'clearout'})) {
if ($in{'clearout'} == 1) {
&wizard_clear_all_data($wizard);
}
}
&wizard_header($wizard, "smfwizard_service.cgi",
"$text{'smfwizard_service_heading'}",
&convert_links_in_text("$text{'smfwizard_service_description'}"),
"images/smf.gif");
&wizard_input("smfwizard_service.cgi", "$text{'smfwizard_service_name'}",
"service_name", 60, ".+", "$text{'smfwizard_service_name_error'}");
&wizard_input("smfwizard_service.cgi", "$text{'smfwizard_service_version'}",
"service_version", 60, "\s*[0-9]+\s*",
"$text{'smfwizard_service_version_error'}");
&wizard_footer($wizard, "smfwizard_service.cgi");
# end wizard-specific info
&ui_print_footer("index.cgi", $text{'index'});