Skip to content

Commit

Permalink
dev: removed double footer in surveysecurity screen (second footer pr…
Browse files Browse the repository at this point in the history
…oduced invalid html)

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@8590 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
mennodekker committed Apr 14, 2010
1 parent 057eb62 commit cb4f35c
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions admin/html.php
Expand Up @@ -2378,31 +2378,7 @@
} else {
$surveysecurity .= "<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>"; //fix error on empty table
}
$surveysecurity .= "</tbody>\n";

$surveysecurity .= "<tfoot><form action='$scriptname?sid={$surveyid}' method='post'>\n"
. "<tr>\n"
. "<td colspan='9' align='right'>"
. "<strong>".$clang->gT("User").": </strong><select id='uidselect' name='uid'>\n"
. getsurveyuserlist()
. "</select>\n"
. "</td>\n"

. "<td><input type='submit' value='".$clang->gT("Add User")."' onclick=\"if (document.getElementById('uidselect').value == -1) {alert('".$clang->gT("Please select a user first","js")."'); return false;}\"/>"
. "<input type='hidden' name='action' value='addsurveysecurity' /></td></form>\n"
. "</tr>\n";

$surveysecurity .= "<form action='$scriptname?sid={$surveyid}' method='post'>\n<tr>\n"

. "<td colspan='9' align='right'>"
. "<strong>".$clang->gT("Groups").": </strong><select id='ugidselect' name='ugid'>\n"
. getsurveyusergrouplist()
. "</select>\n"
. "</td>\n"

. "<td><input type='submit' value='".$clang->gT("Add User Group")."' onclick=\"if (document.getElementById('ugidselect').value == -1) {alert('".$clang->gT("Please select a user group first","js")."'); return false;}\" />"
. "<input type='hidden' name='action' value='addusergroupsurveysecurity' /></td>\n"
. "</tr></form></tfoot>\n"
$surveysecurity .= "</tbody>\n"
. "</table>\n";
}
else
Expand Down

0 comments on commit cb4f35c

Please sign in to comment.