mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Merging the Limesurvey 1.91+ branch of queXS in to the trunk
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<br />
|
||||
<table align='center' width='75%' border='1' style='border-collapse: collapse; border-color: #111111' >
|
||||
<table class="assessment-table">
|
||||
<tr>
|
||||
<td bgcolor='#EEf6ff' align='center'><font size='2'>
|
||||
<strong>{ASSESSMENT_HEADING}</strong></font>
|
||||
<td class="assessment-heading">
|
||||
{ASSESSMENT_HEADING}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='#FFFFFF'>
|
||||
<td class="assessments-container">
|
||||
{ASSESSMENTS}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 631 B |
@@ -1,13 +1,15 @@
|
||||
<br />
|
||||
<table align='center' cellpadding='30' width='60%'>
|
||||
<table align="center" cellpadding="30">
|
||||
<tr>
|
||||
<td align='center' bgcolor='white'>
|
||||
<font face='arial' size='2'>
|
||||
<font color='red'><strong>{ANSWERSCLEARED}</strong></font><br /><br />
|
||||
{RESTART}<br />
|
||||
{CLOSEWINDOW}
|
||||
</font>
|
||||
<td class="clearall-result">
|
||||
<span class="warning-text">{ANSWERSCLEARED}</span>
|
||||
<br /><br />
|
||||
{RESTART}
|
||||
<br />
|
||||
{URL}
|
||||
<br />
|
||||
{CLOSEWINDOW}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
<br />
|
||||
<table width='75%' align='center' border='1' style='border-collapse: collapse; border-color: #111111' bgcolor='white'>
|
||||
<table class="completed-table">
|
||||
<tr>
|
||||
<td align='center'>
|
||||
<font size='2'><br />{COMPLETED}<br />
|
||||
<br />
|
||||
{URL}<br /><br /></font>
|
||||
<td>
|
||||
{COMPLETED}
|
||||
<br /><br />
|
||||
{URL}
|
||||
<br /><br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -1,4 +1,3 @@
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table><tr><td height='2'></td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,12 +1,4 @@
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<script type="text/javascript">
|
||||
if(typeof Custom_On_Load == 'function'){
|
||||
Custom_On_Load();
|
||||
}
|
||||
$(document).ready(function() {
|
||||
$(":text:visible:enabled:first").focus();
|
||||
$("textarea:first").focus();
|
||||
});
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
<br /><font face='verdana' size='2'>{GROUPDESCRIPTION}</font><br /><br />
|
||||
<br /><span class="group-description">{GROUPDESCRIPTION}</span>
|
||||
<br /><br />
|
||||
|
||||
137
include/limesurvey/templates/quexs/ie_fix_6.css
Normal file
137
include/limesurvey/templates/quexs/ie_fix_6.css
Normal file
@@ -0,0 +1,137 @@
|
||||
/* The following styles are for versions of IE 6 and older */
|
||||
.choice-5-pt-radio ul {
|
||||
margin-left: 2.5em;
|
||||
}
|
||||
|
||||
.yes-no ul,.gender ul {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.multiple-short-txt ul.numbers-only li span {
|
||||
width: 10em;
|
||||
}
|
||||
|
||||
.multiple-short-txt ul,.multiple-opt-comments ul,.numeric-multi ul,.multiple-short-txt ul li,.multiple-opt-comments ul li,.numeric-multi ul li
|
||||
{
|
||||
margin-left: 0%;
|
||||
padding-left: 0%;
|
||||
}
|
||||
|
||||
.multiple-short-txt ul label {
|
||||
margin-left: 0em;
|
||||
float: left;
|
||||
display: block;
|
||||
width: 40%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.multiple-opt-comments ul li label {
|
||||
float: left;
|
||||
width: 35%;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
.multiple-opt-comments ul li span.comment {
|
||||
float: left;
|
||||
width: 40%;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.multiple-opt-comments ul li span.comment input {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.multiple-short-txt ul li,.multiple-opt-comments ul li {
|
||||
float: left;
|
||||
clear: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.innergraph img {
|
||||
height: 16px;
|
||||
vertical-align: top;
|
||||
margin: 0px 0px 0px 0px;
|
||||
}
|
||||
|
||||
.numeric-multi label {
|
||||
width: 400px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.rank select {
|
||||
margin-top: 4px !important;
|
||||
}
|
||||
|
||||
.multiple-short-txt td.answer,.date td.answer,.yes-no td.answer,.list-radio td.answer,.list-radio-flexible td.answer,.choice-5-pt-radio td.answer,.gender td.answer
|
||||
{
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.date button {
|
||||
line-height: 15px;
|
||||
height: 21px;
|
||||
width: 22px;
|
||||
}
|
||||
|
||||
.numeric-multi ul li label {
|
||||
float: left;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.numeric-multi ul li {
|
||||
float: left;
|
||||
clear: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.numeric-multi ul li span {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.numeric-multi input {
|
||||
padding-left: 1px;
|
||||
}
|
||||
|
||||
input.submit {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
/** UI Slider **/
|
||||
.numeric-multi label.slider-label {
|
||||
margin-top: 1.3em;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.slider_lefttext {
|
||||
float: left;
|
||||
padding-top: 1.4em;
|
||||
}
|
||||
|
||||
.slider_righttext {
|
||||
float: left;
|
||||
padding-top: 1.4em;
|
||||
}
|
||||
|
||||
.ui-slider-1 {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.slider_showmin {
|
||||
margin: 0;
|
||||
float: none;
|
||||
position: absolute;
|
||||
top: 17px;
|
||||
}
|
||||
|
||||
.slider_showmax {
|
||||
margin: 0;
|
||||
float: none;
|
||||
position: absolute;
|
||||
top: 17px;
|
||||
left: 150px;
|
||||
}
|
||||
115
include/limesurvey/templates/quexs/ie_fix_7.css
Normal file
115
include/limesurvey/templates/quexs/ie_fix_7.css
Normal file
@@ -0,0 +1,115 @@
|
||||
/* The following styles are for all versions of IE 7 */
|
||||
.choice-5-pt-radio ul {
|
||||
margin-left: 2.5em;
|
||||
}
|
||||
|
||||
.yes-no ul,.gender ul {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.multiple-short-txt ul.numbers-only li span {
|
||||
width: 10em;
|
||||
}
|
||||
|
||||
.multiple-short-txt ul,.multiple-opt-comments ul,.numeric-multi ul,.multiple-short-txt ul li,.multiple-opt-comments ul li,.numeric-multi ul li
|
||||
{
|
||||
margin-left: 0%;
|
||||
padding-left: 0%;
|
||||
}
|
||||
|
||||
.multiple-short-txt ul label {
|
||||
margin-left: 0em;
|
||||
float: left;
|
||||
display: block;
|
||||
width: 40%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.multiple-opt-comments ul li label {
|
||||
float: left;
|
||||
width: 35%;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
.multiple-opt-comments ul li span.comment {
|
||||
float: left;
|
||||
width: 40%;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.multiple-opt-comments ul li span.comment input {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.multiple-short-txt ul li,.multiple-opt-comments ul li {
|
||||
float: left;
|
||||
clear: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.innergraph img {
|
||||
height: 16px;
|
||||
vertical-align: top;
|
||||
margin: 0px 0px 0px 0px;
|
||||
}
|
||||
|
||||
.multiple-short-txt td.answer,.date td.answer,.yes-no td.answer,.list-radio td.answer,.list-radio-flexible td.answer,.choice-5-pt-radio td.answer,.gender td.answer
|
||||
{
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.choice-5-pt-radio label {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.date button {
|
||||
line-height: 15px;
|
||||
height: 21px;
|
||||
width: 22px;
|
||||
}
|
||||
|
||||
.numeric-multi ul li label {
|
||||
float: left;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.numeric-multi ul li {
|
||||
float: left;
|
||||
clear: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.numeric-multi ul li span {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.numeric-multi input {
|
||||
padding-left: 1px;
|
||||
}
|
||||
|
||||
input.submit {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
/** UI Slider **/
|
||||
.numeric-multi label.slider-label {
|
||||
margin-top: 1.3em;
|
||||
display: inline;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.slider_lefttext {
|
||||
float: left;
|
||||
padding-top: 1.4em;
|
||||
}
|
||||
|
||||
.slider_righttext {
|
||||
float: left;
|
||||
padding-top: 1.4em;
|
||||
}
|
||||
7
include/limesurvey/templates/quexs/ie_fix_8.css
Normal file
7
include/limesurvey/templates/quexs/ie_fix_8.css
Normal file
@@ -0,0 +1,7 @@
|
||||
/* The following styles are for IE 8 only*/
|
||||
.rank label
|
||||
{
|
||||
line-height: 27px;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
<table width='100%' align='center' cellspacing='0' bgcolor='#FFFFFF'>
|
||||
<tr>
|
||||
<td align='center' bgcolor='#eef6ff'>
|
||||
<strong><font size='+1'>{LOADHEADING}</font></strong></td></tr>
|
||||
<tr><td align='center'><br /><font color='red'>{LOADERROR}</font>
|
||||
{LOADMESSAGE}<br />
|
||||
{LOADFORM}<br />
|
||||
{RETURNTOSURVEY}<br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<center>
|
||||
<span class="load-error">{LOADERROR}</span>
|
||||
<span class="load-heading">{LOADHEADING}</span>
|
||||
<br /><br />
|
||||
<span class="load-message">{LOADMESSAGE}</span>
|
||||
<br />
|
||||
<div class="load-form">{LOADFORM}</div>
|
||||
<br />
|
||||
<span class="return-to-survey">{RETURNTOSURVEY}</span>
|
||||
</center>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<table width='100%' align='center' bgcolor='#EEeeee'>
|
||||
<table class="navigator-table">
|
||||
<tr>
|
||||
<td align='center'>
|
||||
{NAVIGATOR}
|
||||
</td>
|
||||
<td class="clear-all" align="left" nowrap="nowrap" width="33%"> </td>
|
||||
<td class="save-all" align="center" nowrap="nowrap" width="33%">{NAVIGATOR}</td>
|
||||
<td class="submit-buttons" align="right" nowrap="nowrap" width="33%"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 105 B |
Binary file not shown.
|
Before Width: | Height: | Size: 170 B |
@@ -1,11 +1,12 @@
|
||||
|
||||
<div class="{QUESTION_CLASS}">
|
||||
<div class="q-text">
|
||||
<h3>{QUESTION_NUMBER} [{QUESTION_CODE}]{QUESTION_TEXT} <span class="mandatory">{QUESTION_MANDATORY}</span></h3>
|
||||
<h3>{QUESTION_NUMBER} {QUESTION_TEXT} <span class="mandatory">{QUESTION_MANDATORY}</span></h3>
|
||||
<p class="q-scenaria">{QUESTION_SCENARIO}</p>
|
||||
<p class="q-type-help">{QUESTION_TYPE_HELP}</p>
|
||||
<p class="q-man-message">{QUESTION_MAN_MESSAGE}</p>
|
||||
<p class="q-validation">{QUESTION_VALID_MESSAGE}</p>
|
||||
<p class="q-fvalidation">{QUESTION_FILE_VALID_MESSAGE}</p>
|
||||
</div>
|
||||
<div class="q-answer">
|
||||
{ANSWER}
|
||||
|
||||
@@ -18,8 +18,9 @@
|
||||
{GROUPS}
|
||||
{PRIVACY}
|
||||
<p class="submit-by">
|
||||
{SUBMIT_BY}<br />
|
||||
{FAX_TO}
|
||||
{END}<br />
|
||||
{SUBMIT_BY}<br />
|
||||
{FAX_TO}<br />
|
||||
{SUBMIT_TEXT}<br />
|
||||
{THANKS}<br />
|
||||
</p>
|
||||
|
||||
@@ -1,278 +1,219 @@
|
||||
body
|
||||
{
|
||||
font-family: arial, hevetica, sans-serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
h1,h2,h3,h4
|
||||
{
|
||||
font-family: verdana, arial, helvetica, sans-serif;
|
||||
}
|
||||
|
||||
h2
|
||||
{
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
h3
|
||||
{
|
||||
margin-top: 0%;
|
||||
}
|
||||
|
||||
*
|
||||
{
|
||||
page-break-after: auto;
|
||||
}
|
||||
p.q-type-help
|
||||
{
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
div.q-help
|
||||
{
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 0%;
|
||||
}
|
||||
|
||||
div.q-answer
|
||||
{
|
||||
font-size: 110%;
|
||||
}
|
||||
div.q-answer ul
|
||||
{
|
||||
margin-left: 0%;
|
||||
padding-left: 0.2em;
|
||||
}
|
||||
div.q-answer ul li
|
||||
{
|
||||
list-style-type:none;
|
||||
line-height: 1.9em;
|
||||
margin-left: 0%;
|
||||
padding-left: 0%;
|
||||
}
|
||||
|
||||
div.survey-group
|
||||
{
|
||||
page-break-after: always;
|
||||
}
|
||||
div.boilerplate
|
||||
,div.choice-5-pt-radio
|
||||
,div.date
|
||||
,div.list-radio-flexible
|
||||
,div.list-radio
|
||||
,div.list-dropdown-flexible
|
||||
,div.list-dropdown
|
||||
,div.list-with-comment
|
||||
,div.ranking
|
||||
,div.multiple-opt
|
||||
,div.language
|
||||
,div.multiple-opt-comments
|
||||
,div.multiple-short-txt
|
||||
,div.numeric-multi
|
||||
,div.numeric
|
||||
,div.text-short
|
||||
,div.text-long
|
||||
,div.text-huge
|
||||
,div.yes-no
|
||||
,div.gender
|
||||
,div.array-5-pt
|
||||
,div.array-10-pt
|
||||
,div.array-yes-uncertain-no
|
||||
,div.array-increase-same-decrease
|
||||
,div.array-flexible-row
|
||||
,div.array-flexible-column
|
||||
,div.array-multi-flexi
|
||||
,div.array-multi-flexi-text
|
||||
,div.array-flexible-duel-scale
|
||||
{
|
||||
border: 0.1em solid #aaa;
|
||||
padding: 1em;
|
||||
margin: 1em 0.5em;
|
||||
clear: both;
|
||||
page-break-inside: avoid;
|
||||
page-break-before: auto;
|
||||
}
|
||||
|
||||
.other
|
||||
{
|
||||
}
|
||||
|
||||
.question ul
|
||||
,.question ul li
|
||||
{
|
||||
margin-left: 0%;
|
||||
padding-left: 0%;
|
||||
list-style: none;
|
||||
}
|
||||
.question ul li { margin-bottom: 0.5em; }
|
||||
img.input-radio
|
||||
,img.input-checkbox
|
||||
{
|
||||
position: relative;
|
||||
top: 1px;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
div.input-other
|
||||
,div.input-othercomment
|
||||
,div.input-rank
|
||||
,div.input-text
|
||||
,div.input-textarea
|
||||
{
|
||||
border: 0.1em solid #666666;
|
||||
}
|
||||
|
||||
li.other
|
||||
{
|
||||
margin-top: 0.3em;
|
||||
}
|
||||
div.input-other
|
||||
,div.input-othercomment
|
||||
{
|
||||
width: 20em;
|
||||
height: 2em;
|
||||
display:inline-block;
|
||||
|
||||
}
|
||||
|
||||
.multiple-opt div.input-other
|
||||
{
|
||||
padding-left: 5.5em;
|
||||
}
|
||||
|
||||
.multiple-opt-comments div.other-replacettext
|
||||
{
|
||||
display:table-cell;
|
||||
}
|
||||
|
||||
.multiple-opt-comments div.input-other {
|
||||
width: 10em;
|
||||
display:inline-block;
|
||||
margin-left:5px;
|
||||
}
|
||||
|
||||
.multiple-opt-comments div.input-othercomment {
|
||||
width: 24em;
|
||||
display:table-cell;
|
||||
}
|
||||
|
||||
div.other-replacetext
|
||||
{
|
||||
white-space:nowrap;
|
||||
}
|
||||
.ranking .q-answer li
|
||||
{
|
||||
padding-left: 4em;
|
||||
line-height: 2em;
|
||||
}
|
||||
.ranking li div.input-rank
|
||||
{
|
||||
margin: 0% 0% -1.8em -4em;
|
||||
width: 3em;
|
||||
height: 2em;
|
||||
}
|
||||
|
||||
.multiple-opt-comments .q-answer li
|
||||
,.multiple-short-txt .q-answer li
|
||||
,.numeric-multi .q-answer li
|
||||
{
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
.multiple-opt-comments div.input-text,
|
||||
.multiple-short-txt div.input-text,
|
||||
.numeric-multi div.input-text {
|
||||
display: table-cell;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.multiple-opt-comments .q-answer ul li span,
|
||||
.multiple-short-txt .q-answer ul li span,
|
||||
.numeric-multi .q-answer ul li span
|
||||
{
|
||||
display:table-cell;
|
||||
padding-right:5px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.multiple-opt-comments .q-answer ul li ,
|
||||
.multiple-short-txt .q-answer ul li ,
|
||||
.numeric-multi .q-answer ul li {
|
||||
display:table-row;
|
||||
}
|
||||
|
||||
.multiple-opt-comments .q-answer ul ,
|
||||
.multiple-short-txt .q-answer ul ,
|
||||
.numeric-multi .q-answer ul {
|
||||
display:table;
|
||||
border-spacing: 3px;
|
||||
}
|
||||
|
||||
#limesurvey .q-answer table thead th
|
||||
,#limesurvey .q-answer table .repeat th
|
||||
{
|
||||
text-align: center;
|
||||
vertical-align: bottom;
|
||||
font-weight: normal;
|
||||
padding: 0% 1em;
|
||||
}
|
||||
#limesurvey .q-answer table tbody td
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
#limesurvey .q-answer table tbody td img
|
||||
{
|
||||
margin: 0%;
|
||||
}
|
||||
#limesurvey .q-answer table tbody th.answertext
|
||||
,#limesurvey .q-answer table tbody th.arraycaptionleft
|
||||
{
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/*
|
||||
div.array-5-pt .q-answer table thead th
|
||||
,div.array-10-pt table thead th
|
||||
,div.array-yes-uncertain-no .q-answer table thead th
|
||||
,div.array-increase-same-decrease .q-answer table thead th
|
||||
,div.array-flexible-row .q-answer table thead th
|
||||
,div.array-flexible-column .q-answer table thead th
|
||||
,div.array-multi-flexi .q-answer table thead th
|
||||
,div.array-multi-flexi-text .q-answer table thead th
|
||||
,div.array-flexible-duel-scale .q-answer table thead th
|
||||
*/
|
||||
div.array-multi-flexi .q-answer table tbody td div.input-text
|
||||
{
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
|
||||
.array-flexible-column tbody th.arraycaptionleft
|
||||
{
|
||||
padding-right: 1em;
|
||||
}
|
||||
#limesurvey .q-answer table tbody th.answertextright
|
||||
{
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
}
|
||||
/*
|
||||
.array-increase-same-decrease {}
|
||||
.array-flexible-row {}
|
||||
.array-flexible-column {}
|
||||
.slider {}
|
||||
.array-multi-flexi {}
|
||||
.array-flexible-duel-scale {}
|
||||
*/
|
||||
.array-flexible-column col.odd
|
||||
,.array-flexible-column th.odd
|
||||
{
|
||||
background-color: #0c1c2b;
|
||||
padding: 0% 0.3em;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
font-family: arial, helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
h1,h2,h3,h4 {
|
||||
font-family: verdana, arial, helvetica, sans-serif;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-top: 0%;
|
||||
}
|
||||
|
||||
* {
|
||||
page-break-after: auto;
|
||||
}
|
||||
|
||||
p.q-type-help {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
div.q-help {
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 0%;
|
||||
}
|
||||
|
||||
div.q-answer {
|
||||
font-size: 110%;
|
||||
}
|
||||
|
||||
div.q-answer ul {
|
||||
margin-left: 0%;
|
||||
padding-left: 0.2em;
|
||||
}
|
||||
|
||||
div.q-answer ul li {
|
||||
list-style-type: none;
|
||||
line-height: 1.9em;
|
||||
margin-left: 0%;
|
||||
padding-left: 0%;
|
||||
}
|
||||
|
||||
div.survey-group {
|
||||
page-break-after: always;
|
||||
}
|
||||
|
||||
div.boilerplate,div.choice-5-pt-radio,div.date,div.list-radio-flexible,div.list-radio,div.list-dropdown-flexible,div.list-dropdown,div.list-with-comment,div.ranking,div.multiple-opt,div.language,div.multiple-opt-comments,div.multiple-short-txt,div.numeric-multi,div.numeric,div.text-short,div.text-long,div.text-huge,div.yes-no,div.gender,div.array-5-pt,div.array-10-pt,div.array-yes-uncertain-no,div.array-increase-same-decrease,div.array-flexible-row,div.array-flexible-column,div.array-multi-flexi,div.array-multi-flexi-text,div.array-flexible-duel-scale
|
||||
{
|
||||
border: 0.1em solid #aaa;
|
||||
padding: 1em;
|
||||
margin: 1em 0.5em;
|
||||
clear: both;
|
||||
page-break-inside: avoid;
|
||||
page-break-before: auto;
|
||||
}
|
||||
|
||||
.breakbefore {
|
||||
page-break-before: always !important;
|
||||
}
|
||||
|
||||
.other {
|
||||
|
||||
}
|
||||
|
||||
.question ul,.question ul li {
|
||||
margin-left: 0%;
|
||||
padding-left: 0%;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.question ul li {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
img.input-radio,img.input-checkbox {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
div.input-other,div.input-othercomment,div.input-rank,div.input-text,div.input-textarea
|
||||
{
|
||||
border: 0.1em solid #666666;
|
||||
}
|
||||
|
||||
li.other {
|
||||
margin-top: 0.3em;
|
||||
}
|
||||
|
||||
div.input-other,div.input-othercomment {
|
||||
width: 20em;
|
||||
height: 2em;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.multiple-opt div.input-other {
|
||||
padding-left: 5.5em;
|
||||
}
|
||||
|
||||
.multiple-opt-comments div.other-replacettext {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.multiple-opt-comments div.input-other {
|
||||
width: 10em;
|
||||
display: inline-block;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.multiple-opt-comments div.input-othercomment {
|
||||
width: 24em;
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
div.other-replacetext {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ranking .q-answer li {
|
||||
padding-left: 4em;
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
.ranking li div.input-rank {
|
||||
margin: 0% 0% -1.8em -4em;
|
||||
width: 3em;
|
||||
height: 2em;
|
||||
}
|
||||
|
||||
.multiple-opt-comments .q-answer li,.multiple-short-txt .q-answer li,.numeric-multi .q-answer li
|
||||
{
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
.multiple-opt-comments div.input-text,.multiple-short-txt div.input-text,.numeric-multi div.input-text
|
||||
{
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.multiple-opt-comments .q-answer ul li span,.multiple-short-txt .q-answer ul li span,.numeric-multi .q-answer ul li span
|
||||
{
|
||||
display: table-cell;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.multiple-opt-comments .q-answer ul li,.multiple-short-txt .q-answer ul li,.numeric-multi .q-answer ul li
|
||||
{
|
||||
display: table-row;
|
||||
}
|
||||
|
||||
.multiple-opt-comments .q-answer ul,.multiple-short-txt .q-answer ul,.numeric-multi .q-answer ul
|
||||
{
|
||||
display: table;
|
||||
border-spacing: 3px;
|
||||
}
|
||||
|
||||
#limesurvey .q-answer table thead th,#limesurvey .q-answer table .repeat th
|
||||
{
|
||||
text-align: center;
|
||||
vertical-align: bottom;
|
||||
font-weight: normal;
|
||||
padding: 0% 1em;
|
||||
}
|
||||
|
||||
#limesurvey .q-answer table tbody td {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#limesurvey .q-answer table tbody td img {
|
||||
margin: 0%;
|
||||
}
|
||||
|
||||
#limesurvey .q-answer table tbody th.answertext,#limesurvey .q-answer table tbody th.arraycaptionleft
|
||||
{
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/*
|
||||
div.array-5-pt .q-answer table thead th
|
||||
,div.array-10-pt table thead th
|
||||
,div.array-yes-uncertain-no .q-answer table thead th
|
||||
,div.array-increase-same-decrease .q-answer table thead th
|
||||
,div.array-flexible-row .q-answer table thead th
|
||||
,div.array-flexible-column .q-answer table thead th
|
||||
,div.array-multi-flexi .q-answer table thead th
|
||||
,div.array-multi-flexi-text .q-answer table thead th
|
||||
,div.array-flexible-duel-scale .q-answer table thead th
|
||||
*/
|
||||
div.array-multi-flexi .q-answer table tbody td div.input-text {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.array-flexible-column tbody th.arraycaptionleft {
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
#limesurvey .q-answer table tbody th.answertextright {
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/*
|
||||
.array-increase-same-decrease {}
|
||||
.array-flexible-row {}
|
||||
.array-flexible-column {}
|
||||
.slider {}
|
||||
.array-multi-flexi {}
|
||||
.array-flexible-duel-scale {}
|
||||
*/
|
||||
.array-flexible-column col.odd,.array-flexible-column th.odd {
|
||||
background-color: #0c1c2b;
|
||||
padding: 0% 0.3em;
|
||||
}
|
||||
@@ -1,8 +1,5 @@
|
||||
<table align='center' bgcolor='#FFFFFF' width='100%' border='0'>
|
||||
<table class="privacy-table">
|
||||
<tr>
|
||||
<td width='15%' ></td><td align='center' bgcolor='#eef6ff'><font size='1'>
|
||||
{PRIVACYMESSAGE}</font>
|
||||
</td><td width='15%' ></td>
|
||||
<td class="privacy-message">{PRIVACYMESSAGE}</font></td>
|
||||
</tr>
|
||||
<tr><td><br /> </td></tr>
|
||||
</table>
|
||||
|
||||
@@ -1,28 +1,30 @@
|
||||
<table width='100%' align='center'>
|
||||
<tr>
|
||||
<td align='center' bgcolor='#dddddd'>
|
||||
<font size='1'>{QUESTION_CODE}.</font><span class='questiontext'>{QUESTION}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='questionhelp' align='center' bgcolor='#cccccc'>
|
||||
{QUESTIONHELP}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' bgcolor='#eeeeee'>
|
||||
<table cellspacing='0'>
|
||||
<div {QUESTION_ESSENTIALS} class="{QUESTION_CLASS}{QUESTION_MAN_CLASS}{QUESTION_INPUT_ERROR_CLASS}">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td class="be">
|
||||
{QUESTION_TEXT}<br />
|
||||
|
||||
{QUESTION_MAN_MESSAGE}
|
||||
{QUESTION_VALID_MESSAGE}
|
||||
{QUESTION_FILE_VALID_MESSAGE}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="survey-question-help">{QUESTIONHELP}</td>
|
||||
</tr>
|
||||
|
||||
<!--<tr><td><font size="-1"><i>{QUESTIONHELPPLAINTEXT}</i></font></td></tr>-->
|
||||
</table>
|
||||
<table class="question">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<table align="center" cellspacing="0" cellpadding="8" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{ANSWER}
|
||||
</td>
|
||||
</tr>
|
||||
<td width="100%" class="answer">{ANSWER}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
<tr>
|
||||
<td height='10'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing="0" cellpadding="0"><tr><td height="24"></td></tr></table>
|
||||
</div>
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
|
||||
<!-- START: question_start.pstpl -->
|
||||
<span class="asterisk">{QUESTION_MANDATORY}</span>{QUESTION_TEXT}<br/>
|
||||
|
||||
{QUESTION_MAN_MESSAGE}
|
||||
{QUESTION_VALID_MESSAGE}
|
||||
|
||||
<!-- FINISH: question_start.pstpl -->
|
||||
21
include/limesurvey/templates/quexs/readme.txt
Normal file
21
include/limesurvey/templates/quexs/readme.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
"Basic" Template for phpSurveyor
|
||||
|
||||
--------------------------------
|
||||
|
||||
|
||||
Developed by Tor de Vries for Zoemail.
|
||||
|
||||
|
||||
Get my email address at http://www.zoemail.net/?tor
|
||||
|
||||
|
||||
|
||||
This is freeware. Modify at your own will (and risk).
|
||||
|
||||
To use your own logo, just replace the logo.gif file.
|
||||
Its dimensions are 211 x 72 pixels.
|
||||
|
||||
I eliminated the group name and descriptions, because in
|
||||
our use of phpSurveyor, we only used groups to break the
|
||||
survey into pages for ease of use... not actually for
|
||||
"groups" as the visitor might define them.
|
||||
@@ -1,10 +1,7 @@
|
||||
<table width='100%' align='center' cellspacing='0' bgcolor='#ffffff'>
|
||||
<tr>
|
||||
<td>
|
||||
<br />
|
||||
<center>
|
||||
<font color='red'><strong>{REGISTERERROR}</strong></font>
|
||||
<p><strong>{REGISTERMESSAGE1}</strong></p>
|
||||
<p>{REGISTERMESSAGE2}</p>
|
||||
<p class="warning-text">{REGISTERERROR}</p>
|
||||
<p class="register-message-1">{REGISTERMESSAGE1}</p>
|
||||
<p class="register-message-2">{REGISTERMESSAGE2}</p>
|
||||
{REGISTERFORM}<br />
|
||||
</center>
|
||||
</td></tr></table>
|
||||
@@ -1,11 +1,11 @@
|
||||
<table width='100%' align='center' cellspacing='0' bgcolor='#FFFFFF'>
|
||||
<tr>
|
||||
<td align='center' bgcolor='#eef6ff'>
|
||||
<strong><font size='+1'>{SAVEHEADING}</font></strong></td></tr>
|
||||
<tr><td align='center'><br /><font color='red'>{SAVEERROR}</font>
|
||||
{SAVEMESSAGE}<br />
|
||||
{SAVEFORM}<br />
|
||||
{RETURNTOSURVEY}<br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<center>
|
||||
<span class="save-error">{SAVEERROR}</span>
|
||||
<span class="save-heading">{SAVEHEADING}</span>
|
||||
<br /><br />
|
||||
<span class="save-message">{SAVEMESSAGE</span>}<br /><br />
|
||||
<span class="alert warning">{SAVEALERT}</span><br /><br />
|
||||
|
||||
<div class="save-form">{SAVEFORM}</div>
|
||||
<br />
|
||||
<span class="return-to-survey">{RETURNTOSURVEY}</span>
|
||||
</center>
|
||||
@@ -1,4 +1,4 @@
|
||||
<table><tr><td height='2'></td></tr></table>
|
||||
<table width='100%' align='center' bgcolor='#eeeeee' >
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td align='center'>
|
||||
<td align="center">
|
||||
<span class="group-name">{GROUPNAME}</span>
|
||||
@@ -1,100 +1,30 @@
|
||||
<title>{SURVEYNAME}</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<meta name="generator" content="LimeSurvey http://www.limesurvey.org" />
|
||||
<link rel="stylesheet" type="text/css" href="{TEMPLATEURL}template.css" />
|
||||
<style type='text/css'>
|
||||
a:link, a:visited
|
||||
{
|
||||
color: #819d26;
|
||||
text-decoration: none;
|
||||
}
|
||||
body.default
|
||||
{
|
||||
background-color: #eeeeee;
|
||||
font-size: 11pt;
|
||||
line-height: 150%;
|
||||
font-family: Arial, sans-serif;
|
||||
color: #1d2d45;
|
||||
}
|
||||
.questiontext
|
||||
{
|
||||
font-weight: bold;
|
||||
font-size: 16pt;
|
||||
}
|
||||
.question
|
||||
{
|
||||
font-size: 14pt;
|
||||
}
|
||||
.questionhelp
|
||||
{
|
||||
font-size: 12pt;
|
||||
}
|
||||
.clearall
|
||||
{
|
||||
font-size: 11pt;
|
||||
}
|
||||
.answertext
|
||||
{
|
||||
font-size: 12pt;
|
||||
}
|
||||
.answertextright
|
||||
{
|
||||
text-align:left;
|
||||
}
|
||||
.array1
|
||||
{
|
||||
font-size: 12pt;
|
||||
text-align:center;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
.array2
|
||||
{
|
||||
font-size: 11pt;
|
||||
text-align:center;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.arraycaptionleft
|
||||
{
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
.errormandatory
|
||||
{
|
||||
font-size:12pt;
|
||||
font-weight:bold;
|
||||
color:RED;
|
||||
}
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<title>{SURVEYNAME} :: {GROUPNAME}</title>
|
||||
<meta name="generator" content="LimeSurvey http://www.limesurvey.org" />
|
||||
|
||||
.warningjs
|
||||
{
|
||||
font-size:12pt;
|
||||
font-weight:bold;
|
||||
color:RED;
|
||||
}
|
||||
<link rel="stylesheet" type="text/css" href="{TEMPLATEURL}template.css" />
|
||||
|
||||
<!--[if lte IE 6]>
|
||||
<link rel="stylesheet" type="text/css" href="{TEMPLATEURL}ie_fix_6.css" />
|
||||
<![endif]-->
|
||||
<!--[if IE 7]>
|
||||
<link rel="stylesheet" type="text/css" href="{TEMPLATEURL}ie_fix_7.css" />
|
||||
<![endif]-->
|
||||
<!--[if IE 8]>
|
||||
<link rel="stylesheet" type="text/css" href="{TEMPLATEURL}ie_fix_8.css" />
|
||||
<![endif]-->
|
||||
|
||||
.saveall
|
||||
{
|
||||
font-size:10pt;
|
||||
font-weight:normal;
|
||||
color:black;
|
||||
}
|
||||
.asterisk
|
||||
{
|
||||
color: #FF0000;
|
||||
font-size: 9pt;
|
||||
}
|
||||
.innergraph img
|
||||
{
|
||||
height:12px;
|
||||
}
|
||||
.innergraph table
|
||||
{
|
||||
border:1px solid #000;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class='default' bgcolor='#eeeeee'>
|
||||
<table width='100%' align='center' cellspacing='0' bgcolor='#eeeeee'>
|
||||
<tr>
|
||||
<td>
|
||||
<!-- The following CSS hides visual elements of the progress bar from screen readers. -->
|
||||
<style type="text/css" media="aural tty">
|
||||
progress-graph .zero, progress-graph .graph, progress-graph .cent { display: none; }
|
||||
</style>
|
||||
|
||||
<script type="text/javascript" src="{TEMPLATEURL}template.js"></script>
|
||||
<link rel="shortcut icon" href="{TEMPLATEURL}favicon.ico" />
|
||||
</head>
|
||||
<body class="lang-{SURVEYLANGAGE} {SURVEYFORMAT}">
|
||||
<div class="outerframe">
|
||||
<table width="100%" align="center" class="bf" cellpadding="0" cellspacing="1">
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<table width='100%' align='center' cellspacing='0' bgcolor='#EEEEEE'>
|
||||
<tr><td>
|
||||
<center>
|
||||
<br />
|
||||
{SUBMITCOMPLETE}<br /><br />
|
||||
|
||||
{SUBMITBUTTON}<br /><br />
|
||||
|
||||
<br />
|
||||
</center>
|
||||
</td></tr>
|
||||
</table>
|
||||
@@ -1,12 +1,18 @@
|
||||
<table width='100%' align='center' cellspacing='0'>
|
||||
<tr>
|
||||
<td align='center' bgcolor='#EEEEEE'>
|
||||
<font color='#328639'><strong>{SURVEYNAME}</strong></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' bgcolor='#eeeeee'>
|
||||
{PERCENTCOMPLETE}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="2">
|
||||
<tr>
|
||||
<td valign="bottom" align="center" width="100%">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td class="survey-name">{SURVEYNAME}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="graph">{PERCENTCOMPLETE}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">{LANGUAGECHANGER}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td valign="bottom" align="right" height="100%" width="100%"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
35
include/limesurvey/templates/quexs/surveylist.pstpl
Normal file
35
include/limesurvey/templates/quexs/surveylist.pstpl
Normal file
@@ -0,0 +1,35 @@
|
||||
<table class="survey-list-table">
|
||||
<tr>
|
||||
<td class="site-name">
|
||||
<p>{SITENAME}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="survey-list-heading">
|
||||
<strong>{SURVEYLISTHEADING}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="survey-list">
|
||||
<table align="center">
|
||||
<tr>
|
||||
<td>
|
||||
<ul>{SURVEYLIST}</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="survey-contact">
|
||||
{SURVEYCONTACT}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="language-changer">
|
||||
<p>{LANGUAGECHANGER}</p>
|
||||
<a href="http://www.limesurvey.org" target="_blank"><img src="{TEMPLATEURL}limesurvey_logo.png" border="0" title="LimeSurvey" /></a><br /><br />
|
||||
<a href="http://www.limesurvey.org" target="_blank">The Online Survey Tool</a> - Free & Open Source<br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
42
include/limesurvey/templates/quexs/template-rtl.css
Normal file
42
include/limesurvey/templates/quexs/template-rtl.css
Normal file
@@ -0,0 +1,42 @@
|
||||
/* This CSS file is included if a Right-to-Left language is used */
|
||||
.answertext,.answer {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.boilerplate td td,.numeric td td,.choice-5-pt-radio td td,.yes-no td td,.gender td td,.date td td,.numeric-multi td td,.numeric td td,.list-with-comment td td,.list-dropdown-flexible td td,.ranking td td,.numeric-multi td td,.language td td,.multiple-opt-comments td td,.multiple-short-txt td td,.text-short td td,.text-long td td,.text-huge td td,.numeric-multi td td,.array-5-pt td,.array-10-pt td,.array-yes-uncertain-no td,.array-increase-same-decrease td,.array-flexible-row td,.array-flexible-column td,.array-multi-flexi td,.array-multi-flexi-text td,.array-flexible-duel-scale td
|
||||
{
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
.choice-5-pt-radio .answer li,.list-radio-flexible .answer li,.list-radio .answer li,.list-with-comment .answer li,.multiple-opt .answer li,.multiple-opt-comments .answer li,.multiple-short-txt .answer li,.numeric-multi .answer li,.yes-no .answer li,.gender .answer li
|
||||
{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.list-radio .answer li label {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* line 207 */
|
||||
td.questiontext {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* line 294 */
|
||||
.choice-5-pt-radio ul,.yes-no ul,.gender ul {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* line 479 */
|
||||
.list-with-comment div.list {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.list-with-comment div.list p {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.list-with-comment p.comment {
|
||||
text-align: right;
|
||||
float: left;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
57
include/limesurvey/templates/quexs/template.js
Normal file
57
include/limesurvey/templates/quexs/template.js
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* LimeSurvey
|
||||
* Copyright (C) 2007 The LimeSurvey Project Team / Carsten Schmitz
|
||||
* All rights reserved.
|
||||
* License: GNU/GPL License v2 or later, see LICENSE.php
|
||||
* LimeSurvey is free software. This version may have been modified pursuant
|
||||
* to the GNU General Public License, and as distributed it includes or
|
||||
* is derivative of works licensed under the GNU General Public License or
|
||||
* other free or open source software licenses.
|
||||
* See COPYRIGHT.php for copyright notices and details.
|
||||
*
|
||||
*
|
||||
* Description: Javascript file for templates. Put JS-functions for your template here.
|
||||
*
|
||||
*
|
||||
* $Id:$
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* The function focusFirst puts the Focus on the first non-hidden element in the Survey.
|
||||
*
|
||||
* Normally this is the first input field (the first answer).
|
||||
*/
|
||||
function focusFirst(Event)
|
||||
{
|
||||
var i=0;
|
||||
// count up as long as the elements are hidden
|
||||
while(document.forms[0].elements[i].type == "hidden" &&
|
||||
document.forms[0].elements[i].style.visibility == 'visible')
|
||||
{
|
||||
i++;
|
||||
}
|
||||
// put focus on the element we just counted.
|
||||
if (document.forms[0].elements[i].type == "hidden" &&
|
||||
document.forms[0].elements[i].style.visibility == 'visible')
|
||||
{
|
||||
document.forms[0].elements[i].focus();
|
||||
}
|
||||
return;
|
||||
}
|
||||
/*
|
||||
* The focusFirst function is added to the eventlistener, when the page is loaded.
|
||||
*
|
||||
* This can be used to start other functions on pageload as well. Just put it inside the 'ready' function block
|
||||
*/
|
||||
|
||||
/** Uncomment if you want to use the focusFirst function
|
||||
|
||||
$(document).ready(function(){
|
||||
focusFirst();
|
||||
})
|
||||
|
||||
**/
|
||||
|
||||
|
||||
|
||||
@@ -1,15 +1,26 @@
|
||||
<table align='center' width='100%' cellpadding='25' cellspacing='0' border='0' style='border-color: #111111'>
|
||||
<tr>
|
||||
<td align='center' bgcolor='#eef6ff'>
|
||||
{CHECKJAVASCRIPT}
|
||||
<font face='verdana' size='4' color='#328639'><strong>{SURVEYNAME}</strong></font><br />
|
||||
<font size='2' color='#1d2d45'>{SURVEYDESCRIPTION}</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' bgcolor='#FFFFFF'>
|
||||
<font face='verdana' size='2' color='#1d2d45'>{WELCOME}<br /><br />
|
||||
<i>{THEREAREXQUESTIONS}</i>
|
||||
</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
{CHECKJAVASCRIPT}
|
||||
<table width="100%" cellpadding="2">
|
||||
<tr>
|
||||
<td valign="middle" align="left"><img src="{TEMPLATEURL}Logo-LimeSurvey.png" alt="Logo Image" /></td>
|
||||
<td valign="bottom" align="center" width="100%">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td class="survey-name"><strong>{SURVEYNAME}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">{LANGUAGECHANGER}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td valign="bottom" align="right" height="100%" width="100%"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<table class="welcome-table" width="80%">
|
||||
<tr>
|
||||
<td class="welcome-text">{WELCOME}<br /> <br /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user