You are here

function disqus_migrate_help in Disqus 6

Implementation of hook_help

File

./disqus_migrate.module, line 6

Code

function disqus_migrate_help($path, $arg) {
  switch ($path) {
    case 'admin/settings/disqus/export':
      return '<p>' . t('When you are ready to perform an export, visit !thispage.', array(
        '!thispage' => l('this page', 'admin/content/comment/disqus_export'),
      )) . '</p>';
    case 'admin/content/comment/disqus_export':
      return '<p>' . t('Exporting via the API requires that you have registered your website as an application with Disqus and filled our your ' . 'private and public keys in the !mainsettings. Exporting via XML will just gather all of your websites comments ' . 'and format them for importing manually into Disqus. The recommended method is using the API. Visit the !exportsettings ' . 'to customize how these exports are performed.', array(
        '!exportsettings' => l('export settings', 'admin/settings/disqus/export'),
        '!mainsettings' => l('main settings', 'admin/settings/disqus'),
      )) . '</p>';
  }
}