You are here

function systeminfo_help in System Information 5

Same name and namespace in other branches
  1. 5.2 systeminfo.module \systeminfo_help()
  2. 6.3 systeminfo.module \systeminfo_help()
  3. 6 systeminfo.module \systeminfo_help()
  4. 6.2 systeminfo.module \systeminfo_help()
  5. 7.3 systeminfo.module \systeminfo_help()
  6. 7.2 systeminfo.module \systeminfo_help()

Implementation of hook_help().

File

./systeminfo.module, line 13
Displays information of the drupal install and system environment.

Code

function systeminfo_help($section) {
  switch ($section) {
    case 'admin/help#systeminfo':
      $output = '<p>' . t('This module displays information of the drupal install and system environment.') . '</p>';
      $output .= '<h3>' . t('System requirements') . '</h3>';
      $output .= '<ol>';
      $output .= '<li>' . t('Web Server') . '<ul>';
      $output .= '<li>' . t('<a href="http://httpd.apache.org/">Apache</a>, version 1.3.x or newer. (Recommended)') . '<ul>';
      $output .= '<li>' . t('Module mod_rewrite and the ability to use local .htaccess files for clean URLs.') . '</li></ul></li>';
      $output .= '<li>' . t('<a href="http://www.microsoft.com/iis">IIS</a>, version 5 or newer.') . '</li>';
      $output .= '</ul></li>';
      $output .= '<li>' . t('<a href="http://www.php.net/">PHP</a>') . '<ul>';
      $output .= '<li>' . t('Version 4.3.3 or newer.') . '</li>';
      $output .= '<li>' . t('Memory of 8MB for the core install but for additional contributed modules it\'s recommended to raise it.') . '</li>';
      $output .= '<li>' . t('Configuration directives') . '<ul>';
      $output .= '<li>' . t('session.save_handler: user') . '</li>';
      $output .= '<li>' . t('session.cache_limiter: none (Recommended)') . '</li></ul></li>';
      $output .= '<li>' . t('XML extension for bloggerapi, drupal, jabber, and ping modules.') . '</li>';
      $output .= '</ul></li>';
      $output .= '<li>' . t('Database') . '<ul>';
      $output .= '<li>' . t('<a href="http://www.mysql.com/">MySQL</a>, version 3.23.17 or newer. (Recommended)') . '<ul>';
      $output .= '<li>' . t('Grant to create temporary tables for search module.') . '</li>';
      $output .= '<li>' . t('Grant to lock tables.') . '</li></ul></li>';
      $output .= '<li>' . t('<a href="http://www.postgresql.org/">PostgreSQL</a>, version 7.3 or newer.') . '</li>';
      $output .= '</ul></li></ol>';
      $output .= '<p>' . t('<strong>Note:</strong> <a href="http://drupal.org/node/270">More information</a> can be found in the <a href="http://drupal.org/handbooks">Drupal handbook</a> on <a href="http://drupal.org">drupal.org</a>.') . '</p>';
      return $output;
    case 'admin/logs/systeminfo':
      return '<p>' . t('Information of the drupal install and system environment.') . '</p>';
  }
}