Skip to content

Commit

Permalink
Fixed issue : use subquestion icon in alert part for array and array …
Browse files Browse the repository at this point in the history
…by column

Dev : use statusentryhighlight and remove the <font clor red> , put the link for subquestion like answer

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev@9831 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Shnoulle committed Feb 26, 2011
1 parent a7e27c0 commit 5cba1eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions admin/html.php
Original file line number Diff line number Diff line change
Expand Up @@ -1328,10 +1328,10 @@
if ($qct == 0 && $qtypes[$qrrow['type']]['answerscales'] >0)
{
$questionsummary .= "<tr ><td></td><td align='left'>"
. "<font face='verdana' size='1' color='red'>"
. "<span class='statusentryhighlight'>"
. $clang->gT("Warning").": <a href='{$scriptname}?sid={$surveyid}&amp;gid={$gid}&amp;qid={$qid}&amp;action=editansweroptions'>". $clang->gT("You need to add answer options to this question")." "
. "<img src='$imageurl/answers_20.png' title='"
. $clang->gT("Edit answer options for this question")."' name='EditThisQuestionAnswers'/></font></td></tr>\n";
. $clang->gT("Edit answer options for this question")."' name='EditThisQuestionAnswers'/></span></td></tr>\n";
}


Expand All @@ -1340,11 +1340,10 @@
if($sqct == 0 && $qtypes[$qrrow['type']]['subquestions'] >0)
{
$questionsummary .= "<tr ><td></td><td align='left'>"
. "<font face='verdana' size='1' color='red'>"
. $clang->gT("Warning").": ". $clang->gT("You need to add subquestions to this question")." "
. "<input align='top' type='image' src='$imageurl/answers_20.png' title='"
. $clang->gT("Edit subquestions for this question")."' name='EditThisQuestionAnswers'"
. "onclick=\"window.open('".$scriptname."?sid=$surveyid&amp;gid=$gid&amp;qid=$qid&amp;action=editsubquestions', '_top')\" /></font></td></tr>\n";
. "<span class='statusentryhighlight'>"
. $clang->gT("Warning").": <a href='{$scriptname}?sid={$surveyid}&amp;gid={$gid}&amp;qid={$qid}&amp;action=editsubquestions'>". $clang->gT("You need to add subquestions to this question")." "
. "<img src='$imageurl/subquestions_20.png' title='"
. $clang->gT("Edit subquestions for this question")."' name='EditThisQuestionAnswers' /></span></td></tr>\n";
}

if ($qrrow['type'] == "M" or $qrrow['type'] == "P")
Expand Down
Binary file added images/subquestions_20.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5cba1eb

Please sign in to comment.