| 1 |
<?php |
<?php |
| 2 |
// $Id: role_weights.module,v 1.26 2009/06/09 16:05:26 leafishpaul Exp $ |
// $Id: role_weights.module,v 1.27 2009/07/07 14:20:05 leafishpaul Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 13 |
switch ($path) { |
switch ($path) { |
| 14 |
case 'admin/help#role_weights': |
case 'admin/help#role_weights': |
| 15 |
$output = '<p>'. t('Role Weights is a small utility module to allow site admins to specify weights for user roles. Once installed, users with <em>administer users</em> permission can set weights for roles on the <a href="@roles">Roles configuration page</a>.', array('@roles' => url('admin/user/roles'))) .'</p>'; |
$output = '<p>'. t('Role Weights is a small utility module to allow site admins to specify weights for user roles. Once installed, users with <em>administer users</em> permission can set weights for roles on the <a href="@roles">Roles configuration page</a>.', array('@roles' => url('admin/user/roles'))) .'</p>'; |
| 16 |
$output .= '<p>'. t('Admins can optionally enable sorting roles by weight on the <a href="@roles">Roles</a> and <a href="@permissions">Permissions</a> configuration pages on the <a href="@roleweights">Role Weights configuration page</a>.', array('@roles' => url('admin/user/roles'), '@permissions' => url('admin/user/permissions'), '@roleweights' => url('admin/settings/role_weights'))) .'</p>'; |
$output .= '<p>'. t('Admins can optionally enable sorting roles by weight on <a href="@roles">Roles</a> and <a href="@permissions">Permissions</a> by visiting the <a href="@roleweights">Role Weights configuration page</a>.', array('@roles' => url('admin/user/roles'), '@permissions' => url('admin/user/permissions'), '@roleweights' => url('admin/settings/role_weights'))) .'</p>'; |
| 17 |
$output .= '<p>'. t('For more information visit <a href="http://drupal.org/project/role_weights">Role Weights module page on drupal.org</a>.') .'</p>'; |
$output .= '<p>'. t('For more information visit <a href="http://drupal.org/project/role_weights">Role Weights module page on drupal.org</a>.') .'</p>'; |
| 18 |
return $output; |
return $output; |
| 19 |
|
|