function accountmenu_help in Account menu 6
Same name and namespace in other branches
- 7 accountmenu.module \accountmenu_help()
Implements hook_help.
File
- ./
accountmenu.module, line 18 - accountmenu.module Provide a dynamic Log in/My account/Log out account menu
Code
function accountmenu_help($path, $arg) {
$output = '';
switch ($path) {
case 'admin/help#accountmenu':
$output .= '<p>' . t('Provides a dynamic "Log in|My account|Log out" account menu') . '</p>';
$output .= '<p>' . t('By default, the links are under the menu "Account menu", they can be <a href="@settings">moved</a> to be part of any menu.', array(
'@settings' => url('admin/settings/accountmenu'),
)) . '</p>';
$output .= '<p>' . t('The Account menu links can be <a href="@customize">customized</a>, the "My account" link title can include the tokens <em>@name</em> or <em>@realname</em>, <em>@name</em> is replaced with the log in name and <em>@realname</em> is replaced with the real name if the <a href="@module-path">RealName module</a> is installed, if not, <em>@realname</em> is replace with the log in name.', array(
'@customize' => url('admin/build/menu-customize/' . variable_get('accountmenu_menu_name', 'accountmenu')),
'@module-path' => url('http://drupal.org/project/realname', array(
'external' => TRUE,
)),
)) . '</p>';
$output .= '<p>' . t('The Account menu links are displayed with a <a href="@block">block</a>.', array(
'@block' => url('admin/build/block'),
)) . '</p>';
break;
}
return $output;
}