equal
deleted
inserted
replaced
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 require( ENANO_ROOT . "/plugins/nuggie/usercp.php" ); |
43 require( ENANO_ROOT . "/plugins/nuggie/usercp.php" ); |
|
44 } |
|
45 else if ( $page_id == "Search" && $namespace == "Special" ) |
|
46 { |
|
47 require( ENANO_ROOT . "/plugins/nuggie/search.php" ); |
44 } |
48 } |
45 '); |
49 '); |
46 |
50 |
47 $plugins->attachHook('acl_rule_init', 'nuggie_namespace_setup();'); |
51 $plugins->attachHook('acl_rule_init', 'nuggie_namespace_setup();'); |
48 |
52 |