#!/bin/sh

#turn off auto expansion
set -f

_()
{
LANG=${in_language%%;*}.utf8 gettext "alterator-vsftpd" "$1"
}


. /usr/share/alterator/build/backend3.sh

on_message()
{
	case "$in_action" in
		#information for renderer
		template)
			echo '('
			echo ' template "form"'
			echo ' url "vsftpd.html"'
			echo ' help "vsftpd.html"'
			echo ')'
			;;
		info)
			echo '('
			printf ' title "%s"' "`_ "FTP server"`"
			printf ' description "%s"' "`_ "FTP server administration"`"
			echo ')'
			;;
		*)
			echo '#f'
			;;
	esac
}

message_loop
