plugins/SpecialAdmin.php
changeset 116 77c75179bb95
parent 110 68e030f8dfa6
child 118 0c5efda996bf
equal deleted inserted replaced
115:261f367623af 116:77c75179bb95
    26   global $paths;
    26   global $paths;
    27     $paths->add_page(Array(
    27     $paths->add_page(Array(
    28       \'name\'=>\'Administration\',
    28       \'name\'=>\'Administration\',
    29       \'urlname\'=>\'Administration\',
    29       \'urlname\'=>\'Administration\',
    30       \'namespace\'=>\'Special\',
    30       \'namespace\'=>\'Special\',
    31       \'special\'=>0,\'visible\'=>0,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\',
    31       \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\',
    32       ));
    32       ));
    33     
    33     
    34     $paths->add_page(Array(
    34     $paths->add_page(Array(
    35       \'name\'=>\'Manage the Sidebar\',
    35       \'name\'=>\'Manage the Sidebar\',
    36       \'urlname\'=>\'EditSidebar\',
    36       \'urlname\'=>\'EditSidebar\',
    37       \'namespace\'=>\'Special\',
    37       \'namespace\'=>\'Special\',
    38       \'special\'=>0,\'visible\'=>0,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\',
    38       \'special\'=>0,\'visible\'=>1,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\',
    39       ));
    39       ));
    40   ');
    40   ');
    41 
    41 
    42 // Admin pages that were too enormous to be in this file were split off into the plugins/admin/ directory in 1.0.1
    42 // Admin pages that were too enormous to be in this file were split off into the plugins/admin/ directory in 1.0.1
    43 require(ENANO_ROOT . '/plugins/admin/PageGroups.php');
    43 require(ENANO_ROOT . '/plugins/admin/PageGroups.php');