#!/bin/sh 

#turn off auto expansion
set -f

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

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

on_message()
{
	case "$in_action" in
		#information for renderer
		template)
			if [ "$in__objects" = "/" ];then
				echo '('
				echo 'template "card-index" '
				echo 'url "net-pptp.html"'
				echo 'help "net-pptp.html"'
				echo ')'
			else
				echo '#f'
			fi
			;;
		info)
			echo '('
			printf ' title "%s"' "`_ "PPTP connections"`"
			printf ' description "%s"' "`_ "PPTP connections administration"`"
			printf ' group "%s"' "`_ "Network"`"
			printf ' weight 87'
			echo ')'
			;;
		*)
			echo '#f'
	esac
}


message_loop

