$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 ' '; } break; case 'checkbox': if ($widget_name != 'bypass_trash') { echo ' '; } break; case 'hidden': echo '\n"; break; default: break; } } ?>  '; if (isset($aFormElements['bypass_trash'])) { echo ' '; } if (isset($aFormElements['undeleteButton'])) { echo ' '; } ?> '; } if (isset($aFormElements['copyButton'])) { echo ''; } ?>