Went through and validated all the template variables in all template

for the LDAP authentication module.  Common variables were referenced
from the main Auth module Help file.
This commit is contained in:
Colin Kuskie 2006-11-24 22:12:46 +00:00
parent ee9cae98a8
commit 9beeb854a4
2 changed files with 66 additions and 173 deletions

View file

@ -77,6 +77,12 @@ our $HELP = {
'ldap authentication display account template' => {
title => 'display account template title',
body => 'display account template body',
isa => [
{
namespace => "Auth",
tag => "display account template"
},
],
variables => [
{
'name' => 'account.form.karma'
@ -105,56 +111,22 @@ our $HELP = {
tag => 'ldap authentication login template',
namespace => 'AuthLDAP'
},
{
tag => 'wobject template',
namespace => 'Asset_Wobject'
},
]
},
'ldap authentication login template' => {
title => 'auth login template title',
body => 'auth login template body',
isa => [
{
namespace => "Auth",
tag => "login template"
},
],
variables => [
{
'name' => 'login.form.header'
},
{
'name' => 'login.form.hidden'
},
{
'name' => 'login.form.footer'
},
{
'name' => 'login.form.submit'
},
{
'name' => 'login.form.username'
},
{
'name' => 'login.form.username.label'
},
{
'name' => 'login.form.password'
},
{
'name' => 'login.form.password.label'
},
{
'name' => 'title',
},
{
'name' => 'login.message'
},
{
'name' => 'anonymousRegistration.isAllowed'
},
{
'name' => 'createAccount.url'
},
{
'name' => 'createAccount.label'
}
],
fields => [
],
@ -174,47 +146,27 @@ our $HELP = {
]
},
'ldap authentication anonymous registration template' => {
'ldap authentication anonymous registration template' => { ##createAccount
title => 'anon reg template title',
body => 'anon reg template body',
isa => [
{
namespace => "Auth",
tag => "anonymous registration template"
},
],
fields => [
],
variables => [
{
'name' => 'create.form.header'
},
{
'name' => 'create.form.hidden'
},
{
'name' => 'create.form.footer'
},
{
'name' => 'create.form.submit'
},
{
'name' => 'title'
},
{
'name' => 'create.form.profile',
'variables' => [
{
'name' => 'profile.formElement'
},
{
'name' => 'profile.formElement.label'
}
]
},
{
'name' => 'login.url'
},
{
'name' => 'login.label'
},
{
'name' => 'create.message'
},
{
'name' => 'create.form.ldapConnection'
},
{
'name' => 'create.form.ldapConnection.label'
},
{
'name' => 'create.form.ldapId'
},
@ -237,12 +189,22 @@ our $HELP = {
tag => 'ldap authentication login template',
namespace => 'AuthLDAP'
},
{
tag => 'wobject template',
namespace => 'Asset_Wobject'
}
]
},
'ldap deactivate account template' => {
title => 'deactivate account template title',
body => 'deactivate account template body',
isa => [
{
namespace => "Auth",
tag => "deactivate account template"
},
],
variables => [ ],
fields => [ ],
related => [ ],
},
};
1;

View file

@ -108,67 +108,11 @@ our $I18N = {
lastUpdated => 1039450730
},
'login.form.header' => {
message => q|The required form elements that go at the top of the login page.|,
lastUpdated => 1149219946,
},
'login.form.hidden' => {
message => q|Hidden form fields required for form submission.|,
lastUpdated => 1149219946,
},
'login.form.footer' => {
message => q|The required form elements that go after the login page form.|,
lastUpdated => 1149219946,
},
'login.form.submit' => {
message => q|The default submit button for the login form.|,
lastUpdated => 1149219946,
},
'login.form.username' => {
message => q|Default username form field.|,
lastUpdated => 1149219946,
},
'login.form.username.label' => {
message => q|Default text for username form field.|,
lastUpdated => 1149219946,
},
'login.form.password' => {
message => q|Default password form field.|,
lastUpdated => 1149219946,
},
'login.form.password.label' => {
message => q|Default text for password form field.|,
lastUpdated => 1149219946,
},
'login.message' => {
message => q|Any message returned by the system. Usually displays after the form is submitted.|,
lastUpdated => 1149219946,
},
'anonymousRegistration.isAllowed' => {
message => q|Flag indicating whether or not anonymous registrations are allowed.|,
lastUpdated => 1149219946,
},
'createAccount.url' => {
message => q|URL for the anonymous registration page.|,
lastUpdated => 1149219946,
},
'createAccount.label' => {
message => q|Default label for the anonymous registration link.|,
lastUpdated => 1149219946,
},
'auth login template body' => {
message => q|<p>The following template variables are available for LDAP Authentication Login templates.
</p>
@ -257,56 +201,16 @@ our $I18N = {
lastUpdated => 1071845113
},
'create.form.header' => {
message => q|The required form elements that go at the top of the anonymous registration page.|,
lastUpdated => 1149219898,
},
'create.form.hidden' => {
message => q|Hidden form fields required for form submittal.|,
lastUpdated => 1149219898,
},
'create.form.footer' => {
message => q|The required form elements that go after the anonymous registration page form. |,
lastUpdated => 1149219898,
},
'create.form.submit' => {
message => q|The default submit button for the anonymous registration form.|,
lastUpdated => 1149219898,
},
'title' => {
message => q|Default page title.|,
lastUpdated => 1149219898,
},
'create.form.profile' => {
message => q|A loop containing visible and required profile fields for registration.|,
lastUpdated => 1149219898,
},
'profile.formElement' => {
message => q|Form element for visible or required profile field.|,
lastUpdated => 1149219898,
},
'profile.formElement.label' => {
message => q|Default text label for profile form element.|,
lastUpdated => 1149219898,
},
'login.url' => {
message => q|URL for the login page.|,
lastUpdated => 1149219898,
},
'login.label' => {
message => q|Default text label for login page link.|,
lastUpdated => 1149219898,
},
'create.message' => {
message => q|Any message returned by the system. Usually displays after the form is submitted.|,
lastUpdated => 1149219898,
@ -322,6 +226,21 @@ our $I18N = {
lastUpdated => 1149219898,
},
'create.form.ldapConnection' => {
message => q|Form field containing a drop-down list to choose which LDAP connection to use to authenticate.|,
lastUpdated => 1164405945,
},
'create.form.ldapConnection.label' => {
message => q|Internationalized label for the drop-down list <b>create.form.ldapConnection</b>|,
lastUpdated => 1164405947,
},
'create.form.ldapId.label' => {
message => q|Default text for ldapId form field.|,
lastUpdated => 1149219898,
},
'create.form.password' => {
message => q|Default password form field.|,
lastUpdated => 1149219898,
@ -789,6 +708,18 @@ Usually the RDN looks something like:</p>
context => q|Title of the ldap connection manager for the admin console.|
},
'deactivate account template title' => {
message => q|LDAP Authentication Deactivate Account Template|,
lastUpdated => 1164406538
},
'deactivate account template body' => {
message => q|<p>The following template variables are available for the LDAP Authentication Deactivate account templates.
</p>
|,
lastUpdated => 1164406540
},
'topicName' => {
message => q|LDAP Authentication|,
lastUpdated => 1128919880