Contributions API

Calling all Drupal developers!

Help us get this on the first page of Digg. DIGG NOW!

Modules in 6

webform_admin_content

Definition

webform_admin_content()
contributions/webform/webform.module, line 1904

Description

Menu callback for admin/content/webform. Displays all webforms on the site.

Code

<?php
function webform_admin_content() {
  $result = db_query("SELECT nid, uid, title FROM {node} WHERE type = 'webform'");
  $nodes = array();
  while ($node = db_fetch_object($result)) {
    $nodes[] = $node;
  }

  return theme('webform_admin_content', $nodes);
}
?>