You are here

function _workspace_addform in Workspace 5

1 call to _workspace_addform()
workspace_list in ./workspace.module
The default admin interface is a list of content.

File

./workspace.module, line 351
Presents a user-centric view of content.

Code

function _workspace_addform() {
  $output = drupal_get_form('workspace_form');
  $form = workspace_form();
  $submit = drupal_render($form['submit']);
  $output = preg_replace("/<input.*type=\"submit\".*>/U", '', $output);
  $output = str_replace('</select>', '</select>&nbsp;' . $submit, $output);
  return $output;
}