Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663
This commit is contained in:
parent
eb34d130a8
commit
f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions
|
@ -99,10 +99,10 @@ function _update_manager_check_backends(&$form, $operation) {
|
|||
$available_backends = drupal_get_filetransfer_info();
|
||||
if (empty($available_backends)) {
|
||||
if ($operation == 'update') {
|
||||
$form['available_backends']['#markup'] = t('Your server does not support updating modules and themes from this interface. Instead, update modules and themes by uploading the new versions directly to the server, as described in the <a href="@handbook_url">handbook</a>.', array('@handbook_url' => 'https://www.drupal.org/getting-started/install-contrib'));
|
||||
$form['available_backends']['#markup'] = t('Your server does not support updating modules and themes from this interface. Instead, update modules and themes by uploading the new versions directly to the server, as described in the <a href=":handbook_url">handbook</a>.', array(':handbook_url' => 'https://www.drupal.org/getting-started/install-contrib'));
|
||||
}
|
||||
else {
|
||||
$form['available_backends']['#markup'] = t('Your server does not support installing modules and themes from this interface. Instead, install modules and themes by uploading them directly to the server, as described in the <a href="@handbook_url">handbook</a>.', array('@handbook_url' => 'https://www.drupal.org/getting-started/install-contrib'));
|
||||
$form['available_backends']['#markup'] = t('Your server does not support installing modules and themes from this interface. Instead, install modules and themes by uploading them directly to the server, as described in the <a href=":handbook_url">handbook</a>.', array(':handbook_url' => 'https://www.drupal.org/getting-started/install-contrib'));
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -114,21 +114,21 @@ function _update_manager_check_backends(&$form, $operation) {
|
|||
if ($operation == 'update') {
|
||||
$form['available_backends']['#markup'] = \Drupal::translation()->formatPlural(
|
||||
count($available_backends),
|
||||
'Updating modules and themes requires <strong>@backends access</strong> to your server. See the <a href="@handbook_url">handbook</a> for other update methods.',
|
||||
'Updating modules and themes requires access to your server via one of the following methods: <strong>@backends</strong>. See the <a href="@handbook_url">handbook</a> for other update methods.',
|
||||
'Updating modules and themes requires <strong>@backends access</strong> to your server. See the <a href=":handbook_url">handbook</a> for other update methods.',
|
||||
'Updating modules and themes requires access to your server via one of the following methods: <strong>@backends</strong>. See the <a href=":handbook_url">handbook</a> for other update methods.',
|
||||
array(
|
||||
'@backends' => implode(', ', $backend_names),
|
||||
'@handbook_url' => 'https://www.drupal.org/getting-started/install-contrib',
|
||||
':handbook_url' => 'https://www.drupal.org/getting-started/install-contrib',
|
||||
));
|
||||
}
|
||||
else {
|
||||
$form['available_backends']['#markup'] = \Drupal::translation()->formatPlural(
|
||||
count($available_backends),
|
||||
'Installing modules and themes requires <strong>@backends access</strong> to your server. See the <a href="@handbook_url">handbook</a> for other installation methods.',
|
||||
'Installing modules and themes requires access to your server via one of the following methods: <strong>@backends</strong>. See the <a href="@handbook_url">handbook</a> for other installation methods.',
|
||||
'Installing modules and themes requires <strong>@backends access</strong> to your server. See the <a href=":handbook_url">handbook</a> for other installation methods.',
|
||||
'Installing modules and themes requires access to your server via one of the following methods: <strong>@backends</strong>. See the <a href=":handbook_url">handbook</a> for other installation methods.',
|
||||
array(
|
||||
'@backends' => implode(', ', $backend_names),
|
||||
'@handbook_url' => 'https://www.drupal.org/getting-started/install-contrib',
|
||||
':handbook_url' => 'https://www.drupal.org/getting-started/install-contrib',
|
||||
));
|
||||
}
|
||||
return TRUE;
|
||||
|
|
Reference in a new issue