diff -r dcf6e9394e02 -r be4feea8872a index.php --- a/index.php Sun Dec 06 21:51:55 2009 -0500 +++ b/index.php Sun Dec 06 21:53:06 2009 -0500 @@ -542,7 +542,7 @@ $template->footer(); break; case 'deletepage': - if(!$session->get_permissions('delete_page')) + if ( !$session->get_permissions('delete_page') ) { die_friendly($lang->get('etc_access_denied_short'), '
' . $lang->get('etc_access_denied') . '
'); } @@ -551,8 +551,8 @@ redirect(makeUrlNS('Special', "Login/{$paths->page}", 'target_do=deletepage&level=' . $session->user_level, false), $lang->get('etc_access_denied_short'), $lang->get('etc_access_denied_need_reauth'), 0); } - require_once(ENANO_ROOT.'/includes/pageutils.php'); - if(isset($_POST['_adiossucker'])) + require_once(ENANO_ROOT . '/includes/pageutils.php'); + if ( isset($_POST['_adiossucker']) ) { $reason = ( isset($_POST['reason']) ) ? $_POST['reason'] : false; if ( empty($reason) ) @@ -572,7 +572,7 @@ get('page_delete_warning_stern'); ?> $error"; ?>get('page_delete_lbl_reason'); ?>
- + footer();