summaryrefslogtreecommitdiff
path: root/modules/help/help.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-02 03:33:36 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-02 03:33:36 +0000
commit39c302eec0a64183207bbbf7cc6bb7adfae16ef7 (patch)
treeb2b475c1340674e29c410d453bebdf5f85ca4b80 /modules/help/help.module
parent2837657941ec65030558a5792a483c424c9e6638 (diff)
downloadbrdo-39c302eec0a64183207bbbf7cc6bb7adfae16ef7.tar.gz
brdo-39c302eec0a64183207bbbf7cc6bb7adfae16ef7.tar.bz2
#475596 by emmajane, catch, yoroy, et al. Move default welcome message to help system.
Diffstat (limited to 'modules/help/help.module')
-rw-r--r--modules/help/help.module9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/help/help.module b/modules/help/help.module
index 0d0c28ca4..15d350c51 100644
--- a/modules/help/help.module
+++ b/modules/help/help.module
@@ -36,7 +36,14 @@ function help_menu() {
function help_help($path, $arg) {
switch ($path) {
case 'admin/help':
- $output = '<p>' . t('This guide provides context sensitive help on the use and configuration of <a href="@drupal">Drupal</a> and its modules, and is a supplement to the more extensive online <a href="@handbook">Drupal handbook</a>. The online handbook may contain more up-to-date information, is annotated with helpful user-contributed comments, and serves as the definitive reference point for all Drupal documentation.', array('@drupal' => 'http://drupal.org', '@handbook' => 'http://drupal.org/handbook')) . '</p>';
+ $output = '<p>' . t('Please follow these steps to set up and start using your website:') . '</p>';
+ $output .= '<ol>';
+ $output .= '<li>' . t('<strong>Configure your website</strong> Once logged in, visit the <a href="@admin">administration section</a>, where you can <a href="@config">customize and configure</a> all aspects of your website.', array('@admin' => url('admin'), '@config' => url('admin/settings'))) . '</li>';
+ $output .= '<li>' . t('<strong>Enable additional functionality</strong> Next, visit the <a href="@modules">module list</a> and enable features which suit your specific needs. You can find additional modules in the <a href="@download_modules">Drupal modules download section</a>.', array('@modules' => url('admin/build/modules'), '@download_modules' => 'http://drupal.org/project/modules')) . '</li>';
+ $output .= '<li>' . t('<strong>Customize your website design</strong> To change the "look and feel" of your website, visit the <a href="@themes">themes section</a>. You may choose from one of the included themes or download additional themes from the <a href="@download_themes">Drupal themes download section</a>.', array('@themes' => url('admin/build/themes'), '@download_themes' => 'http://drupal.org/project/themes')) . '</li>';
+ $output .= '<li>' . t('<strong>Start posting content</strong> Finally, you can <a href="@content">add new content</a> for your website. This message will disappear once you have promoted a post to the front page.', array('@content' => url('node/add'))) . '</li>';
+ $output .= '</ol>';
+ $output .= '<p>' . t('For more information, please refer to the specific topics listed in the next section, or the <a href="@handbook">online Drupal handbooks</a>. You may also post at the <a href="@forum">Drupal forum</a>, or view the wide range of <a href="@support">other support options</a> available.', array('@help' => url('admin/help'), '@handbook' => 'http://drupal.org/handbooks', '@forum' => 'http://drupal.org/forum', '@support' => 'http://drupal.org/support')) . '</p>';
return $output;
case 'admin/help#help':
$output = '<p>' . t('The help module provides context sensitive help on the use and configuration of <a href="@drupal">Drupal</a> and its modules, and is a supplement to the more extensive online <a href="@handbook">Drupal handbook</a>. The online handbook may contain more up-to-date information, is annotated with helpful user-contributed comments, and serves as the definitive reference point for all Drupal documentation.', array('@drupal' => 'http://drupal.org', '@handbook' => 'http://drupal.org/handbook')) . '</p>';