#!/bin/sh -ef

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


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

on_message()
{
	case "$in_action" in
		#information for renderer
		template)
			echo '('
			echo ' template "card-index"'
			echo ' translate "alterator-firewall"'
			echo ' url "firewall-simple.html"'
			echo ' help "firewall-simple.html"'
			#echo ' redirect #f'
			echo ')'
			;;
                info)
                        echo '('
                        printf ' title "%s"' "`_ "Network firewall"`"
                        printf ' description "%s"' "`_ "Firewall administration"`"
                        printf ' group "%s"' "`_ "Network"`"
                        echo ')'
                        ;;
		*)
			echo '#f'
			;;
	esac
}


message_loop

