You are here

function url_alter_help in URL alter 6

Implementation of hook_help().

File

./url_alter.module, line 6

Code

function url_alter_help($path, $arg) {
  switch ($path) {
    case 'admin/settings/url-alter':
      module_load_install('url_alter');
      if (url_alter_check_status() && user_access('administer site configuration')) {
        drupal_set_message(t('One or more problems were detected with your URL alter module configuration. Check the <a href="@status">status report</a> for more information.', array(
          '@status' => url('admin/reports/status'),
        )), 'error', FALSE);
      }
      return '<p>' . t('Do not use %php tags around your PHP code. Note that executing incorrect PHP-code can severely break your Drupal site.', array(
        '%php' => '<?php ?>',
      )) . '</p>';
  }
}