function weather_help in Weather 6.5
Same name and namespace in other branches
- 8 weather.module \weather_help()
- 5.6 weather.module \weather_help()
- 7.3 weather.module \weather_help()
- 7 weather.module \weather_help()
- 7.2 weather.module \weather_help()
- 2.0.x weather.module \weather_help()
Implementation of hook_help().
File
- ./
weather.module, line 154 - Display <acronym title="METeorological Aerodrome Report">METAR</acronym> weather data from anywhere in the world
Code
function weather_help($path, $arg) {
$output = '';
switch ($path) {
case 'admin/settings/weather':
$output .= '<p>';
$output .= t('You can add, edit, and delete locations from system-wide weather blocks. Moreover, you can specify default values for newly created locations.');
$output .= '</p>';
break;
case 'user/%/weather':
$output = '<p>';
$output .= t('You can add, edit, and delete locations from your custom weather block.');
$output .= "\n";
$output .= t('Please note that the block will not be shown until you configure at least one location.');
$output .= '</p>';
break;
}
return $output;
}