template: custom themes for agenda

For agenda a custom theme can be configured in locations/theme.
Templates are read from the subdirectory "templates/<theme>/".  The
default theme is "default".  All Templates are moved to
templates/default.
This commit is contained in:
Milan
2023-02-25 11:06:52 +01:00
parent e067bc1448
commit ebd521452a
38 changed files with 8 additions and 12 deletions

View File

@@ -0,0 +1,26 @@
<TMPL_IF no_result>
<div id="empty_or_not">
<script>
jQuery( document ).ready(function() {
//load next shows into current playlist
if(jQuery('#coming_shows').length!=0) jQuery('#coming_shows').load('/agenda/playlistLong/');
//hide next shows
if(jQuery('#calcms_playlist').length!=0) jQuery('#calcms_playlist').parent().parent().hide();
//hide programm menu
if(jQuery('#calcms_menu').length!=0) jQuery('#calcms_menu').parent().parent().hide();
});
</script>
<div class="content" style="clear:both"><TMPL_VAR no_result_message escape="none"></div>
<h3 class="summary title">Kommende Sendungen</h3>
<div id="coming_shows"></div>
</div>
</TMPL_IF>