Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #374: Language lost when saved unfinished survey

bug This entry was marked as not being an idea the 8 February 12.
Written by digibis the 2 Feb 12 at 13:30. Category: Tokens. Related project: Nothing/Others. Status: Not an idea
Rationale
In a survey without token table, when an user saves an unfinished survey in a different language than original survey language, the dispatched confirmation email contains an hyperlink to the unfinished survey in original survey language and it loses the prefered user language.

0
votes
closed
Solution #1: Language in hyperlink of the confirmation email of an unfinished survey
Written by digibis the 2 Feb 12 at 13:30.
The hyperlink of the confirmation email is created in the element "$message" of function "savedcontrol()" of file "./limesurvey/save.php".

In the line

"$message.=$publicurl."/index.php?sid=$surveyid&loadall=reload&scid=".$scid."&l oadname=".urlencode($_POST['savename'])."&loadpass=".urlencode($_POST['savepass' ]);"

add

"&lang=".$clang->getlangcode().""

after

"/index.php?".

This change saves the hyperlink with the language than the unfinished survey was save.

Propose your solution


Duplicates


Comments
No comments.

Post your comment