audio_format srt and app .php update

This commit is contained in:
Devdatt Bhatt 2026-05-21 10:37:14 +00:00
parent 825c46642f
commit 64ec89b355
2 changed files with 5 additions and 5 deletions

View File

@ -171,7 +171,7 @@ include 'header.php';
<input type="hidden" name="remove_files[app_logo]" id="remove_app_logo" value="">
<div class="grid">
<h2 style="grid-column: span 2;">Company Information Entry</h2>
<h2 style="grid-column: span 2;">Broadcasting Information</h2>
<?php if (!empty($error_message)): ?>
<div style="background: #ff0000; color: white; padding: 15px; border-radius: 6px; margin-bottom: 20px; grid-column: span 2;">

View File

@ -1146,10 +1146,10 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
<span class="dropdown-label">format :</span>
<div class="dropdown">
<select name="srt_audio_format" id="srt_audio_format">
<option value="mp2" <?php if ($data['srt']['format'] == 'mp2') echo 'selected'; ?>>mp2</option>
<option value="mp3" <?php if ($data['srt']['format'] == 'mp3') echo 'selected'; ?>>mp3</option>
<option value="aac" <?php if ($data['srt']['format'] == 'aac') echo 'selected'; ?>>aac</option>
<option value="ac3" <?php if ($data['srt']['format'] == 'ac3') echo 'selected'; ?>>ac3</option>
<option value="mp2" <?php if ($data['srt']['audio_format'] == 'mp2') echo 'selected'; ?>>mp2</option>
<option value="mp3" <?php if ($data['srt']['audio_format'] == 'mp3') echo 'selected'; ?>>mp3</option>
<option value="aac" <?php if ($data['srt']['audio_format'] == 'aac') echo 'selected'; ?>>aac</option>
<option value="ac3" <?php if ($data['srt']['audio_format'] == 'ac3') echo 'selected'; ?>>ac3</option>
</select>
</div>
</div>