Browse Source

Add torrent description field for search purposes

pjc 5 years ago
parent
commit
aaefe67b8c
1 changed files with 9 additions and 2 deletions
  1. 9
    2
      classes/torrent_form.class.php

+ 9
- 2
classes/torrent_form.class.php View File

@@ -405,14 +405,21 @@ Source: <input type="text" value="<?=Users::get_upload_sources()[0]?>" size="20"
405 405
           <p class="min_padding notes"></p>
406 406
       </tr>
407 407
 <? } ?>
408
-      <tr id="group_desc_tr">
409
-        <td class="label">Sequence Description</td>
408
+<tr id="group_desc_tr">
409
+        <td class="label">Torrent Group Description</td>
410 410
         <td>
411 411
           <p class="min_padding notes"></p>
412 412
 <?php new TEXTAREA_PREVIEW('album_desc', 'album_desc', display_str($Torrent['GroupDescription']), 60, 8, !$this->DisabledFlag, !$this->DisabledFlag, false, array($this->Disabled)); ?>
413 413
         </td>
414 414
       </tr>
415 415
 <?    } ?>
416
+      <tr id="release_desc_tr">
417
+        <td class="label">Torrent Description (optional)</td>
418
+        <td>
419
+          <p class="min_padding notes"></p>
420
+<?php new TEXTAREA_PREVIEW('release_desc', 'release_desc', display_str($Torrent['TorrentDescription']??''), 60, 8); ?>
421
+        </td>
422
+      </tr>
416 423
       <tr id="anon_tr">
417 424
         <td class="label tooltip" title="Checking this will hide your username from other users on the torrent details page. Stats will still be attributed to you.">Upload Anonymously</td>
418 425
         <td><input type="checkbox" name="anonymous" value="1" <?=(($Torrent['Anonymous'] ?? false) ? 'checked ' : '')?>/></td>

Loading…
Cancel
Save