updated drupal core to 7.43
This commit is contained in:
@@ -329,6 +329,8 @@ function _node_mass_update_helper($nid, $updates) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements callback_batch_operation().
|
||||
*
|
||||
* Executes a batch operation for node_mass_update().
|
||||
*
|
||||
* @param array $nodes
|
||||
@@ -367,7 +369,9 @@ function _node_mass_update_batch_process($nodes, $updates, &$context) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Menu callback: Reports the status of batch operation for node_mass_update().
|
||||
* Implements callback_batch_finished().
|
||||
*
|
||||
* Reports the status of batch operation for node_mass_update().
|
||||
*
|
||||
* @param bool $success
|
||||
* A boolean indicating whether the batch mass update operation successfully
|
||||
@@ -504,14 +508,17 @@ function node_admin_nodes() {
|
||||
$options = array();
|
||||
foreach ($nodes as $node) {
|
||||
$langcode = entity_language('node', $node);
|
||||
$l_options = $langcode != LANGUAGE_NONE && isset($languages[$langcode]) ? array('language' => $languages[$langcode]) : array();
|
||||
$uri = entity_uri('node', $node);
|
||||
if ($langcode != LANGUAGE_NONE && isset($languages[$langcode])) {
|
||||
$uri['options']['language'] = $languages[$langcode];
|
||||
}
|
||||
$options[$node->nid] = array(
|
||||
'title' => array(
|
||||
'data' => array(
|
||||
'#type' => 'link',
|
||||
'#title' => $node->title,
|
||||
'#href' => 'node/' . $node->nid,
|
||||
'#options' => $l_options,
|
||||
'#href' => $uri['path'],
|
||||
'#options' => $uri['options'],
|
||||
'#suffix' => ' ' . theme('mark', array('type' => node_mark($node->nid, $node->changed))),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user