equal
deleted
inserted
replaced
38 $plugins->attachHook('base_classes_initted', ' |
38 $plugins->attachHook('base_classes_initted', ' |
39 list($page_id, $namespace) = RenderMan::strToPageId($paths->get_pageid_from_url()); |
39 list($page_id, $namespace) = RenderMan::strToPageId($paths->get_pageid_from_url()); |
40 |
40 |
41 if ( $page_id == "Preferences" && $namespace == "Special" ) |
41 if ( $page_id == "Preferences" && $namespace == "Special" ) |
42 { |
42 { |
|
43 $template->add_header("<link rel=\"stylesheet\" type=\"text/css\" href=\"' . scriptPath . '/plugins/nuggie/client/usercp.css\" />"); |
43 require( ENANO_ROOT . "/plugins/nuggie/usercp.php" ); |
44 require( ENANO_ROOT . "/plugins/nuggie/usercp.php" ); |
44 } |
45 } |
45 else if ( $page_id == "Search" && $namespace == "Special" ) |
46 else if ( $page_id == "Search" && $namespace == "Special" ) |
46 { |
47 { |
47 require( ENANO_ROOT . "/plugins/nuggie/search.php" ); |
48 require( ENANO_ROOT . "/plugins/nuggie/search.php" ); |