Projet

Général

Profil

Révision b4adf10d

Ajouté par Assos Assos il y a plus de 9 ans

Udpate to 7.33

Voir les différences:

drupal7/modules/forum/forum.module
263 263
 * Implements hook_node_view().
264 264
 */
265 265
function forum_node_view($node, $view_mode) {
266
  $vid = variable_get('forum_nav_vocabulary', 0);
267
  $vocabulary = taxonomy_vocabulary_load($vid);
268 266
  if (_forum_node_check_node_type($node)) {
269 267
    if ($view_mode == 'full' && node_is_page($node)) {
268
      $vid = variable_get('forum_nav_vocabulary', 0);
269
      $vocabulary = taxonomy_vocabulary_load($vid);
270 270
      // Breadcrumb navigation
271 271
      $breadcrumb[] = l(t('Home'), NULL);
272 272
      $breadcrumb[] = l($vocabulary->name, 'forum');

Formats disponibles : Unified diff