equal
deleted
inserted
replaced
54 $rev_id = ( (isset($_GET['oldid'])) ? intval($_GET['oldid']) : 0 ); |
54 $rev_id = ( (isset($_GET['oldid'])) ? intval($_GET['oldid']) : 0 ); |
55 $page = new PageProcessor( $paths->cpage['urlname_nons'], $paths->namespace, $rev_id ); |
55 $page = new PageProcessor( $paths->cpage['urlname_nons'], $paths->namespace, $rev_id ); |
56 $page->send_headers = true; |
56 $page->send_headers = true; |
57 $pagepass = ( isset($_REQUEST['pagepass']) ) ? sha1($_REQUEST['pagepass']) : ''; |
57 $pagepass = ( isset($_REQUEST['pagepass']) ) ? sha1($_REQUEST['pagepass']) : ''; |
58 $page->password = $pagepass; |
58 $page->password = $pagepass; |
59 $page->send(); |
59 $page->send(true); |
60 break; |
60 break; |
61 case 'comments': |
61 case 'comments': |
62 $template->header(); |
62 $template->header(); |
63 $sub = ( isset ($_GET['sub']) ) ? $_GET['sub'] : false; |
63 $sub = ( isset ($_GET['sub']) ) ? $_GET['sub'] : false; |
64 switch($sub) |
64 switch($sub) |