Files
newznab-tmux/resources/views/admin/site/sections/language-categorization-settings.blade.php
T
2026-08-09 14:37:39 +02:00

35 lines
2.7 KiB
PHP

<!-- Language/Categorization Options -->
<div class="border-b border-gray-200 dark:border-gray-700 pb-6">
<h2 class="text-lg font-semibold text-gray-800 dark:text-gray-200 mb-4">Language/Categorization Options</h2>
<div class="space-y-4">
<div>
<label for="categorizeforeign" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">
<i class="fas fa-globe mr-1"></i>Categorize Foreign
</label>
<select id="categorizeforeign" name="categorizeforeign" class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md focus:ring-blue-500 focus:border-blue-500 bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100">
@foreach($yesno['ids'] as $index => $yesnoId)
<option value="{{ $yesnoId }}" {{ ($site['categorizeforeign'] ?? '') == $yesnoId ? 'selected' : '' }}>
{{ $yesno['names'][$index] }}
</option>
@endforeach
</select>
<p class="mt-1 text-sm text-gray-500">Whether to send foreign movies/tv to foreign sections or not. If set to true they will go in foreign categories.</p>
</div>
<div>
<label for="catwebdl" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">
<i class="fas fa-cloud-download-alt mr-1"></i>Categorize WEB-DL
</label>
<select id="catwebdl" name="catwebdl" class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md focus:ring-blue-500 focus:border-blue-500 bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100">
@foreach($yesno['ids'] as $index => $yesnoId)
<option value="{{ $yesnoId }}" {{ ($site['catwebdl'] ?? '') == $yesnoId ? 'selected' : '' }}>
{{ $yesno['names'][$index] }}
</option>
@endforeach
</select>
<p class="mt-1 text-sm text-gray-500">Whether to send WEB-DL to the WEB-DL section or not. If set to true they will go in WEB-DL category, false will send them in HD TV. This will also make them inaccessible to Sickbeard and possibly Couchpotato.</p>
</div>
</div>
</div>