Calling all Drupal developers!
Help us get this on the first page of Digg. DIGG NOW!
Help us get this on the first page of Digg. DIGG NOW!
i18ncontent_help($path, $arg)
contributions/i18n/i18ncontent/i18ncontent.module, line 18
Implementation of hook_help().
<?php
function i18ncontent_help($path, $arg) {
switch ($path) {
case 'admin/help#i18ncontent':
$output = '<p>'.t('This module will localize all content type configuration texts.').'</p>';
$output .= '<ul>';
$output .= '<li>'.t('Content type names').'</li>';
$output .= '<li>'.t('Submission guidelines').'</li>';
$output .= '<li>'.t('Content type descriptions were previously localized so they won\'t be affected').'</li>';
$output .= '</ul>';
return $output;
}
if ($arg[0] == 'node' && $arg[1] == 'add' && $arg[2]) {
$type = str_replace('-', '_', $arg[2]);
if ($help = ts("nodetype:$type:help")) {
return '<p>'. filter_xss_admin($help) .'</p>';
}
}
}
?>