diff --git a/lib/WebGUI/Asset/Wobject.pm b/lib/WebGUI/Asset/Wobject.pm index c05c24b03..2c7052425 100644 --- a/lib/WebGUI/Asset/Wobject.pm +++ b/lib/WebGUI/Asset/Wobject.pm @@ -226,12 +226,14 @@ sub getEditForm { $tabform->getTab("display")->yesNo( -name=>"displayTitle", -label=>WebGUI::International::get(174,'Wobject'), + -hoverHelp=>WebGUI::International::get('174 description','Wobject'), -value=>$self->getValue("displayTitle"), -uiLevel=>5 ); $tabform->getTab("display")->template( -name=>"styleTemplateId", -label=>WebGUI::International::get(1073,'Wobject'), + -hoverHelp=>WebGUI::International::get('1073 description','Wobject'), -value=>$self->getValue("styleTemplateId"), -namespace=>'style', -afterEdit=>'op=editPage&npp='.$session{form}{npp} @@ -239,6 +241,7 @@ sub getEditForm { $tabform->getTab("display")->template( -name=>"printableStyleTemplateId", -label=>WebGUI::International::get(1079,'Wobject'), + -hoverHelp=>WebGUI::International::get('1079 description','Wobject'), -value=>$self->getValue("printableStyleTemplateId"), -namespace=>'style', -afterEdit=>'op=editPage&npp='.$session{form}{npp} @@ -246,17 +249,20 @@ sub getEditForm { $tabform->getTab("properties")->HTMLArea( -name=>"description", -label=>WebGUI::International::get(85,'Wobject'), + -hoverHelp=>WebGUI::International::get('85 description','Wobject'), -value=>$self->getValue("description") ); $tabform->getTab("display")->interval( -name=>"cacheTimeout", -label=>WebGUI::International::get(895,'Wobject'), + -hoverHelp=>WebGUI::International::get('895 description','Wobject'), -value=>$self->getValue("cacheTimeout"), -uiLevel=>8 ); $tabform->getTab("display")->interval( -name=>"cacheTimeoutVisitor", -label=>WebGUI::International::get(896,'Wobject'), + -hoverHelp=>WebGUI::International::get('896 description','Wobject'), -value=>$self->getValue("cacheTimeoutVisitor"), -uiLevel=>8 ); diff --git a/lib/WebGUI/Help/Wobject.pm b/lib/WebGUI/Help/Wobject.pm index eca755fa6..22488a204 100644 --- a/lib/WebGUI/Help/Wobject.pm +++ b/lib/WebGUI/Help/Wobject.pm @@ -31,6 +31,36 @@ our $HELP = { title => '677', body => '632', fields => [ + { + title => '174', + description => '174 description', + namespace => 'Wobject', + }, + { + title => '1073', + description => '1073 description', + namespace => 'Wobject', + }, + { + title => '1079', + description => '1079 description', + namespace => 'Wobject', + }, + { + title => '85', + description => '85 description', + namespace => 'Wobject', + }, + { + title => '895', + description => '895 description', + namespace => 'Wobject', + }, + { + title => '896', + description => '896 description', + namespace => 'Wobject', + }, ], related => [ { diff --git a/lib/WebGUI/i18n/English/Wobject.pm b/lib/WebGUI/i18n/English/Wobject.pm index a36bce5cf..aceacb27a 100644 --- a/lib/WebGUI/i18n/English/Wobject.pm +++ b/lib/WebGUI/i18n/English/Wobject.pm @@ -5,30 +5,32 @@ our $I18N = { '828' => { lastUpdated => 1053469640, message => q|Most wobjects have templates that allow you to change the layout of the wobject's user interface. Those wobjects that do have templates all have a common set of template variables that you can use for layout, as well as their own custom variables. The following is a list of the common template variables shared among all wobjects. +
titleYou can add wobjects by selecting from the ^International("1","WebGUI"); pulldown menu. You can edit them by clicking on the "Edit" button that appears directly above an instance of a particular wobject while in Admin mode.
-Wobjects are Assets, so they have all of the properties that Assets do. Additionally, most Wobjects share some basic properties. Those properties are:
- -^International("174","Wobject");
-Do you wish to display the Wobject's title? On some sites, displaying the title is not necessary.
-UI Level: 5
-
-
^International("1073","Wobject");
-Select a style template from the list to enclose your Wobject if it is viewed directly. If the Wobject
-is displayed as part of a Layout Asset, the Layout Asset's Style Template is used instead.
-
-
^International("1079","Wobject");
-This sets the printable style for this page to be something other than the WebGUI Default Printable Style. It behaves similarly to the Style Template with respect to when it is used.
-
-
^International("85","Wobject");
A content area in which you can place as much content as you wish. For instance, even before a FAQ there is usually a paragraph describing what is contained in the FAQ.
-
-
^International("895","Wobject");
The amount of time this page should remain cached for registered users.
-UI Level: 8
-
-
^International("896","Wobject");
The amount of time this page should remain cached for visitors.
-UI Level: 8
-|
+
Wobjects are Assets, so they have all of the properties that Assets do. Additionally, most Wobjects share some basic properties. Those properties are:
| }, '626' => { lastUpdated => 1101775387, @@ -73,6 +55,41 @@ To add a wobject to a page, first go to that page, then select Add Content...| }, + + '174 description' => { + message => q|Do you wish to display the Wobject's title? On some sites, displaying the title is not necessary. +UI Level: 5|, + lastUpdated => 1119410887, + }, + + '1073 description' => { + message => q|Select a style template from the list to enclose your Wobject if it is viewed directly. If the Wobject +is displayed as part of a Layout Asset, the Layout Asset's Style Template is used instead.|, + lastUpdated => 1119410887, + }, + + '1079 description' => { + message => q|This sets the printable style for this page to be something other than the WebGUI Default Printable Style. It behaves similarly to the Style Template with respect to when it is used.|, + lastUpdated => 1119410887, + }, + + '85 description' => { + message => q|A content area in which you can place as much content as you wish. For instance, even before a FAQ there is usually a paragraph describing what is contained in the FAQ. |, + lastUpdated => 1119410887, + }, + + '895 description' => { + message => q|The amount of time this page should remain cached for registered users. +UI Level: 8|, + lastUpdated => 1119410887, + }, + + '896 description' => { + message => q|The amount of time this page should remain cached for visitors. +UI Level: 8|, + lastUpdated => 1119410887, + }, + '42' => { lastUpdated => 1031514049, message => q|Please Confirm|