Projet

Général

Profil

Révision 4444412d

Ajouté par Julien Enselme il y a presque 10 ans

Update drupal 7.27 -> 7.28

Voir les différences:

drupal7/modules/node/node.module
1683 1683
  );
1684 1684
  $form['content_ranking']['#theme'] = 'node_search_admin';
1685 1685
  $form['content_ranking']['info'] = array(
1686
    '#value' => '<em>' . t('The following numbers control which properties the content search should favor when ordering the results. Higher numbers mean more influence, zero means the property is ignored. Changing these numbers does not require the search index to be rebuilt. Changes take effect immediately.') . '</em>'
1686
    '#markup' => '<p><em>' . t('Influence is a numeric multiplier used in ordering search results. A higher number means the corresponding factor has more influence on search results; zero means the factor is ignored. Changing these numbers does not require the search index to be rebuilt. Changes take effect immediately.') . '</em></p>'
1687 1687
  );
1688 1688

  
1689 1689
  // Note: reversed to reflect that higher number = higher ranking.
......
1870 1870

  
1871 1871
  $output = drupal_render($form['info']);
1872 1872

  
1873
  $header = array(t('Factor'), t('Weight'));
1873
  $header = array(t('Factor'), t('Influence'));
1874 1874
  foreach (element_children($form['factors']) as $key) {
1875 1875
    $row = array();
1876 1876
    $row[] = $form['factors'][$key]['#title'];
......
3290 3290
/**
3291 3291
 * Helper for node access functions.
3292 3292
 *
3293
 * Queries tagged with 'node_access' that are not against the {node} table
3294
 * should add the base table as metadata. For example:
3295
 * @code
3296
 *   $query
3297
 *     ->addTag('node_access')
3298
 *     ->addMetaData('base_table', 'taxonomy_index');
3299
 * @endcode
3300
 * If the query is not against the {node} table, an attempt is made to guess
3301
 * the table, but is not recommended to rely on this as it is deprecated and not
3302
 * allowed in Drupal 8. It is always safer to provide the table.
3303
 *
3293 3304
 * @param $query
3294 3305
 *   The query to add conditions to.
3295 3306
 * @param $type

Formats disponibles : Unified diff