plugins/SpecialCSS.php
changeset 334 c72b545f1304
parent 317 f8356d9c3481
child 343 eefe9ab7fe7c
equal deleted inserted replaced
333:32429702305e 334:c72b545f1304
    20  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
    20  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
    21  */
    21  */
    22  
    22  
    23 global $db, $session, $paths, $template, $plugins; // Common objects
    23 global $db, $session, $paths, $template, $plugins; // Common objects
    24 
    24 
    25 $plugins->attachHook('base_classes_initted', '
    25 $plugins->attachHook('session_started', '
    26   global $paths;
    26   global $paths;
    27     $paths->add_page(Array(
    27     $paths->add_page(Array(
    28       \'name\'=>\'CSS\',
    28       \'name\'=>\'specialpage_css\',
    29       \'urlname\'=>\'CSS\',
    29       \'urlname\'=>\'CSS\',
    30       \'namespace\'=>\'Special\',
    30       \'namespace\'=>\'Special\',
    31       \'special\'=>0,\'visible\'=>0,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\',
    31       \'special\'=>0,\'visible\'=>0,\'comments_on\'=>0,\'protected\'=>1,\'delvotes\'=>0,\'delvote_ips\'=>\'\',
    32       ));
    32       ));
    33   ');
    33   ');