Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: {ANSWERTABLE}

{ANSWERTABLE} 4 years 10 months ago #73856

  • pcrilly
  • pcrilly's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
Does anyone know how this can be adjusted ? i've looked through some forum posts but i can't see if anyone found a correct answer to this...
Using {ANSWERTABLE} in the e-mail template i get something like this as a print output bound to an email....


Response ID 10
Date submitted 2012-02-07 17:51:15
Last page 2
Start language en
Token
Date last action 2012-02-07 17:51:15
Date started 2012-02-07 17:51:15

Any way of removing the above? I don't really need to see this


Business Unit Close Premium Finance [A4]
Category General Ledger [A1]
Sub Category SAP/Infrastructure [A1]
Modules SAP ABAP [A10]
Component Citrix [A3]

I've worked out that the [A4], [A1], [A10], [A3] are the question tags
I can't see where ( not really good with code ) in the printanswers.pstpl and printanswers.php how i can get rid of the [ ] tags from the generated email.

Does anyone know... im about to really swear at the server and it's not the poor things fault.

Thanks :)
The administrator has disabled public write access.

{ANSWERTABLE} 4 years 10 months ago #73859

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1897
  • Thank you received: 469
  • Karma: 118
Hi Pcrilly,

Here the few I can say to help you:
1) For the [answercode] look here

2) For the headings:

Try this:
- Open your printanswers.php file (after backup)
- Look for something like:
unset ($aFullResponseTable);
unset ($aFullResponseTable);
unset ($aFullResponseTable);
unset ($aFullResponseTable);
unset ($aFullResponseTable);
unset ($aFullResponseTable);


and add to the list:
unset ($aFullResponseTable);
unset ($aFullResponseTable);
unset ($aFullResponseTable);


/!\ Don't remove anything but wrap as comment if you want to change or test something
// unset ($aFullResponseTable);



CHECK !
Good luck
Ben
Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Last Edit: 4 years 10 months ago by Ben_V. Reason: invalid link
The administrator has disabled public write access.

{ANSWERTABLE} 4 years 10 months ago #73860

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
The only solution to get rid of single entries is by editing the source code as described above.

Keep in mind that you will have to re-implement all the changes when updating and that such changes affect all surveys.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.

{ANSWERTABLE} 4 years 10 months ago #73887

  • pcrilly
  • pcrilly's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
They were cool ideas, but they don't seem to work on my version Version 1.91+ Build 11343

Tried all three, not even so much as a flicker of a change.


Response ID 21
Date submitted 2012-02-08 09:56:33
Last page 2
Start language en
Token

Details <--- this is the group name
End User Telephone Number 45745745
End User Email Address 57457457
End User Name 457457
Call Reference 5745745

ALL<--- this is the group name
Site Name 7457457
Impact High [A2]
Urgency High [A2]
Modules SAP Controlling (CO) [2]
Component Internet [8]
Any Additional Information 457457
The administrator has disabled public write access.

{ANSWERTABLE} 4 years 10 months ago #73891

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
It might depend on the place where you add the unset() calls. Data might get filled later on.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.

{ANSWERTABLE} 4 years 10 months ago #73892

  • pcrilly
  • pcrilly's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
i've just downloaded the latest ver and ill test with that :D
The administrator has disabled public write access.

{ANSWERTABLE} 4 years 10 months ago #73895

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
Good luck.

If you are interested in a fully customized printanswers.php script, feel free to ping me at This email address is being protected from spambots. You need JavaScript enabled to view it..

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.

{ANSWERTABLE} 4 years 10 months ago #73906

  • pcrilly
  • pcrilly's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
ok.. still dosn't work
everything in red i have added to the stock file
my printanswers.php file :


<?php
/*
* 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.
*
* $Id: printanswers.php 12171 2012-01-23 20:27:28Z tpartner $
*
*/

//Security Checked: POST, GET, SESSION, REQUEST, returnglobal, DB
require_once(dirname(__FILE__).'/classes/core/startup.php');
require_once(dirname(__FILE__).'/config-defaults.php');
require_once(dirname(__FILE__).'/common.php');
if(isset($usepdfexport) && $usepdfexport == 1)
{
require_once($pdfexportdir."/extensiontcpdf.php");
}

if (!isset($surveyid)) {$surveyid=returnglobal('sid');}
else {
//This next line ensures that the $surveyid value is never anything but a number.
$surveyid=sanitize_int($surveyid);
}

// Compute the Session name
// Session name is based:
// * on this specific limesurvey installation (Value SessionName in DB)
// * on the surveyid (from Get or Post param). If no surveyid is given we are on the public surveys portal
$usquery = "SELECT stg_value FROM ".db_table_name("settings_global")." where stg_name='SessionName'";
$usresult = db_execute_assoc($usquery,'',true); //Checked
if ($usresult)
{
$usrow = $usresult->FetchRow();
$stg_SessionName=$usrow;
if ($surveyid)
{
@session_name($stg_SessionName.'-runtime-'.$surveyid);
}
else
{
@session_name($stg_SessionName.'-runtime-publicportal');
}
}
else
{
session_name("LimeSurveyRuntime-$surveyid");
}
session_set_cookie_params(0,$relativeurl.'/');
@session_start();

if (isset($_SESSION)) {$surveyid=$_SESSION;} else die('Invalid survey/session');

//Debut session time out
if (!isset($_SESSION) || !isset($_SESSION))
// Argh ... a session time out! RUN!
//display "sorry but your session has expired"
{
require_once($rootdir.'/classes/core/language.php');
$baselang = GetBaseLanguageFromSurveyID($surveyid);
$clang = new limesurvey_lang($baselang);
//A nice exit

sendcacheheaders();
doHeader();

echo templatereplace(file_get_contents(sGetTemplatePath(validate_templatedir("default"))."/startpage.pstpl"));
echo "<center><br />\n"
."\t<font color='RED'><strong>".$clang->gT("ERROR")."</strong></font><br />\n"
."\t".$clang->gT("We are sorry but your session has expired.")."<br />".$clang->gT("Either you have been inactive for too long, you have cookies disabled for your browser, or there were problems with your connection.")."<br />\n"
."\t".sprintf($clang->gT("Please contact %s ( %s ) for further assistance."),$siteadminname,$siteadminemail)."\n"
."</center><br />\n";

echo templatereplace(file_get_contents(sGetTemplatePath(validate_templatedir("default"))."/endpage.pstpl"));
doFooter();
exit;
};
//Fin session time out

$id=$_SESSION; //I want to see the answers with this id
$clang = $_SESSION;

//A little bit of debug to see in the noodles plate
/*if ($debug==2)
{
echo "MonSurveyID $surveyid et ma langue ". $_SESSION. " et SRID = ". $_SESSION ."<br />";
echo "session id".session_id()." \n"."<br />";

echo //"secanswer ". $_SESSION
"oldsid ". $_SESSION."<br />"
."step ". $_SESSION."<br />"
."scid ". $_SESSION
."srid ". $_SESSION."<br />"
."datestamp ". $_SESSION."<br />"
."insertarray ". $_SESSION."<br />"
."fieldarray ". $_SESSION."<br />";
."holdname". $_SESSION;

print " limit ". $limit."<br />"; //afficher les 50 derniéres réponses par ex. (pas nécessaire)
print " surveyid ".$surveyid."<br />"; //sid
print " id ".$id."<br />"; //identifiant de la réponses
print " order ". $order ."<br />"; //ordre de tri (pas nécessaire)
print " this survey ". $thissurvey;
}; */

//Ensure script is not run directly, avoid path disclosure
if (!isset($rootdir) || isset($_REQUEST)) {die("browse - Cannot run this script directly");}

// Set the language for dispay
require_once($rootdir.'/classes/core/language.php'); // has been secured
if (isset($_SESSION))
{
$clang = SetSurveyLanguage( $surveyid, $_SESSION);
$language = $_SESSION;
} else {
$language = GetBaseLanguageFromSurveyID($surveyid);
$clang = SetSurveyLanguage( $surveyid, $language);
}

// Get the survey inforamtion
$thissurvey = getSurveyInfo($surveyid,$language);

//SET THE TEMPLATE DIRECTORY
if (!isset($thissurvey) || !$thissurvey)
{
$thistpl=validate_templatedir("default");
}
else
{
$thistpl=validate_templatedir($thissurvey);
}

if ($thissurvey=='N') die(); //Die quietly if print answers is not permitted






//CHECK IF SURVEY IS ACTIVATED AND EXISTS
$actquery = "SELECT * FROM ".db_table_name('surveys')." as a inner join ".db_table_name('surveys_languagesettings')." as b on (b.surveyls_survey_id=a.sid and b.surveyls_language=a.language) WHERE a.sid=$surveyid";

$actresult = db_execute_assoc($actquery); //Checked
$actcount = $actresult->RecordCount();
if ($actcount > 0)
{
while ($actrow = $actresult->FetchRow())
{
$surveytable = db_table_name("survey_".$actrow);
$surveyname = "{$actrow}";
$anonymized = $actrow;
}
}


//OK. IF WE GOT THIS FAR, THEN THE SURVEY EXISTS AND IT IS ACTIVE, SO LETS GET TO WORK.
//SHOW HEADER
$printoutput = '';
if(isset($usepdfexport) && $usepdfexport == 1)
{
$printoutput .= "<form action='printanswers.php?printableexport=pdf&sid=$surveyid' method='post'>\n<center><input type='submit' value='".$clang->gT("PDF Export")."'id=\"exportbutton\"/><input type='hidden' name='printableexport' /></center></form>";
}
if(isset($_POST))
{
$pdf = new PDF($pdforientation);
$pdf->SetFont($pdfdefaultfont,'',$pdffontsize);
$pdf->AddPage();
$pdf->titleintopdf($clang->gT("Survey name (ID)",'unescaped').": {$surveyname} ({$surveyid})");
}
$printoutput .= "\t<div class='printouttitle'><strong>".$clang->gT("Survey name (ID):")."</strong> $surveyname ($surveyid)</div><p> \n";

$bHonorConditions=($printanswershonorsconditions==1);
$aFullResponseTable=aGetFullResponseTable($surveyid,$id,$language,$bHonorConditions);

//Get the fieldmap @TODO: do we need to filter out some fields?
//unset ($aFullResponseTable);
//unset ($aFullResponseTable);
//unset ($aFullResponseTable);
//unset ($aFullResponseTable);
//unset ($aFullResponseTable);
//unset ($aFullResponseTable);

$printoutput .= "<table class='printouttable' >\n";
if(isset($_POST))
{
$pdf->intopdf($clang->gT("Question",'unescaped').": ".$clang->gT("Your answer",'unescaped'));
}

$oldgid = 0;
$oldqid = 0;
foreach ($aFullResponseTable as $sFieldname=>$fname)
{
if (substr($sFieldname,0,4)=='gid_')
{

if(isset($_POST))
{
$pdf->intopdf(FlattenText($fname[0],true));
$pdf->ln(2);
}
else
{
$printoutput .= "\t<tr class='printanswersgroup'><td colspan='2'>{$fname[0]}</td></tr>\n";
}
}
elseif (substr($sFieldname,0,4)=='qid_')
{
if(isset($_POST))
{
$pdf->intopdf(FlattenText($fname[0].$fname[1],true).": ".$fname[2]);
$pdf->ln(2);
}
else
{
$printoutput .= "\t<tr class='printanswersquestionhead'><td colspan='2'>{$fname[0]}</td></tr>\n";
}
}
elseif ($sFieldname=='submitdate')
{
if($anonymized != 'Y')
{
if(isset($_POST))
{
$pdf->intopdf(FlattenText($fname[0].$fname[1],true).": ".$fname[2]);
$pdf->ln(2);
}
else
{
$printoutput .= "\t<tr class='printanswersquestion'><td>{$fname[0]} {$fname[1]} {$sFieldname}</td><td class='printanswersanswertext'>{$fname[2]}</td></tr>";
}
}
}
else
{
if(isset($_POST))
{
$pdf->intopdf(FlattenText($fname[0].$fname[1],true).": ".$fname[2]);
$pdf->ln(2);
}
else
{
$printoutput .= "\t<tr class='printanswersquestion'><td>{$fname[0]} {$fname[1]}</td><td class='printanswersanswertext'>{$fname[2]}</td></tr>";
}
}
}

$printoutput .= "</table>\n";
if(isset($_POST))
{

header("Pragma: public");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");

$sExportFileName=sanitize_filename($surveyname);
$pdf->Output($sExportFileName."-".$surveyid.".pdf","D");
}


//Display the page with user answers
if(!isset($_POST))
{
sendcacheheaders();
doHeader();

echo templatereplace(file_get_contents(sGetTemplatePath($thistpl).'/startpage.pstpl'));
echo templatereplace(file_get_contents(sGetTemplatePath($thistpl).'/printanswers.pstpl'),array('ANSWERTABLE'=>$printoutput));
echo templatereplace(file_get_contents(sGetTemplatePath($thistpl).'/endpage.pstpl'));
echo "</body></html>";
}


?>
The administrator has disabled public write access.

{ANSWERTABLE} 4 years 10 months ago #73908

  • pcrilly
  • pcrilly's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
my printanswers.pstpl file :

<style type="text/css" media="all">
<!--
.nocode{display:none}
-->
</style>
{ANSWERTABLE}
The administrator has disabled public write access.

{ANSWERTABLE} 4 years 10 months ago #73909

  • pcrilly
  • pcrilly's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
The administrator has disabled public write access.

{ANSWERTABLE} 4 years 10 months ago #73910

  • pcrilly
  • pcrilly's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
and my template.css file :

Everything in red i added

.nocode{display:none}
body {
font-family: arial, verdana, sans-serif;
font-size: 14px;
line-height: 17px;
background-color: #999;
}

table.question {
border: 1px;
border-color: #aaa;
border: 1px solid #AAAAAA;
border-collapse: collapse;
width: 100%;
}

td {
font-family: arial, verdana, sans-serif;
font-size: 14px;
line-height: 17px;
}

td.tenpoint {
font-size: 12px;
line-height: 15px;
}

.answertextright {
text-align: left;
}

.b3 {
background-color: #333;
}

.b9 {
background-color: #999;
}

.ba {
background-color: #aaa;
}

.bd {
background-color: #ddd;
}
.asterisk {display:none}
.mandatory .asterisk {display:inline;}
.asterisk {
color: red;
font-size: 9pt;
font-family: verdana;
padding-right:1em;
}

span.qnumcode {
font-style:italic;
}
.showqnumcode-X .qnumcode {
display:none;
}

.questionhelp {
font-size: 10px;
font-style: italic;
}

.questiontext {
font-family: verdana;
font-size: 12px;
font-weight: bold;
}

.survey-question-help img {
margin-right: 5px;
}

#progress-graph {
line-height: 1.5em;
width: 14em;
font-weight: bold;
margin-left: auto;
margin-right: auto;
margin-top: 0.2em;
}

.hide {
font-weight: normal;
position: absolute;
top: -9999px;
left: -9999px;
}

#progress-graph div.zero {
width: 2.1em;
margin-right: 0%;
}

#progress-graph div.graph {
width: 8em;
height: 1.5em;
border: 1px solid #000;
margin-top: -1.7em;
margin-left: 2.1em;
margin-right: 0%;
text-align: left;
}

#progress-graph div.cent {
width: 3em;
margin-top: -1.5em;
margin-left: 10.9em;
margin-right: 0%;
}

/*
.innergraph {
direction: ltr;
}

.innergraph img {
height:12px;
vertical-align:top;
}

.innergraph table {
height:12px;
border:1px solid #000;
table-layout:fixed !important;
}

.innergraph td {
height:12px;
}
*/
.surveytitle {
font-size: 1.2em;
height: 1.5em;
}

.surveytitle:hover {
background-color: #F0F0F0;
}

.languagechanger {
font-size: 1em;
}

table,img {
border: 0;
}

.be,.array1 {
background-color: #eee;
}

.bf,.array2 {
background-color: #fff;
}

.alert{
display:block;
}
.error,.errormandatory,.warningjs {
color: red;
}
.errormandatory,.warningjs {
font-size: 13px;
font-weight: 700;
}

table.question tr.array1:hover,table.question tr.array2:hover {
background-color: #A7A9D1;
}

.assessment-table {
margin: 0 auto;
width: 75%;
border-collapse: collapse;
}

.assessment-heading {
background-color: #CCCCCC;
text-align: center;
font-size: small;
font-weight: bold;
border-bottom: 1px solid #000000;
}

.assessments-container {
}

.clearall-result {
font-size: small;
font-family:Arial, Helvetica, sans-serif;
text-align: center;
background-color: #FFFFFF;
}

.warning-text {
color:#FF0000;
font-weight: bold;
}

.completed-table {
margin: 0 auto;
width: 75%;
border-collapse: collapse;
}

.completed-table td {
text-align: center;
font-size: small;
}

.group-description {
font-size: small;
font-family:Verdana, Arial, Helvetica, sans-serif;
}

.load-error {
color:#FF0000;
}

.load-heading {
font-weight: bold;
font-size: large;
}

.load-message {
}

.load-form {
}

.return-to-survey {
}

.navigator-table {
width: 100%;
background-color: #CCCCCC;
border: 0 none;
border-collapse: collapse;
}

.navigator-table td {
margin: 0;
padding: 8px;
}

.submit-buttons {
}

.clear-all {
}

.save-all {
}

.privacy-table {
margin: 0 auto;
width: 75%;
background-color: #EEEEEE;
margin-bottom: 10px;
}

.privacy-table td {
text-align: center;
font-size: x-small;
}

.save-error{
color: #FF0000;
}

.save-heading{
font-weight: bold;
font-size: large;
}

.save-message{
}

.save-form{
}

.group-name {
font-size: small;
font-family:Verdana, Arial, Helvetica, sans-serif;
color: #666666;
font-weight: bold;
}

.survey-name {
font-weight: bold;
text-align: center;
}

.survey-description {
}

.welcome-text {
}

.survey-list-table {
width: 100%;
margin: 0 auto;
border-collapse: collapse;
background-color: #FFFFFF;
}

.survey-list-table td {
text-align: center;
}

.survey-list-table .site-name {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: large;
color: #328639;
}

.survey-list-table .survey-list-heading {
font-weight: bold;
}

.survey-list-table .survey-list {
}

.survey-list-table .survey-list ul {
padding: 0;
}

.survey-list-table .survey-list li {
list-style: none;
padding-bottom: 5px;
}

.survey-list-table .survey-contact {
}

.survey-list-table .language-changer {
}

.survey-list-table .language-changer a {
color: #000000;
}

.register-message-1 {
font-weight: bold;
}

.register-message-2 {
}

/*
START: Question styles
*/
/* =====================================
== Full list of question classes =======

.boilerplate
,.numeric
,.choice-5-pt-radio
,.yes-no
,.gender
,.date
,.numeric-multi
,.numeric
,.list-radio
,.list-radio-flexible
,.list-with-comment
,.list-dropdown
,.list-dropdown-flexible
,.ranking
,.numeric-multi
,.language
,.multiple-opt-comments
,.multiple-short-txt
,.text-short
,.text-long
,.text-huge
,.numeric-multi
,.array-5-pt
,.array-10-pt
,.array-yes-uncertain-no
,.array-increase-same-decrease
,.array-flexible-row
,.array-flexible-column
,.slider
,.array-multi-flexi
,.array-multi-flexi-text
,.array-flexible-duel-scale
*/ /* - - - - - - - - - - - - - - - - - - - - - -
START: General list styles - - - - - - - - - - */
.choice-5-pt-radio .answer ul,.list-radio-flexible .answer ul,.list-radio .answer ul,.list-with-comment .answer ul,.multiple-opt .answer ul,.multiple-opt-comments .answer ul,.multiple-short-txt .answer ul,.numeric-multi .answer ul,.yes-no .answer ul,.gender .answer ul
{
margin-left: 0%;
padding-left: 0%;
}

.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
{
list-style-type: none;
text-align: left;
margin: 0% 0% 0.5em 0.5em;
}

.choice-5-pt-radio .answer li,.list-radio-flexible .answer li,.list-radio .answer li,.list-with-comment .answer li,.yes-no .answer li,.gender .answer li
{
margin-left: 2em;
text-indent: -1.8em;
}

/* END: General list styles - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - */
/* STYLES NOT YET DEFINED - - - - -
.boilerplate {}
*/
.choice-5-pt-radio .answer ul,.yes-no .answer ul,.gender .answer ul {
text-align: left;
margin-left: 0%;
padding-left: 0%;
}

.choice-5-pt-radio .answer ul li,.yes-no .answer ul li,.gender .answer ul li {
display: inline;
padding: 0% 2em 0% 0%;
margin-left: 0%;
}

/* STYLES NOT YET DEFINED - - - - -
.date {}
*/
.date p.question {
margin-left: 1em;
}

.date p.question select.day {

}

.date p.question select.month {

}

.date p.question select.year {

}

.date p.tip,.numeric-multi p.tip,.numeric p.tip {
margin-left: 1.5em;
font-size: 80%;
font-style: italic;
line-height: 150%;
}

/*
.numeric-multi ul
,.numeric p.question
{
font-size: 80%;
}
*/
.numeric-multi span,.multiple-short-txt .question .answer ul li span {
font-size: 80%;
/* font-style: italic;*/
}

.numeric-multi p.tip.error,.numeric-multi input.tip.error {
color: #f70;
font-weight: bold;
}

.numeric-multi p.tip.good,.numeric-multi input.tip.good {
color: #090;
font-weight: bold;
}

.numeric p.question {
font-size: 80%;
}

.numeric p.question input {
margin: 0% 0.2em;
}

/* DEFINED ABOVE UNDER "General list styles" - - - - -
.list-radio-flexible
.list-radio
*/
ul.cols-2,table.cols-2,ul.cols-3,table.cols-3,ul.cols-4,table.cols-4,ul.cols-5,table.cols-5,ul.cols-6,table.cols-6,ul.cols-7,table.cols-7,ul.cols-8,table.cols-8
{
width: 98%;
margin: 0% auto 0% auto;
}

ul.cols-2 li,ul.cols-2-ul,ul.cols-3 li,ul.cols-3-ul,ul.cols-4 li,ul.cols-4-ul,ul.cols-5 li,ul.cols-5-ul,ul.cols-6 li,ul.cols-6-ul,ul.cols-7 li,ul.cols-7-ul,ul.cols-8 li,ul.cols-8-ul
{
float: left;
padding: 0% 0.5em;
white-space: normal
}

ul.cols-2 li,ul.cols-2-ul,table.cols-2 td {
width: 48%;
}

ul.cols-3 li,ul.cols-3-ul,table.cols-3 td {
width: 30.5%;
}

ul.cols-4 li,ul.cols-4-ul,table.cols-4 td {
width: 23%;
}

ul.cols-5 li,ul.cols-5-ul,table.cols-5 td {
width: 17%;
}

ul.cols-6 li,ul.cols-6-ul,table.cols-6 td {
width: 15%;
}

ul.cols-7 li,ul.cols-7-ul,table.cols-7 td {
width: 13%;
}

ul.cols-8 li,ul.cols-8-ul,table.cols-8 td {
width: 11%;
}

.list-dropdown-flexible p.question {
margin-left: 1em;
}

/* STYLES NOT YET DEFINED - - - - -
.list-dropdown {}
*/
.list-with-comment div.list {
width: 47%;
float: left;
padding: 0.5em 0.5em 0.5em 0%;
}

.list-with-comment p.select {
width: 47%;
float: left;
padding: 0.5em;
margin: 0%;
}

.list-with-comment div.list p {
margin: 0% 0% 0% 0.6em;
text-align: left;
}

.list-with-comment p.comment {
margin: 0%;
padding: 0.5em;
text-align: left;
float: left;
width: 47%;
}

.ranking {

}

.language {

}

/* The following styles only apply to modern (relatively) complete CSS2 compliant browsers. (Not less than IE 8) */
.multiple-opt-comments td.answer,.multiple-short-txt td.answer,.numeric-multi td.answer
{

}

.multiple-opt-comments ul,.multiple-short-txt ul,.numeric-multi ul {
display: table;
padding: 0%;
margin: 1em;
}

.numeric-multi ul {
margin: 0% 1em 1.5em 1em;
}

.numeric-multi ul.computed {
float: left;
padding-right: 2em;
}

.numeric-multi ul.slider.computed {
width: 17em;
}

.multiple-opt-comments ul li,.multiple-short-txt ul li,.numeric-multi ul li
{
display: table-row;
}

.multiple-opt-comments ul li span.option {
padding: 0.3em 1em 0% 1.8em;
text-indent: -1.7em;
display: table-cell;
vertical-align: baseline;
}

.numeric-multi ul li label {
padding: 0.3em 1em 0% 0%;
display: table-cell;
vertical-align: baseline;
}

.multiple-short-txt ul li label {
padding: 0.3em 1em 0% 0%;
display: table-cell;
vertical-align: middle;
}

.numeric-multi ul.computed li label
.numeric-multi ul.slider.computed li label {
padding-right: 0%;
}

.multiple-opt-comments ul li span.comment,.multiple-short-txt ul li span,.numeric-multi ul li span
{
padding: 0.3em 0% 0% 1em;
display: table-cell;
vertical-align: baseline;
white-space: nowrap;
}

.multiple-opt-comments ul li span {
padding: 0.3em 1em 0% 0%;
}

.numeric-multi ul.multiplenumerichelp,.numeric-multi ul.multiplenumerichelp.slider
{
display: table;
font-size: 90%;
}

.numeric-multi ul.multiplenumerichelp li,.numeric-multi ul.multiplenumerichelp.slider li
{
display: table-row;
}

.numeric-multi ul.multiplenumerichelp li label,.numeric-multi ul.multiplenumerichelp.slider li label
{
padding: 0.3em 0% 0% 0%;
display: table-cell;
}

.numeric-multi ul.multiplenumerichelp li span,.numeric-multi ul.multiplenumerichelp.slider li span
{
padding: 0% 0% 0% 0.3em;
display: table-cell;
}

.numeric-multi ul.multiplenumerichelp span input {
border: none;
background-color: #fff;
color: #222;
padding: 0%;
width: 7em;
}

.numeric input,.text-short input,.text-short textarea,.text-long textarea,.text-huge textarea
{
margin-left: 1em;
}

/* STYLES NOT YET DEFINED - - - - -
.yes-no {}
.gender {}
*/
#limesurvey table.question thead th,#limesurvey table.question .repeat th
{
text-align: center;
vertical-align: bottom;
font-weight: normal;
}

#limesurvey .array-flexible-duel-scale table.question .header_separator,
#limesurvey .array-flexible-duel-scale table.question .dual_scale_separator,
#limesurvey .array-flexible-duel-scale table.question .header_answer_text_right {
background-color: #FFFFFF;
}

#limesurvey table.question thead tr.header_row {
background-color: #EEEEEE;
}

#limesurvey .array-flexible-duel-scale table.question tr.repeat {
background-color: #F6F6F6;
}

#limesurvey table.question .answer tbody td {
text-align: center;
}

#limesurvey table.question tbody th.answertext,#limesurvey table.question tbody th.arraycaptionleft
{
text-align: right;
font-weight: normal;
}

#limesurvey table.question tbody th.answertextright {
text-align: left;
font-weight: normal;
}

#limesurvey .ranking table.question .answer .rank tbody td {
text-align: left;
}

table.rank td.helptext {
font-size: 10px;
font-style: italic;
}

.array-flexible-column col.odd {
background-color: #eee;
}

/* Jquery CSS
*/ /** UI Base **/
.ui-wrapper {
border: 1px solid #50A029;
}

.ui-wrapper input,.ui-wrapper textarea {
border: 0;
}

/** UI Slider **/
.numeric-multi label.slider-label {
display: table-cell;
width: auto !important;
padding: 0 1em 0.2em 0;
margin-top: 1.3em;
vertical-align: middle;
}

.numeric-multi div.multinum-slider {
width: auto;
float: left;
margin-top: 1.5em;
margin-bottom: 0.2em;
}

.multinum-slider .ui-state-default {
background: none #CCCCCC;
border:1px solid #666666;
}

.multinum-slider .ui-widget-content {
background: none;
border:1px solid #666666;
}

.ui-slider-disabled .ui-slider-handle {
opacity: 0.5;
filter: alpha(opacity = 50);
}

.ui-slider-1 {
width: 200px;
height: 9px;
margin-bottom: 20px;
}

.ui-slider-2 {
width: 200px;
height: 23px;
position: relative;
background-image: url(../../images/slider-bg-2.png);
background-repeat: no-repeat;
background-position: center center;
}

.slider_callout {no-repeat;
height: 20px;
width: 100px;
overflow: hidden;
position: absolute;
top: -21px;
margin-left: -3px;
font-family: 'Myriad Pro';
color: #284a6e;
font-weight: bold;
text-align: left;
}

.slider_showmin {
float: left;
width: 50px;
margin: 15px 0 0 0;
font-family: Arial, Helvetica, sans-serif;
font-size: 0.7em;
font-weight: normal;
text-align: left;
}

.slider_showmax {
float: right;
width: 50px;
margin: 15px 0 0 0;
font-family: Arial, Helvetica, sans-serif;
font-size: 0.7em;
font-weight: normal;
text-align: right;
}

.slider_lefttext {
display: table-cell;
padding-top: 1.5em;
padding-right: 11px;
padding-bottom: 3px;
vertical-align: top;
text-align: right;
font-size: 0.9em;
}

.slider_righttext {
display: table-cell;
padding-top: 1.5em;
padding-left: 11px;
padding-bottom: 3px;
vertical-align: top;
font-size: 0.9em;
}

#tokenform {
margin-top: 1em;
}

#tokenform input {

}

#tokenform label {
float: left;
width: 20em;
margin-right: 0.5em;
text-align: right;
}

#tokenform li {
padding-bottom: 5px;
list-style: none;
}

#tokenform img {
margin-bottom: -5px;
margin-right: 5px;
}

p#tokenmessage {
margin: 20px;
}

p#tokenmessage {
margin: 20px;
text-align: center;
}

div#wrapper {
width: 600px;
margin: 0 auto;
}

#tokenform input.submit {
margin-left: 18em;
margin-top: 1em;
margin-bottom: 1em;
}

#statsContainer {
width: 80%;
margin: 0 auto;
background-color: #FFFFFF;
padding: 0px;
min-width: 690px
}

#statsHeader {
color: #000000;
text-align: center;
padding: 10px 0px;
height: 72px;
background-image: url(Logo-LimeSurvey.png);
background-repeat: no-repeat;
background-position: 35px 18px;
}

.statsSurveyTitle {
text-align: center;
font-size: 1.0em;
font-weight: bold;
padding: 25px 0px 0px 0px;
float: right;
width: 65%;
text-align: left;
}

.statsNumRecords {
font-size: .9em;
float: right;
width: 65%;
text-align: left;
}

table.statisticstable {
width: 90%;
border: 0px solid;
text-align: left;
background-color: #fff;
margin: 0px auto;
padding-bottom: 8px;
}

table.statisticstable td {
padding-top: 4px;
padding-bottom: 4px;
border-bottom: 1px solid #CCC;
}

table.statisticstable img {
margin: 10px auto;
}

div.fieldSummary {
font-size: .9em;
padding: 10px 10px 4px 0px;
display: block;
text-align: left;
}

div.questionTitle {
font-size: 1.0em;
padding: 20px 20px 20px 20px;
font-weight: normal;
background-color: #efefef;
}

/* Question Index */
.outerframe.withindex,.withindex .outerframe{
margin-left: 1em;
margin-right: 26em;
}
.allinone .withindex{margin:0}
#index {
position: absolute;
right: 0;
width: 25em;
top: 0;
overflow-y: scroll;
overflow-x: hidden;
height: 100%;
background: #eee;
border-left: 1px solid #ccc;
}

#index h2 {
text-align: center;
font-weight: normal;
}

#index h3 { margin: 0.5em 0 0 0.5em; }

#index .container {
width: 24em;
}

#index .container .row {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: left;
border-top: 1px solid #fff;
}

#index .container .row:hover {
text-decoration: underline;
cursor: pointer;
color: blue;
}

#index .container .row .hdr {
width: 3em;
text-align: right;
display: inline-block;
padding: 0 0.5em 0 0;
}

#index .container .row.odd { background: #CCC; }
#index .container .row.current { background: #000; color: #fff; }
#index .container .row.missing { background: #CC0000; color: #fff; }
#index .container input { margin: 1em; }
The administrator has disabled public write access.

{ANSWERTABLE} 4 years 10 months ago #73913

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
Sorry, but we can't offer support for larger code changes and reading all that is really beyog free support, I hope you understand that.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.

{ANSWERTABLE} 4 years 10 months ago #73931

  • pcrilly
  • pcrilly's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
oh ok,
im not sure where i needed to put those statements really. i just posted it to see if that's where'd you guys would put it. if it still didn't work with your input, i could well see this as being a major code change to the core code.
The administrator has disabled public write access.

{ANSWERTABLE} 4 years 10 months ago #73947

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9603
  • Thank you received: 1376
  • Karma: 390
There a user_patch possibilty in bug report

And you can use ideas.limesurvey.org ( Feature requests)

Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
Last Edit: 4 years 10 months ago by DenisChenu.
The administrator has disabled public write access.

{ANSWERTABLE} 3 years 4 months ago #98734

  • DWS
  • DWS's Avatar
  • Offline
  • Senior Lime
  • Posts: 53
  • Thank you received: 1
  • Karma: 2
file printanswer.php doesn't exist on v2.00.
where can I find this piece of code?
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.752 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form