hover help

This commit is contained in:
Colin Kuskie 2005-06-22 03:29:15 +00:00
parent e07a72727d
commit 24f258eea8
3 changed files with 81 additions and 28 deletions

View file

@ -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
);

View file

@ -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 => [
{

View file

@ -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.
<p/>
<b>title</b><br/>
The title for this wobject.
<p/>
<p/>
<b>displayTitle</b><br/>
A conditional variable for whether or not the title should be displayed.
<p/>
<p/>
<b>description</b><br/>
The description of this wobject.
<p/>
<p/>
<b>wobjectId</b><br/>
The unique identifier that WebGUI uses to control this wobject.
<p/>
<p/>
<b>isShortcut</b><br />
A conditional indicating if this wobject is a shortcut to an original wobject.
<p />
<p />
<b>originalURL</b><br />
If this wobject is a shortcut, then this URL will direct you to the original wobject.
<p />|
|
},
'1079' => {
lastUpdated => 1073152790,
@ -39,29 +41,9 @@ If this wobject is a shortcut, then this URL will direct you to the original wob
message => q|Wobject Template|
},
'632' => {
lastUpdated => 1112031533,
lastUpdated => 1119410914,
message => q|<p>You can add wobjects by selecting from the <I>^International("1","WebGUI");</I> 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.</p>
<p>Wobjects are Assets, so they have all of the properties that Assets do. Additionally, most Wobjects share some basic properties. Those properties are:</p>
<P><B>^International("174","Wobject");</B><BR>
Do you wish to display the Wobject's title? On some sites, displaying the title is not necessary.
<i>UI Level: 5</i>
<P><b>^International("1073","Wobject");</b><br>
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 <b>Style Template</b> is used instead.
<p><b>^International("1079","Wobject");</b><br>
This sets the printable style for this page to be something other than the WebGUI Default Printable Style. It behaves similarly to the <b>Style Template</b> with respect to when it is used.
<P><B>^International("85","Wobject");</B><BR>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.
<P><B>^International("895","Wobject");</B><BR>The amount of time this page should remain cached for registered users.
<i>UI Level: 8</i>
<P><B>^International("896","Wobject");</B><BR>The amount of time this page should remain cached for visitors.
<i>UI Level: 8</i>
|
<p>Wobjects are Assets, so they have all of the properties that Assets do. Additionally, most Wobjects share some basic properties. Those properties are:</p>|
},
'626' => {
lastUpdated => 1101775387,
@ -73,6 +55,41 @@ To add a wobject to a page, first go to that page, then select <b>Add Content...
<p>
|
},
'174 description' => {
message => q|Do you wish to display the Wobject's title? On some sites, displaying the title is not necessary.
<i>UI Level: 5</i>|,
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 <b>Style Template</b> 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 <b>Style Template</b> 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.
<i>UI Level: 8</i>|,
lastUpdated => 1119410887,
},
'896 description' => {
message => q|The amount of time this page should remain cached for visitors.
<i>UI Level: 8</i>|,
lastUpdated => 1119410887,
},
'42' => {
lastUpdated => 1031514049,
message => q|Please Confirm|