From f90672ba83d6507de2c0a807d8a1e2bdf80a133b Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 27 Jun 2005 02:51:08 +0000 Subject: [PATCH] add default hover help for databaseLink --- lib/WebGUI/HTMLForm.pm | 1 + lib/WebGUI/i18n/English/WebGUI.pm | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/lib/WebGUI/HTMLForm.pm b/lib/WebGUI/HTMLForm.pm index 073f2e607..c8b21003f 100644 --- a/lib/WebGUI/HTMLForm.pm +++ b/lib/WebGUI/HTMLForm.pm @@ -865,6 +865,7 @@ sub databaseLink { rearrange([qw(name value label afterEdit extras uiLevel defaultValue hoverHelp)], @p); if (_uiLevelChecksOut($uiLevel)) { $label = $label || WebGUI::International::get(1075); + $hoverHelp = $hoverHelp || WebGUI::International::get('1075 description'); if (WebGUI::Grouping::isInGroup(3)) { if ($afterEdit) { $subtext = editIcon("op=editDatabaseLink&lid=".$value."&afterEdit=".WebGUI::URL::escape($afterEdit)); diff --git a/lib/WebGUI/i18n/English/WebGUI.pm b/lib/WebGUI/i18n/English/WebGUI.pm index 94ae99212..64e91d7fa 100644 --- a/lib/WebGUI/i18n/English/WebGUI.pm +++ b/lib/WebGUI/i18n/English/WebGUI.pm @@ -779,6 +779,11 @@ As with any delete operation, you are prompted to be sure you wish to proceed wi lastUpdated => 1056151382 }, + '1075 description' => { + message => q|Select one of these databases to run your query against.|, + lastUpdated => 1119840669, + }, + '381' => { message => q|WebGUI received a malformed request and was unable to continue. Proprietary characters being passed through a form typically cause this. Please feel free to hit your back button and try again.|, lastUpdated => 1031514049