diff --git a/phpBB/adm/admin_styles.php b/phpBB/adm/admin_styles.php index e8a1f33a8f..9b0b749a04 100644 --- a/phpBB/adm/admin_styles.php +++ b/phpBB/adm/admin_styles.php @@ -76,8 +76,6 @@ $tmp_path = ''; $safe_mode = (@ini_get('safe_mode') || @strtolower(ini_get('safe_mode')) == 'on') ? true : false; $file_uploads = (@ini_get('file_uploads') || strtolower(@ini_get('file_uploads')) == 'on') ? true : false; - - // Generate list of archive types inc. regexp | match $archive_types = '.tar'; $archive_preg = '\.tar'; @@ -91,14 +89,11 @@ foreach (array('tar.gz' => 'zlib', 'tar.bz2' => 'bz2', 'zip' => 'zlib') as $type $archive_preg .= '|\.' . preg_quote($type); } - - // -------------------- // Start program proper // -------------------- - -// Unified actions +// Mode indepedent actions switch ($action) { case 'export': @@ -120,11 +115,13 @@ switch ($action) remove($mode, $id); } break; + + case 'preview': + + break; } - - -// What shall we do today then? +// Mode based actions switch ($mode) { // STYLES @@ -151,124 +148,7 @@ switch ($mode) break; } - adm_page_header($user->lang['MANAGE_STYLE']); - -?> -
lang['MANAGE_STYLE_EXPLAIN']; ?>
- - -lang[$l_prefix . 'S']); @@ -1452,15 +1337,40 @@ function frontend($type, $options)