From 40065c4658205d8e2535c70e77abaf5258fc2820 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 6 Mar 2006 18:28:27 +0000 Subject: [PATCH] Make TOC the front page of Help. Add license to Commerce.pm Update fields in Help for WebGUIProfile Fix typo in i18n file for WebGUIProfile (missing comma) full merge of fields from 6.8 for Operatin/ProfileSettings. --- lib/WebGUI/AdminConsole.pm | 2 +- lib/WebGUI/Commerce.pm | 15 +++++++++++++ lib/WebGUI/Help/WebGUIProfile.pm | 8 +++---- lib/WebGUI/Operation/ProfileSettings.pm | 8 +++---- lib/WebGUI/i18n/English/WebGUIProfile.pm | 28 ++++++++++++++++++++++-- 5 files changed, 50 insertions(+), 11 deletions(-) diff --git a/lib/WebGUI/AdminConsole.pm b/lib/WebGUI/AdminConsole.pm index 934b56a23..4111b13a7 100644 --- a/lib/WebGUI/AdminConsole.pm +++ b/lib/WebGUI/AdminConsole.pm @@ -257,7 +257,7 @@ sub getAdminFunction { namespace=>"WebGUI" }, icon=>"help.gif", - op=>"viewHelpIndex", + op=>"viewHelpTOC", group=>"7" }, "statistics"=>{ diff --git a/lib/WebGUI/Commerce.pm b/lib/WebGUI/Commerce.pm index 963cbbc76..bc53d1839 100644 --- a/lib/WebGUI/Commerce.pm +++ b/lib/WebGUI/Commerce.pm @@ -1,5 +1,20 @@ package WebGUI::Commerce; +=head1 LEGAL + + ------------------------------------------------------------------- + WebGUI is Copyright 2001-2006 Plain Black Corporation. + ------------------------------------------------------------------- + Please read the legal notices (docs/legal.txt) and the license + (docs/license.txt) that came with this distribution before using + this software. + ------------------------------------------------------------------- + http://www.plainblack.com info@plainblack.com + ------------------------------------------------------------------- + +=cut + + use strict; #------------------------------------------------------------------- diff --git a/lib/WebGUI/Help/WebGUIProfile.pm b/lib/WebGUI/Help/WebGUIProfile.pm index 82a56cac8..5f77c3187 100644 --- a/lib/WebGUI/Help/WebGUIProfile.pm +++ b/lib/WebGUI/Help/WebGUIProfile.pm @@ -16,13 +16,13 @@ our $HELP = { namespace => 'WebGUIProfile', }, { - title => '473', - description => '473 description', + title => '473a', + description => '473a description', namespace => 'WebGUIProfile', }, { - title => '897', - description => '897 description', + title => '897a', + description => '897a description', namespace => 'WebGUIProfile', }, { diff --git a/lib/WebGUI/Operation/ProfileSettings.pm b/lib/WebGUI/Operation/ProfileSettings.pm index 1ba0a63c1..10746406f 100644 --- a/lib/WebGUI/Operation/ProfileSettings.pm +++ b/lib/WebGUI/Operation/ProfileSettings.pm @@ -248,15 +248,15 @@ sub www_editProfileField { ); $f->yesNo( -name=>"visible", - -label=>$i18n->get(473), - -hoverHelp=>$i18n->get('473 description'), + -label=>$i18n->get('473a'), + -hoverHelp=>$i18n->get('473a description'), -value=>$data->{visible} ); $f->yesNo( -name=>"editable", -value=>$data->{editable}, - -label=>$i18n->get(897), - -hoverHelp=>$i18n->get('897 description'), + -label=>$i18n->get('897a'), + -hoverHelp=>$i18n->get('897a description'), ); $f->yesNo( -name=>"required", diff --git a/lib/WebGUI/i18n/English/WebGUIProfile.pm b/lib/WebGUI/i18n/English/WebGUIProfile.pm index 7e9e0e7f7..ca68a0e98 100644 --- a/lib/WebGUI/i18n/English/WebGUIProfile.pm +++ b/lib/WebGUI/i18n/English/WebGUIProfile.pm @@ -226,11 +226,21 @@ How should this user be notified when they get a new WebGUI message? lastUpdated => 1122315199, }, + '473a description' => { + message => q|Should the field be visible to users?|, + lastUpdated => 1141667205, + }, + '897 description' => { message => q|Should the category be editable by users?|, lastUpdated => 1122315199, }, + '897a description' => { + message => q|Should the field be editable by users?|, + lastUpdated => 1141667241, + }, + 'user profile category add/edit title' => { message => q|User Profile Category, Add/Edit|, lastUpdated => 1122314930 @@ -267,9 +277,16 @@ new categories of profile settings. '897' => { message => q|Editable?|, + context => q|Label for profile categories|, lastUpdated => 1050167573 }, + '897a' => { + message => q|Editable?|, + context => q|Label for profile fields|, + lastUpdated => 1141667261 + }, + '474' => { message => q|Required?|, lastUpdated => 1031514049 @@ -287,12 +304,19 @@ new categories of profile settings. '788' => { message => q|Delete this profile field.|, - lastUpdated => 1036964681 + lastUpdated => 1036964681, }, '473' => { message => q|Visible?|, - lastUpdated => 1031514049 + lastUpdated => 1031514049, + context => q|Label for visibility field for profile categories|, + }, + + '473a' => { + message => q|Visible?|, + lastUpdated => 1141667189, + context => q|Label for visibility field for profile fields|, }, 'user profiling' => {