-
Notifications
You must be signed in to change notification settings - Fork 3
/
groupfolders.php
56 lines (44 loc) · 1.59 KB
/
groupfolders.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
$active_page = 'groupfolders';
require_once 'functions.php';
include_once 'config.php';
session_secure_start();
require_once 'l10n/'.$_SESSION['language'].'.php';
echo "<html lang='{$_SESSION['language']}'>";
?>
<head>
<link rel="stylesheet" type="text/css" href="style.php">
<meta charset="UTF-8">
<title>Nextcloud Userexport</title>
</head>
<body>
<?php
include 'navigation.php';
if(!$_SESSION['authenticated']) {
header('Content-Type: text/html; charset=utf-8');
exit('<br>'.L10N_CONNECTION_NEEDED);
}
print_status_overview();
?>
<form method="post" action="groupfolders_detail.php">
<br><u><?php echo L10N_FORMAT_AS ?></u>
<input type='radio' name='export_type' value='table' checked="checked">
<?php echo L10N_TABLE ?>
<input type='radio' name='export_type' value='csv'> <?php echo L10N_CSV ?>
<br><br>
<button id="button-display" type='submit' name='submit'
value='display'><?php echo L10N_DISPLAY ?></button>
<br><br><br>
<u><?php echo L10N_COLUMN_HEADERS ?></u>
<input type='radio' name='csv_headers' value='default'
<?php if ($csv_headers == 'true' || $csv_headers === null)
echo 'checked=\"checked\"'; ?>> <?php echo L10N_YES ?>
<input type='radio' name='csv_headers' value='no_headers'
<?php if ($csv_headers == 'false')
echo 'checked=\"checked\"'; ?>> <?php echo L10N_NO ?>
<br><br>
<button id="button-download" type='submit' name='submit'
value='download'><?php echo L10N_DOWNLOAD_CSV ?></button>
</form>
</body>
</html>