[set name=menu int] [L]Return to Main Menu[/L] [/set] [if value turnoff_cookies] [set-cookie name=MV_USERNAME value=""] [set-cookie name=MV_PASSWORD value=""] [value name=turnoff_cookies set=""] [/if]
[title-bar][L]MiniVend Administration[/L]: [page index]__COMPANY__[/page][/title-bar]
[set MMLogin] mv_todo=return [if type=explicit compare="[userdb login]"] mv_nextpage=@@MM_BASE@@/menu mv_username=[perl]$Session->{mm_username} = $Session->{username};[/perl] [else] mv_username=[perl]$Session->{mm_username} = $Session->{username} = '';[/perl] [/else] [/if] [/set]

> [if session failure]

> [L]Failure:[/L] [data session failure][data base=session field=failure value=""]

> [/if] [if scratch mm_failure]

> [L]Failure:[/L] [scratch mm_failure][set mm_failure][/set]

> [/if]

> [L]Username[/L] |
> [L]Password[/L] |
> | [L]Log me in automatically[/L]

> [page href=@@MM_BASE@@/violation form="turnoff_cookies=1"][L]Turn off cookie-based login[/L][/page]

> [scratch menu]