|
@@ -16,7 +16,7 @@ class TorrentForm
|
16
|
16
|
public $ContainersProt = [];
|
17
|
17
|
public $Codecs = [];
|
18
|
18
|
public $Resolutions = [];
|
19
|
|
- #var $AudioFormats = [];
|
|
19
|
+ var $AudioFormats = [];
|
20
|
20
|
#var $Subbing = [];
|
21
|
21
|
#var $Languages = [];
|
22
|
22
|
#var $Platform = [];
|
|
@@ -47,7 +47,7 @@ class TorrentForm
|
47
|
47
|
$this->ContainersProt = $ContainersProt;
|
48
|
48
|
$this->Codecs = $Codecs;
|
49
|
49
|
$this->Resolutions = $Resolutions;
|
50
|
|
- #$this->AudioFormats = $AudioFormats;
|
|
50
|
+ $this->AudioFormats = $AudioFormats;
|
51
|
51
|
#$this->Subbing = $Subbing;
|
52
|
52
|
#$this->Languages = $Languages;
|
53
|
53
|
$this->TorrentID = $TorrentID;
|
|
@@ -155,7 +155,10 @@ class TorrentForm
|
155
|
155
|
<table cellpadding="3" cellspacing="1" border="0" class="layout" width="100%">
|
156
|
156
|
|
157
|
157
|
<tr>
|
158
|
|
- <td class="label">Torrent File</td>
|
|
158
|
+ <td class="label">
|
|
159
|
+ Torrent File
|
|
160
|
+ <strong class="important_text">*</strong>
|
|
161
|
+ </td>
|
159
|
162
|
<td><input id="file" type="file" name="file_input" size="50" /><br />
|
160
|
163
|
Use the above announce URL and set the private flag in your BitTorrent client, e.g.,
|
161
|
164
|
<code>mktorrent -p -a <announce> <target folder></code>
|
|
@@ -163,7 +166,10 @@ class TorrentForm
|
163
|
166
|
</tr>
|
164
|
167
|
|
165
|
168
|
<tr>
|
166
|
|
- <td class="label">Type</td>
|
|
169
|
+ <td class="label">
|
|
170
|
+ Category
|
|
171
|
+ <strong class="important_text">*</strong>
|
|
172
|
+ </td>
|
167
|
173
|
<td>
|
168
|
174
|
<select id="categories" name="type" onchange="Categories()" <?= ($this->DisabledFlag) ? ' disabled="disabled"' : '' ?>>
|
169
|
175
|
<?php
|
|
@@ -311,6 +317,17 @@ class TorrentForm
|
311
|
317
|
</td>
|
312
|
318
|
</tr>
|
313
|
319
|
|
|
320
|
+ <!-- Semantic Versioning -->
|
|
321
|
+ <tr id="audio_tr">
|
|
322
|
+ <td class="label">Version</td>
|
|
323
|
+ <td>
|
|
324
|
+ <input type="text" id="audioformat" name="audioformat" size="10"
|
|
325
|
+ pattern="\d+\.\d+\.\d+" value="<?= display_str($Torrent['AudioFormat']) ?>"
|
|
326
|
+ <?= $this->Disabled ?>/><br />
|
|
327
|
+ Please see <a href="https://semver.org target="_blank">Semantic Versioning</a>; start with 0.1.0
|
|
328
|
+ </td>
|
|
329
|
+ </tr>
|
|
330
|
+
|
314
|
331
|
<!-- Three title fields -->
|
315
|
332
|
<tr id="title_tr">
|
316
|
333
|
<td class="label">
|
|
@@ -458,7 +475,7 @@ class TorrentForm
|
458
|
475
|
echo ">$Media</option>\n";
|
459
|
476
|
} ?>
|
460
|
477
|
</select><br />
|
461
|
|
- Class of technology used
|
|
478
|
+ The class of technology used
|
462
|
479
|
</td>
|
463
|
480
|
</tr>
|
464
|
481
|
|
|
@@ -480,7 +497,7 @@ class TorrentForm
|
480
|
497
|
echo ">$Media</option>\n";
|
481
|
498
|
} ?>
|
482
|
499
|
</select><br />
|
483
|
|
- Class of technology used
|
|
500
|
+ The class of technology used
|
484
|
501
|
</td>
|
485
|
502
|
</tr>
|
486
|
503
|
|
|
@@ -516,7 +533,7 @@ class TorrentForm
|
516
|
533
|
$('#resolution').gshow()
|
517
|
534
|
}
|
518
|
535
|
</script><br />
|
519
|
|
- How complete the data is
|
|
536
|
+ How complete the data is, specifically or conceptually
|
520
|
537
|
</td>
|
521
|
538
|
</tr>
|
522
|
539
|
|
|
@@ -627,8 +644,7 @@ class TorrentForm
|
627
|
644
|
value="<?= display_str(implode(', ', explode(',', $Torrent['TagList']))) ?>"
|
628
|
645
|
<?php Users::has_autocomplete_enabled('other'); ?>
|
629
|
646
|
/><br />
|
630
|
|
- Comma-seperated list of tags, n.b., use <strong class="important_text_alt">vanity.house</strong> for data you
|
631
|
|
- produced
|
|
647
|
+ Comma-seperated list of at least 5 tags
|
632
|
648
|
</td>
|
633
|
649
|
</tr>
|
634
|
650
|
|
|
@@ -674,7 +690,7 @@ class TorrentForm
|
674
|
690
|
array($this->Disabled)
|
675
|
691
|
);
|
676
|
692
|
?><br />
|
677
|
|
- General info about the object of study's function or significance
|
|
693
|
+ General info about the torrent subject's function or significance
|
678
|
694
|
</td>
|
679
|
695
|
</tr>
|
680
|
696
|
<?php } # Ends if NewTorrent line 499?>
|
|
@@ -690,16 +706,16 @@ class TorrentForm
|
690
|
706
|
display_str($Torrent['TorrentDescription'] ?? ''),
|
691
|
707
|
60,
|
692
|
708
|
); ?><br />
|
693
|
|
- Specific info about the protocols and equipment relevant to <em>this</em> data
|
|
709
|
+ Specific info about the protocols and equipment used to produce the data
|
694
|
710
|
</td>
|
695
|
711
|
</tr>
|
696
|
712
|
|
697
|
713
|
<!-- Boolean options -->
|
698
|
714
|
<tr id="censored_tr">
|
699
|
|
- <td class="label">Aligned Sequence</td>
|
|
715
|
+ <td class="label">Aligned/Annotated</td>
|
700
|
716
|
<td>
|
701
|
717
|
<input type="checkbox" name="censored" value="1" <?= (($Torrent['Censored'] ?? 0) ? 'checked ' : '') ?>/>
|
702
|
|
- Whether the torrent contains raw reads or alignment data
|
|
718
|
+ Whether the torrent contains alignments, annotations, or other structural metadata
|
703
|
719
|
</td>
|
704
|
720
|
</tr>
|
705
|
721
|
|