plugins/Decir.php
changeset 11 5585ac341820
parent 7 37387f84fe25
equal deleted inserted replaced
10:36bc382ed459 11:5585ac341820
    32       \'special\'=>0,\'visible\'=>0,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\',
    32       \'special\'=>0,\'visible\'=>0,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\',
    33       ));
    33       ));
    34   ');
    34   ');
    35 
    35 
    36 require( DECIR_ROOT . '/admincp/admin_base.php' );
    36 require( DECIR_ROOT . '/admincp/admin_base.php' );
       
    37 require( DECIR_ROOT . '/search.php' );
    37 
    38 
    38 function decir_early_init(&$paths, &$session)
    39 function decir_early_init(&$paths, &$session)
    39 {
    40 {
    40   $paths->addAdminNode('Decir forum configuration', 'General settings', 'DecirGeneral');
    41   $paths->addAdminNode('Decir forum configuration', 'General settings', 'DecirGeneral');
    41   $paths->create_namespace('DecirForum', $paths->nslist['Special'] . 'Forum/ViewForum/');
    42   $paths->create_namespace('DecirForum', $paths->nslist['Special'] . 'Forum/ViewForum/');