| 45 |
$breadcrumb = array_merge(drupal_get_breadcrumb(), array_reverse($breadcrumb)); |
$breadcrumb = array_merge(drupal_get_breadcrumb(), array_reverse($breadcrumb)); |
| 46 |
drupal_set_breadcrumb($breadcrumb); |
drupal_set_breadcrumb($breadcrumb); |
| 47 |
|
|
| 48 |
if (module_exists('search')) { |
if (module_exists('search') && user_access('search help')) { |
| 49 |
$output .= drupal_get_form('search_form', &$form_state, '', '', t('Search Help'), NULL); |
$output .= drupal_get_form('search_form', &$form_state, '', '', t('Search Help'), NULL); |
| 50 |
} |
} |
| 51 |
$output .= theme('help_by_module', $menu_items); |
$output .= theme('help_by_module', $menu_items); |
| 318 |
$item = $router_items[$path]; |
$item = $router_items[$path]; |
| 319 |
if (isset($item['help'])) { |
if (isset($item['help'])) { |
| 320 |
$output .= $item['help']; |
$output .= $item['help']; |
| 321 |
if (isset($item['help topic']) && user_access('access help pages')) { |
if (isset($item['help topic']) && user_access('access help')) { |
| 322 |
$output .= theme('help_link', $module, $item['help topic'], NULL, TRUE, TRUE, array('class' => 'help-link-align')); |
$output .= theme('help_link', $module, $item['help topic'], NULL, TRUE, TRUE, array('class' => 'help-link-align')); |
| 323 |
} |
} |
| 324 |
} |
} |