#318984 by Xano and Dave Reid: Change 'Core - optional' to 'Core' in modules UI.
parent
3ab972cd4f
commit
7e02f2f782
|
|
@ -3424,7 +3424,7 @@ function drupal_write_record($table, &$object, $update = array()) {
|
|||
* description = Enables threaded discussions about general topics.
|
||||
* dependencies[] = taxonomy
|
||||
* dependencies[] = comment
|
||||
* package = Core - optional
|
||||
* package = Core
|
||||
* version = VERSION
|
||||
* @endverbatim
|
||||
*
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
name = Aggregator
|
||||
description = "Aggregates syndicated content (RSS, RDF, and Atom feeds)."
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = aggregator.module
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
name = Block
|
||||
description = Controls the boxes that are displayed around the main content.
|
||||
package = Core - required
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = block.module
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
name = Blog
|
||||
description = Enables multi-user blogs.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = blog.module
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
name = Blog API
|
||||
description = Allows users to post content using applications that support XML-RPC blog APIs.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = blogapi.module
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
name = Book
|
||||
description = Allows users to structure site pages in a hierarchy or outline.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = book.module
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
name = Color
|
||||
description = Allows administrators to change the color scheme of compatible themes.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = color.module
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
name = Comment
|
||||
description = Allows users to comment on and discuss published content.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = comment.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Contact
|
||||
description = Enables the use of both personal and site-wide contact forms.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = contact.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Database logging
|
||||
description = Logs and records system events to the database.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = dblog.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
;h $Id$
|
||||
name = Filter
|
||||
description = Filters content in preparation for display.
|
||||
package = Core - required
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = filter.module
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ name = Forum
|
|||
description = Provides discussion forums.
|
||||
dependencies[] = taxonomy
|
||||
dependencies[] = comment
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = forum.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Help
|
||||
description = Manages the display of online help.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = help.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Locale
|
||||
description = Adds language handling functionality and enables the translation of the user interface to languages other than English.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = locale.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Menu
|
||||
description = Allows administrators to customize the site navigation menu.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = menu.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Node
|
||||
description = Allows content to be submitted to the site and displayed on pages.
|
||||
package = Core - required
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = node.module
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
name = OpenID
|
||||
description = "Allows users to log into your site using OpenID."
|
||||
version = VERSION
|
||||
package = Core - optional
|
||||
package = Core
|
||||
core = 7.x
|
||||
files[] = openid.module
|
||||
files[] = openid.inc
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Path
|
||||
description = Allows users to rename URLs.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = path.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = PHP filter
|
||||
description = Allows embedded PHP code/snippets to be evaluated.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = php.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Poll
|
||||
description = Allows your site to capture votes on different topics in the form of multiple choice questions.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = poll.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Profile
|
||||
description = Supports configurable user profiles.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = profile.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Search
|
||||
description = Enables site-wide keyword searching.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = search.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = "SimpleTest"
|
||||
description = "Provides a framework for unit and functional testing."
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = simpletest.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Statistics
|
||||
description = Logs access statistics for your site.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = statistics.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Syslog
|
||||
description = Logs and records system events to syslog.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = syslog.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = System
|
||||
description = Handles general site configuration for administrators.
|
||||
package = Core - required
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = system.module
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class EnableDisableCoreTestCase extends DrupalWebTestCase {
|
|||
$this->assertTableCount('aggregator', FALSE);
|
||||
|
||||
$edit = array();
|
||||
$edit['modules[Core - optional][aggregator][enable]'] = 'aggregator';
|
||||
$edit['modules[Core][aggregator][enable]'] = 'aggregator';
|
||||
$this->drupalPost('admin/build/modules', $edit, t('Save configuration'));
|
||||
$this->assertText(t('The configuration options have been saved.'), t('Modules status has been updated.'));
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ class EnableDisableCoreTestCase extends DrupalWebTestCase {
|
|||
|
||||
// Disable aggregator, check tables, uninstall aggregator, check tables.
|
||||
$edit = array();
|
||||
$edit['modules[Core - optional][aggregator][enable]'] = FALSE;
|
||||
$edit['modules[Core][aggregator][enable]'] = FALSE;
|
||||
$this->drupalPost('admin/build/modules', $edit, t('Save configuration'));
|
||||
$this->assertText(t('The configuration options have been saved.'), t('Modules status has been updated.'));
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ class EnableDisableCoreTestCase extends DrupalWebTestCase {
|
|||
function testEnableWithoutDependency () {
|
||||
// Attempt to enable content translation without locale enabled.
|
||||
$edit = array();
|
||||
$edit['modules[Core - optional][translation][enable]'] = 'translation';
|
||||
$edit['modules[Core][translation][enable]'] = 'translation';
|
||||
$this->drupalPost('admin/build/modules', $edit, t('Save configuration'));
|
||||
$this->assertText(t('Some required modules must be enabled'), t('Dependecy required.'));
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Taxonomy
|
||||
description = Enables the categorization of content.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = taxonomy.module
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
name = Tracker
|
||||
description = Enables tracking of recent posts for users.
|
||||
dependencies[] = comment
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = tracker.module
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
name = Content translation
|
||||
description = Allows content to be translated into different languages.
|
||||
dependencies[] = locale
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = translation.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Trigger
|
||||
description = Enables actions to be fired on certain system events, such as when new content is created.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = trigger.module
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
name = Update status
|
||||
description = Checks the status of available updates for Drupal and your installed modules and themes.
|
||||
version = VERSION
|
||||
package = Core - optional
|
||||
package = Core
|
||||
core = 7.x
|
||||
files[] = update.module
|
||||
files[] = update.compare.inc
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = Upload
|
||||
description = Allows users to upload and attach files to content.
|
||||
package = Core - optional
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = upload.module
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
; $Id$
|
||||
name = User
|
||||
description = Manages the user registration and login system.
|
||||
package = Core - required
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
files[] = user.module
|
||||
|
|
|
|||
Loading…
Reference in New Issue