table of contents with internationalization
This commit is contained in:
parent
854ce5999b
commit
56e5b7ef2b
117 changed files with 628 additions and 228 deletions
|
|
@ -33,7 +33,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get(511,"Asset_Event"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_Event"),
|
||||
icon=>'calendar.gif',
|
||||
tableName=>'EventsCalendar_event',
|
||||
className=>'WebGUI::Asset::Event',
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get('file',"Asset_File"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_File"),
|
||||
tableName=>'FileAsset',
|
||||
className=>'WebGUI::Asset::File',
|
||||
properties=>{
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get('image',"Asset_Image"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_Image"),
|
||||
tableName=>'ImageAsset',
|
||||
className=>'WebGUI::Asset::File::Image',
|
||||
properties=>{
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ Returns the displayable name of this asset.
|
|||
=cut
|
||||
|
||||
sub getName {
|
||||
return WebGUI::International::get('file pile',"Asset_FilePile");
|
||||
return WebGUI::International::get('assetName',"Asset_FilePile");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get('post',"Asset_Post"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_Post"),
|
||||
icon=>'post.gif',
|
||||
tableName=>'Post',
|
||||
className=>'WebGUI::Asset::Post',
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get('thread',"Asset_Thread"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_Thread"),
|
||||
icon=>'thread.gif',
|
||||
tableName=>'Thread',
|
||||
className=>'WebGUI::Asset::Post::Thread',
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get('redirect',"Asset_Redirect"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_Redirect"),
|
||||
uiLevel => 9,
|
||||
icon=>'redirect.gif',
|
||||
tableName=>'redirect',
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>'Rich Editor',
|
||||
assetName=>WebGUI::International::get('assetName','Asset_RichEdit'),
|
||||
icon=>'richEdit.gif',
|
||||
uiLevel => 5,
|
||||
tableName=>'RichEdit',
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get(3,"Asset_Shortcut"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_Shortcut"),
|
||||
icon=>'shortcut.gif',
|
||||
tableName=>'Shortcut',
|
||||
className=>'WebGUI::Asset::Shortcut',
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get('snippet',"Asset_Snippet"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_Snippet"),
|
||||
uiLevel => 5,
|
||||
icon=>'snippet.gif',
|
||||
tableName=>'snippet',
|
||||
|
|
@ -104,7 +104,7 @@ sub getEditForm {
|
|||
}
|
||||
$tabform->getTab("properties")->codearea(
|
||||
-name=>"snippet",
|
||||
-label=>WebGUI::International::get('snippet', 'Asset_Snippet'),
|
||||
-label=>WebGUI::International::get('assetName', 'Asset_Snippet'),
|
||||
-hoverHelp=>WebGUI::International::get('snippet description', 'Asset_Snippet'),
|
||||
-value=>$self->getValue("snippet")
|
||||
);
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get('template',"Asset_Template"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_Template"),
|
||||
icon=>'template.gif',
|
||||
tableName=>'template',
|
||||
className=>'WebGUI::Asset::Template',
|
||||
|
|
@ -171,7 +171,7 @@ sub getEditForm {
|
|||
);
|
||||
$tabform->getTab("properties")->codearea(
|
||||
-name=>"template",
|
||||
-label=>WebGUI::International::get('template', 'Asset_Template'),
|
||||
-label=>WebGUI::International::get('assetName', 'Asset_Template'),
|
||||
-hoverHelp=>WebGUI::International::get('template description', 'Asset_Template'),
|
||||
-value=>$self->getValue("template")
|
||||
);
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ sub definition {
|
|||
}
|
||||
);
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get(1,"Asset_Article"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_Article"),
|
||||
icon=>'article.gif',
|
||||
autoGenerateForms=>1,
|
||||
tableName=>'Article',
|
||||
|
|
|
|||
|
|
@ -258,7 +258,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get('collaboration system',"Asset_Collaboration"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_Collaboration"),
|
||||
icon=>'collaboration.gif',
|
||||
tableName=>'Collaboration',
|
||||
className=>'WebGUI::Asset::Wobject::Collaboration',
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get(1,"Asset_DataForm"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_DataForm"),
|
||||
uiLevel => 5,
|
||||
tableName=>'DataForm',
|
||||
icon=>'dataForm.gif',
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get(2,"Asset_EventsCalendar"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_EventsCalendar"),
|
||||
uiLevel => 9,
|
||||
icon=>'calendar.gif',
|
||||
tableName=>'EventsCalendar',
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get("folder","Asset_Folder"),
|
||||
assetName=>WebGUI::International::get("assetName","Asset_Folder"),
|
||||
uiLevel => 5,
|
||||
icon=>'folder.gif',
|
||||
tableName=>'Folder',
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get(3,"Asset_HttpProxy"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_HttpProxy"),
|
||||
uiLevel => 5,
|
||||
icon=>'httpProxy.gif',
|
||||
tableName=>'HttpProxy',
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get("layout","Asset_Layout"),
|
||||
assetName=>WebGUI::International::get("assetName","Asset_Layout"),
|
||||
icon=>'layout.gif',
|
||||
tableName=>'Layout',
|
||||
className=>'WebGUI::Asset::Wobject::Layout',
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ sub definition {
|
|||
}
|
||||
);
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get(2,"Asset_MessageBoard"),
|
||||
assetName=>WebGUI::International::get(assetName,"Asset_MessageBoard"),
|
||||
icon=>'messageBoard.gif',
|
||||
tableName=>'MessageBoard',
|
||||
className=>'WebGUI::Asset::Wobject::MessageBoard',
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get("navigation","Asset_Navigation"),
|
||||
assetName=>WebGUI::International::get("assetName","Asset_Navigation"),
|
||||
icon=>'navigation.gif',
|
||||
tableName=>'Navigation',
|
||||
className=>'WebGUI::Asset::Wobject::Navigation',
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get(1,"Asset_Poll"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_Poll"),
|
||||
tableName=>'Poll',
|
||||
icon=>'poll.gif',
|
||||
className=>'WebGUI::Asset::Wobject::Poll',
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get(1,"Asset_Product"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_Product"),
|
||||
icon=>'product.gif',
|
||||
tableName=>'Product',
|
||||
className=>'WebGUI::Asset::Wobject::Product',
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get(1,"Asset_SQLReport"),
|
||||
assetName=>WebGUI::International::get('assetName',"Asset_SQLReport"),
|
||||
uiLevel => 9,
|
||||
icon=>'sqlReport.gif',
|
||||
tableName=>'SQLReport',
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ sub definition {
|
|||
my $class = shift;
|
||||
my $definition = shift;
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get(1,'Asset_Survey'),
|
||||
assetName=>WebGUI::International::get('assetName','Asset_Survey'),
|
||||
uiLevel => 5,
|
||||
icon=>'survey.gif',
|
||||
tableName => 'Survey',
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ sub definition {
|
|||
}
|
||||
);
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get(2,'Asset_SyndicatedContent'),
|
||||
assetName=>WebGUI::International::get('assetName','Asset_SyndicatedContent'),
|
||||
uiLevel=>6,
|
||||
autoGenerateForms=>1,
|
||||
icon=>'syndicatedContent.gif',
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ my $httpHeaderFieldType;
|
|||
$httpHeaderFieldType = 'hidden';
|
||||
}
|
||||
push(@{$definition}, {
|
||||
assetName=>WebGUI::International::get(1, "Asset_WSClient"),
|
||||
assetName=>WebGUI::International::get('assetName', "Asset_WSClient"),
|
||||
uiLevel=>9,
|
||||
icon=>'web_services.gif',
|
||||
tableName=>'WSClient',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue