Added performance improvement test for EM, which shows could store full EM class in $_SESSION to avoid need for database lookup calls after starting survey.
Moderately sized survey (80 questions) consumes ~2 MB of session storage space.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev_tms@11370 b72ed6b6-b9f8-46b5-92b4-906544132732
Fixed issue #5570: INSERTANS does not return other comment in multiple questions with Other activated

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@11371 b72ed6b6-b9f8-46b5-92b4-906544132732
Fixed issue #5576: Quick-translation adds backslashes before quotes and double-quotes when magic_quotes are activated

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@11372 b72ed6b6-b9f8-46b5-92b4-906544132732
Fixed issue #05580: conditions don't work when using slider with stars and evaluation is done on the same page

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@11373 b72ed6b6-b9f8-46b5-92b4-906544132732
Fixed issue #05580: conditions don't work when using slider with emoticons and evaluation is done on the same page

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@11374 b72ed6b6-b9f8-46b5-92b4-906544132732
Dev Performance improvement or EM - minimize database queries - caching large structures in $_SESSION
Dev Tested for Group-by-Group mode - now get sub-second page-flips (EM takes about 0.5 seconds per page, even for large pages).
Dev Also get sub-second page flips in admin mode.


git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev_tms@11375 b72ed6b6-b9f8-46b5-92b4-906544132732
Dev EM Performance improvements now working for All-in-one survey mode.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev_tms@11377 b72ed6b6-b9f8-46b5-92b4-906544132732
Fixed issue: XSS injection due to improper quoting in tool tips - thanks for reporting to Joshua Tiago via Secunia Vulnerability Coordination Reward Program (SVCRP)

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@11378 b72ed6b6-b9f8-46b5-92b4-906544132732
1.91 stable plus release

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@11379 b72ed6b6-b9f8-46b5-92b4-906544132732
Dev Changed EM default to return '' instead of 0 when variables are NULL

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev_tms@11380 b72ed6b6-b9f8-46b5-92b4-906544132732
Dev Bugfix for Comma operator in EM - was returning first instead of last value in JavaScript
Dev Added additional test cases to EM
Dev NOTE, in JavaScript, (5 > 0) and (5 > '') are both true.  
Dev I was unable to find an invisible work-around.  So, in surveys where users want conditions like (x < 3), that will be true even if there is no answer
Dev The work-around is to change the condition to (strlen(x) > 0 && x < 3)

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev_tms@11381 b72ed6b6-b9f8-46b5-92b4-906544132732
Dev Bugfix - adding new question was missing default relevance value
Dev Bugfix - display of relevance was broken if contained double quotes due to an error in FlattenText()

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev_tms@11382 b72ed6b6-b9f8-46b5-92b4-906544132732
Dev Starting to build navigation logic into EM so can navigate to next or previous relevant group/question and properly manage the database (e.g. NULLing irrelevant values, processing hidden equations, testing for missing mandatories)

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev_tms@11383 b72ed6b6-b9f8-46b5-92b4-906544132732
Dev Continuing to build navigation logic into EM so can navigate to next or previous relevant group/question and properly manage the database
Dev Have measures of always-hidden, mandatory, relevance, which sub-questions were answered, and composite validity equation.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev_tms@11384 b72ed6b6-b9f8-46b5-92b4-906544132732
Updated language : French

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@11385 b72ed6b6-b9f8-46b5-92b4-906544132732
Updated translation: Portuguese by João Santa Comba

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@11386 b72ed6b6-b9f8-46b5-92b4-906544132732
Updated translation: Indonesian by Jeremy Malcolm

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@11387 b72ed6b6-b9f8-46b5-92b4-906544132732
Updated translation: Lithuanian by Roland As

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@11388 b72ed6b6-b9f8-46b5-92b4-906544132732
Dev Updated translations to be able to correctly handle plural forms

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@11389 b72ed6b6-b9f8-46b5-92b4-906544132732
Dev Updated translations to be able to correctly handle plural forms

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev@11392 b72ed6b6-b9f8-46b5-92b4-906544132732