From 16452c0677ea1671edbc111f6655e4ae06d24fe2 Mon Sep 17 00:00:00 2001 From: Yung Han Khoe Date: Thu, 22 Jan 2009 18:23:01 +0000 Subject: [PATCH] Adding hoverhelp to Survey Edit Section dialog --- ...t_import_survey_default-section-edit.wgpkg | Bin 0 -> 1708 bytes ...ot_import_survey_default-survey-edit.wgpkg | Bin 0 -> 1437 bytes lib/WebGUI/i18n/English/Asset_Survey.pm | 67 ++++++++++++++++++ .../wobject/Survey/editsurvey/object.js | 1 + 4 files changed, 68 insertions(+) create mode 100644 docs/upgrades/packages-7.6.10/root_import_survey_default-section-edit.wgpkg create mode 100644 docs/upgrades/packages-7.6.10/root_import_survey_default-survey-edit.wgpkg diff --git a/docs/upgrades/packages-7.6.10/root_import_survey_default-section-edit.wgpkg b/docs/upgrades/packages-7.6.10/root_import_survey_default-section-edit.wgpkg new file mode 100644 index 0000000000000000000000000000000000000000..300ef2ccd48dc4414ed6c364481fffeb220b1ba3 GIT binary patch literal 1708 zcmV;d22=STiwFP!000001MOK`Z`(E$_H%y);TLT{Q%mu!$!rg8nk-)1BwLboz_Jyx z#Mo?QQX{E2?$H0fLsFDv%TCMgI{Xt&%7@>~z*ArRUAlL+Z^aBYGI!-PEC9s~)G3ex=la7~XYslD~` zf9ret_sbWb1fv`B1T?l9jb-`wn)Uj8{_Blqy@CME?LXVf|BLOrz6lHeJcC786_Rm( zh^uHH{qg5>{VL`x##|CC)LT7G%?vp9B@SOt)!S;lswb;~$QSbPHf9_~UuhYdL{T;j zt4wPB)i@bMM2v8l%The~KxoJ&TB(~4h$&^UAZ2xILNUJ-nD@hZNARuW{xSB$3x8M^ z^o77O74q2YUqx`z4~|azJMrNKKR6ZftK53RBdwe>CTnD@VylUS-{5I2#Mgcj$sK_M zNf_P1A(6Qt5yvD9G1byu@%!hZg-W9*1`fUI?5M5^!I=#R8RANqj<(waV=fn~A1x8rCMX4kr^qTRpp5r`sUMXZg zp6mFW?|3qN!aVu;@p2i<3u8rY{-e`gOj2~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$a1jDYgvDju z8_<(45}&ju^%MGbZ+z7Fog56S>hkLAv#*=D8++36guoL5PYC><5%?FVJeP+6Bme+2 CYFjt} literal 0 HcmV?d00001 diff --git a/docs/upgrades/packages-7.6.10/root_import_survey_default-survey-edit.wgpkg b/docs/upgrades/packages-7.6.10/root_import_survey_default-survey-edit.wgpkg new file mode 100644 index 0000000000000000000000000000000000000000..935f94ad33c86c98a971e450ab014ef21ec6205c GIT binary patch literal 1437 zcmV;O1!DRiiwFP!000001MOFBZ`(Ey_UHZz!e6ohu_eWJJiBg&tV!B*ZI(4jU$ATe zEzve>iBw3+uG{s$?|76g*-n5Wv-e?$0Lzk&eD3(%@$Oi!Z2$6ozujt8D!w1ITS2AL zXuFFnF2524L1RB?wEV!YkidtR3V|uxzcOv80@J3fKg{^U^}!XQH)1 zac^|&a}d-&X(={j2>|XloA>&^-GJa&_J5(>I~v>l4_7Rc)lA zLslhS^2eXM_$gH~Wy)}-?N=OTM}~?~!=hhi_G`6K#lcn(Q*Dkvr&59R5a)<2ju&Fs zWd`x9Y1WUq9P=xQj_+U?udnY=kVEVO4TMsOvi@pxj_=IKmL*vyOAfM&6&xz`$t zxGCmw{gOu!6F502e?M2!NHa?v6QzX?mCVx9=-A>|VuQV6nqf&A&)MrG%uq5iCatmC zj8C3jSD#B^m@u_Vz`d@L(7l4d02SWIB=J)cj;Ml#Kg-OZ_S1FsfLyC<(KFn{?BG4? zzqmRjf1Lu164Y=hX#4{bbw(4mduS=Uxxj`0__XJ_Sr!06MnLreK4~+H8L`WoD-X2> zWmafYeP2d1@|7f14Y}z0Pf1Fnh>M|p{Due~Lf`~^kGU8V#bUri34{$Zu*NkVWTe;t zMtSIc?aeao^)ntv-T>&(?p{l{sG~{5a~5v^A9>QA9&-VAn&8uhv`l6H6AO*!xX)wH z#@Z6T<33b8HA}>Nq7$m|GccxAcqcuX;W4+n+*>?B>IbLwJU2IY?E~R$Fj5YC)muEF z7dEIOVIuSFZPUR0%or&kjO^d0!EJf<>}}J)u^bM8ZuhroaK$wL!aVnP5BLMZaV5^9 z=--Fn3Z&gME>~|68e%+2wu$f3!5tbb=MUh0BqvObSe)Jg*~8qpl2(feE{%RyYR+@5 zwuwbuE|d?}>~v^`j+rY6>zF%MNL--r?Cz8+_l{c#vg$2Z zuw4MWkhvqKQjICJc)1UHhW4RD=otk+SLH2$E#|!}cI<1YP{0J#j0H*r%_Q`AcF{dA zix*yi-XVf7fQDw2P)kO*e5>6Mol;@dK%;Qs^w`1#AJ@dcXG~i=?vo!1J!Pkl3g?zd`D}s7;sUA`D%fkanuQIiZHg5N?xC~WeR=uj^*Xs+zn0;6PVCZ2 zhwGfI)fM3pD0c|TI-Pc>(`xUPR;}2C+q`l#@Arefb+>SRPQ&p$a7qUZJ(AN?aUxaX z*eHo?8ijomIvSiCy=6Bt5vo~g&gZ}-vkV>PXQp?p>Fvk;SMQGpw;w-@_03U@PukOh zQm!v%8cr;$i^qk{`6{0qAwuxfcvp q|Section Number:|, lastUpdated => 1224686319 }, + 'section number description' => { + message => q|The number of this section.|, + context => q|Description of the 'section number' field, used as hoverhelp in the edit section dialog.|, + lastUpdated => 0 + }, 'questions on section page' => { message => q|Questions on section page:|, lastUpdated => 1224686319 }, + 'questions on section page description' => { + message => q|Are question displayed on the initial page of this section or on the next page.|, + context => q|Description of the 'questions on section page' field, used as hoverhelp in the edit section +dialog.|, + lastUpdated => 0 + }, + 'section name' => { message => q|Section name:|, lastUpdated => 1224686319 }, + 'section name description' => { + message => q|he name of this section of questions.|, + lastUpdated => 0 + }, 'randomize questions' => { message => q|Randomize questions:|, lastUpdated => 1224686319 }, + 'randomize questions description' => { + message => q|If set to Yes, then the questions will be shuffled for each user.|, + context => q|Description of the 'randomize questions' field, used as hoverhelp in the edit section dialog.|, + lastUpdated => 0 + }, 'section custom variable name' => { message => q|Section custom variable name:|, lastUpdated => 1224686319 }, + 'section custom variable name description' => { + message => q|Enter a variable name to identify this section, so that it can be entered as a goto variable name in another section.|, + context => q|Description of the 'section custom variable name' field, used as hoverhelp in the edit section +dialog.|, + lastUpdated => 0 + }, 'section branch goto variable name' => { message => q|Section branch goto variable name:|, lastUpdated => 1224686319 }, + 'section branch goto variable name description' => { + message => q|The section or question with this variable name will be the next to be displayed after this section.|, + context => q|Description of the 'section branch goto variable name' field, used as hoverhelp in the edit section dialog.|, + lastUpdated => 0 + }, 'questions per page' => { message => q|Questions per page:|, lastUpdated => 1224686319 }, + 'questions per page description' => { + message => q|The number of questions displayed per page.|, + context => q|Description of the 'questions per page' field, used as hoverhelp in the edit section dialog.|, + lastUpdated => 0 + }, 'section text' => { message => q|Section text:|, lastUpdated => 1224686319 }, + 'section text description' => { + message => q|Enter a description of this section.|, + context => q|Description of the 'section text' field, used as hoverhelp in the edit section dialog.|, + lastUpdated => 0 + }, 'title on every page' => { message => q|Title on every page:|, lastUpdated => 1224686319 }, + 'title on every page description' => { + message => q|Should the title of this section be displayed on every page of this section?|, + context => q|Description of the 'title on every page' field, used as hoverhelp in the edit section dialog.|, + lastUpdated => 0 + }, 'text on every page' => { message => q|Text on every page:|, lastUpdated => 1224686319 }, + 'text on every page description' => { + message => q|Should the text of this section be displayed on every page of this section?|, + context => q|Description of the 'text on every page' field, used as hoverhelp in the edit section dialog.|, + lastUpdated => 0 + }, 'terminal section' => { message => q|Terminal section:|, lastUpdated => 1224686319 }, + 'terminal section description' => { + message => q|Is this a terminal section of this Survey?|, + context => q|Description of the 'terminal section' field, used as hoverhelp in the edit section dialog.|, + lastUpdated => 0 + }, 'terminal section url' => { message => q|Terminal section URL:|, lastUpdated => 1224686319 }, + 'terminal section url description' => { + message => q|The url that will be displayed after this section. The terminal url setting in a question overrides the terminalUrl setting for its section.|, + context => q|Description of the 'terminal section url' field, used as hoverhelp in the edit section dialog.|, + lastUpdated => 0 + }, 'please enter section information' => { message => q|Please enter section information|, lastUpdated => 1224686319 @@ -135,6 +197,11 @@ our $I18N = { message => q|Randomize answers:|, lastUpdated => 1224686319 }, + 'randomize answers description' => { + message => q|If set to Yes, then the answers will be shuffled for each user.|, + context => q|Description of the 'randomize answers' field, used as hoverhelp in the edit question dialog.|, + lastUpdated => 0 + }, 'question type' => { message => q|Question type:|, lastUpdated => 1224686319 diff --git a/www/extras/wobject/Survey/editsurvey/object.js b/www/extras/wobject/Survey/editsurvey/object.js index 80a10b874..5ca1181ae 100644 --- a/www/extras/wobject/Survey/editsurvey/object.js +++ b/www/extras/wobject/Survey/editsurvey/object.js @@ -27,6 +27,7 @@ Survey.ObjectTemplate = new function(){ form.callback = Survey.Comm.callback; form.render(); form.show(); + initHoverHelp(type); } }();