mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Updated to Limesurvey 1.91+ Revision 11132
This commit is contained in:
@@ -1102,6 +1102,7 @@ function makelanguagechanger()
|
||||
$lang = GetBaseLanguageFromSurveyID($surveyid);
|
||||
|
||||
$htmlcode ="<select name=\"select\" class='languagechanger' onchange=\"javascript:window.location=this.value\">\n";
|
||||
$htmlcode .= "<option value=\"$relativeurl/index.php?sid=". $surveyid ."&lang=". $lang ."$tokenparam\">".getLanguageNameFromCode($lang,false)."</option>\n";
|
||||
$sAddToURL = "";
|
||||
$sTargetURL = "$relativeurl/index.php";
|
||||
if ($previewgrp){
|
||||
@@ -1756,7 +1757,7 @@ function checkUploadedFileValidity($move, $backok=null)
|
||||
else
|
||||
$filecount = 0;
|
||||
|
||||
if ($filecount < $validation['min_num_of_files'])
|
||||
if ($filecount < $validation['min_num_of_files'] && checkquestionfordisplay($fieldmap[$field]['qid']))
|
||||
{
|
||||
$filenotvalidated = array();
|
||||
$filenotvalidated[$field] = $clang->gT("The minimum number of files has not been uploaded.");
|
||||
|
||||
Reference in New Issue
Block a user