From 56d2664a904119f73e7df4fb355e4c525e040b70 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 14 Apr 2008 17:48:46 +0000 Subject: - Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators. --- modules/help/help.admin.inc | 10 +++++----- modules/help/help.module | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'modules/help') diff --git a/modules/help/help.admin.inc b/modules/help/help.admin.inc index 7b70ce523..701f8fabc 100644 --- a/modules/help/help.admin.inc +++ b/modules/help/help.admin.inc @@ -11,8 +11,8 @@ */ function help_main() { // Add CSS - drupal_add_css(drupal_get_path('module', 'help') .'/help.css', 'module', 'all', FALSE); - $output = '

'. t('Help topics') .'

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

'. help_links_as_list(); + drupal_add_css(drupal_get_path('module', 'help') . '/help.css', 'module', 'all', FALSE); + $output = '

' . t('Help topics') . '

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

' . help_links_as_list(); return $output; } @@ -22,7 +22,7 @@ function help_main() { function help_page($name) { $output = ''; if (module_hook($name, 'help')) { - $module = drupal_parse_info_file(drupal_get_path('module', $name) .'/'. $name .'.info'); + $module = drupal_parse_info_file(drupal_get_path('module', $name) . '/' . $name . '.info'); drupal_set_title($module['name']); $temp = module_invoke($name, 'help', "admin/help#$name", drupal_help_arg()); @@ -63,9 +63,9 @@ function help_links_as_list() { $output = '
    '; $i = 0; foreach ($modules as $module => $name) { - $output .= '
  • '. l($name, 'admin/help/'. $module) .'
  • '; + $output .= '
  • ' . l($name, 'admin/help/' . $module) . '
  • '; if (($i + 1) % $break == 0 && ($i + 1) != $count) { - $output .= '
    '; + $output .= '
    '; } $i++; } diff --git a/modules/help/help.module b/modules/help/help.module index 2daff64b3..0b7787089 100644 --- a/modules/help/help.module +++ b/modules/help/help.module @@ -19,7 +19,7 @@ function help_menu() { ); foreach (module_implements('help', TRUE) as $module) { - $items['admin/help/'. $module] = array( + $items['admin/help/' . $module] = array( 'title' => $module, 'page callback' => 'help_page', 'page arguments' => array(2), @@ -37,11 +37,11 @@ function help_menu() { function help_help($path, $arg) { switch ($path) { case 'admin/help': - $output = '

    '. t('This guide provides context sensitive help on the use and configuration of Drupal and its modules, and is a supplement to the more extensive online Drupal handbook. 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')) .'

    '; + $output = '

    ' . t('This guide provides context sensitive help on the use and configuration of Drupal and its modules, and is a supplement to the more extensive online Drupal handbook. 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')) . '

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

    '. t('The help module provides context sensitive help on the use and configuration of Drupal and its modules, and is a supplement to the more extensive online Drupal handbook. 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')) .'

    '; - $output .= '

    '. t('For more information, see the online handbook entry for Help module.', array('@help' => 'http://drupal.org/handbook/modules/help/')) .'

    '; + $output = '

    ' . t('The help module provides context sensitive help on the use and configuration of Drupal and its modules, and is a supplement to the more extensive online Drupal handbook. 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')) . '

    '; + $output .= '

    ' . t('For more information, see the online handbook entry for Help module.', array('@help' => 'http://drupal.org/handbook/modules/help/')) . '

    '; return $output; } } -- cgit v1.2.3