|
|
|
|
55
|
$Properties['Censored'] = (isset($_POST['censored'])) ? '1' : '0';
|
55
|
$Properties['Censored'] = (isset($_POST['censored'])) ? '1' : '0';
|
56
|
$Properties['Anonymous'] = (isset($_POST['anonymous'])) ? '1' : '0';
|
56
|
$Properties['Anonymous'] = (isset($_POST['anonymous'])) ? '1' : '0';
|
57
|
|
57
|
|
58
|
-$Properties['Container'] = (isset($_POST['container']) && $_POST['container'] !== '---') ? $_POST['container'] : 'Other';
|
|
|
59
|
-$Properties['Archive'] = (isset($_POST['archive']) && $_POST['archive'] !== '---') ? $_POST['archive'] : 'None';
|
|
|
|
|
58
|
+$Properties['Container'] = (isset($_POST['container']) && $_POST['container'] !== '---') ? $_POST['container'] : '';
|
|
|
59
|
+$Properties['Archive'] = (isset($_POST['archive']) && $_POST['archive'] !== '---') ? $_POST['archive'] : '';
|
60
|
|
60
|
|
61
|
if ($_POST['album_desc']) {
|
61
|
if ($_POST['album_desc']) {
|
62
|
$Properties['GroupDescription'] = $_POST['album_desc'];
|
62
|
$Properties['GroupDescription'] = $_POST['album_desc'];
|
|
|
|
|
291
|
$T['Censored'] = $Properties['Censored'];
|
291
|
$T['Censored'] = $Properties['Censored'];
|
292
|
$T['Anonymous'] = $Properties['Anonymous'];
|
292
|
$T['Anonymous'] = $Properties['Anonymous'];
|
293
|
|
293
|
|
|
|
294
|
+$T['Container'] = $Properties['Container'];
|
|
|
295
|
+$T['Archive'] = $Properties['Archive'];
|
|
|
296
|
+
|
294
|
//******************************************************************************//
|
297
|
//******************************************************************************//
|
295
|
//--------------- Autofill format and archive ----------------------------------//
|
298
|
//--------------- Autofill format and archive ----------------------------------//
|
296
|
|
299
|
|
|
|
|
|
301
|
# Disable the extension parser for edits
|
304
|
# Disable the extension parser for edits
|
302
|
# todo: Make this work with $T['FileList']
|
305
|
# todo: Make this work with $T['FileList']
|
303
|
if ($T['Container'] === 'Autofill'
|
306
|
if ($T['Container'] === 'Autofill'
|
304
|
-|| $T['Archive'] === 'Autofill') {
|
|
|
305
|
- $Err = "Extension parsing is only possible for new uploads";
|
|
|
|
|
307
|
+ || $T['Archive'] === 'Autofill') {
|
|
|
308
|
+ $Err = 'Extension parsing is only possible for new uploads';
|
306
|
error($Err);
|
309
|
error($Err);
|
307
|
}
|
310
|
}
|
308
|
|
311
|
|