function update_status_help in Update Status 5
Same name and namespace in other branches
- 5.2 update_status.module \update_status_help()
Implementation of hook_help().
File
- ./
update_status.module, line 12
Code
function update_status_help($section) {
switch ($section) {
case 'admin/logs/updates':
return '<p>' . t('Here you can find information on the update status of your installed modules. Note that each module is part of a "project", which may have the same name as the module or may have a different name. Also note that this can only check the status for "official releases", and will not be able to check update status for development snapshots and modules updated directly from CVS.') . '</p>';
case 'admin/build/modules':
$status = update_status_requirements('runtime');
if ($status['update_status']['severity'] == REQUIREMENT_ERROR) {
drupal_set_message(t('There are updates available for one or more of your modules. To ensure the security of your server, you should update immediately. See the !status_page for more information', array(
'!status_page' => l('update status page', 'admin/logs/updates'),
)), 'error');
}
return '<p>' . t('See the <a href="!updates">updates log page</a> for information on available updates.', array(
'!updates' => url('admin/logs/updates'),
)) . '</p>';
}
}