NAME

macro/admin - user access utilities for PApp


SYNOPSIS

 use PApp;
 <import src="macro/admin"/>


DESCRIPTION

See the PApp::User manpage for most of the functions that formerly were defined here.

EXPORTED FUNCTIONS

loginbox
Display a login box unless the user has authenticitated herself.

Display a very visible box with some information interesting for admins, developers, translators, editors, authors... The optional block will be executed so you can add page-specific info.

check_login
- if the user is not logged in, show a loginbox - if the user has logged in, display some info about him

*DEPRECATED*


SEE ALSO

the PApp manpage


AUTHOR

 Marc Lehmann <pcg@goof.com>
 http://www.goof.com/pcg/marc/