// Do we want to save changes?
if (isFormSent()) {
- foreach (postRequestElement('sel') as $id => $value) {
+ foreach (postRequestParameter('sel') as $id => $value) {
SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_must_register` SET field_required='%s' WHERE `id`=%s AND field_required != '%s' LIMIT 1",
array($value, bigintval($id), $value),__FILE__, __LINE__);
}
// @TODO Move this HTML code into a template
$OUT .= "<tr>
- <td align=\"center\" class=\"switch_sw".$content['sw']." bottom2 right2\">".$content['id']."</td>
- <td class=\"switch_sw".$content['sw']." bottom2 right2\"> ".$content['field_name']."</td>
- <td align=\"center\" class=\"switch_sw".$content['sw']." bottom2 right2\">
+ <td align=\"center\" class=\"switch_sw".$content['sw']." bottom right\">".$content['id']."</td>
+ <td class=\"switch_sw".$content['sw']." bottom right\"> ".$content['field_name']."</td>
+ <td align=\"center\" class=\"switch_sw".$content['sw']." bottom right\">
".$content['selection']."
</td>
</tr>\n";