Ignore:
Timestamp:
Jan 14, 2012, 11:29:10 PM (12 years ago)
Author:
mistic100
Message:

feature:2549 Allow to disable comments for everybody

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/menubar.inc.php

    r8728 r12887  
    258258      );
    259259
    260     // comments link
    261     $block->data['comments'] =
    262       array(
    263         'TITLE'=>l10n('display last user comments'),
    264         'NAME'=>l10n('Comments'),
    265         'URL'=> get_root_url().'comments.php',
    266       );
     260    if ($conf['activate_comments'])
     261    {
     262      // comments link
     263      $block->data['comments'] =
     264        array(
     265          'TITLE'=>l10n('display last user comments'),
     266          'NAME'=>l10n('Comments'),
     267          'URL'=> get_root_url().'comments.php',
     268        );
     269    }
    267270
    268271    // about link
Note: See TracChangeset for help on using the changeset viewer.