? .DS_Store
? check_required_modules.patch
? default_db_type.patch
? link-to-perm.patch
? perm.patch
? profiles/.DS_Store
? profiles/drubb
? sites/all
? sites/localhost
Index: modules/system/system.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.module,v
retrieving revision 1.390
diff -u -p -r1.390 system.module
--- modules/system/system.module	31 Oct 2006 08:06:18 -0000	1.390
+++ modules/system/system.module	7 Nov 2006 06:24:48 -0000
@@ -2217,7 +2217,7 @@ function system_admin_by_module() {
 
     // Check for permissions.
     if (module_hook($module, 'perm') && $admin_access) {
-      $admin_tasks[-1] = l(t('Configure permissions'), 'admin/user/access');
+      $admin_tasks[-1] = l(t('Configure permissions'), 'admin/user/access', NULL, NULL, 'module-'. $module);
     }
 
     // Check for menu items that are admin links.
Index: modules/user/user.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.module,v
retrieving revision 1.705
diff -u -p -r1.705 user.module
--- modules/user/user.module	7 Nov 2006 06:08:17 -0000	1.705
+++ modules/user/user.module	7 Nov 2006 06:24:49 -0000
@@ -1785,7 +1785,9 @@ function user_admin_perm($rid = NULL) {
   $options = array();
   foreach (module_list(FALSE, FALSE, TRUE) as $module) {
     if ($permissions = module_invoke($module, 'perm')) {
-      $form['permission'][] = array('#value' => t('@module module', array('@module' => $module)));
+      $form['permission'][] = array(
+        '#value' => $module,
+      );
       asort($permissions);
       foreach ($permissions as $perm) {
         $options[$perm] = '';
@@ -1817,7 +1819,7 @@ function theme_user_admin_perm($form) {
       $row = array();
       // Module name
       if (is_numeric($key)) {
-        $row[] = array('data' => drupal_render($form['permission'][$key]), 'class' => 'module', 'colspan' => count($form['role_names']) + 1);
+        $row[] = array('data' => t('@module module', array('@module' => drupal_render($form['permission'][$key]))), 'class' => 'module', 'id' => 'module-'. $form['permission'][$key]['#value'], 'colspan' => count($form['role_names']) + 1);
       }
       else {
         $row[] = array('data' => drupal_render($form['permission'][$key]), 'class' => 'permission');
