From b830cb2f78b6ce7bcb21f4cc677bb6fcb28454c7 Mon Sep 17 00:00:00 2001
From: Travis Carden <TravisCarden@236758.no-reply.drupal.org>
Date: Thu, 15 Mar 2012 10:41:49 -0500
Subject: [PATCH] Issue #1483882: Fixed help text on settings form.

---
 fasttoggle.admin.inc |   23 +++--------------------
 1 files changed, 3 insertions(+), 20 deletions(-)

diff --git a/fasttoggle.admin.inc b/fasttoggle.admin.inc
index 97b96df..1aeb472 100644
--- a/fasttoggle.admin.inc
+++ b/fasttoggle.admin.inc
@@ -44,15 +44,9 @@ function fasttoggle_settings_form() {
       'comment' => t('Topic opened/closed <small>(users are allowed/disallowed to post comments)</small>'),
     ),
     '#default_value' => array_keys(array_filter(variable_get('fasttoggle_node_settings', array('status' => TRUE, 'sticky' => TRUE, 'promote' => TRUE, 'comment' => FALSE)))),
+    '#description' => t('Configure access restrictions for these settings on the <a href="@url">permissions</a> page.', array('@url' => url('admin/people/permissions', array('fragment' => 'module-fasttoggle')))),
   );
 
-  $form['nodes']['help_text'] = array(
-    '#value' => t('Configure access restrictions for these settings on the <a href="@url">access control</a> page.', array('@url' => url('admin/user/permissions', array('fragment' => 'module-fasttoggle')))),
-    '#prefix' => '<div>',
-    '#suffix' => '</div>',
-  );
-
-
   $form['comments'] = array(
     '#type' => 'fieldset',
     '#title' => t('Comments'),
@@ -67,15 +61,9 @@ function fasttoggle_settings_form() {
       'status' => t('Status <small>(published/unpublished)</small>'),
     ),
     '#default_value' => array_keys(array_filter(variable_get('fasttoggle_comment_settings', array('status' => TRUE)))),
+    '#description' => t('Configure access restrictions for these settings on the <a href="@url">permissions</a> page.', array('@url' => url('admin/people/permissions', array('fragment' => 'module-fasttoggle')))),
   );
 
-  $form['comments']['help_text'] = array(
-    '#value' => t('Configure access restrictions for these settings on the <a href="@url">access control</a> page.', array('@url' => url('admin/user/permissions', array('fragment' => 'module-fasttoggle')))),
-    '#prefix' => '<div>',
-    '#suffix' => '</div>',
-  );
-
-
   $form['users'] = array(
     '#type' => 'fieldset',
     '#title' => t('Users'),
@@ -90,12 +78,7 @@ function fasttoggle_settings_form() {
       'status' => t('Status <small>(unblocked/blocked)</small>'),
     ),
     '#default_value' => array_keys(array_filter(variable_get('fasttoggle_user_settings', array('status' => TRUE)))),
-  );
-
-  $form['users']['help_text'] = array(
-    '#value' => t('Get a listing of all users on the <a href="@url">user overview</a> page.', array('@url' => url('admin/user/user'))),
-    '#prefix' => '<div>',
-    '#suffix' => '</div>',
+    '#description' => t('Get a listing of all users on the <a href="@url">user overview</a> page.', array('@url' => url('admin/people/user'))),
   );
 
   $form['fasttoggle_allow_block_user1'] = array(
-- 
1.7.4.1

