equal
deleted
inserted
replaced
171 // echo PageUtils::getpage($paths->page, false, ( (isset($_GET['oldid'])) ? $_GET['oldid'] : false )); |
171 // echo PageUtils::getpage($paths->page, false, ( (isset($_GET['oldid'])) ? $_GET['oldid'] : false )); |
172 $output = new Output_Striptease(); |
172 $output = new Output_Striptease(); |
173 |
173 |
174 $revision_id = ( (isset($_GET['oldid'])) ? intval($_GET['oldid']) : 0 ); |
174 $revision_id = ( (isset($_GET['oldid'])) ? intval($_GET['oldid']) : 0 ); |
175 $page = new PageProcessor( $paths->page_id, $paths->namespace, $revision_id ); |
175 $page = new PageProcessor( $paths->page_id, $paths->namespace, $revision_id ); |
|
176 $template->set_page($page); |
176 |
177 |
177 $pagepass = ( isset($_REQUEST['pagepass']) ) ? $_REQUEST['pagepass'] : ''; |
178 $pagepass = ( isset($_REQUEST['pagepass']) ) ? $_REQUEST['pagepass'] : ''; |
178 $page->password = $pagepass; |
179 $page->password = $pagepass; |
179 $page->allow_redir = ( !isset($_GET['redirect']) || (isset($_GET['redirect']) && $_GET['redirect'] !== 'no') ); |
180 $page->allow_redir = ( !isset($_GET['redirect']) || (isset($_GET['redirect']) && $_GET['redirect'] !== 'no') ); |
180 |
181 |