Issue #2091455 by batigolix, InternetDevels, berkas1: Update hook_help for Forum module.
parent
7833be2a70
commit
d78587ef66
|
@ -26,15 +26,15 @@ function forum_help($path, $arg) {
|
|||
$output .= '</ul>';
|
||||
$output .= '</ul>';
|
||||
$output .= '</ul>';
|
||||
$output .= '<p>' . t('For more information, see the online handbook entry for <a href="@forum">Forum module</a>.', array('@forum' => 'http://drupal.org/documentation/modules/forum')) . '</p>';
|
||||
$output .= '<p>' . t('For more information, see <a href="!forum">the online documentation for the Forum module</a>.', array('!forum' => 'https://drupal.org/documentation/modules/forum')) . '</p>';
|
||||
$output .= '<h3>' . t('Uses') . '</h3>';
|
||||
$output .= '<dl>';
|
||||
$output .= '<dt>' . t('Setting up forum structure') . '</dt>';
|
||||
$output .= '<dd>' . t('Visit the <a href="@forums">Forums page</a> to set up containers and forums to hold your discussion topics.', array('@forums' => url('admin/structure/forum'))) . '</dd>';
|
||||
$output .= '<dd>' . t('Visit the <a href="!forums">Forums page</a> to set up containers and forums to hold your discussion topics.', array('!forums' => \Drupal::url('forum.overview'))) . '</dd>';
|
||||
$output .= '<dt>' . t('Starting a discussion') . '</dt>';
|
||||
$output .= '<dd>' . t('The <a href="@create-topic">Forum topic</a> link on the <a href="@content-add">Add new content</a> page creates the first post of a new threaded discussion, or thread.', array('@create-topic' => url('node/add/forum'), '@content-add' => url('node/add'))) . '</dd>';
|
||||
$output .= '<dt>' . t('Forum navigation') . '</dt>';
|
||||
$output .= '<dd>' . t('Enabling the Forum module provides a default <em>Forums</em> menu item in the Tools menu that links to the <a href="@forums">Forums page</a>.', array('@forums' => url('forum'))) . '</dd>';
|
||||
$output .= '<dd>' . t('The <a href="!create-topic">Forum topic</a> link on the <a href="!content-add">Add new content</a> page creates the first post of a new threaded discussion, or thread.', array('!create-topic' => \Drupal::url('node.add', array('node_type' => 'forum')), '!content-add' => \Drupal::url('node.add_page'))) . '</dd>';
|
||||
$output .= '<dt>' . t('Navigating in the Forum') . '</dt>';
|
||||
$output .= '<dd>' . t('Enabling the Forum module provides a default <em>Forums</em> menu item in the Tools menu that links to the <a href="!forums">Forums page</a>.', array('!forums' => \Drupal::url('forum.index'))) . '</dd>';
|
||||
$output .= '<dt>' . t('Moving forum topics') . '</dt>';
|
||||
$output .= '<dd>' . t('A forum topic (and all of its comments) may be moved between forums by selecting a different forum while editing a forum topic. When moving a forum topic between forums, the <em>Leave shadow copy</em> option creates a link in the original forum pointing to the new location.') . '</dd>';
|
||||
$output .= '<dt>' . t('Locking and disabling comments') . '</dt>';
|
||||
|
@ -62,7 +62,7 @@ function forum_help($path, $arg) {
|
|||
case 'admin/structure/forum/add/forum':
|
||||
return '<p>' . t('A forum holds related forum topics.') . '</p>';
|
||||
case 'admin/structure/forum/settings':
|
||||
return '<p>' . t('Adjust the display of your forum topics. Organize the forums on the <a href="@forum-structure">forum structure page</a>.', array('@forum-structure' => url('admin/structure/forum'))) . '</p>';
|
||||
return '<p>' . t('Adjust the display of your forum topics. Organize the forums on the <a href="!forum-structure">forum structure page</a>.', array('!forum-structure' => \Drupal::url('forum.overview'))) . '</p>';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue