equal
deleted
inserted
replaced
22 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. |
22 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. |
23 */ |
23 */ |
24 |
24 |
25 function SpecialLog_paths_init() |
25 function SpecialLog_paths_init() |
26 { |
26 { |
27 global $paths; |
27 register_special_page('Log', 'specialpage_log'); |
28 $paths->add_page(Array( |
|
29 'name'=>'specialpage_log', |
|
30 'urlname'=>'Log', |
|
31 'namespace'=>'Special', |
|
32 'special'=>0,'visible'=>1,'comments_on'=>0,'protected'=>1,'delvotes'=>0,'delvote_ips'=>'', |
|
33 )); |
|
34 } |
28 } |
35 |
29 |
36 function page_Special_Log() |
30 function page_Special_Log() |
37 { |
31 { |
38 global $db, $session, $paths, $template, $plugins; // Common objects |
32 global $db, $session, $paths, $template, $plugins; // Common objects |