|
@@ -128,7 +128,10 @@ View::show_header(($NewRequest ? 'Create Request' : 'Edit Request'), 'bbcode,req
|
128
|
128
|
|
129
|
129
|
<!-- Category -->
|
130
|
130
|
<tr>
|
131
|
|
- <td class="label">Type</td>
|
|
131
|
+ <td class="label">
|
|
132
|
+ Category
|
|
133
|
+ <strong class="important_text">*</strong>
|
|
134
|
+ </td>
|
132
|
135
|
<td>
|
133
|
136
|
<?php if (!empty($Disabled)) { ?>
|
134
|
137
|
<input type="hidden" name="type"
|
|
@@ -153,14 +156,17 @@ View::show_header(($NewRequest ? 'Create Request' : 'Edit Request'), 'bbcode,req
|
153
|
156
|
value="<?= (isset($CatalogueNumber)?$CatalogueNumber:'') ?>"
|
154
|
157
|
<?= $Disabled ?>/>
|
155
|
158
|
<?php if (empty($Disabled)) { ?>
|
156
|
|
- <input type="button" autofill="jav" value="Autofill"></input>
|
|
159
|
+ <input type="button" autofill="jav" value="Autofill" style="pointer-events: none; opacity: 0.5;"></input>
|
157
|
160
|
<?php } ?>
|
158
|
161
|
</td>
|
159
|
162
|
</tr>
|
160
|
163
|
|
161
|
|
- <!-- Three titles -->
|
|
164
|
+ <!-- Three title fields -->
|
162
|
165
|
<tr>
|
163
|
|
- <td class="label">Torrent Title</td>
|
|
166
|
+ <td class="label">
|
|
167
|
+ Torrent Title
|
|
168
|
+ <strong class="important_text">*</strong>
|
|
169
|
+ </td>
|
164
|
170
|
<td>
|
165
|
171
|
<input type="text" id="title" name="title" size="45"
|
166
|
172
|
value="<?= (!empty($Title) ? $Title : '') ?>"
|
|
@@ -168,6 +174,7 @@ View::show_header(($NewRequest ? 'Create Request' : 'Edit Request'), 'bbcode,req
|
168
|
174
|
</td>
|
169
|
175
|
</tr>
|
170
|
176
|
|
|
177
|
+ <!-- 2 -->
|
171
|
178
|
<tr>
|
172
|
179
|
<td class="label">Organism</td>
|
173
|
180
|
<td>
|
|
@@ -177,6 +184,7 @@ View::show_header(($NewRequest ? 'Create Request' : 'Edit Request'), 'bbcode,req
|
177
|
184
|
</td>
|
178
|
185
|
</tr>
|
179
|
186
|
|
|
187
|
+ <!-- 3 -->
|
180
|
188
|
<tr>
|
181
|
189
|
<td class="label">Strain/Variety</td>
|
182
|
190
|
<td>
|
|
@@ -189,37 +197,38 @@ View::show_header(($NewRequest ? 'Create Request' : 'Edit Request'), 'bbcode,req
|
189
|
197
|
|
190
|
198
|
<!-- Multiple artists -->
|
191
|
199
|
<tr id="artist_tr">
|
192
|
|
- <td class="label">Author(s)</td>
|
|
200
|
+ <td class="label">
|
|
201
|
+ Authors(s)
|
|
202
|
+ <strong class="important_text">*</strong>
|
|
203
|
+ </td>
|
193
|
204
|
<td id="artistfields">
|
|
205
|
+ <p id="vawarning" class="hidden">
|
|
206
|
+ Please use the multiple artists feature rather than using "Various Artists."
|
|
207
|
+ </p>
|
194
|
208
|
<?php
|
195
|
|
- if (!empty($ArtistForm)) {
|
196
|
|
- $First = true;
|
197
|
|
- foreach ($ArtistForm as $Artist) {
|
198
|
|
- # Cycle autocomplete?>
|
|
209
|
+ if (!empty($ArtistForm)) {
|
|
210
|
+ $First = true;
|
|
211
|
+ foreach ($ArtistForm as $Artist) {
|
|
212
|
+ ?>
|
199
|
213
|
<input type="text" id="artist_0" name="artists[]" <?php Users::has_autocomplete_enabled('other'); ?>
|
200
|
|
- size="45" value="<?= display_str($Artist['name']) ?>" <?= $Disabled ?>/>
|
201
|
|
- <?php
|
202
|
|
- if (empty($Disabled)) {
|
203
|
|
- if ($First) { ?>
|
204
|
|
- <a class="add_artist_button brackets">+</a>
|
205
|
|
- <a class="remove_artist_button brackets">−</a>
|
206
|
|
- <?php
|
207
|
|
- }
|
208
|
|
- $First = false;
|
209
|
|
- } ?>
|
|
214
|
+ size="45" value="<?=display_str($Artist['name']) ?>" <?=$Disabled?>/>
|
|
215
|
+ <?php if (empty($Disabled)) {
|
|
216
|
+ if ($First) { ?><a class="add_artist_button brackets">+</a> <a
|
|
217
|
+ class="remove_artist_button brackets">−</a><?php }
|
|
218
|
+ $First = false;
|
|
219
|
+ } ?>
|
210
|
220
|
<br />
|
211
|
221
|
<?php
|
212
|
|
- }
|
213
|
|
- } else {
|
214
|
|
- ?>
|
215
|
|
- <input type="text" id="artist_0" name="artists[]" <?php Users::has_autocomplete_enabled('other'); ?>
|
216
|
|
- size="45" <?= $Disabled ?>/>
|
|
222
|
+ }
|
|
223
|
+ } else {
|
|
224
|
+ ?> <input type="text" id="artist_0" name="artists[]" <?php Users::has_autocomplete_enabled('other'); ?>
|
|
225
|
+ size="45" <?=$Disabled?>/>
|
217
|
226
|
<?php if (empty($Disabled)) { ?>
|
218
|
227
|
<a class="add_artist_button brackets">+</a> <a class="remove_artist_button brackets">−</a>
|
|
228
|
+ <?php } ?>
|
219
|
229
|
<?php
|
220
|
|
- }
|
221
|
|
- }
|
222
|
|
- ?>
|
|
230
|
+ }
|
|
231
|
+?>
|
223
|
232
|
</td>
|
224
|
233
|
</tr>
|
225
|
234
|
|
|
@@ -237,7 +246,10 @@ View::show_header(($NewRequest ? 'Create Request' : 'Edit Request'), 'bbcode,req
|
237
|
246
|
|
238
|
247
|
<!-- Tags -->
|
239
|
248
|
<tr>
|
240
|
|
- <td class="label">Tags</td>
|
|
249
|
+ <td class="label">
|
|
250
|
+ Tags
|
|
251
|
+ <strong class="important_text">*</strong>
|
|
252
|
+ </td>
|
241
|
253
|
<td>
|
242
|
254
|
<?php
|
243
|
255
|
$GenreTags = $Cache->get_value('genre_tags');
|
|
@@ -273,7 +285,10 @@ View::show_header(($NewRequest ? 'Create Request' : 'Edit Request'), 'bbcode,req
|
273
|
285
|
|
274
|
286
|
<!-- Description -->
|
275
|
287
|
<tr>
|
276
|
|
- <td class="label">Description</td>
|
|
288
|
+ <td class="label">
|
|
289
|
+ Request Description
|
|
290
|
+ <strong class="important_text">*</strong>
|
|
291
|
+ </td>
|
277
|
292
|
<td>
|
278
|
293
|
<?php new TEXTAREA_PREVIEW('description', 'req_desc', $Request['Description']??''); ?>
|
279
|
294
|
</td>
|