diff --git a/modules/node/node.module b/modules/node/node.module index 30e9559..5e64205 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -2584,6 +2584,15 @@ function node_page_default() { if (!empty($default_links)) { $default_message .= theme('item_list', array('items' => $default_links)); } + if (user_access('administer')) { + // Let the user know that there are modules and themes available. + $default_message .= '
' . t('Drupal can be extended through module and theme add-ins provided by the Drupal community.') . '
'; + $module_links = array(l(t('Download modules and themes'), + 'http://drupal.org/download')); + $module_links[] = l(t('How do I install a module?'), + 'http://drupal.org/documentation/install/modules-themes/'); + $default_message .= theme('item_list', array('items' => $module_links)); + } $build['default_message'] = array( '#markup' => $default_message,