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:
parent
61138b4764
commit
be4fd74276
5 changed files with 157 additions and 63 deletions
|
|
@ -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'
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue