Final changes. I tested all possibilities and found no more bugs. Please test it and give feedback!
Files go to:
fwhosts.de.pl and fwhosts.en.pl --->/var/ipfire/addon-lang/ fwhosts.cgi --->/srv/web/ipfire/cgi-bin/ 50-firewall.menu --->/var/ipfire/menu.d/ (please make a backup of org files)
Now create a directory /var/ipfire/fwhosts
Don't forget to update the language cache
Another hint: Please use the provided general_functions! i adapted the function validipandmask so that you are able to create a host!
And test the WUI.
To test all features, you should really have installed the ccd extension!