You are here

function datex_help in Datex 7

Implements hook_help().

File

./datex.module, line 15
Convert output of date_format() to Jalali in a patched drupal installation.

Code

function datex_help($path, $arg) {
  if ($path == 'admin/help#datex') {
    $output = '<p>';
    $output .= t("By enabling Datex, Gregorian dates generates by drupal function %func will be converted to it's Jalali equivilant.", array(
      '%func' => 'date_format()',
    ));
    $output .= '</p><p>';
    $output .= t('Note that this module requires drupal file %file to be patched.', array(
      '%file' => 'common.inc',
    ));
    $output .= t('The patch is in Datex module directory.');
    $output .= '</p>';
    return $output;
  }
}