_signup_admin_form() is really the form builder (actually, a helper function called by other form builders) for the signup settings on a given node. it's shared by the site-wide config page, where you can specify global defaults for all of those settings. furthermore, there's a PHP warning on the settings page since there's no node or node type at all, yet we're trying to call node_get_names().

Comments

dww’s picture

Status: Active » Needs review
StatusFileSize
new5.03 KB

Renamed the function to signup_node_settings_form() and added a $node_type argument. This only needs to hit HEAD and DRUPAL-5--2 -- the PHP warning was added by #328647: Purge "event" from the UI (and code) unless we're talking about event.module, which was never backported to DRUPAL-5.

dww’s picture

Backported to DRUPAL-5--2, and fixed one other minor problem in both versions.

dww’s picture

Based on feedback from greggles in IRC, decided not to use drupal_strtolower() anywhere, and to always put the human-readable node type name in a placeholder for consistency.

dww’s picture

Status: Needs review » Fixed

After further review from greggles in IRC, committed to HEAD and DRUPAL-5--2.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.