diff --git a/lib/WebGUI/Help/WebGUI.pm b/lib/WebGUI/Help/WebGUI.pm index 1bb68f727..acf9059e6 100644 --- a/lib/WebGUI/Help/WebGUI.pm +++ b/lib/WebGUI/Help/WebGUI.pm @@ -634,6 +634,26 @@ our $HELP = { title => '933', body => '934', fields => [ + { + title => '903', + description => '903 description', + namespace => 'WebGUI', + }, + { + title => '904', + description => '904 description', + namespace => 'WebGUI', + }, + { + title => '905', + description => '905 description', + namespace => 'WebGUI', + }, + { + title => '906', + description => '906 description', + namespace => 'WebGUI', + }, ], related => [ { diff --git a/lib/WebGUI/Operation/Theme.pm b/lib/WebGUI/Operation/Theme.pm index a9b19d6c4..ceaf396fa 100644 --- a/lib/WebGUI/Operation/Theme.pm +++ b/lib/WebGUI/Operation/Theme.pm @@ -158,14 +158,35 @@ sub www_editTheme { $theme = WebGUI::SQL->quickHashRef("select * from theme where themeId=".quote($session{form}{themeId})); } $f = WebGUI::HTMLForm->new; - $f->hidden("op","editThemeSave"); - $f->hidden("themeId",$session{form}{themeId}); - $f->readOnly($session{form}{themeId},WebGUI::International::get(903)); - $f->text("name",WebGUI::International::get(904),$theme->{name}); - $f->text("designer",WebGUI::International::get(905),$theme->{designer}); + $f->hidden( + -name => "op", + -value => "editThemeSave", + ); + $f->hidden( + -name => "themeId", + -value => $session{form}{themeId}, + ); + $f->readOnly( + -name => $session{form}{themeId}, + -label => WebGUI::International::get(903), + -hoverHelp => WebGUI::International::get('903 description'), + ); + $f->text( + -name => "name", + -label => WebGUI::International::get(904), + -hoverHelp => WebGUI::International::get('904 description'), + -value => $theme, + ); + $f->text( + -name => "designer", + -label => WebGUI::International::get(905), + -hoverHelp => WebGUI::International::get('905 description'), + -value => $theme, + ); $f->url( -name=>"designerURL", -label=>WebGUI::International::get(906), + -hoverHelp=>WebGUI::International::get('906 description'), -value=>$theme->{designerURL} ); if ($session{form}{themeId} eq "new") { @@ -206,7 +227,7 @@ sub www_editTheme { } $sth->finish; } - return _submenu($output,'902',"theme add/edit"); + return _submenu($output,'902',"theme edit"); } #------------------------------------------------------------------- @@ -285,6 +306,7 @@ sub www_importTheme { $f->file( -name=>"themePackage", -label=>WebGUI::International::get(921) + -hoverHelp=>WebGUI::International::get('921 description') ); $f->submit(WebGUI::International::get(929)); return _submenu($f->print,'927',"theme import"); @@ -309,14 +331,17 @@ sub www_importThemeValidate { ); $f->readOnly( -label=>WebGUI::International::get(904), + -hoverHelp=>WebGUI::International::get('904 description'), -value=>$theme->{name} ); $f->readOnly( -label=>WebGUI::International::get(905), + -hoverHelp=>WebGUI::International::get('905 description'), -value=>$theme->{designer} ); $f->readOnly( -label=>WebGUI::International::get(906), + -hoverHelp=>WebGUI::International::get('906 description'), -value=>$theme->{designerURL} ); $f->hidden( diff --git a/lib/WebGUI/i18n/English/WebGUI.pm b/lib/WebGUI/i18n/English/WebGUI.pm index 69ae95e13..fd4411697 100644 --- a/lib/WebGUI/i18n/English/WebGUI.pm +++ b/lib/WebGUI/i18n/English/WebGUI.pm @@ -117,29 +117,34 @@ our $I18N = { lastUpdated => 1031514049 }, + '903 description' => { + message => q|The unique ID for this theme within this WebGUI site. This ID will change if this theme is imported into another site.|, + lastUpdated => 1120856677, + }, + + '904 description' => { + message => q|This is the unique name of the theme. It must be unique in every site that the theme will be imported into. This name will not change across sites.|, + lastUpdated => 1120856677, + }, + + '905 description' => { + message => q|The name of the person or company that created this theme. |, + lastUpdated => 1120856677, + }, + + '906 description' => { + message => q|The URL of the web site for this theme's designer. If you are in the business of creating themes for WebGUI, then this is your place to attract attention to your offerings.|, + lastUpdated => 1120856677, + }, + + '934' => { message => q|Creating and editing themes is a fairly simple process. First you set up some basic properties for the theme, and then you start adding components to the theme.

The basic properties of a theme cannot be changed by anyone except the site that the theme was created on. The following are the definitions of the basic properties of a theme:

-Theme ID
-The unique ID for this theme within this WebGUI site. This ID will change if this theme is imported into another site. -

- -Theme Name
-This is the unique name of the theme. It must be unique in every site that the theme will be imported into. This name will not change across sites. -

- -Theme Designer
-The name of the person or company that created this theme. -

- -Designer URL
-The URL of the web site for this theme's designer. If you are in the business of creating themes for WebGUI, then this is your place to attract attention to your offerings. -

- |, - lastUpdated => 1050430737 + lastUpdated => 1120856659 }, '978' => { @@ -1804,6 +1809,11 @@ You also cannot import a theme from a version of WebGUI that is newer than the o lastUpdated => 1050260403 }, + '921 description' => { + message => q|Select a file from your computer to import.|, + lastUpdated => 1120857461 + }, + '1069' => { message => q|Host To Use|, lastUpdated => 1066641432 @@ -2462,6 +2472,11 @@ div.tabs { lastUpdated => 1050262917 }, + '922 description' => { + message => q|The version of WebGUI that was used to create this theme.|, + lastUpdated => 1120857530 + }, + '871' => { message => q|Who can edit?|, lastUpdated => 1044218026