diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-04-14 17:48:46 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-04-14 17:48:46 +0000 |
commit | 56d2664a904119f73e7df4fb355e4c525e040b70 (patch) | |
tree | 0ac2302d485b4b0769d269825880975428bd3b0c /modules/help/help.admin.inc | |
parent | 46cda4c6ae388cd2e918ae2aec887e617e5bd44e (diff) | |
download | brdo-56d2664a904119f73e7df4fb355e4c525e040b70.tar.gz brdo-56d2664a904119f73e7df4fb355e4c525e040b70.tar.bz2 |
- 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.
Diffstat (limited to 'modules/help/help.admin.inc')
-rw-r--r-- | modules/help/help.admin.inc | 10 |
1 files changed, 5 insertions, 5 deletions
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 = '<h2>'. t('Help topics') .'</h2><p>'. t('Help is available on the following items:') .'</p>'. help_links_as_list(); + drupal_add_css(drupal_get_path('module', 'help') . '/help.css', 'module', 'all', FALSE); + $output = '<h2>' . t('Help topics') . '</h2><p>' . t('Help is available on the following items:') . '</p>' . 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 = '<div class="clear-block"><div class="help-items"><ul>'; $i = 0; foreach ($modules as $module => $name) { - $output .= '<li>'. l($name, 'admin/help/'. $module) .'</li>'; + $output .= '<li>' . l($name, 'admin/help/' . $module) . '</li>'; if (($i + 1) % $break == 0 && ($i + 1) != $count) { - $output .= '</ul></div><div class="help-items'. ($i + 1 == $break * 3 ? ' help-items-last' : '') .'"><ul>'; + $output .= '</ul></div><div class="help-items' . ($i + 1 == $break * 3 ? ' help-items-last' : '') . '"><ul>'; } $i++; } |