From 4fb8e143a321f0fd689db87162cecfae029b0f24 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Mon, 26 Mar 2012 11:28:49 -0700 Subject: Issue #1483662 by rdickert, Psikik: Update URLs for drupal.org module help pages --- modules/help/help.module | 4 ++-- modules/help/help.test | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/help') diff --git a/modules/help/help.module b/modules/help/help.module index 773a52df9..53a9f716f 100644 --- a/modules/help/help.module +++ b/modules/help/help.module @@ -45,12 +45,12 @@ function help_help($path, $arg) { $output .= '
  • ' . t('Customize your website design To change the "look and feel" of your website, visit the themes section. You may choose from one of the included themes or download additional themes from the Drupal themes download section.', array('@themes' => url('admin/appearance'), '@download_themes' => 'http://drupal.org/project/themes')) . '
  • '; $output .= '
  • ' . t('Start posting content Finally, you can add new content for your website.', array('@content' => url('node/add'))) . '
  • '; $output .= ''; - $output .= '

    ' . t('For more information, refer to the specific topics listed in the next section or to the online Drupal handbooks. You may also post at the Drupal forum or view the wide range of other support options available.', array('@help' => url('admin/help'), '@handbook' => 'http://drupal.org/handbooks', '@forum' => 'http://drupal.org/forum', '@support' => 'http://drupal.org/support')) . '

    '; + $output .= '

    ' . t('For more information, refer to the specific topics listed in the next section or to the online Drupal handbooks. You may also post at the Drupal forum or view the wide range of other support options available.', array('@help' => url('admin/help'), '@handbook' => 'http://drupal.org/documentation', '@forum' => 'http://drupal.org/forum', '@support' => 'http://drupal.org/support')) . '

    '; return $output; case 'admin/help#help': $output = ''; $output .= '

    ' . t('About') . '

    '; - $output .= '

    ' . t('The Help module provides Help reference pages and context-sensitive advice to guide you through the use and configuration of modules. It is a starting point for the online Drupal handbooks. The handbooks contain more extensive and up-to-date information, are annotated with user-contributed comments, and serve as the definitive reference point for all Drupal documentation. For more information, see the online handbook entry for the Help module.', array('@help' => 'http://drupal.org/handbook/modules/help/', '@handbook' => 'http://drupal.org/handbook', '@help-page' => url('admin/help'))) . '

    '; + $output .= '

    ' . t('The Help module provides Help reference pages and context-sensitive advice to guide you through the use and configuration of modules. It is a starting point for the online Drupal handbooks. The handbooks contain more extensive and up-to-date information, are annotated with user-contributed comments, and serve as the definitive reference point for all Drupal documentation. For more information, see the online handbook entry for the Help module.', array('@help' => 'http://drupal.org/documentation/modules/help/', '@handbook' => 'http://drupal.org/documentation', '@help-page' => url('admin/help'))) . '

    '; $output .= '

    ' . t('Uses') . '

    '; $output .= '
    '; $output .= '
    ' . t('Providing a help reference') . '
    '; diff --git a/modules/help/help.test b/modules/help/help.test index e72aa4a0e..a18e68ce6 100644 --- a/modules/help/help.test +++ b/modules/help/help.test @@ -55,7 +55,7 @@ class HelpTestCase extends DrupalWebTestCase { $this->assertRaw(drupal_get_path('module', 'help') . '/help.css', t('The help.css file is present in the HTML.')); // Verify that introductory help text exists, goes for 100% module coverage. - $this->assertRaw(t('For more information, refer to the specific topics listed in the next section or to the online Drupal handbooks.', array('@drupal' => 'http://drupal.org/handbooks')), 'Help intro text correctly appears.'); + $this->assertRaw(t('For more information, refer to the specific topics listed in the next section or to the online Drupal handbooks.', array('@drupal' => 'http://drupal.org/documentation')), 'Help intro text correctly appears.'); // Verify that help topics text appears. $this->assertRaw('

    ' . t('Help topics') . '

    ' . t('Help is available on the following items:') . '

    ', t('Help topics text correctly appears.')); -- cgit v1.2.3