? 653896.usertext.patch
Index: tokenauth.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/tokenauth/Attic/tokenauth.module,v
retrieving revision 1.11.4.10
diff -u -p -r1.11.4.10 tokenauth.module
--- tokenauth.module	17 Jul 2009 03:31:37 -0000	1.11.4.10
+++ tokenauth.module	3 May 2010 22:28:11 -0000
 
 /**
@@ -188,14 +191,11 @@ function tokenauth_user_reset() {
 function tokenauth_user_profile_form(&$form_state, $account) {
   drupal_set_title(check_plain($account->name));
   $token = tokenauth_get_token($account->uid);
-  $output = t('To enable aggregators, feed readers and other simple clients to see restricted content on this site you may use an authentication token. The token is unique and tied to your account so keep it private. ');
-  $output .= t('Simply append this querystring to any feed on this site. Some links may already have added this for you.');
-  $output .= '<p><code>'. check_plain("?token=$token") .'</code></p>';
-  $output .= t('Here are some example links to get you started:');
-  $items = array();
-  $items[] = l(t('Front page'), 'rss.xml', array('title' => url('rss.xml'), 'query' => "token=$token", 'html' =>  TRUE));
-  $items[] = l(t('Blog'), 'blog/feed', array('title' => url('blog/feed'), 'query' => "token=$token", 'html' =>  TRUE));
-  $output .= theme('item_list', $items);
+  $output = '<p>' . t('You may view some restricted content on this website without logging in. ');
+  $output .= t('Append "!token" to the URL to be automatically logged-in to the page. ', array('!token' => '<code>?token=' . $token . '</code>'));
+  $output .= '</p><p>' . t('This token is unique to your account, and while not all content may be accessed in this way, sharing the token is like sharing your password.');
+  $output .= '</p><p>' . t('Your token is: !token', array('!token' => '<strong>' . $token . '</strong>')) . '</p>';
+
   $form['preamble'] = array('#value' => $output);
   $form['uid'] = array('#type' => 'value', '#value' => $uid);
   $form['#action'] =url('user/'. $account->uid .'/tokenauth/reset');
