Révision 6ae446a4
Ajouté par Assos Assos il y a presque 7 ans
drupal7/sites/all/modules/security_review/security_review.pages.inc | ||
---|---|---|
337 | 337 |
* Helper function creates message for reporting check skip information. |
338 | 338 |
*/ |
339 | 339 |
function _security_review_check_skipped($last_check) { |
340 |
$account = array_pop(user_load_multiple(array($last_check['skipuid']))); |
|
340 |
$users = user_load_multiple(array($last_check['skipuid'])); |
|
341 |
$account = array_pop($users); |
|
341 | 342 |
$time = format_date($last_check['skiptime'], 'medium'); |
342 | 343 |
$message = t('Check marked for skipping on !time by !user', array('!time' => $time, '!user' => theme('username', array('account' => $account)))); |
343 | 344 |
return $message; |
... | ... | |
388 | 389 |
else { |
389 | 390 |
$output = _security_review_help(); |
390 | 391 |
// List all checks as links to specific help. |
391 |
$output .= '<h3>' . t('Check-specfic help') . '</h3>'; |
|
392 |
$output .= '<h3>' . t('Check-specific help') . '</h3>';
|
|
392 | 393 |
$output .= '<p>' . t("Details and help on the security review checks. Checks are not always perfectly correct in their procedure and result. Refer to drupal.org handbook documentation if you are unsure how to make the recommended alterations to your configuration or consult the module's README.txt for support.") . '</p>'; |
393 | 394 |
foreach ($checklist as $module => $checks) { |
394 | 395 |
foreach ($checks as $reviewcheck => $check) { |
Formats disponibles : Unified diff
Weekly update of contrib modules