Skip to content

Commit

Permalink
Dev Added class='assessments' to assessment result table for easier s…
Browse files Browse the repository at this point in the history
…tyling

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@8104 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Dec 8, 2009
1 parent 7831dba commit 17611bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Expand Up @@ -2713,7 +2713,7 @@ function doAssessment($surveyid, $returndataonly=false)
if ($val >= $assessed['min'] && $val <= $assessed['max'] && $returndataonly===false)
{
$assessments .= "\t<!-- GROUP ASSESSMENT: Score: $val Min: ".$assessed['min']." Max: ".$assessed['max']."-->
<table align='center'>
<table class='assessments' align='center'>
<tr>
<th>".str_replace(array("{PERC}", "{TOTAL}"), array($val, $total), $assessed['name'])."
</th>
Expand All @@ -2736,7 +2736,7 @@ function doAssessment($surveyid, $returndataonly=false)
if ($total >= $assessed['min'] && $total <= $assessed['max'] && $returndataonly===false)
{
$assessments .= "\t\t\t<!-- TOTAL ASSESSMENT: Score: $total Min: ".$assessed['min']." Max: ".$assessed['max']."-->
<table align='center'><tr><th>".str_replace(array("{PERC}", "{TOTAL}"), array($val, $total), stripslashes($assessed['name']))."
<table class='assessments' align='center'><tr><th>".str_replace(array("{PERC}", "{TOTAL}"), array($val, $total), stripslashes($assessed['name']))."
</th></tr>
<tr>
<td align='center'>".str_replace(array("{PERC}", "{TOTAL}"), array($val, $total), stripslashes($assessed['message']))."
Expand Down

0 comments on commit 17611bf

Please sign in to comment.