Skip to content

Commit 0b48b78

Browse files
author
HugoFara
committed
refactor(text-form): remove Media URI from additional options
The Media URI field is redundant in the new text form since media can be added via the "Import from file" or "Import from URL" sections.
1 parent f892994 commit 0b48b78

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/Modules/Text/Views/edit_form.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -407,22 +407,6 @@ class="input checkurl checkoutsidebmp"
407407
</div>
408408
<p class="help">Organize texts with tags for easy filtering.</p>
409409
</div>
410-
411-
<!-- Media URI (for manual entry) -->
412-
<div class="field">
413-
<label class="label" for="TxAudioURI">Media URI</label>
414-
<div class="control">
415-
<input type="text"
416-
class="input checkoutsidebmp"
417-
data_info="Audio-URI"
418-
name="TxAudioURI"
419-
id="TxAudioURI"
420-
maxlength="2048"
421-
value="<?php echo \htmlspecialchars($textMediaUri, ENT_QUOTES, 'UTF-8'); ?>"
422-
placeholder="media/audio.mp3 or video URL" />
423-
</div>
424-
<p class="help">Audio or video file path or URL to accompany the text.</p>
425-
</div>
426410
</div>
427411
</div>
428412
</div>

0 commit comments

Comments
 (0)