Download & Extend

Nonfunctional links to access controls

Project:Fasttoggle
Version:5.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

Status:active» fixed

Thanks for reporting this. Fixed in the dev version.

#2

Status:fixed» closed (fixed)
nobody click here