- Patch #87298 by webchick, neil, dww et al: show version numbers on modules page.

5.x
Dries Buytaert 2006-11-21 20:55:36 +00:00
parent 837bacfaaf
commit 6ae6dc0d85
31 changed files with 33 additions and 2 deletions

View File

@ -2,3 +2,4 @@
name = Aggregator
description = "Aggregates syndicated content (RSS, RDF, and Atom feeds)."
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Block
description = Controls the boxes that are displayed around the main content.
package = Core - required
version = VERSION

View File

@ -2,3 +2,4 @@
name = Blog
description = Enables keeping an easily and regularly updated web page or a blog.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Blog API
description = Allows users to post content using applications that support XML-RPC blog APIs.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Book
description = Allows users to collaboratively author a book.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Color
description = Allows the user to change the color scheme of certain themes.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Comment
description = Allows users to comment on and discuss published content.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Contact
description = Enables the use of both personal and site-wide contact forms.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
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.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Filter
description = Handles the filtering of content in preparation for display.
package = Core - required
version = VERSION

View File

@ -3,3 +3,4 @@ name = Forum
description = Enables threaded discussions about general topics.
dependencies = taxonomy comment
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Help
description = Manages the display of online help.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Legacy
description = Provides legacy handlers for upgrades from older Drupal installations.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Locale
description = Enables the translation of the user interface to languages other than English.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Menu
description = Allows administrators to customize the site navigation menu.
package = Core - optional
version = VERSION

View File

@ -2,4 +2,4 @@
name = Node
description = Allows content to be submitted to the site and displayed on pages.
package = Core - required
version = VERSION

View File

@ -2,3 +2,4 @@
name = Path
description = Allows users to rename URLs.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Ping
description = Alerts other sites when your site has been updated.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Poll
description = Allows your site to capture votes on different topics in the form of multiple choice questions.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Profile
description = Supports configurable user profiles.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Search
description = Enables site-wide keyword searching.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Statistics
description = Logs access statistics for your site.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = System
description = Handles general site configuration for administrators.
package = Core - required
version = VERSION

View File

@ -1230,6 +1230,7 @@ function system_modules($form_values = NULL) {
// Traverse the files retrieved and build the form.
foreach ($files as $filename => $file) {
$form['name'][$filename] = array('#value' => $file->info['name']);
$form['version'][$filename] = array('#value' => $file->info['version']);
$form['description'][$filename] = array('#value' => t($file->info['description']));
$options[$filename] = '';
if ($file->status) {
@ -1497,6 +1498,7 @@ function theme_system_modules($form) {
$header[] = t('Throttle');
}
$header[] = t('Name');
$header[] = t('Version');
$header[] = t('Description');
// Pull package information from module list and start grouping modules.
@ -1521,6 +1523,7 @@ function theme_system_modules($form) {
$row[] = array('data' => drupal_render($form['throttle'][$key]), 'align' => 'center');
}
$row[] = '<strong>'. drupal_render($form['name'][$key]) .'</strong>';
$row[] = drupal_render($form['version'][$key]);
$row[] = array('data' => drupal_render($form['description'][$key]), 'class' => 'description');
$rows[] = $row;
}

View File

@ -2,3 +2,4 @@
name = Taxonomy
description = Enables the categorization of content.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Throttle
description = Handles the auto-throttling mechanism, to control site congestion.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Tracker
description = Enables tracking of recent posts for users.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = Upload
description = Allows users to upload and attach files to content.
package = Core - optional
version = VERSION

View File

@ -2,3 +2,4 @@
name = User
description = Manages the user registration and login system.
package = Core - required
version = VERSION

View File

@ -2,3 +2,4 @@
name = Watchdog
description = Logs and records system events.
package = Core - required
version = VERSION

View File

@ -84,7 +84,7 @@
* $db_url = 'mysqli://username:password@localhost/databasename';
* $db_url = 'pgsql://username:password@localhost/databasename';
*/
$db_url = 'mysql://username:password@localhost/databasename';
$db_url = 'mysql://drupal:drupal@localhost/drupal';
$db_prefix = '';
/**