summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-10-05 11:31:48 (GMT)
committerAlex Pott2014-10-05 11:31:48 (GMT)
commit826d77563bc50f9cd91d307ad70a3d50aa51f842 (patch)
tree1e1f4821d859afcf7fcc6c208d004de66ea3436f
parent24bc9952d4bc43bfd4cb95e2630400fd0f2742c8 (diff)
Issue #2347533 by Désiré: Added Display module machine names on the extend page.
-rw-r--r--core/modules/system/system.admin.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/modules/system/system.admin.inc b/core/modules/system/system.admin.inc
index e7df598..a398857 100644
--- a/core/modules/system/system.admin.inc
+++ b/core/modules/system/system.admin.inc
@@ -236,8 +236,9 @@ function theme_system_modules_details($variables) {
// Add the description, along with any modules it requires.
$description = '';
+ $description .= '<div class="requirements">';
+ $description .= '<div class="admin-requirements">' . t('Machine name: !key', array('!key' => $key)) . '</div>';
if ($version || $requires || $required_by) {
- $description .= ' <div class="requirements">';
if ($version) {
$description .= '<div class="admin-requirements">' . t('Version: !module-version', array('!module-version' => drupal_render($module['version']))) . '</div>';
}
@@ -247,8 +248,8 @@ function theme_system_modules_details($variables) {
if ($required_by) {
$description .= '<div class="admin-requirements">' . t('Required by: !module-list', array('!module-list' => implode(', ', $module['#required_by']))) . '</div>';
}
- $description .= '</div>';
}
+ $description .= '</div>';
$links = '';
foreach (array('help', 'permissions', 'configure') as $key) {
$links .= drupal_render($module['links'][$key]);