Fix for Code

  1. phptemplate_form($element) {
  2.   $id ='id1,id2,id3,id4,en,nog,een,id';
  3.   if (in_array($element['#id'], explode(',', $id))) {
  4.     $element['attributes']['class'] .= 'JOUWCUSTOMCLASS';
  5.   }
  6.   // Anonymous div to satisfy XHTML compliance.
  7.   $action = $element['#action'] ? 'action="'. check_url($element['#action']) .'" ' : '';
  8.   return '<form '. $action .' accept-charset="UTF-8" method="'. $element['#method'] .'" id="'. $element['#id'] .'"'. drupal_attributes($element['#attributes']) .">\n<div>". $element['#children'] ."\n</div></form>\n";
  9. }