Line 0
Link Here
|
|
|
1 |
--- admin/admin_styles.php.orig Sun Jul 6 23:38:22 2003 |
2 |
+++ admin/admin_styles.php Sun Jul 6 23:45:37 2003 |
3 |
@@ -38,21 +38,19 @@ |
4 |
// |
5 |
// Check if the user has cancled a confirmation message. |
6 |
// |
7 |
-$phpbb_root_path = "./../"; |
8 |
+$phpbb_root_path = "./../"; |
9 |
+require($phpbb_root_path . 'extension.inc'); |
10 |
|
11 |
-$confirm = ( isset($HTTP_POST_VARS['confirm']) ) ? TRUE : FALSE; |
12 |
-$cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? TRUE : FALSE; |
13 |
+$confirm = ( isset($HTTP_POST_VARS['confirm']) ) ? TRUE : FALSE; |
14 |
+$cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? TRUE : FALSE; |
15 |
|
16 |
-if (empty($HTTP_POST_VARS['send_file'])) |
17 |
-{ |
18 |
- $no_page_header = ( $cancel ) ? TRUE : FALSE; |
19 |
- require($phpbb_root_path . 'extension.inc'); |
20 |
- require('./pagestart.' . $phpEx); |
21 |
-} |
22 |
+$no_page_header = (!empty($HTTP_POST_VARS['send_file']) || $cancel) ? TRUE |
23 |
|
24 |
-if ($cancel) |
25 |
-{ |
26 |
- redirect('admin/' . append_sid("admin_styles.$phpEx", true)); |
27 |
+require('./pagestart.' . $phpEx); |
28 |
+ |
29 |
+if ($cancel) |
30 |
+{ |
31 |
+ redirect('admin/' . append_sid("admin_styles.$phpEx", true)); |
32 |
} |
33 |
|
34 |
if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) ) |
35 |
@@ -935,4 +933,4 @@ |
36 |
include('./page_footer_admin.'.$phpEx); |
37 |
} |
38 |
|
39 |
-?> |
40 |
\ No newline at end of file |
41 |
+?> |