Skip to content

Commit

Permalink
Fixed issue #05203: </form> whithout preceding <form ...> In display …
Browse files Browse the repository at this point in the history
…tokens admin page

Dev Cleaned up invalid HTML

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@10131 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Tony Partner committed May 27, 2011
1 parent 6e06663 commit 024eb3e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions admin/tokens.php
Expand Up @@ -927,11 +927,11 @@
{
if($thissurvey['bounceprocessing']=='N')
{
$tokenoutput .="<image src='$imageurl/bounce_disabled.png' alt='".$clang->gT("You have selected not to use any bounce settings")."'>";
$tokenoutput .="<img src='$imageurl/bounce_disabled.png' alt='".$clang->gT("You have selected not to use any bounce settings")."' align='left' />\n";
}
else
{
$tokenoutput .="<image src='$imageurl/bounce.png' id='bounceprocessing' alt='".$clang->gT("Bounce processing")."'>";
$tokenoutput .="<img src='$imageurl/bounce.png' id='bounceprocessing' alt='".$clang->gT("Bounce processing")."' align='left' />\n";
}
$tokenoutput .= "<img src='$imageurl/seperator.gif' alt='' border='0' hspace='0' align='left' />\n";
}
Expand All @@ -949,7 +949,7 @@
."<a href='$scriptname?action=tokens&amp;subaction=browse&amp;sid=$surveyid&amp;start=$end&amp;limit=$limit&amp;order=$order&amp;searchstring=".urlencode($searchstring)."'" .
"title='".$clang->gTview("Show last...")."'>".
"<img name='DEndButton' align='left' src='$imageurl/dataend.png' alt='".$clang->gT("Show last...")."' /></a>\n"
."<img src='$imageurl/seperator.gif' alt='' border='0' hspace='0' align='left' /></form>\n";
."<img src='$imageurl/seperator.gif' alt='' border='0' hspace='0' align='left' />\n";
}
$tokenoutput .="\t<form id='tokensearch' method='post' action='$scriptname?action=tokens'>\n"
."<input type='text' name='searchstring' value='".htmlspecialchars($searchstring,ENT_QUOTES,'utf-8')."' />\n"
Expand Down Expand Up @@ -992,7 +992,7 @@
$tokenoutput .= "<table class='browsetokens' id='browsetokens' cellpadding='1' cellspacing='1'>\n";
//COLUMN HEADINGS
$tokenoutput .= "\t<tr>\n"
."<th><input type='checkbox' id='tokencheckboxtoggle'></th>\n" //Checkbox
."<th><input type='checkbox' id='tokencheckboxtoggle' /></th>\n" //Checkbox

."<th align='left' >"
."<a href='$scriptname?action=tokens&amp;sid=$surveyid&amp;subaction=browse&amp;order=tid&amp;start=$start&amp;limit=$limit&amp;searchstring=".urlencode($searchstring)."'>"
Expand Down Expand Up @@ -1177,7 +1177,7 @@
if ($bgc == "evenrow") {$bgc = "oddrow";} else {$bgc = "evenrow";}
$tokenoutput .= "\t<tr class='$bgc'>\n";

$tokenoutput .= "<td><input type='checkbox' name='".$brow['tid']."'></td>\n";
$tokenoutput .= "<td><input type='checkbox' name='".$brow['tid']."' /></td>\n";

foreach ($tokenfieldorder as $tokenfieldname)
{
Expand Down Expand Up @@ -1317,7 +1317,7 @@
}
$tokenoutput .= "</td>\n"
. "</tr>\n";
$tokenoutput .= "<input type='hidden' id='tokenboxeschecked' value='' onChange='alert(this.value)'>\n";
$tokenoutput .= "<input type='hidden' id='tokenboxeschecked' value='' onChange='alert(this.value)' />\n";
}
//End multiple item actions

Expand Down

0 comments on commit 024eb3e

Please sign in to comment.