Feat: Language support via json files in the locales folder + Feat: Popup with title, channel, schedule, duration, season, episode, synopsis, Watch button (if M3U provided) and IMDb link + Fix: Date added to the timebar
This commit is contained in:
+7
-7
@@ -3,14 +3,14 @@
|
||||
<div class="date-label" id="dateLabel"></div>
|
||||
<div class="clock" id="clock">00:00:00</div>
|
||||
<div class="nav-btns" id="navBtns">
|
||||
<button class="nav-btn" onclick="shiftView(-60)">◀ 1h</button>
|
||||
<button class="nav-btn active" onclick="centerNow()">Maintenant</button>
|
||||
<button class="nav-btn" onclick="shiftView(60)">1h ▶</button>
|
||||
<button class="nav-btn" onclick="shiftView(-60)"><?= htmlspecialchars($L["shift_back"]) ?></button>
|
||||
<button class="nav-btn active" onclick="centerNow()"><?= htmlspecialchars($L["now"]) ?></button>
|
||||
<button class="nav-btn" onclick="shiftView(60)"><?= htmlspecialchars($L["shift_fwd"]) ?></button>
|
||||
</div>
|
||||
<div class="copy-btns">
|
||||
<button class="copy-btn" onclick="copyUrl('epg')" title="Copier l'URL EPG">EPG</button>
|
||||
<button class="copy-btn" onclick="copyUrl('epg')" title="<?= htmlspecialchars($L["copy_epg"]) ?>"><?= htmlspecialchars($L["copy_epg"]) ?></button>
|
||||
<?php if (!empty($m3u_url)): ?>
|
||||
<button class="copy-btn" onclick="copyUrl('m3u')" title="Copier l'URL M3U">M3U</button>
|
||||
<button class="copy-btn" onclick="copyUrl('m3u')" title="<?= htmlspecialchars($L["copy_m3u"]) ?>"><?= htmlspecialchars($L["copy_m3u"]) ?></button>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php if (count($epg_sources) > 1 || $allow_personal_epg): ?>
|
||||
@@ -48,10 +48,10 @@ foreach ($theme_files as $file) {
|
||||
?>
|
||||
</select>
|
||||
<button class="search-btn" onclick="toggleSearch()" title="Search">🔍</button>
|
||||
<div class="live-dot">LIVE</div>
|
||||
<div class="live-dot"><?= htmlspecialchars($L["live"]) ?></div>
|
||||
</div>
|
||||
<div class="search-bar" id="searchBar">
|
||||
<input class="search-input" id="searchInput" type="text" placeholder="Search channel or program..." oninput="onSearchInput(this.value)" />
|
||||
<input class="search-input" id="searchInput" type="text" placeholder="<?= htmlspecialchars($L["search_placeholder"]) ?>" oninput="onSearchInput(this.value)" />
|
||||
<button class="search-clear" onclick="clearSearch()">✕</button>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user