diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index 433630796..2bb12f6fb 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -1021,18 +1021,21 @@ sub getEditForm { $tabform->getTab("properties")->text( -label=>WebGUI::International::get(99,"Asset"), -name=>"title", + -hoverHelp=>WebGUI::International::get('99 description','Asset'), -value=>$self->get("title") ); $tabform->getTab("properties")->text( -label=>WebGUI::International::get(411,"Asset"), -name=>"menuTitle", -value=>$self->get("menuTitle"), + -hoverHelp=>WebGUI::International::get('411 description',"Asset"), -uiLevel=>1 ); $tabform->getTab("properties")->text( -name=>"url", -label=>WebGUI::International::get(104,"Asset"), -value=>$self->get("url"), + -hoverHelp=>WebGUI::International::get('104 description',"Asset"), -uiLevel=>3 ); $tabform->addTab("display",WebGUI::International::get(105,"Asset"),5); @@ -1040,12 +1043,14 @@ sub getEditForm { -name=>"isHidden", -value=>$self->get("isHidden"), -label=>WebGUI::International::get(886,"Asset"), + -hoverHelp=>WebGUI::International::get('886 description',"Asset"), -uiLevel=>6 ); $tabform->getTab("display")->yesNo( -name=>"newWindow", -value=>$self->get("newWindow"), -label=>WebGUI::International::get(940,"Asset"), + -hoverHelp=>WebGUI::International::get('940 description',"Asset"), -uiLevel=>6 ); $tabform->addTab("security",WebGUI::International::get(107,"Asset"),6); @@ -1053,17 +1058,20 @@ sub getEditForm { -name=>"encryptPage", -value=>$self->get("encryptPage"), -label=>WebGUI::International::get('encrypt page',"Asset"), + -hoverHelp=>WebGUI::International::get('encrypt page description',"Asset"), -uiLevel=>6 ); $tabform->getTab("security")->dateTime( -name=>"startDate", -label=>WebGUI::International::get(497,"Asset"), + -hoverHelp=>WebGUI::International::get('497 description',"Asset"), -value=>$self->get("startDate"), -uiLevel=>6 ); $tabform->getTab("security")->dateTime( -name=>"endDate", -label=>WebGUI::International::get(498,"Asset"), + -hoverHelp=>WebGUI::International::get('498 description',"Asset"), -value=>$self->get("endDate"), -uiLevel=>6 ); @@ -1086,6 +1094,7 @@ sub getEditForm { -name=>"ownerUserId", -options=>$users, -label=>WebGUI::International::get(108,"Asset"), + -hoverHelp=>WebGUI::International::get('108 description',"Asset"), -value=>[$self->get("ownerUserId")], -subtext=>$subtext, -uiLevel=>6 @@ -1093,12 +1102,14 @@ sub getEditForm { $tabform->getTab("security")->group( -name=>"groupIdView", -label=>WebGUI::International::get(872,"Asset"), + -hoverHelp=>WebGUI::International::get('872 description',"Asset"), -value=>[$self->get("groupIdView")], -uiLevel=>6 ); $tabform->getTab("security")->group( -name=>"groupIdEdit", -label=>WebGUI::International::get(871,"Asset"), + -hoverHelp=>WebGUI::International::get('871 description',"Asset"), -value=>[$self->get("groupIdEdit")], -excludeGroups=>[1,7], -uiLevel=>6 @@ -1107,24 +1118,28 @@ sub getEditForm { $tabform->getTab("meta")->textarea( -name=>"synopsis", -label=>WebGUI::International::get(412,"Asset"), + -hoverHelp=>WebGUI::International::get('412 description',"Asset"), -value=>$self->get("synopsis"), -uiLevel=>3 ); $tabform->getTab("meta")->textarea( -name=>"extraHeadTags", -label=>WebGUI::International::get("extra head tags","Asset"), + -hoverHelp=>WebGUI::International::get('extra head tags description',"Asset"), -value=>$self->get("extraHeadTags"), -uiLevel=>5 ); $tabform->getTab("meta")->yesNo( -name=>"isPackage", -label=>WebGUI::International::get("make package","Asset"), + -hoverHelp=>WebGUI::International::get('make package description',"Asset"), -value=>$self->getValue("isPackage"), -uiLevel=>7 ); $tabform->getTab("meta")->yesNo( -name=>"isPrototype", -label=>WebGUI::International::get("make prototype","Asset"), + -hoverHelp=>WebGUI::International::get('make prototype description',"Asset"), -value=>$self->getValue("isPrototype"), -uiLevel=>9 ); @@ -1153,6 +1168,7 @@ sub getEditForm { -value=>'
'. WebGUI::International::get('Add new field','Asset'). '
' + -hoverHelp=>WebGUI::International::get('make prototype description',"Asset"), ); } return $tabform; diff --git a/lib/WebGUI/Help/Asset.pm b/lib/WebGUI/Help/Asset.pm index 066632035..deb518257 100644 --- a/lib/WebGUI/Help/Asset.pm +++ b/lib/WebGUI/Help/Asset.pm @@ -8,6 +8,74 @@ our $HELP = { title => 'asset fields title', body => 'asset fields body', 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 => [ { diff --git a/lib/WebGUI/i18n/English/Asset.pm b/lib/WebGUI/i18n/English/Asset.pm index 988ae4128..1a65d7d7a 100644 --- a/lib/WebGUI/i18n/English/Asset.pm +++ b/lib/WebGUI/i18n/English/Asset.pm @@ -143,118 +143,133 @@ our $I18N = { }, 'asset fields body' => { - message => q| -^International("asset id","Asset");
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.
|, + context => q|Describing the form to add or edit an Asset.|, + lastUpdated => 1111984345, + }, -
-^International("99","Asset");
-The title of the asset. This should be descriptive, but not very long. If left
+ 'asset id description' => {
+ 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.
Note: 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 Title is used to distinguish this Asset from others.
+Note: 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 Title is used to distinguish this Asset from others.
|, + lastUpdated => 1119149899, + }, -
-^International("411","Asset");
-A shorter title that will appear in navigation. If left blank, this will default
+ '411 description' => {
+ message => q|A shorter title that will appear in navigation. If left blank, this will default
to the Title.
UI level: 1
-
-^International("104","Asset");
-The URL for this asset. It must be unique. If this field is left blank, then
+ '104 description' => {
+ message => q|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 Menu Title.
UI level: 3
-
-^International("412","Asset");
-A short description of this Asset.
+ '412 description' => {
+ message => q|A short description of this Asset.
UI level: 6
-
-^International("886","Asset");
-Whether or not this asset will be hidden from the navigation menu and site maps.
+ '886 description' => {
+ message => q|Whether or not this asset will be hidden from the navigation menu and site maps.
UI level: 6
-
-^International("940","Asset");
-Select yes to open this asset in a new window.
+ '940 description' => {
+ message => q|Select yes to open this asset in a new window.
UI level: 6
-
-Encrypt page?
-Should this page containing this asset be served over SSL?
+ 'encrypt page description' => {
+ message => q|Should the page containing this asset be served over SSL?
UI level: 6
-
-^International("497","Asset");
-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
+ '497 description' => {
+ 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
UI level: 6.
-
-^International("498","Asset");
-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.
+ '498 description' => {
+ 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.
+UI level: 6
+
NOTE: The owner can only be changed by an administrator. +
|, + lastUpdated => 1119149899, + }, -
-^International("108","Asset");
-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.
+ '872 description' => {
+ 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.
UI level: 6
-
-NOTE: The owner can only be changed by an administrator. -
- -
-^International("872","Asset");
-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.
+ '871 description' => {
+ message => q|Choose the group that can edit this asset. The group assigned editing rights can also always view the asset.
UI level: 6
-
-^International("871","Asset");
-Choose the group that can edit this asset. The group assigned editing rights can also always view the asset.
-UI level: 6
-
-^International("412","Asset");
-A short description of this Asset.
+ '412 description' => {
+ message => q|A short description of this Asset.
UI level: 3
-
-^International("extra head tags","Asset");
-These tags will be added to the <HEAD> section of each page that the asset appears on.
+ 'extra head tags description' => {
+ message => q|These tags will be added to the <HEAD> section of each page that the asset appears on.
UI level: 5
-
-^International("make package","Asset");
-Many WebGUI tasks are very repetitive. Automating such tasks in Webgui, such as
+ 'make package description' => {
+ message => q|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
through the site. Check yes if you want this Asset to be available as a package.
UI level: 7
-
-^International("make prototype","Asset");
-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".
-UI level: 9
-