Changeset 1696

Show
Ignore:
Timestamp:
04/02/08 00:00:49 (8 months ago)
Author:
bchoate
Message:

Conditioned address book menu option and moved to manage menu. BugId:74875

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-33/lib/MT/App/CMS.pm

    r1694 r1696  
    13371337            system_permission => 'administer', 
    13381338        }, 
     1339        'manage:notification' => { 
     1340            label             => "Address Book", 
     1341            mode              => 'list', 
     1342            args              => { _type => 'notification' }, 
     1343            order             => 10000, 
     1344            permission        => 'edit_notifications', 
     1345            view              => "blog", 
     1346            condition         => sub { 
     1347                return $app->config->EnableAddressBook; 
     1348            }, 
     1349        }, 
    13391350 
    13401351        'design:template' => { 
     
    14791490            mode              => "tools", 
    14801491            view              => "system", 
    1481         }, 
    1482         'tools:notification' => { 
    1483             label             => "Address Book", 
    1484             mode              => 'list', 
    1485             args              => { _type => 'notification' }, 
    1486             order             => 800, 
    1487             permission        => 'edit_notifications', 
    1488             view              => "blog", 
    14891492        }, 
    14901493        'tools:ip_info' => {