adapted for hover help
This commit is contained in:
parent
c465648595
commit
f66a33ab10
3 changed files with 176 additions and 77 deletions
|
|
@ -1021,18 +1021,21 @@ sub getEditForm {
|
||||||
$tabform->getTab("properties")->text(
|
$tabform->getTab("properties")->text(
|
||||||
-label=>WebGUI::International::get(99,"Asset"),
|
-label=>WebGUI::International::get(99,"Asset"),
|
||||||
-name=>"title",
|
-name=>"title",
|
||||||
|
-hoverHelp=>WebGUI::International::get('99 description','Asset'),
|
||||||
-value=>$self->get("title")
|
-value=>$self->get("title")
|
||||||
);
|
);
|
||||||
$tabform->getTab("properties")->text(
|
$tabform->getTab("properties")->text(
|
||||||
-label=>WebGUI::International::get(411,"Asset"),
|
-label=>WebGUI::International::get(411,"Asset"),
|
||||||
-name=>"menuTitle",
|
-name=>"menuTitle",
|
||||||
-value=>$self->get("menuTitle"),
|
-value=>$self->get("menuTitle"),
|
||||||
|
-hoverHelp=>WebGUI::International::get('411 description',"Asset"),
|
||||||
-uiLevel=>1
|
-uiLevel=>1
|
||||||
);
|
);
|
||||||
$tabform->getTab("properties")->text(
|
$tabform->getTab("properties")->text(
|
||||||
-name=>"url",
|
-name=>"url",
|
||||||
-label=>WebGUI::International::get(104,"Asset"),
|
-label=>WebGUI::International::get(104,"Asset"),
|
||||||
-value=>$self->get("url"),
|
-value=>$self->get("url"),
|
||||||
|
-hoverHelp=>WebGUI::International::get('104 description',"Asset"),
|
||||||
-uiLevel=>3
|
-uiLevel=>3
|
||||||
);
|
);
|
||||||
$tabform->addTab("display",WebGUI::International::get(105,"Asset"),5);
|
$tabform->addTab("display",WebGUI::International::get(105,"Asset"),5);
|
||||||
|
|
@ -1040,12 +1043,14 @@ sub getEditForm {
|
||||||
-name=>"isHidden",
|
-name=>"isHidden",
|
||||||
-value=>$self->get("isHidden"),
|
-value=>$self->get("isHidden"),
|
||||||
-label=>WebGUI::International::get(886,"Asset"),
|
-label=>WebGUI::International::get(886,"Asset"),
|
||||||
|
-hoverHelp=>WebGUI::International::get('886 description',"Asset"),
|
||||||
-uiLevel=>6
|
-uiLevel=>6
|
||||||
);
|
);
|
||||||
$tabform->getTab("display")->yesNo(
|
$tabform->getTab("display")->yesNo(
|
||||||
-name=>"newWindow",
|
-name=>"newWindow",
|
||||||
-value=>$self->get("newWindow"),
|
-value=>$self->get("newWindow"),
|
||||||
-label=>WebGUI::International::get(940,"Asset"),
|
-label=>WebGUI::International::get(940,"Asset"),
|
||||||
|
-hoverHelp=>WebGUI::International::get('940 description',"Asset"),
|
||||||
-uiLevel=>6
|
-uiLevel=>6
|
||||||
);
|
);
|
||||||
$tabform->addTab("security",WebGUI::International::get(107,"Asset"),6);
|
$tabform->addTab("security",WebGUI::International::get(107,"Asset"),6);
|
||||||
|
|
@ -1053,17 +1058,20 @@ sub getEditForm {
|
||||||
-name=>"encryptPage",
|
-name=>"encryptPage",
|
||||||
-value=>$self->get("encryptPage"),
|
-value=>$self->get("encryptPage"),
|
||||||
-label=>WebGUI::International::get('encrypt page',"Asset"),
|
-label=>WebGUI::International::get('encrypt page',"Asset"),
|
||||||
|
-hoverHelp=>WebGUI::International::get('encrypt page description',"Asset"),
|
||||||
-uiLevel=>6
|
-uiLevel=>6
|
||||||
);
|
);
|
||||||
$tabform->getTab("security")->dateTime(
|
$tabform->getTab("security")->dateTime(
|
||||||
-name=>"startDate",
|
-name=>"startDate",
|
||||||
-label=>WebGUI::International::get(497,"Asset"),
|
-label=>WebGUI::International::get(497,"Asset"),
|
||||||
|
-hoverHelp=>WebGUI::International::get('497 description',"Asset"),
|
||||||
-value=>$self->get("startDate"),
|
-value=>$self->get("startDate"),
|
||||||
-uiLevel=>6
|
-uiLevel=>6
|
||||||
);
|
);
|
||||||
$tabform->getTab("security")->dateTime(
|
$tabform->getTab("security")->dateTime(
|
||||||
-name=>"endDate",
|
-name=>"endDate",
|
||||||
-label=>WebGUI::International::get(498,"Asset"),
|
-label=>WebGUI::International::get(498,"Asset"),
|
||||||
|
-hoverHelp=>WebGUI::International::get('498 description',"Asset"),
|
||||||
-value=>$self->get("endDate"),
|
-value=>$self->get("endDate"),
|
||||||
-uiLevel=>6
|
-uiLevel=>6
|
||||||
);
|
);
|
||||||
|
|
@ -1086,6 +1094,7 @@ sub getEditForm {
|
||||||
-name=>"ownerUserId",
|
-name=>"ownerUserId",
|
||||||
-options=>$users,
|
-options=>$users,
|
||||||
-label=>WebGUI::International::get(108,"Asset"),
|
-label=>WebGUI::International::get(108,"Asset"),
|
||||||
|
-hoverHelp=>WebGUI::International::get('108 description',"Asset"),
|
||||||
-value=>[$self->get("ownerUserId")],
|
-value=>[$self->get("ownerUserId")],
|
||||||
-subtext=>$subtext,
|
-subtext=>$subtext,
|
||||||
-uiLevel=>6
|
-uiLevel=>6
|
||||||
|
|
@ -1093,12 +1102,14 @@ sub getEditForm {
|
||||||
$tabform->getTab("security")->group(
|
$tabform->getTab("security")->group(
|
||||||
-name=>"groupIdView",
|
-name=>"groupIdView",
|
||||||
-label=>WebGUI::International::get(872,"Asset"),
|
-label=>WebGUI::International::get(872,"Asset"),
|
||||||
|
-hoverHelp=>WebGUI::International::get('872 description',"Asset"),
|
||||||
-value=>[$self->get("groupIdView")],
|
-value=>[$self->get("groupIdView")],
|
||||||
-uiLevel=>6
|
-uiLevel=>6
|
||||||
);
|
);
|
||||||
$tabform->getTab("security")->group(
|
$tabform->getTab("security")->group(
|
||||||
-name=>"groupIdEdit",
|
-name=>"groupIdEdit",
|
||||||
-label=>WebGUI::International::get(871,"Asset"),
|
-label=>WebGUI::International::get(871,"Asset"),
|
||||||
|
-hoverHelp=>WebGUI::International::get('871 description',"Asset"),
|
||||||
-value=>[$self->get("groupIdEdit")],
|
-value=>[$self->get("groupIdEdit")],
|
||||||
-excludeGroups=>[1,7],
|
-excludeGroups=>[1,7],
|
||||||
-uiLevel=>6
|
-uiLevel=>6
|
||||||
|
|
@ -1107,24 +1118,28 @@ sub getEditForm {
|
||||||
$tabform->getTab("meta")->textarea(
|
$tabform->getTab("meta")->textarea(
|
||||||
-name=>"synopsis",
|
-name=>"synopsis",
|
||||||
-label=>WebGUI::International::get(412,"Asset"),
|
-label=>WebGUI::International::get(412,"Asset"),
|
||||||
|
-hoverHelp=>WebGUI::International::get('412 description',"Asset"),
|
||||||
-value=>$self->get("synopsis"),
|
-value=>$self->get("synopsis"),
|
||||||
-uiLevel=>3
|
-uiLevel=>3
|
||||||
);
|
);
|
||||||
$tabform->getTab("meta")->textarea(
|
$tabform->getTab("meta")->textarea(
|
||||||
-name=>"extraHeadTags",
|
-name=>"extraHeadTags",
|
||||||
-label=>WebGUI::International::get("extra head tags","Asset"),
|
-label=>WebGUI::International::get("extra head tags","Asset"),
|
||||||
|
-hoverHelp=>WebGUI::International::get('extra head tags description',"Asset"),
|
||||||
-value=>$self->get("extraHeadTags"),
|
-value=>$self->get("extraHeadTags"),
|
||||||
-uiLevel=>5
|
-uiLevel=>5
|
||||||
);
|
);
|
||||||
$tabform->getTab("meta")->yesNo(
|
$tabform->getTab("meta")->yesNo(
|
||||||
-name=>"isPackage",
|
-name=>"isPackage",
|
||||||
-label=>WebGUI::International::get("make package","Asset"),
|
-label=>WebGUI::International::get("make package","Asset"),
|
||||||
|
-hoverHelp=>WebGUI::International::get('make package description',"Asset"),
|
||||||
-value=>$self->getValue("isPackage"),
|
-value=>$self->getValue("isPackage"),
|
||||||
-uiLevel=>7
|
-uiLevel=>7
|
||||||
);
|
);
|
||||||
$tabform->getTab("meta")->yesNo(
|
$tabform->getTab("meta")->yesNo(
|
||||||
-name=>"isPrototype",
|
-name=>"isPrototype",
|
||||||
-label=>WebGUI::International::get("make prototype","Asset"),
|
-label=>WebGUI::International::get("make prototype","Asset"),
|
||||||
|
-hoverHelp=>WebGUI::International::get('make prototype description',"Asset"),
|
||||||
-value=>$self->getValue("isPrototype"),
|
-value=>$self->getValue("isPrototype"),
|
||||||
-uiLevel=>9
|
-uiLevel=>9
|
||||||
);
|
);
|
||||||
|
|
@ -1153,6 +1168,7 @@ sub getEditForm {
|
||||||
-value=>'<p><a href="'.WebGUI::URL::page("func=editMetaDataField&fid=new").'">'.
|
-value=>'<p><a href="'.WebGUI::URL::page("func=editMetaDataField&fid=new").'">'.
|
||||||
WebGUI::International::get('Add new field','Asset').
|
WebGUI::International::get('Add new field','Asset').
|
||||||
'</a></p>'
|
'</a></p>'
|
||||||
|
-hoverHelp=>WebGUI::International::get('make prototype description',"Asset"),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return $tabform;
|
return $tabform;
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,74 @@ our $HELP = {
|
||||||
title => 'asset fields title',
|
title => 'asset fields title',
|
||||||
body => 'asset fields body',
|
body => 'asset fields body',
|
||||||
fields => [
|
fields => [
|
||||||
|
{
|
||||||
|
title => 'asset id',
|
||||||
|
description => 'asset id description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => '99',
|
||||||
|
description => '99 description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => '411',
|
||||||
|
description => '411 description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => '104',
|
||||||
|
description => '104 description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => '412',
|
||||||
|
description => '412 description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => '886',
|
||||||
|
description => '886 description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => '940',
|
||||||
|
description => '940 description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => 'encrypt page',
|
||||||
|
description => 'encrypt page description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => '497',
|
||||||
|
description => '497 description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => '498',
|
||||||
|
description => '498 description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => '108',
|
||||||
|
description => '108 description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => '872',
|
||||||
|
description => '872 description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => '871',
|
||||||
|
description => '871 description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => '412',
|
||||||
|
description => '412 description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => 'extra head tags',
|
||||||
|
description => 'extra head tags description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => 'make package',
|
||||||
|
description => 'make package description'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title => 'make prototype',
|
||||||
|
description => 'make prototype description'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
related => [
|
related => [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -143,118 +143,133 @@ our $I18N = {
|
||||||
},
|
},
|
||||||
|
|
||||||
'asset fields body' => {
|
'asset fields body' => {
|
||||||
message => q|
|
message => q|These are the base properties that all Assets share:<p>|,
|
||||||
<P><B>^International("asset id","Asset");</B><BR>This is the unique identifier WebGUI uses to keep track of this Asset instance. Normal users should never need to be concerned with the Asset ID, but some advanced users may need to know it for things like SQL Reports. The Asset ID is not editable.</P>
|
context => q|Describing the form to add or edit an Asset.|,
|
||||||
|
lastUpdated => 1111984345,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'asset id description' => {
|
||||||
<b>^International("99","Asset");</b><br>
|
message => q|This is the unique identifier WebGUI uses to keep track of this Asset instance. Normal users should never need to be concerned with the Asset ID, but some advanced users may need to know it for things like SQL Reports. The Asset ID is not editable.</P>|,
|
||||||
The title of the asset. This should be descriptive, but not very long. If left
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
|
'99 description' => {
|
||||||
|
message => q|The title of the asset. This should be descriptive, but not very long. If left
|
||||||
blank, this will be set to "Untitled".
|
blank, this will be set to "Untitled".
|
||||||
</p>
|
</p>
|
||||||
<P><I>Note:</I> You should always specify a title, even if the Asset template will not use it. In various places on the site, like the Page Tree, Clipboard and Trash, the <B>Title</B> is used to distinguish this Asset from others.</p>
|
<P><I>Note:</I> You should always specify a title, even if the Asset template will not use it. In various places on the site, like the Page Tree, Clipboard and Trash, the <B>Title</B> is used to distinguish this Asset from others.</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'411 description' => {
|
||||||
<b>^International("411","Asset");</b><br>
|
message => q|A shorter title that will appear in navigation. If left blank, this will default
|
||||||
A shorter title that will appear in navigation. If left blank, this will default
|
|
||||||
to the <b>Title</b>.<br>
|
to the <b>Title</b>.<br>
|
||||||
<i>UI level: 1</i>
|
<i>UI level: 1</i>
|
||||||
</p>
|
</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'104 description' => {
|
||||||
<b>^International("104","Asset");</b><br>
|
message => q|The URL for this asset. It must be unique. If this field is left blank, then
|
||||||
The URL for this asset. It must be unique. If this field is left blank, then
|
|
||||||
a URL will be made from the parent's URL and the <b>Menu Title</b>.<br>
|
a URL will be made from the parent's URL and the <b>Menu Title</b>.<br>
|
||||||
<i>UI level: 3</i>
|
<i>UI level: 3</i>
|
||||||
</p>
|
</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'412 description' => {
|
||||||
<b>^International("412","Asset");</b><br>
|
message => q|A short description of this Asset. <br>
|
||||||
A short description of this Asset. <br>
|
|
||||||
<i>UI level: 6</i>
|
<i>UI level: 6</i>
|
||||||
</p>
|
</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'886 description' => {
|
||||||
<b>^International("886","Asset");</b><br>
|
message => q|Whether or not this asset will be hidden from the navigation menu and site maps.<br>
|
||||||
Whether or not this asset will be hidden from the navigation menu and site maps.<br>
|
|
||||||
<i>UI level: 6</i>
|
<i>UI level: 6</i>
|
||||||
</p>
|
</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'940 description' => {
|
||||||
<b>^International("940","Asset");</b><br>
|
message => q|Select yes to open this asset in a new window.<br>
|
||||||
Select yes to open this asset in a new window.<br>
|
|
||||||
<i>UI level: 6</i>
|
<i>UI level: 6</i>
|
||||||
</p>
|
</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'encrypt page description' => {
|
||||||
<b>Encrypt page?</b><br>
|
message => q|Should the page containing this asset be served over SSL?<br>
|
||||||
Should this page containing this asset be served over SSL?<br>
|
|
||||||
<i>UI level: 6</i>
|
<i>UI level: 6</i>
|
||||||
</p>
|
</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'497 description' => {
|
||||||
<b>^International("497","Asset");</b><br>
|
message => q|The date when users may begin viewing this asset. Before this date only Content Managers with the rights to edit this asset will see it<br>
|
||||||
The date when users may begin viewing this asset. Before this date only Content Managers with the rights to edit this asset will see it<br>
|
|
||||||
<i>UI level: 6</i>.
|
<i>UI level: 6</i>.
|
||||||
</p>
|
</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'498 description' => {
|
||||||
<b>^International("498","Asset");</b><br>
|
message => q|The date when users will stop viewing this asset. After this date only Content Managers with the rights to edit this asset will see it.<br>
|
||||||
The date when users will stop viewing this asset. After this date only Content Managers with the rights to edit this asset will see it.<br>
|
<i>UI level: 6</i>
|
||||||
|
</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
|
'108 description' => {
|
||||||
|
message => q|The owner of a asset is usually the person who created the asset. This user always has full edit and viewing rights on the asset.<br>
|
||||||
<i>UI level: 6</i>
|
<i>UI level: 6</i>
|
||||||
</p>
|
</p>
|
||||||
|
<p> <b>NOTE:</b> The owner can only be changed by an administrator.
|
||||||
|
</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'872 description' => {
|
||||||
<b>^International("108","Asset");</b><br>
|
message => q|Choose which group can view this asset. If you want both visitors and registered users to be able to view the asset then you should choose the "Everybody" group.<br>
|
||||||
The owner of a asset is usually the person who created the asset. This user always has full edit and viewing rights on the asset.<br>
|
|
||||||
<i>UI level: 6</i>
|
<i>UI level: 6</i>
|
||||||
</p>
|
</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'871 description' => {
|
||||||
<b>NOTE:</b> The owner can only be changed by an administrator.
|
message => q|Choose the group that can edit this asset. The group assigned editing rights can also always view the asset.<br>
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>^International("872","Asset");</b><br>
|
|
||||||
Choose which group can view this asset. If you want both visitors and registered users to be able to view the asset then you should choose the "Everybody" group.<br>
|
|
||||||
<i>UI level: 6</i>
|
<i>UI level: 6</i>
|
||||||
</p>
|
</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'412 description' => {
|
||||||
<b>^International("871","Asset");</b><br>
|
message => q|A short description of this Asset.<br>
|
||||||
Choose the group that can edit this asset. The group assigned editing rights can also always view the asset.<br>
|
|
||||||
<i>UI level: 6</i>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<b>^International("412","Asset");</b><br>
|
|
||||||
A short description of this Asset.<br>
|
|
||||||
<i>UI level: 3</i>
|
<i>UI level: 3</i>
|
||||||
</p>
|
</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'extra head tags description' => {
|
||||||
<b>^International("extra head tags","Asset");</b><br>
|
message => q|These tags will be added to the <HEAD> section of each page that the asset appears on.<br>
|
||||||
These tags will be added to the <HEAD> section of each page that the asset appears on.<br>
|
|
||||||
<i>UI level: 5</i>
|
<i>UI level: 5</i>
|
||||||
</p>
|
</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'make package description' => {
|
||||||
<b>^International("make package","Asset");</b><br>
|
message => q|Many WebGUI tasks are very repetitive. Automating such tasks in Webgui, such as
|
||||||
Many WebGUI tasks are very repetitive. Automating such tasks in Webgui, such as
|
|
||||||
creating an Asset, or sets of Assets, is done by creating a package that can be reused
|
creating an Asset, or sets of Assets, is done by creating a package that can be reused
|
||||||
through the site. Check yes if you want this Asset to be available as a package.<br>
|
through the site. Check yes if you want this Asset to be available as a package.<br>
|
||||||
<i>UI level: 7</i>
|
<i>UI level: 7</i>
|
||||||
</p>
|
</p>|,
|
||||||
|
lastUpdated => 1119149899,
|
||||||
|
},
|
||||||
|
|
||||||
<p>
|
'make prototype description' => {
|
||||||
<b>^International("make prototype","Asset");</b><br>
|
message => q|Chances are if you like assets to be configured a certain way, then you'll find prototypes useful. By setting an asset as a prototype you can create new items in your add content menu configured exactly as you like. For instance, if you use the Collaboration System as a photo gallery, then create a photo gallery and mark it as a prototype. From then on you can just "Add content > New Content > Photo Gallery".<br>
|
||||||
Chances are if you like assets to be configured a certain way, then you'll find prototypes useful. By setting an asset as a prototype you can create new items in your add content menu configured exactly as you like. For instance, if you use the Collaboration System as a photo gallery, then create a photo gallery and mark it as a prototype. From then on you can just "Add content > New Content > Photo Gallery".<br>
|
<i>UI level: 9</i>|,
|
||||||
<i>UI level: 9</i>
|
lastUpdated => 1119149899,
|
||||||
</p>
|
},
|
||||||
|
|
||||||
|,
|
|
||||||
context => q|Describing the form to add or edit an Asset.|,
|
|
||||||
lastUpdated => 1111984345,
|
|
||||||
},
|
|
||||||
|
|
||||||
'asset fields title' => {
|
'asset fields title' => {
|
||||||
message => q|Asset, Common Fields|,
|
message => q|Asset, Common Fields|,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue