$widget_attrs) { switch ($widget_attrs['type']) { case 'submit': if ($widget_name != 'moveButton' && $widget_name != 'copyButton' && $widget_name != 'delete' && $widget_name != 'undeleteButton') { // add these later in another table cell echo ' $val) { echo ' ' . $attr . '="' . $val . '"'; } } echo ' /> '; } break; case 'checkbox': if ($widget_name != 'bypass_trash') { echo ' $val) { echo ' ' . $attr . '="' . $val . '"'; } } echo ' /> '; } break; case 'hidden': echo '"; break; default: break; } } ?>  '; if (isset($aFormElements['bypass_trash'])) { echo ' '; } if (isset($aFormElements['undeleteButton'])) { echo ' '; } ?> '; } if (isset($aFormElements['copyButton'])) { echo ''; } ?>