function webform_admin_content in Webform 5.2
Same name and namespace in other branches
- 6.3 includes/webform.admin.inc \webform_admin_content()
- 6.2 webform.module \webform_admin_content()
- 7.4 includes/webform.admin.inc \webform_admin_content()
- 7.3 includes/webform.admin.inc \webform_admin_content()
Menu callback for admin/content/webform. Displays all webforms on the site.
1 string reference to 'webform_admin_content'
- webform_menu in ./
webform.module - Implementation of hook_menu().
File
- ./
webform.module, line 2091
Code
function webform_admin_content() {
$result = db_query(db_rewrite_sql("SELECT n.* FROM {node} n WHERE n.type = 'webform'"));
$nodes = array();
while ($node = db_fetch_object($result)) {
$nodes[] = $node;
}
return theme('webform_admin_content', $nodes);
}