mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-06 06:25:04 +02:00
Just some CS stuff :p
git-svn-id: file:///svn/phpbb/trunk@5571 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
3da86bb615
commit
2d8700239f
@ -200,11 +200,14 @@ function view_folder($id, $mode, $folder_id, $folder, $type)
|
|||||||
}
|
}
|
||||||
|
|
||||||
$type = request_var('export_option', '');
|
$type = request_var('export_option', '');
|
||||||
|
$enclosure = request_var('enclosure', '"');
|
||||||
|
$delimiter = request_var('delimiter', ',');
|
||||||
|
$submit_export = (isset($_POST['submit_export'])) ? true : false;
|
||||||
|
|
||||||
// Ask the user what he wants
|
// Ask the user what he wants
|
||||||
if (isset($_REQUEST['submit_export']))
|
if ($submit_export)
|
||||||
{
|
{
|
||||||
if (!isset($_REQUEST['delimiter']) && $type == 'CSV')
|
if ($delimiter && $type == 'CSV')
|
||||||
{
|
{
|
||||||
$template->assign_var('PROMPT', true);
|
$template->assign_var('PROMPT', true);
|
||||||
}
|
}
|
||||||
@ -224,8 +227,6 @@ function view_folder($id, $mode, $folder_id, $folder, $type)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$enclosure = request_var('enclosure', '"');
|
|
||||||
$delimiter = request_var('delimiter', ',');
|
|
||||||
$newline = "\n";
|
$newline = "\n";
|
||||||
}
|
}
|
||||||
$string = '';
|
$string = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user