Commit c64db1da authored by Dries's avatar Dries

- Patch #80952 by earl, webchick, neclimdul et al: .info files

parent cdd120ed
......@@ -103,8 +103,13 @@ function module_rebuild_cache() {
ksort($files);
foreach ($files as $filename => $file) {
drupal_get_filename('module', $file->name, $file->filename);
drupal_load('module', $file->name);
$file->info = _module_parse_info_file(dirname($file->filename) .'/'. $file->name .'.info');
// Skip modules that don't provide info.
if (empty($file->info)) {
unset($files[$filename]);
continue;
}
$files[$filename]->info = $file->info;
// log the critical hooks implemented by this module
$bootstrap = 0;
......@@ -116,12 +121,13 @@ function module_rebuild_cache() {
}
// Update the contents of the system table:
// TODO: We shouldn't actually need this description field anymore. Remove me next release.
if (isset($file->status) || (isset($file->old_filename) && $file->old_filename != $file->filename)) {
db_query("UPDATE {system} SET description = '%s', name = '%s', filename = '%s', bootstrap = %d WHERE filename = '%s'", $file->description, $file->name, $file->filename, $bootstrap, $file->old_filename);
db_query("UPDATE {system} SET description = '%s', name = '%s', filename = '%s', bootstrap = %d WHERE filename = '%s'", $file->info['description'], $file->name, $file->filename, $bootstrap, $file->old_filename);
}
else {
// This is a new module.
db_query("INSERT INTO {system} (name, description, type, filename, status, throttle, bootstrap) VALUES ('%s', '%s', '%s', '%s', %d, %d, %d)", $file->name, $file->description, 'module', $file->filename, $file->status, $file->throttle, $bootstrap);
db_query("INSERT INTO {system} (name, description, type, filename, status, throttle, bootstrap) VALUES ('%s', '%s', '%s', '%s', %d, %d, %d)", $file->name, $file->info['description'], 'module', $file->filename, $file->status, $file->throttle, $bootstrap);
}
}
......@@ -152,6 +158,34 @@ function module_parse_meta_file($filename) {
return $metadata;
}
/**
* Parse Drupal info file format.
* Uses ini parser provided by php's parse_ini_file().
*
* Files should use the ini format to specify values.
* e.g.
* key = "value"
* key2 = value2
*
* Some things to be aware of:
* - This function is NOT for placing arbitrary module-specific settings. Use variable_get()
* and variable_set() for that.
* - You may not use double-quotes in a value.
*
* @param $filename
* The file we are parsing. Accepts file with relative or absolute path.
* @return
* The info array.
*/
function _module_parse_info_file($filename) {
$info = array();
if (file_exists($filename)) {
$info = parse_ini_file($filename);
}
return $info;
}
/**
* Determine whether a given module exists.
*
......
; $Id$
name = Aggregator
description = "Aggregates syndicated content (RSS, RDF, and Atom feeds)."
......@@ -27,8 +27,6 @@ function aggregator_help($section) {
', array('@admin-aggregator' => url('admin/content/aggregator'), '@admin-aggregator-add-feed' => url('admin/content/aggregator/add/feed'), '@admin-aggregator-add-category' => url('admin/content/aggregator/add/category'), '@admin-settings-aggregator' => url('admin/settings/aggregator'), '@admin-access' => url('admin/user/access'), '@aggregator' => url('aggregator')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@aggregator">Aggregator page</a>.', array('@aggregator' => 'http://drupal.org/handbook/modules/aggregator/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Aggregates syndicated content (RSS, RDF, and Atom feeds).');
case 'admin/content/aggregator':
return t('<p>Thousands of sites (particularly news sites and weblogs) publish their latest headlines and/or stories in a machine-readable format so that other sites can easily link to them. This content is usually in the form of an <a href="http://blogs.law.harvard.edu/tech/rss">RSS</a> feed (which is an XML-based syndication standard). To display the feed or category in a block you must decide how many items to show by editing the feed or block and turning on the <a href="@block">feed\'s block</a>.</p>', array('@block' => url('admin/build/block')));
case 'admin/content/aggregator/add/feed':
......
; $Id$
name = Block
description = Controls the boxes that are displayed around the main content.
......@@ -38,8 +38,6 @@ function block_help($section) {
', array('@admin-block' => url('admin/build/block'), '@admin-block-add' => url('admin/build/block/add')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@block">Block page</a>.', array('@block' => 'http://drupal.org/handbook/modules/block/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Controls the boxes that are displayed around the main content.');
case 'admin/build/block':
return t("
<p>Blocks are boxes of content that may be rendered into certain regions of your web pages, for example, into sidebars. They are usually generated automatically by modules, but administrators can create blocks manually.</p>
......
; $Id$
name = Blog
description = Enables keeping an easily and regularly updated web page or a blog.
......@@ -76,8 +76,6 @@ function blog_help($section) {
', array('@user' => url('user'), '@node-add-blog' => url('node/add/blog'), '@admin-node-configure-types-blog' => url('admin/content/types/blog'), '@admin-settings-blogapi' => url('admin/settings/blogapi'), '@admin-block' => url('admin/build/block')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@blog">Blog page</a>.', array('@blog' => 'http://drupal.org/handbook/modules/blog/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Enables keeping an easily and regularly updated web page or a blog.');
}
}
......
; $Id$
name = Blog API
description = Allows users to post content using applications that support XML-RPC blog APIs.
......@@ -23,8 +23,6 @@ function blogapi_help($section) {
', array('@file-xmlrpc' => 'xmlrpc.php', '@admin-settings-blogapi' => url('admin/settings/blogapi')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@blogapi">BlogApi page</a>.', array('@blogapi' => 'http://drupal.org/handbook/modules/blogapi/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Allows users to post content using applications that support XML-RPC blog APIs.');
}
}
......
; $Id$
name = Book
description = Allows users to collaboratively author a book.
......@@ -985,8 +985,6 @@ function book_help($section) {
', array('@node-add-book' => url('node/add/book'), '@admin-node-book' => url('admin/content/book'), '@admin-settings-content-types-book-page' => url('admin/content/types/book'), '@admin-block' => url('admin/build/block'), '@admin-access' => url('admin/user/access')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@book">Book page</a>.', array('@book' => 'http://drupal.org/handbook/modules/book/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Allows users to collaboratively author a book.');
case 'admin/content/book':
return t('<p>The book module offers a means to organize content, authored by many users, in an online manual, outline or FAQ.</p>');
case 'admin/content/book/orphan':
......
; $Id$
name = Comment
description = Allows users to comment on and discuss published content.
......@@ -80,8 +80,6 @@ function comment_help($section) {
', array('@admin-access' => url('admin/user/access'), '@admin-settings-comment' => url('admin/content/comment/settings')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@comment">Comment page</a>.', array('@comment' => 'http://drupal.org/handbook/modules/comment/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Allows users to comment on and discuss published content.');
case 'admin/content/comment':
case 'admin/content/comment/new':
return t("<p>Below is a list of the latest comments posted to your site. Click on a subject to see the comment, the author's name to edit the author's user information , \"edit\" to modify the text, and \"delete\" to remove their submission.</p>");
......
; $Id$
name = Contact
description = Enables the use of both personal and site-wide contact forms.
......@@ -23,8 +23,6 @@ function contact_help($section) {
$output .= '<li>'. t('Site-wide contact form <a href="@menu-configuration">menu configuration</a>.', array('@menu-configuration' => url('admin/build/menu'))) .'</li></ul>';
$output .= t('For more information, please read the configuration and customization handbook page for the <a href="@contact">contact module</a>.', array('@contact' => url('http://drupal.org/handbook/modules/contact/', NULL, NULL, TRUE)));
return $output;
case 'admin/settings/modules#description':
return t('Enables the use of both personal and site-wide contact forms.');
case 'admin/build/contact':
$output = t('This page lets you setup <a href="@form">your site-wide contact form</a>. To do so, add one or more categories. You can associate different recipients with each category to route e-mails to different people. For example, you can route website feedback to the webmaster and direct product information requests to the sales department. On the <a href="@settings">settings page</a>, you can customize the information shown above the contact form. This can be useful to provide additional contact information such as your postal address and telephone number.', array('@settings' => url('admin/build/contact/settings'), '@form' => url('contact')));
if (!module_exists('menu')) {
......
; $Id$
name = Drupal
description = Lets you register your site with a central server and improve ranking of Drupal projects by posting information on your installed modules and themes; also enables users to log in using a Drupal ID.
......@@ -44,8 +44,6 @@ function drupal_help($section) {
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@drupal">Drupal page</a>.', array('@drupal' => 'http://drupal.org/handbook/modules/drupal/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Lets you register your site with a central server and improve ranking of Drupal projects by posting information on your installed modules and themes; also enables users to log in using a Drupal ID.');
case 'admin/settings/distributed-authentication':
return t('<p>Using this your site can "call home" to another Drupal server. By calling home to drupal.org and sending a list of your installed modules and themes, you help rank projects on drupal.org and so assist all Drupal administrators to find the best components for meeting their needs. If you want to register with a different server, you can change the Drupal XML-RPC server setting -- but the server has to be able to handle Drupal XML. Some XML-RPC servers may present directories of all registered sites. To get all your site information listed, go to the <a href="@site-settings">site information settings page</a> and set the site name, the e-mail address, the slogan, and the mission statement.</p>', array('@site-settings' => url('admin/settings/site-information')));
case 'user/help#drupal':
......
; $Id$
name = Filter
description = Handles the filtering of content in preparation for display.
......@@ -30,8 +30,6 @@ function filter_help($section) {
', array('@admin-filters' => url('admin/settings/filters')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@filter">Filter page</a>.', array('@filter' => 'http://drupal.org/handbook/modules/filter/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Handles the filtering of content in preparation for display.');
case 'admin/settings/filters':
return t('
......
; $Id$
name = Forum
description = Enables threaded discussions about general topics.
......@@ -25,8 +25,6 @@ function forum_help($section) {
', array('@admin-forum' => url('admin/content/forum'), '@admin-modules' => url('admin/settings/modules'), '@admin-help-comment' => url('admin/help/comment'), '@admin-help-taxonomy' => url('admin/help/taxonomy')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@forum">Forum page</a>.', array('@forum' => 'http://drupal.org/handbook/modules/forum/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Enables threaded discussions about general topics.');
case 'admin/content/forum':
return t('<p>This is a list of existing containers and forums that you can edit. Containers hold forums and, in turn, forums hold threaded discussions. Both containers and forums can be placed inside other containers and forums. By planning the structure of your containers and forums well, you make it easier for users to find a topic area of interest to them.</p>');
case 'admin/content/forum/add/container':
......
; $Id$
name = Help
description = Manages the display of online help.
......@@ -116,8 +116,6 @@ function help_help($section) {
$output .= '<p>'. t('You can not administer the help system.') .'</p>';
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@help">Help page</a>.', array('@help' => 'http://drupal.org/handbook/modules/help/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Manages the display of online help.');
}
}
......
; $Id$
name = Legacy
description = Provides legacy handlers for upgrades from older Drupal installations.
......@@ -27,8 +27,6 @@ function legacy_help($section) {
$output .= '<p>'. t('Legacy module has no configurable options.') .'</p>';
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@legacy">Legacy page</a>.', array('@legacy' => 'http://drupal.org/handbook/modules/legacy/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Provides legacy handlers for upgrades from older Drupal installations.');
}
}
......
; $Id$
name = Locale
description = Enables the translation of the user interface to languages other than English.
......@@ -33,8 +33,6 @@ function locale_help($section) {
', array('@admin-locale' => url('admin/settings/locale'), '@admin-locale-string-search' => url('admin/settings/locale/string/search'), '@admin-locale-language-add' => url('admin/settings/locale/language/add'), '@external-http-drupal-org-project-Translations' => 'http://drupal.org/project/Translations'));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@locale">Locale page</a>.', array('@locale' => 'http://drupal.org/handbook/modules/locale/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Enables the translation of the user interface to languages other than English.');
case 'admin/settings/locale':
case 'admin/settings/locale/language/overview':
return t("<p>Drupal provides support for the translation of its interface text into different languages. This page provides an overview of the installed languages. You can add a language on the <a href=\"@add-language\">add language page</a>, or directly by <a href=\"@import\">importing a translation</a>. If multiple languages are enabled, registered users will be able to set their preferred language. The site default will be used for anonymous visitors and for users without their own settings.</p><p>Drupal interface translations may be added or extended by several courses: by <a href=\"@import\">importing</a> an existing translation, by <a href=\"@search\">translating everything</a> from scratch, or by a combination of these approaches.</p>", array("@search" => url("admin/settings/locale/string/search"), "@import" => url("admin/settings/locale/language/import"), "@add-language" => url("admin/settings/locale/language/add")));
......
; $Id$
name = Menu
description = Allows administrators to customize the site navigation menu.
......@@ -31,8 +31,6 @@ function menu_help($section) {
', array('@admin-menu' => url('admin/build/menu'), '@admin-block' => url('admin/build/block'), '@admin-menu-menu-add' => url('admin/build/menu/menu/add'), '@admin-menu-item-add' => url('admin/build/menu/item/add'), '@admin-settings-menus' => url('admin/build/menu/settings')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@menu">Menu page</a>.', array('@menu' => 'http://drupal.org/handbook/modules/menu/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Allows administrators to customize the site navigation menu.');
case 'admin/build/menu':
return '<p>'. t('Menus are a collection of links (menu items) used to navigate a website. The list(s) below display the currently available menus along with their menu items. Select an operation from the list to manage each menu or menu item.', array('@admin-settings-menus' => url('admin/build/menu/settings'), '@admin-block'=> url('admin/build/block'))) .'</p>';
case 'admin/build/menu/menu/add':
......
; $Id$
name = Node
description = Allows content to be submitted to the site and displayed on pages.
......@@ -33,8 +33,6 @@ function node_help($section) {
', array('@search' => url('search'), '@admin-settings-content-types' => url('admin/content/types')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@node">Node page</a>.', array('@node' => 'http://drupal.org/handbook/modules/node/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Allows content to be submitted to the site and displayed on pages.');
case 'admin/content/search':
return t('<p>Enter a simple pattern to search for a post. This can include the wildcard character *.<br />For example, a search for "br*" might return "bread bakers", "our daily bread" and "brenda".</p>');
case 'admin/content/types':
......
; $Id$
name = Path
description = Allows users to rename URLs.
......@@ -34,8 +34,6 @@ function path_help($section) {
', array('@admin-path-add' => url('admin/build/path/add'), '@admin-path' => url('admin/build/path'), '@external-http-drupal-org-node-15365' => 'http://drupal.org/node/15365', '@admin-clean-url-settings' => url('admin/settings/clean-urls')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@path">Path page</a>.', array('@path' => 'http://drupal.org/handbook/modules/path/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Allows users to rename URLs.');
case 'admin/build/path':
return t("<p>Drupal provides users complete control over URLs through aliasing. This feature is typically used to make URLs human-readable or easy to remember. For example, one could map the relative URL 'node/1' onto 'about'. Each system path can have multiple aliases.</p>");
case 'admin/build/path/add':
......
; $Id$
name = Ping
description = Alerts other sites when your site has been updated.
......@@ -23,8 +23,6 @@ function ping_help($section) {
', array('@admin-modules' => url('admin/settings/modules'), '@file-cron' => 'cron.php', '@external-http-drupal-org-node-23714' => 'http://drupal.org/node/23714'));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@ping">Ping page</a>.', array('@ping' => 'http://drupal.org/handbook/modules/ping/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Alerts other sites when your site has been updated.');
}
}
......
; $Id$
name = Poll
description = Allows your site to capture votes on different topics in the form of multiple choice questions.
......@@ -23,8 +23,6 @@ function poll_help($section) {
', array('@poll' => url('poll'), '@admin-node-configure-types-poll' => url('admin/content/types/poll')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@poll">Poll page</a>.', array('@poll' => 'http://drupal.org/handbook/modules/poll/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t("Allows your site to capture votes on different topics in the form of multiple choice questions.");
}
}
......
; $Id$
name = Profile
description = Supports configurable user profiles.
......@@ -40,8 +40,6 @@ function profile_help($section) {
', array('@profile' => url('profile'), '@admin-settings-profile' => url('admin/user/profile')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@profile">Profile page</a>.', array('@profile' => 'http://drupal.org/handbook/modules/profile/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Supports configurable user profiles.');
case 'admin/user/profile':
return t('<p>Here you can define custom fields that users can fill in in their user profile (such as <em>country</em>, <em>real name</em>, <em>age</em>, ...).</p>');
}
......
; $Id$
name = Search
description = Enables site-wide keyword searching.
......@@ -107,8 +107,6 @@ function search_help($section) {
', array('@admin-help-system' => url('admin/help/system'), '@file-cron' => 'cron.php', '@external-http-drupal-org-node-23714' => 'http://drupal.org/node/23714', '@admin-settings-search' => url('admin/settings/search')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@search">Search page</a>.', array('@search' => 'http://drupal.org/handbook/modules/search/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Enables site-wide keyword searching.');
case 'admin/settings/search':
return t('
<p>The search engine works by maintaining an index of the words in your site\'s content. You can adjust the settings below to tweak the indexing behaviour. Note that the search requires cron to be set up correctly.</p>
......
; $Id$
name = Statistics
description = Logs access statistics for your site.
......@@ -41,8 +41,6 @@ function statistics_help($section) {
', array('@admin-settings-statistics' => url('admin/logs/settings'), '@admin-logs' => url('admin/logs'), '@admin-logs-hits' => url('admin/logs/hits'), '@admin-block' => url('admin/build/block')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@statistics">Statistics page</a>.', array('@statistics' => 'http://drupal.org/handbook/modules/statistics/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Logs access statistics for your site.');
case 'admin/logs/settings':
return t('<p>Settings for the statistical information that Drupal will keep about the site. See <a href="@statistics">site statistics</a> for the actual information.</p>', array('@statistics' => url('admin/logs/hits')));
case 'admin/logs/hits':
......
; $Id$
name = System
description = Handles general site configuration for administrators.
......@@ -30,8 +30,6 @@ function system_help($section) {
', array('@file-cron' => 'cron.php', '@external-http-drupal-org-cron' => 'http://drupal.org/cron', '@cron-status' => url('admin/settings/cron-status'), '@cron-manually' => url('admin/settings/cron-status/cron'), '@admin-settings' => url('admin/settings/page-caching')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@system">System page</a>.', array('@system' => 'http://drupal.org/handbook/modules/system/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Handles general site configuration for administrators.');
case 'admin':
return t('<p>Welcome to the administration section. Here you may control how your site functions.</p>');
case 'admin/settings/page-caching':
......@@ -1220,13 +1218,9 @@ function system_modules() {
$files = module_rebuild_cache();
foreach ($files as $filename => $file) {
drupal_get_filename('module', $file->name, $file->filename);
drupal_load('module', $file->name);
$file->description = module_invoke($file->name, 'help', 'admin/settings/modules#description');
$form['name'][$file->name] = array('#value' => $file->name);
$form['description'][$file->name] = array('#value' => $file->description);
$info = $file->info;
$form['name'][$file->name] = array('#value' => $info['name']);
$form['description'][$file->name] = array('#value' => t($info['description']));
$options[$file->name] = '';
if ($file->status) {
$status[] = $file->name;
......
; $Id$
name = Taxonomy
description = Enables the categorization of content.
......@@ -1331,8 +1331,6 @@ function taxonomy_help($section) {
', array('@admin-taxonomy-add-vocabulary' => url('admin/content/taxonomy/add/vocabulary'), '@admin-taxonomy' => url('admin/content/taxonomy'), '@external-http-drupal-org-project-taxonomy_access' => 'http://drupal.org/project/taxonomy_access', '@external-http-drupal-org-project-taxonomy_browser' => 'http://drupal.org/project/taxonomy_browser'));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@taxonomy">Taxonomy page</a>.', array('@taxonomy' => 'http://drupal.org/handbook/modules/taxonomy/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Enables the categorization of content.');
case 'admin/content/taxonomy':
return t('<p>The taxonomy module allows you to classify content into categories and subcategories; it allows multiple lists of categories for classification (controlled vocabularies) and offers the possibility of creating thesauri (controlled vocabularies that indicate the relationship of terms), taxonomies (controlled vocabularies where relationships are indicated hierarchically), and free vocabularies where terms, or tags, are defined during content creation. To view and manage the terms of each vocabulary, click on the associated <em>list terms</em> link. To delete a vocabulary and all its terms, choose "edit vocabulary".</p>');
case 'admin/content/taxonomy/add/vocabulary':
......
; $Id$
name = Throttle
description = Handles the auto-throttling mechanism, to control site congestion.
......@@ -133,8 +133,6 @@ function throttle_help($section) {
', array('@admin-modules' => url('admin/settings/modules'), '@admin-block' => url('admin/build/block'), '@admin-settings-throttle' => url('admin/settings/throttle')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@throttle">Throttle page</a>.', array('@throttle' => 'http://drupal.org/handbook/modules/throttle/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Handles the auto-throttling mechanism, to control site congestion.');
case 'admin/settings/throttle':
return t('If your site gets linked to by a popular website, or otherwise comes under a "Denial of Service" (DoS) attack, your webserver might become overwhelmed. This module provides a congestion control throttling mechanism for automatically detecting a surge in incoming traffic. This mechanism is utilized by other Drupal modules to automatically optimize their performance by temporarily disabling CPU-intensive functionality.');
}
......
; $Id$
name = Tracker
description = Enables tracking of recent posts for users.
......@@ -23,8 +23,6 @@ function tracker_help($section) {
', array('@tracker' => url('tracker'), '@profile' => url('profile')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@tracker">Tracker page</a>.', array('@tracker' => 'http://drupal.org/handbook/modules/tracker/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Enables tracking of recent posts for users.');
}
}
......
; $Id$
name = Upload
description = Allows users to upload and attach files to content.
......@@ -24,8 +24,6 @@ function upload_help($section) {
', array('@admin-access' => url('admin/user/access'), '@admin-content-types' => url('admin/settings/types'), '@admin-upload' => url('admin/settings/upload')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@upload">Upload page</a>.', array('@upload' => 'http://drupal.org/handbook/modules/upload/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Allows users to upload and attach files to content.');
case 'admin/settings/upload':
return t('<p>Users with the <a href="@permissions">upload files permission</a> can upload attachments. Users with the <a href="@permissions">view uploaded files permission</a> can view uploaded attachments. You can choose which post types can take attachments on the <a href="@types">content types settings</a> page.</p>', array('@permissions' => url('admin/user/access'), '@types' => url('admin/settings/types')));
}
......
; $Id$
name = User
description = Manages the user registration and login system.
......@@ -2267,8 +2267,6 @@ function user_help($section) {
', array('@user' => url('user'), '@admin-user' => url('admin/user/user'), '@admin-themes' => url('admin/build/themes'), '@admin-help-profile' => url('admin/help/profile'), '@admin-help-system' => url('admin/help/system')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@user">User page</a>.', array('@user' => 'http://drupal.org/handbook/modules/user/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Manages the user registration and login system.');
case 'admin/user/user':
return t('<p>Drupal allows users to register, login, log out, maintain user profiles, etc. Users of the site may not use their own names to post content until they have signed up for a user account.</p>');
case 'admin/user/user/create':
......
; $Id$
name = Watchdog
description = Logs and records system events.
......@@ -28,8 +28,6 @@ function watchdog_help($section) {
', array('@admin-watchdog' => url('admin/logs/watchdog'), '@admin-watchdog-events' => url('admin/logs/watchdog/events')));
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@watchdog">Watchdog page</a>.', array('@watchdog' => 'http://drupal.org/handbook/modules/watchdog/')) .'</p>';
return $output;
case 'admin/settings/modules#description':
return t('Logs and records system events.');
case 'admin/logs':
return t('<p>The watchdog module monitors your web site, capturing system events in a log to be reviewed by an authorized individual at a later time. The watchdog log is simply a list of recorded events containing usage data, performance data, errors, warnings and operational information. It is vital to check the watchdog report on a regular basis as it is often the only way to tell what is going on.</p>');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment