From 860a71bc5d0fb4eff06ddae0294855e0bffdab79 Mon Sep 17 00:00:00 2001
From: Colin Kuskie
Date: Fri, 24 Nov 2006 18:10:19 +0000
Subject: [PATCH] The template managers group is deprecated, but not removed.
More template variable work in the Auth* space.
---
docs/changelog/7.x.x.txt | 4 +++
lib/WebGUI/Help/Auth.pm | 40 ++++++++++++++++++++++++++
lib/WebGUI/Help/AuthWebGUI.pm | 35 ++++-------------------
lib/WebGUI/i18n/English/Auth.pm | 41 +++++++++++++++++++++++++++
lib/WebGUI/i18n/English/AuthWebGUI.pm | 30 --------------------
lib/WebGUI/i18n/English/WebGUI.pm | 11 +++----
6 files changed, 97 insertions(+), 64 deletions(-)
diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt
index a9d17e1ba..d3286d8d4 100644
--- a/docs/changelog/7.x.x.txt
+++ b/docs/changelog/7.x.x.txt
@@ -1,4 +1,8 @@
7.3.0
+ - NOTICE: The Template Managers group is deprecated. It has not been removed
+ from the system, but you do not have to be in the Template Managers group
+ to edit or add Templates. Those privileges have been transferred to the
+ Turn On Admin group.
7.2.3
- fix: minor bug with new template vars in Auth::createAccount
diff --git a/lib/WebGUI/Help/Auth.pm b/lib/WebGUI/Help/Auth.pm
index 523fd2b49..159bdf183 100644
--- a/lib/WebGUI/Help/Auth.pm
+++ b/lib/WebGUI/Help/Auth.pm
@@ -1,9 +1,49 @@
package WebGUI::Help::Auth;
our $HELP = {
+ 'display account template' => {
+ title => 'display account template title',
+ body => 'display account template body',
+ isa => [
+ {
+ namespace => "Asset_Template",
+ tag => "template variables"
+ },
+ ],
+ variables => [
+ {
+ 'name' => 'account.form.header'
+ },
+ {
+ 'name' => 'account.form.submit'
+ },
+ {
+ 'name' => 'account.form.footer'
+ },
+ {
+ 'name' => 'account.form.karma'
+ },
+ {
+ 'name' => 'account.form.karma.label'
+ },
+ {
+ 'name' => 'account.options'
+ },
+ ],
+ fields => [
+ ],
+ related => [
+ ]
+ },
'anonymous registration template' => {
title => 'anon reg template title',
body => 'anon reg template body',
+ isa => [
+ {
+ namespace => "Asset_Template",
+ tag => "template variables"
+ },
+ ],
fields => [
],
variables => [
diff --git a/lib/WebGUI/Help/AuthWebGUI.pm b/lib/WebGUI/Help/AuthWebGUI.pm
index 695dd3e8d..e9e954135 100644
--- a/lib/WebGUI/Help/AuthWebGUI.pm
+++ b/lib/WebGUI/Help/AuthWebGUI.pm
@@ -4,28 +4,13 @@ our $HELP = {
'webgui 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.header'
- },
- {
- 'name' => 'account.form.footer'
- },
- {
- 'name' => 'account.form.karma'
- },
- {
- 'name' => 'account.form.karma.label'
- },
- {
- 'name' => 'account.form.submit'
- },
- {
- 'name' => 'account.options'
- },
- {
- 'name' => 'displayTitle',
- },
{
'name' => 'account.message'
},
@@ -57,10 +42,6 @@ our $HELP = {
fields => [
],
related => [
- {
- tag => 'wobject template',
- namespace => 'Asset_Wobject'
- }
]
},
'webgui authentication login template' => {
@@ -119,10 +100,6 @@ our $HELP = {
fields => [
],
related => [
- {
- tag => 'wobject template',
- namespace => 'Asset_Wobject'
- }
]
},
'webgui authentication anonymous registration template' => {
diff --git a/lib/WebGUI/i18n/English/Auth.pm b/lib/WebGUI/i18n/English/Auth.pm
index cef195097..bd01ed493 100644
--- a/lib/WebGUI/i18n/English/Auth.pm
+++ b/lib/WebGUI/i18n/English/Auth.pm
@@ -78,6 +78,47 @@ our $I18N = {
lastUpdated => 1149220395,
},
+ 'display account template title' => {
+ message => q|Authentication Display Account Template|,
+ lastUpdated => 1078852836
+ },
+
+ 'display account template body' => {
+ message => q|The following template variables are available for Authentication Display Account templates.
+|,
+ lastUpdated => 1149220652
+ },
+
+ 'account.form.header' => {
+ message => q|The required form elements that go at the top of the display account page.|,
+ lastUpdated => 1149220575,
+ },
+
+ 'account.form.footer' => {
+ message => q|The required form elements that go after the display account page form.|,
+ lastUpdated => 1149220575,
+ },
+
+ 'account.form.karma' => {
+ message => q|A read only form property displaying the amount of karma a user has. Karma is a configurable user setting that is turned off by default |,
+ lastUpdated => 1149220575,
+ },
+
+ 'account.form.karma.label' => {
+ message => q|Internationalized text label for the karma form value.|,
+ lastUpdated => 1149220575,
+ },
+
+ 'account.form.submit' => {
+ message => q|The default submit button for the display account form. |,
+ lastUpdated => 1149220575,
+ },
+
+ 'account.options' => {
+ message => q|Links list of options which allow users to turn on Admin, view and edit profile, view the inbox, etc. |,
+ lastUpdated => 1149220575,
+ },
+
'topicName' => {
message => q|Authentication|,
lastUpdated => 1164338173,
diff --git a/lib/WebGUI/i18n/English/AuthWebGUI.pm b/lib/WebGUI/i18n/English/AuthWebGUI.pm
index 4d6104e48..14fe67efe 100644
--- a/lib/WebGUI/i18n/English/AuthWebGUI.pm
+++ b/lib/WebGUI/i18n/English/AuthWebGUI.pm
@@ -387,36 +387,6 @@ our $I18N = {
lastUpdated => 1078857230
},
- 'account.form.header' => {
- message => q|The required form elements that go at the top of the display account page.|,
- lastUpdated => 1149220575,
- },
-
- 'account.form.footer' => {
- message => q|The required form elements that go after the display account page form.|,
- lastUpdated => 1149220575,
- },
-
- 'account.form.karma' => {
- message => q|A read only form property displaying the amount of karma a user has. Karma is a configurable user setting that is turned off by default |,
- lastUpdated => 1149220575,
- },
-
- 'account.form.karma.label' => {
- message => q|Internationalized text label for the karma form value.|,
- lastUpdated => 1149220575,
- },
-
- 'account.form.submit' => {
- message => q|The default submit button for the display account form. |,
- lastUpdated => 1149220575,
- },
-
- 'account.options' => {
- message => q|Links list of options which allow users to turn on Admin, view and edit profile, view the inbox, etc. |,
- lastUpdated => 1149220575,
- },
-
'account.message' => {
message => q|Any message returned by the system. Usually displays after the form is submitted.|,
lastUpdated => 1149220575,
diff --git a/lib/WebGUI/i18n/English/WebGUI.pm b/lib/WebGUI/i18n/English/WebGUI.pm
index 62b3c78ca..f61b7c4f2 100644
--- a/lib/WebGUI/i18n/English/WebGUI.pm
+++ b/lib/WebGUI/i18n/English/WebGUI.pm
@@ -1319,15 +1319,16 @@ add new users, but cannot edit users.
Users that have privileges to edit styles for this site. These privileges do not allow the user to assign styles to a page, just define them to be used.
-Template Managers
-Users that have privileges to edit templates for this site.
-
-
Visitors
Visitors are users who are not logged in using an account on the system. Also, if you wish to punish a registered user you could remove him/her from the Registered Users group and insert him/her into the Visitors group.
+
+Template Managers
+Template Managers are an old deprecated group that used to be in charge of editing and creating
+templates. Templates are now owned by the Turn On Admin group by default.
+
|,
- lastUpdated => 1164311106
+ lastUpdated => 1164348333
},
'615' => {