Nonfunctional links to access controls

Christefano - August 17, 2007 - 12:13
Project:Fasttoggle
Version:5.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Lines 137 and 160 in fasttoggle.module need to use $base_url or they will print links like http://example.com/admin/settings/admin/user/access

A #modules-fasttoggle fragment would be nice, too.

Before:

    '#value' => t('Configure access restrictions for these settings on the <a href="@url">access control</a> page.', array('@url' => 'admin/user/access')),

After:

    '#value' => t('Configure access restrictions for these settings on the <a href="@url">access control</a> page.', array('@url' => $base_url . 'admin/user/access#module-fasttoggle')),

Since this is in a settings form, I'm not sure how to write it to account for sites without clean URLs enabled.

#1

kkaefer - August 17, 2007 - 13:22
Status:active» fixed

Thanks for reporting this. Fixed in the dev version.

#2

Anonymous - September 4, 2007 - 22:42
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.