_update_no_data

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

modules/update/update.module, строка 323

Версии
6
_update_no_data()

Prints a warning message when there is no data about available updates.

▾ 2 функции вызывают _update_no_data()

update_requirements in modules/update/update.module
Implementation of hook_requirements(). See also_update_message_text()
update_status in modules/update/update.report.inc
Menu callback. Generate a page about the update status of projects.

Код

<?php
function _update_no_data() {
  $destination = drupal_get_destination();
  return t('No information is available about potential new releases for currently installed modules and themes. To check for updates, you may need to <a href="@run_cron">run cron</a> or you can <a href="@check_manually">check manually</a>. Please note that checking for available updates can take a long time, so please be patient.', array(
    '@run_cron' => url('admin/reports/status/run-cron', array('query' => $destination)),
    '@check_manually' => url('admin/reports/updates/check', array('query' => $destination)),
  ));
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему