mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Merging the updated Limesurvey 1.92+ branch of queXS to trunk
This commit is contained in:
@@ -73,6 +73,7 @@
|
||||
var lsbrowsertitle='".$clang->gT('Label set browser','js')."';
|
||||
var quickaddtitle='".$clang->gT('Quick-add subquestions','js')."';
|
||||
var duplicateanswercode='".$clang->gT('Error: You are trying to use duplicate subquestion codes.','js')."';
|
||||
var strNoLabelSet='".$clang->gT('There are no label sets which match the survey default language','js')."';
|
||||
var langs='".implode(';',$anslangs)."';</script>\n";
|
||||
|
||||
|
||||
@@ -195,7 +196,7 @@
|
||||
}
|
||||
elseif ($activated != 'Y' && $first) // If survey is decactivated
|
||||
{
|
||||
$vasummary .= "<img class='handle' src='$imageurl/handle.png' /></td><td><input type='hidden' class='oldcode' id='oldcode_{$row['qid']}_{$row['scale_id']}' name='oldcode_{$row['qid']}_{$row['scale_id']}' value=\"{$row['title']}\" /><input type='text' id='code_{$row['qid']}_{$row['scale_id']}' class='code' name='code_{$row['qid']}_{$row['scale_id']}' value=\"{$row['title']}\" maxlength='5' size='5'"
|
||||
$vasummary .= "<img class='handle' src='$imageurl/handle.png' /></td><td><input type='hidden' class='oldcode' id='oldcode_{$row['qid']}_{$row['scale_id']}' name='oldcode_{$row['qid']}_{$row['scale_id']}' value=\"{$row['title']}\" /><input type='text' id='code_{$row['qid']}_{$row['scale_id']}' class='code' name='code_{$row['qid']}_{$row['scale_id']}' value=\"{$row['title']}\" maxlength='20' size='5'"
|
||||
." onkeypress=\" if(event.keyCode==13) {if (event && event.preventDefault) event.preventDefault(); document.getElementById('saveallbtn_$anslang').click(); return false;} return goodchars(event,'1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWZYZ_')\""
|
||||
." />";
|
||||
|
||||
@@ -239,19 +240,19 @@
|
||||
|
||||
// Label set browser
|
||||
// <br/><input type='checkbox' checked='checked' id='languagefilter' /><label for='languagefilter'>".$clang->gT('Match language')."</label>
|
||||
$vasummary .= "<div id='labelsetbrowser' style='display:none;'><div style='float:left; width:260px;'>
|
||||
$vasummary .= "<div id='labelsetbrowser' style='display:none;'><div class='labelset-list' style='float:left; width:260px;'>
|
||||
<label for='labelsets'>".$clang->gT('Available label sets:')."</label>
|
||||
<br /><select id='labelsets' size='10' style='width:250px;'><option> </option></select>
|
||||
<br /><button id='btnlsreplace' type='button'>".$clang->gT('Replace')."</button>
|
||||
<select id='labelsets' size='10' style='width:250px;'><option> </option></select>
|
||||
<p class=button-list'><button id='btnlsreplace' type='button'>".$clang->gT('Replace')."</button>
|
||||
<button id='btnlsinsert' type='button'>".$clang->gT('Add')."</button>
|
||||
<button id='btncancel' type='button'>".$clang->gT('Cancel')."</button></div>
|
||||
<button id='btncancel' type='button'>".$clang->gT('Cancel')."</button></p></div>
|
||||
<div id='labelsetpreview' style='float:right;width:500px;'></div></div> ";
|
||||
$vasummary .= "<div id='quickadd' style='display:none;'><div style='float:left;'>
|
||||
$vasummary .= "<div id='quickadd' class='labelsets-update' style='display:none;'><div style='float:left;'>
|
||||
<label for='quickadd'>".$clang->gT('Enter your subquestions:')."</label>
|
||||
<br /><textarea id='quickaddarea' class='tipme' title='".$clang->gT('Enter one subquestion per line. You can provide a code by separating code and subquestion text with a semikolon or tab. For multilingual surveys you add the translation(s) on the same line separated with a semikolon/tab.')."' rows='30' style='width:570px;'></textarea>
|
||||
<br /><button id='btnqareplace' type='button'>".$clang->gT('Replace')."</button>
|
||||
<textarea id='quickaddarea' class='tipme' title='".$clang->gT('Enter one subquestion per line. You can provide a code by separating code and subquestion text with a semikolon or tab. For multilingual surveys you add the translation(s) on the same line separated with a semikolon/tab.')."' rows='30' style='width:570px;'></textarea>
|
||||
<p class=button-list'><button id='btnqareplace' type='button'>".$clang->gT('Replace')."</button>
|
||||
<button id='btnqainsert' type='button'>".$clang->gT('Add')."</button>
|
||||
<button id='btnqacancel' type='button'>".$clang->gT('Cancel')."</button></div>
|
||||
<button id='btnqacancel' type='button'>".$clang->gT('Cancel')."</button></p></div>
|
||||
</div> ";
|
||||
$vasummary .= "<p>"
|
||||
."<input type='submit' id='saveallbtn_$anslang' name='method' value='".$clang->gT("Save changes")."' />\n";
|
||||
|
||||
Reference in New Issue
Block a user