WebGUI::Auth provides a set of default template variables inherited

by both AuthWebGUI and AuthLDAP.  I've pulled the defaults out of
AuthWebGUI for one template (anonymous registration) into its own
namspace, Auth.  Default variables will be pulled out for all of the templates
eventually.
This commit is contained in:
Colin Kuskie 2006-11-24 04:01:52 +00:00
parent 61138b4764
commit be4fd74276
5 changed files with 157 additions and 63 deletions

View file

@ -130,37 +130,16 @@ our $HELP = {
body => 'anon reg template body',
fields => [
],
isa => [
{
namespace => "Auth",
tag => "anonymous registration template"
},
],
variables => [
{
'name' => 'create.form.header'
},
{
'name' => 'create.form.hidden'
},
{
'name' => 'create.form.footer'
},
{
'name' => 'create.form.submit'
},
{
'name' => 'title',
},
{
'name' => 'create.form.profile'
},
{
'name' => 'profile.formElement'
},
{
'name' => 'profile.formElement.label'
},
{
'name' => 'login.url',
},
{
'name' => 'login.label',
},
{
'name' => 'create.message'
},