Browse Source

Touch up editing 'Other' group

spaghetti 7 years ago
parent
commit
21bd1476ec
1 changed files with 7 additions and 3 deletions
  1. 7
    3
      sections/torrents/editgroup.php

+ 7
- 3
sections/torrents/editgroup.php View File

180
 } elseif ($CategoryID == 3) {
180
 } elseif ($CategoryID == 3) {
181
   echo "Artist:";
181
   echo "Artist:";
182
 } elseif ($CategoryID == 4) {
182
 } elseif ($CategoryID == 4) {
183
-  echo "Developer";
183
+  echo "Developer:";
184
+} elseif ($CategoryID == 5) {
185
+  echo "Creator/Author:";
184
 }
186
 }
185
 ?>
187
 ?>
186
         </td>
188
         </td>
194
 ?>
196
 ?>
195
         </td>
197
         </td>
196
       </tr>
198
       </tr>
197
-<? if ($CategoryID == 4 || $CategoryID == 3 || $CategoryID == 1) { ?>
199
+<? if ($CategoryID != 2) { ?>
198
         <tr>
200
         <tr>
199
           <td class="label">
201
           <td class="label">
200
 <? if ($CategoryID == 1) {
202
 <? if ($CategoryID == 1) {
220
           </td>
222
           </td>
221
           <td><input type="text" id="series" name="series" size="60" value="<?=$Series?>"/></td>
223
           <td><input type="text" id="series" name="series" size="60" value="<?=$Series?>"/></td>
222
 <? } ?>
224
 <? } ?>
225
+<? if ($CategoryID != 5) { ?>
223
         <tr>
226
         <tr>
224
           <td class="label">Year:</td>
227
           <td class="label">Year:</td>
225
           <td>
228
           <td>
226
             <input type="text" name="year" size="10" value="<?=$Year?>" />
229
             <input type="text" name="year" size="10" value="<?=$Year?>" />
227
           </td>
230
           </td>
228
         </tr>
231
         </tr>
232
+<? } ?>
229
 <? if ($CategoryID == 3) { ?>
233
 <? if ($CategoryID == 3) { ?>
230
         <tr>
234
         <tr>
231
           <td class="label">Pages:</td>
235
           <td class="label">Pages:</td>
234
           </td>
238
           </td>
235
         </tr>
239
         </tr>
236
 <? } ?>
240
 <? } ?>
237
-<? if ($CategoryID == 4) { ?>
241
+<? if ($CategoryID == 4 || $CategoryID == 5) { ?>
238
         <tr>
242
         <tr>
239
           <td class="label">DLsite ID:</td>
243
           <td class="label">DLsite ID:</td>
240
           <td><input type="text" id="dlsiteid" name="dlsiteid" size="8" maxlength="8" value="<?=$DLsiteID?>"/></td>
244
           <td><input type="text" id="dlsiteid" name="dlsiteid" size="8" maxlength="8" value="<?=$DLsiteID?>"/></td>

Loading…
Cancel
Save