Support empty #title in theme_content_multiple_values() when #muliple > 0

c960657 - October 1, 2009 - 10:59
Project:Content Construction Kit (CCK)
Version:6.x-2.x-dev
Component:content.module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

If my hook_form_alter() unsets #title for a field with #multiple > 0, the single colon that usually follows the title is still printed in the <th>.

This patch hides the colon if #title is not present. It also hides the required asterisk - this behaviour is consistent with that in form.inc in core.

AttachmentSize
cck-empty-title-6.x-2.x-1.patch1.17 KB
cck-empty-title-6.x-3.x-1.patch1.34 KB
 
 

Drupal is a registered trademark of Dries Buytaert.