plugins/SpecialLog.php
changeset 960 e74741b8360b
parent 919 1314deadf903
child 970 d894086f38cc
equal deleted inserted replaced
959:68a91587271a 960:e74741b8360b
    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