summaryrefslogtreecommitdiff
path: root/modules/forum/forum.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-05-30 18:17:35 +0000
committerDries Buytaert <dries@buytaert.net>2008-05-30 18:17:35 +0000
commit9c7b3136ca20728b141ffef32fc24d4327e9c8b5 (patch)
tree94bc7bc42accbdaf5050bf670afe05584983d3d9 /modules/forum/forum.module
parentb806c1b03b19cc13241db0517892c60d27c085a1 (diff)
downloadbrdo-9c7b3136ca20728b141ffef32fc24d4327e9c8b5.tar.gz
brdo-9c7b3136ca20728b141ffef32fc24d4327e9c8b5.tar.bz2
- Patch #260050 by Gurpartap Singh: move forum administration to site building.
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r--modules/forum/forum.module30
1 files changed, 15 insertions, 15 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 7903c6569..d7f79a84b 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -21,13 +21,13 @@ function forum_help($path, $arg) {
$output .= '<li>' . t('selecting <em>Disabled</em> under <em>Comment settings</em> while editing a forum topic will hide all existing comments on the thread, and prevent new ones.') . '</li></ul>';
$output .= '<p>' . t('For more information, see the online handbook entry for <a href="@forum">Forum module</a>.', array('@forum' => 'http://drupal.org/handbook/modules/forum/')) . '</p>';
return $output;
- case 'admin/content/forum':
+ case 'admin/build/forum':
return '<p>' . t('This page displays a list of existing forums and containers. Containers (optionally) hold forums, and forums hold forum topics (a forum topic is the initial post to a threaded discussion). To provide structure, both containers and forums may be placed inside other containers and forums. To rearrange forums and containers, grab a drag-and-drop handle under the <em>Name</em> column and drag the forum or container to a new location in the list. (Grab a handle by clicking and holding the mouse while hovering over a handle icon.) Remember that your changes will not be saved until you click the <em>Save</em> button at the bottom of the page.') . '</p>';
- case 'admin/content/forum/add/container':
+ case 'admin/build/forum/add/container':
return '<p>' . t('By grouping related or similar forums, containers help organize forums. For example, a container named "Food" may hold two forums named "Fruit" and "Vegetables", respectively.') . '</p>';
- case 'admin/content/forum/add/forum':
+ case 'admin/build/forum/add/forum':
return '<p>' . t('A forum holds related or similar forum topics (a forum topic is the initial post to a threaded discussion). For example, a forum named "Fruit" may contain forum topics titled "Apples" and "Bananas", respectively.') . '</p>';
- case 'admin/content/forum/settings':
+ case 'admin/build/forum/settings':
return '<p>' . t('These settings allow you to adjust the display of your forum topics. The content types available for use within a forum may be selected by editing the <em>Content types</em> on the <a href="@forum-vocabulary">forum vocabulary page</a>.', array('@forum-vocabulary' => url('admin/content/taxonomy/edit/vocabulary/' . variable_get('forum_nav_vocabulary', '')))) . '</p>';
}
}
@@ -88,56 +88,56 @@ function forum_menu() {
'access arguments' => array('access content'),
'type' => MENU_SUGGESTED_ITEM,
);
- $items['admin/content/forum'] = array(
+ $items['admin/build/forum'] = array(
'title' => 'Forums',
'description' => 'Control forums and their hierarchy and change forum settings.',
'page callback' => 'drupal_get_form',
'page arguments' => array('forum_overview'),
'access arguments' => array('administer forums'),
);
- $items['admin/content/forum/list'] = array(
+ $items['admin/build/forum/list'] = array(
'title' => 'List',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10,
);
- $items['admin/content/forum/add/container'] = array(
+ $items['admin/build/forum/add/container'] = array(
'title' => 'Add container',
'page callback' => 'forum_form_main',
'page arguments' => array('container'),
'access arguments' => array('administer forums'),
'type' => MENU_LOCAL_TASK,
- 'parent' => 'admin/content/forum',
+ 'parent' => 'admin/build/forum',
);
- $items['admin/content/forum/add/forum'] = array(
+ $items['admin/build/forum/add/forum'] = array(
'title' => 'Add forum',
'page callback' => 'forum_form_main',
'page arguments' => array('forum'),
'access arguments' => array('administer forums'),
'type' => MENU_LOCAL_TASK,
- 'parent' => 'admin/content/forum',
+ 'parent' => 'admin/build/forum',
);
- $items['admin/content/forum/settings'] = array(
+ $items['admin/build/forum/settings'] = array(
'title' => 'Settings',
'page callback' => 'drupal_get_form',
'page arguments' => array('forum_admin_settings'),
'access arguments' => array('administer forums'),
'weight' => 5,
'type' => MENU_LOCAL_TASK,
- 'parent' => 'admin/content/forum',
+ 'parent' => 'admin/build/forum',
);
- $items['admin/content/forum/edit/%forum_term'] = array(
+ $items['admin/build/forum/edit/%forum_term'] = array(
'page callback' => 'forum_form_main',
'access arguments' => array('administer forums'),
'type' => MENU_CALLBACK,
);
- $items['admin/content/forum/edit/container/%forum_term'] = array(
+ $items['admin/build/forum/edit/container/%forum_term'] = array(
'title' => 'Edit container',
'page callback' => 'forum_form_main',
'page arguments' => array('container', 5),
'access arguments' => array('administer forums'),
'type' => MENU_CALLBACK,
);
- $items['admin/content/forum/edit/forum/%forum_term'] = array(
+ $items['admin/build/forum/edit/forum/%forum_term'] = array(
'title' => 'Edit forum',
'page callback' => 'forum_form_main',
'page arguments' => array('forum', 5),