You are here

function autoupload_help in AutoUpload 7

Implements hook_help().

File

./autoupload.module, line 91
Allows users to upload files without clicking the upload button

Code

function autoupload_help($path, $arg) {
  if ($path == 'admin/help#autoupload') {
    $output = file_get_contents(dirname(__FILE__) . '/README.txt');
    return module_exists('markdown') ? filter_xss_admin(module_invoke('markdown', 'filter', 'process', 0, -1, $output)) : '<pre>' . check_plain($output) . '</pre>';
  }
}