diff -r dc8741857bde -r 4d87aad3c4c0 index.php --- a/index.php Thu Jun 28 15:26:40 2007 -0400 +++ b/index.php Sun Jul 01 14:08:39 2007 -0400 @@ -54,6 +54,8 @@ $rev_id = ( (isset($_GET['oldid'])) ? intval($_GET['oldid']) : 0 ); $page = new PageProcessor( $paths->cpage['urlname_nons'], $paths->namespace, $rev_id ); $page->send_headers = true; + $pagepass = ( isset($_REQUEST['pagepass']) ) ? sha1($_REQUEST['pagepass']) : ''; + $page->password = $pagepass; $page->send(); break; case 'comments': @@ -187,7 +189,7 @@ break; case 'moreoptions': $template->header(); - echo '
'; + echo ' '; $template->footer(); break; case 'protect':