summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-07-30 19:24:21 +0000
committerDries Buytaert <dries@buytaert.net>2009-07-30 19:24:21 +0000
commit926606eeca106fb2e0eff20f3b1bff205924fd36 (patch)
treec581d939750d30dc7db6242442e190ee168be127 /modules/node/node.module
parent8c8521081cbb8ffc80bb80c691dab3db270f5e9b (diff)
downloadbrdo-926606eeca106fb2e0eff20f3b1bff205924fd36.tar.gz
brdo-926606eeca106fb2e0eff20f3b1bff205924fd36.tar.bz2
- Patch #535564 by Gábor Hojtsy: the D7UX mockups call for a top level Content item, which would immediatey lead to the "Find content" screen. The current Drupal 7 code is almost there, but still has an RSS settings item blocking the implementation of this by default and aggregator and book also add subitems.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 5f8e30f5a..e8bda4815 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -37,10 +37,10 @@ function node_help($path, $arg) {
case 'admin/help#node':
$output = '<p>' . t('The node module manages content on your site, and stores all posts (regardless of type) as a "node" . In addition to basic publishing settings, including whether the post has been published, promoted to the site front page, or should remain present (or sticky) at the top of lists, the node module also records basic information about the author of a post. Optional revision control over edits is available. For additional functionality, the node module is often extended by other modules.') . '</p>';
$output .= '<p>' . t('Though each post on your site is a node, each post is also of a particular <a href="@content-type">content type</a>. <a href="@content-type">Content types</a> are used to define the characteristics of a post, including the title and description of the fields displayed on its add and edit pages. Each content type may have different default settings for <em>Publishing options</em> and other workflow controls. By default, the two content types in a standard Drupal installation are <em>Page</em> and <em>Story</em>. Use the <a href="@content-type">content types page</a> to add new or edit existing content types. Additional content types also become available as you enable additional core, contributed and custom modules.', array('@content-type' => url('admin/structure/types'))) . '</p>';
- $output .= '<p>' . t('The administrative <a href="@content">content page</a> allows you to review and manage your site content. The node module makes a number of permissions available for each content type, which may be set by role on the <a href="@permissions">permissions page</a>.', array('@content' => url('admin/content/node'), '@permissions' => url('admin/user/permissions'))) . '</p>';
+ $output .= '<p>' . t('The administrative <a href="@content">content page</a> allows you to review and manage your site content. The node module makes a number of permissions available for each content type, which may be set by role on the <a href="@permissions">permissions page</a>.', array('@content' => url('admin/content'), '@permissions' => url('admin/user/permissions'))) . '</p>';
$output .= '<p>' . t('For more information, see the online handbook entry for <a href="@node">Node module</a>.', array('@node' => 'http://drupal.org/handbook/modules/node/')) . '</p>';
return $output;
- case 'admin/content/node':
+ case 'admin/content':
return ' '; // Return a non-null value so that the 'more help' link is shown.
case 'admin/structure/types/add':
return '<p>' . t('To create a new content type, enter the human-readable name, the machine-readable name, and all other relevant fields that are on this page. Once created, users of your site will be able to create posts that are instances of this content type.') . '</p>';
@@ -1656,14 +1656,14 @@ function _node_add_access() {
* Implement hook_menu().
*/
function node_menu() {
- $items['admin/content/content'] = array(
+ $items['admin/content'] = array(
'title' => 'Content',
- 'description' => "View, edit, and delete your site's content.",
'page callback' => 'drupal_get_form',
'page arguments' => array('node_admin_content'),
'access arguments' => array('administer nodes'),
+ 'weight' => -10,
);
- $items['admin/content/content/node'] = array(
+ $items['admin/content/node'] = array(
'title' => 'Content',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10,