Minor update working towards full XHTML compliance.
This commit is contained in:
parent
a9b7943679
commit
9680dcd3a5
1 changed files with 2 additions and 2 deletions
|
|
@ -827,7 +827,7 @@ sub www_editQuestion {
|
||||||
my $output = $f->print;
|
my $output = $f->print;
|
||||||
if ($question->{Survey_questionId} ne "new" && $question->{answerFieldType} ne "text") {
|
if ($question->{Survey_questionId} ne "new" && $question->{answerFieldType} ne "text") {
|
||||||
$output .= '<a href="'.$self->getUrl('func=editAnswer&aid=new&qid='
|
$output .= '<a href="'.$self->getUrl('func=editAnswer&aid=new&qid='
|
||||||
.$question->{Survey_questionId}).'">'.WebGUI::International::get(23,'Asset_Survey').'</a><p>';
|
.$question->{Survey_questionId}).'">'.WebGUI::International::get(23,'Asset_Survey').'</a><p />';
|
||||||
$sth = WebGUI::SQL->read("select Survey_answerId,answer from Survey_answer
|
$sth = WebGUI::SQL->read("select Survey_answerId,answer from Survey_answer
|
||||||
where Survey_questionId=".quote($question->{Survey_questionId})." order by sequenceNumber");
|
where Survey_questionId=".quote($question->{Survey_questionId})." order by sequenceNumber");
|
||||||
while (%data = $sth->hash) {
|
while (%data = $sth->hash) {
|
||||||
|
|
@ -837,7 +837,7 @@ sub www_editQuestion {
|
||||||
editIcon('func=editAnswer&qid='.$question->{Survey_questionId}.'&aid='.$data{Survey_answerId}, $self->getUrl).
|
editIcon('func=editAnswer&qid='.$question->{Survey_questionId}.'&aid='.$data{Survey_answerId}, $self->getUrl).
|
||||||
moveUpIcon('func=moveAnswerUp'.'&qid='.$question->{Survey_questionId}.'&aid='.$data{Survey_answerId}, $self->getUrl).
|
moveUpIcon('func=moveAnswerUp'.'&qid='.$question->{Survey_questionId}.'&aid='.$data{Survey_answerId}, $self->getUrl).
|
||||||
moveDownIcon('func=moveAnswerDown&qid='.$question->{Survey_questionId}.'&aid='.$data{Survey_answerId}, $self->getUrl).
|
moveDownIcon('func=moveAnswerDown&qid='.$question->{Survey_questionId}.'&aid='.$data{Survey_answerId}, $self->getUrl).
|
||||||
' '.$data{answer}.'<br>';
|
' '.$data{answer}.'<br />';
|
||||||
}
|
}
|
||||||
$sth->finish;
|
$sth->finish;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue