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
|
|
@ -121,6 +121,11 @@ our $I18N = {
|
|||
lastUpdated => 1149220294,
|
||||
},
|
||||
|
||||
'title' => {
|
||||
message => q|Default page title.|,
|
||||
lastUpdated => 1164335682,
|
||||
},
|
||||
|
||||
'login.form.footer' => {
|
||||
message => q|The required form elements that go after the login page form.|,
|
||||
lastUpdated => 1149220294,
|
||||
|
|
@ -151,11 +156,6 @@ our $I18N = {
|
|||
lastUpdated => 1149220294,
|
||||
},
|
||||
|
||||
'title' => {
|
||||
message => q|Default page title |,
|
||||
lastUpdated => 1149220294,
|
||||
},
|
||||
|
||||
'login.message' => {
|
||||
message => q|Any message returned by the system. Usually displays after the form is submitted.|,
|
||||
lastUpdated => 1149220294,
|
||||
|
|
@ -469,41 +469,11 @@ our $I18N = {
|
|||
lastUpdated => 1149220652
|
||||
},
|
||||
|
||||
'create.form.header' => {
|
||||
message => q|The required form elements that go at the top of the anonymous registration page.|,
|
||||
lastUpdated => 1149220721,
|
||||
},
|
||||
|
||||
'create.form.hidden' => {
|
||||
message => q|Hidden form fields required for form submittal.|,
|
||||
lastUpdated => 1149220721,
|
||||
},
|
||||
|
||||
'create.form.footer' => {
|
||||
message => q|The required form elements that go after the anonymous registration page form. |,
|
||||
lastUpdated => 1149220721,
|
||||
},
|
||||
|
||||
'create.form.submit' => {
|
||||
message => q|The default submit button for the anonymous registration form. |,
|
||||
lastUpdated => 1149220721,
|
||||
},
|
||||
|
||||
'create.form.profile' => {
|
||||
message => q|A loop containing visible and required profile fields for anonymous registration.|,
|
||||
lastUpdated => 1149220721,
|
||||
},
|
||||
|
||||
'profile.formElement' => {
|
||||
message => q|Form element for visible or required profile field.|,
|
||||
lastUpdated => 1149220721,
|
||||
},
|
||||
|
||||
'profile.formElement.label' => {
|
||||
message => q|Default text label for profile form element.|,
|
||||
lastUpdated => 1149220721,
|
||||
},
|
||||
|
||||
'create.message' => {
|
||||
message => q|Any message returned by the system. Usually displays after the form is submitted.|,
|
||||
lastUpdated => 1149220721,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue