Make radio page translatable

This makes the radio page use the station default language if one is set. Previously the pages where not really getting translated.
This commit is contained in:
Lucas Bickel 2017-03-24 17:23:21 +01:00
parent 3196603dde
commit c2deb94c16
5 changed files with 23 additions and 15 deletions

View file

@ -24,14 +24,14 @@
echo "<a href='#' class='logo'><img src='data:image/png;base64," . $this->stationLogo . "'></a>";
} ?>
<?php if ($this->displayLoginButton) {
echo "<div class='login-btn'>
<a href='/login' target='_parent'>
<span>Login</span>
<span class='login-img'></span>
</a>
</div>";
}?>
<?php if ($this->displayLoginButton): ?>
<div class='login-btn'>
<a href='/login' target='_parent'>
<span><?php echo _('Login'); ?></span>
<span class='login-img'></span>
</a>
</div>
<?php endif; ?>
<div id="tab-1" class="schedule tab_content current">
<iframe onLoad="autoResize('schedule_iframe');" id="schedule_iframe" height="300px" scrolling="yes" frameborder="0" src=<?php echo $this->stationUrl."embed/weekly-program?style=premium"?>></iframe>