anchor tags appear on permissions fieldsets as text

bloke_zero - November 2, 2009 - 16:48
Project:Utility
Version:6.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

On the permissions page in FF 3.5 (didn't check anything else) the titles of the collapsible fieldsets for modules appear with the <a tags as text. Can be fixed by replacing the fieldset definition at line 126 with:

<?php
        $fieldset_form
[$fieldset_module_watcher] = array(
         
'#type' => 'fieldset',
         
'#title' => t('@module module', array('@module' => $fieldset_module_watcher)),
         
'#collapsible' => TRUE,
         
'#collapsed' => $collapsed,
         
'#weight' => ++$fieldset_weight,
     
'#prefix' => '<a name="module-' . $fieldset_module_watcher . '">',
     
'#suffix' => '</a>'
         
);
?>

Cheers

Alex

 
 

Drupal is a registered trademark of Dries Buytaert.