Merge remote-tracking branch 'calcms/master'
This commit is contained in:
@@ -1,3 +1 @@
|
||||
#Order deny,allow
|
||||
#deny from all
|
||||
Require all denied
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=3600, must-revalidate
|
||||
</TMPL_IF>Content-type:text/html; charset=UTF-8;
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
@@ -8,7 +7,7 @@
|
||||
<select id="calcms_project" name="project"
|
||||
onchange="calcms.selectProject()"
|
||||
>
|
||||
<TMPL_LOOP projects><option value="<TMPL_VAR name escape=0>"><TMPL_VAR title></option>
|
||||
<TMPL_LOOP projects><option value="<TMPL_VAR name escape=none>"><TMPL_VAR title></option>
|
||||
</TMPL_LOOP>
|
||||
</select>
|
||||
</form>
|
||||
@@ -17,13 +16,13 @@
|
||||
<form id="calcmsCategoryForm" name="calcms_category">
|
||||
<TMPL_LOOP projects>
|
||||
<TMPL_UNLESS isEmpty>
|
||||
<select id="calcms_category_<TMPL_VAR js_name escape=0>" name="category_<TMPL_VAR js_name escape=0>"
|
||||
<select id="calcms_category_<TMPL_VAR js_name escape=none>" name="category_<TMPL_VAR js_name escape=none>"
|
||||
title="Kategorien durchsuchen"
|
||||
onchange="calcms.selectCategory('<TMPL_VAR name>', jQuery(this).val())"
|
||||
onchange="calcms.selectCategory('<TMPL_VAR name escape=js>', jQuery(this).val())"
|
||||
style="display:none;"
|
||||
>
|
||||
<option value="">- Kategorie -</option>
|
||||
<TMPL_LOOP categories><option value="<TMPL_VAR name escape=0>"<TMPL_VAR selected>><TMPL_VAR name> (<TMPL_VAR sum>)</option>
|
||||
<TMPL_LOOP categories><option value="<TMPL_VAR name escape=none>"<TMPL_VAR selected>><TMPL_VAR name> (<TMPL_VAR sum>)</option>
|
||||
</TMPL_LOOP>
|
||||
</select>
|
||||
</TMPL_UNLESS>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:application/atom+xml; charset=UTF-8
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:gCal='http://schemas.google.com/gCal/2005'>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:text/html; charset=UTF-8;
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
@@ -14,8 +14,8 @@
|
||||
<TMPL_LOOP comments>
|
||||
<a id="event_list_id_<TMPL_VAR event_id>" class="click_for_detail" href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#comments">
|
||||
<div class="comments level<TMPL_VAR level>">
|
||||
<span class="author"><TMPL_VAR author escape=0></span>:
|
||||
<span class="content"><TMPL_VAR short_content escape=0></span>
|
||||
<span class="author"><TMPL_VAR author escape=none></span>:
|
||||
<span class="content"><TMPL_VAR short_content escape=none></span>
|
||||
</a>
|
||||
</div>
|
||||
</TMPL_LOOP>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:application/atom+xml; charset=UTF-8
|
||||
Content-type:application/atom+xml; charset=UTF-8
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:gCal='http://schemas.google.com/gCal/2005'>
|
||||
@@ -29,7 +29,7 @@
|
||||
<category term='Sendung'/>
|
||||
<title type='text'><TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name> - <TMPL_VAR start_time_name> - <TMPL_VAR end_time_name> | <TMPL_VAR full_title></title>
|
||||
<summary type='text'><TMPL_VAR excerpt></summary>
|
||||
<content type='html'><![CDATA[<TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name> - <TMPL_VAR start_time_name> - <TMPL_VAR end_time_name> | <TMPL_VAR key><p><TMPL_VAR content_html>]]></content>
|
||||
<content type='html'><![CDATA[<TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name> - <TMPL_VAR start_time_name> - <TMPL_VAR end_time_name> | <TMPL_VAR full_title><p><TMPL_VAR content_html>]]></content>
|
||||
|
||||
<link rel='alternate' type='text/html' href='<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>' title='alternate'/>
|
||||
<link rel='self' type='application/atom+xml' href='<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>'/>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-Type:text/calendar; charset="UTF-8"
|
||||
Content-Type:text/calendar; charset="UTF-8"
|
||||
Content-Disposition: attachment; filename="<TMPL_VAR project_title>-programm.ics"
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
BEGIN:VCALENDAR
|
||||
PRODID:-//calcms//DE
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:application/json; charset=UTF-8
|
||||
Content-type:application/json; charset=UTF-8
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
if(typeof(Feed) == 'undefined') Feed = {};
|
||||
Feed = {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:application/rss+xml; charset=UTF-8
|
||||
Content-type:application/rss+xml; charset=UTF-8
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:text/plain; charset=utf-8;
|
||||
Content-type:text/plain; charset=utf-8;
|
||||
|
||||
$events=[
|
||||
<TMPL_LOOP NAME=events>
|
||||
@@ -60,7 +59,6 @@ $events=[
|
||||
'start_minute' => q|<TMPL_VAR start_minute>|,
|
||||
'start' => q|<TMPL_VAR start>|,
|
||||
'static_files_url' => q|<TMPL_VAR static_files_url>|,
|
||||
'time_of_day' => q|<TMPL_VAR time_of_day>|,
|
||||
'title' => q|<TMPL_VAR title>|,
|
||||
'week_of_year' => q|<TMPL_VAR week_of_year>|,
|
||||
'weekday_name' => q|<TMPL_VAR weekday_name>|,
|
||||
|
||||
@@ -5,7 +5,7 @@ Content-type:text/xml; charset=UTF-8
|
||||
<info>
|
||||
<displayname>Pi-Radio</displayname>
|
||||
<fullname>Pi-Radio</fullname>
|
||||
<logo src="https://piradio.de/agenda/image/logo.jpg" />
|
||||
<logo src="https://piradio.de/agenda/images/logo.jpg" />
|
||||
<basecolor>#FF6600</basecolor>
|
||||
<city>Berlin</city>
|
||||
<studio>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:text/plain; charset=utf-8;
|
||||
Content-type:text/plain; charset=utf-8;
|
||||
|
||||
$events=[
|
||||
<TMPL_LOOP NAME=events>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:text/html; charset=UTF-8;
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
@@ -9,16 +8,31 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<style>
|
||||
|
||||
div.event div.title{
|
||||
display:grid;
|
||||
grid-template-columns: 3ch 5ch 1ch 1fr;
|
||||
}
|
||||
div.event div.title div{
|
||||
display:inline;
|
||||
}
|
||||
</style>
|
||||
|
||||
<TMPL_LOOP NAME=events>
|
||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>"
|
||||
>
|
||||
<div id="event_playlist_<TMPL_VAR event_id>" class="event" title="<TMPL_VAR full_title><TMPL_IF excerpt>. <TMPL_VAR excerpt></TMPL_IF>">
|
||||
<div id="event_playlist_<TMPL_VAR event_id>" class="event" title="<TMPL_VAR full_title><TMPL_IF excerpt>. <TMPL_VAR excerpt escape=url></TMPL_IF>">
|
||||
<TMPL_COMMENT>
|
||||
<div class="icon">
|
||||
<img src="<TMPL_VAR icon>"></img>
|
||||
</div>
|
||||
</TMPL_COMMENT>
|
||||
<div class="title">
|
||||
<TMPL_VAR weekday_short_name> <TMPL_VAR start_time_name><br />
|
||||
<TMPL_IF series_name><TMPL_VAR series_name><TMPL_ELSE><TMPL_VAR title></TMPL_IF>
|
||||
<div><TMPL_VAR weekday_short_name></div>
|
||||
<div><TMPL_VAR start_time_name></div>
|
||||
<div>-</div>
|
||||
<div><TMPL_IF series_name><TMPL_VAR series_name><TMPL_ELSE><TMPL_VAR title></TMPL_IF></div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:text/plain; charset=UTF-8;
|
||||
Content-type:text/plain; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<TMPL_IF no_result>Andere Veranstalter</TMPL_IF><TMPL_LOOP NAME=events><a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>" ><TMPL_VAR full_title></a></TMPL_LOOP>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=3600, must-revalidate
|
||||
</TMPL_IF>Content-type:text/html; charset=UTF-8;
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=3600, must-revalidate
|
||||
</TMPL_IF>Content-type:text/html; charset=UTF-8;
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:text/html; charset=UTF-8;
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<!DOCTYPE html>
|
||||
<TMPL_IF extern_access><TMPL_INCLUDE ../index.html>gesucht und gefunden...<TMPL_ELSE>
|
||||
<html>
|
||||
<body>
|
||||
<TMPL_IF no_result>
|
||||
@@ -29,9 +28,14 @@
|
||||
|
||||
<div class="content" style="clear:both">
|
||||
|
||||
<h1 class="summary title">Freies Radio</h1>
|
||||
|
||||
<h1 class="summary title">
|
||||
<TMPL_VAR events_title>
|
||||
</h1>
|
||||
<br>
|
||||
<TMPL_VAR events_description>
|
||||
|
||||
<div id="coming_shows"></div>
|
||||
|
||||
<a href="/agenda/programm.html">
|
||||
Programmplan
|
||||
</a>
|
||||
@@ -60,11 +64,13 @@
|
||||
<TMPL_VAR start_time_name> bis <TMPL_VAR end_time_name> Uhr <TMPL_IF program>(<TMPL_VAR program>)</TMPL_IF></span><br />
|
||||
</div>
|
||||
<div class="content" >
|
||||
<TMPL_COMMENT>
|
||||
<div class="image-attach-teaser" style="width: 150px;">
|
||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>">
|
||||
<img class="image image-thumbnail" src="<TMPL_VAR image>" width="150" height="150" />
|
||||
</a>
|
||||
</div>
|
||||
</TMPL_COMMENT>
|
||||
<TMPL_VAR excerpt >
|
||||
</div>
|
||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#comments">
|
||||
@@ -75,7 +81,6 @@
|
||||
<TMPL_UNLESS __last__><hr /></TMPL_UNLESS>
|
||||
</TMPL_IF>
|
||||
</TMPL_LOOP>
|
||||
</TMPL_IF>
|
||||
|
||||
<!--end of content -->
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:application/json; charset=utf-8;
|
||||
Content-type:application/json; charset=utf-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
{
|
||||
"events" : [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:application/json; charset=UTF-8
|
||||
Content-type:application/json; charset=UTF-8
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
("events" : [<TMPL_LOOP events>"event":{"id" : "<TMPL_VAR event_id>"}<TMPL_UNLESS NAME="__last__">,</TMPL_UNLESS></TMPL_LOOP>])
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:application/json; charset=UTF-8
|
||||
Content-type:application/json; charset=UTF-8
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
"events" : {
|
||||
<TMPL_LOOP events>
|
||||
|
||||
@@ -14,12 +14,7 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<!--
|
||||
<div class="content" style="clear:both">
|
||||
nichts gefunden...<br>
|
||||
<br>
|
||||
</div>
|
||||
-->
|
||||
<div class="content" style="clear:both"><TMPL_VAR no_result_message escape="none"></div>
|
||||
|
||||
<h3 class="summary title">Kommende Sendungen</h3>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=3600, must-revalidate
|
||||
</TMPL_IF>Content-type:text/html; charset=UTF-8;
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
@@ -11,15 +11,20 @@
|
||||
<TMPL_LOOP projects>
|
||||
<TMPL_UNLESS isEmpty>
|
||||
<select
|
||||
id="calcms_series_name_<TMPL_VAR js_name escape=0>"
|
||||
name="series_name_<TMPL_VAR js_name escape=0>"
|
||||
id="calcms_series_name_<TMPL_VAR js_name escape=none>"
|
||||
name="series_name_<TMPL_VAR js_name escape=none>"
|
||||
title="Sendereihen durchsuchen"
|
||||
onchange="calcms.selectSeries('<TMPL_VAR name>', jQuery(this).val())"
|
||||
onchange="calcms.selectSeries('<TMPL_VAR name escape=js>', jQuery(this).val())"
|
||||
style="display:none;"
|
||||
>
|
||||
|
||||
<<<<<<<< HEAD:website/agenda/templates/coloradio/series_names.html
|
||||
<option value="">- Sendereihe auswählen -</option>
|
||||
<TMPL_LOOP series_names><option value="<TMPL_VAR series_name escape=0>"<TMPL_VAR selected escape=0>><TMPL_VAR series_name> <!--(<TMPL_VAR sum>)--></option>
|
||||
========
|
||||
<option value="">- Sendereihe -</option>
|
||||
<TMPL_LOOP series_names><option value="<TMPL_VAR series_name escape=none>"<TMPL_VAR selected escape=none>><TMPL_VAR series_name> (<TMPL_VAR sum>)</option>
|
||||
>>>>>>>> calcms/master:website/agenda/templates/default/series_names.html
|
||||
</TMPL_LOOP>
|
||||
|
||||
</select>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=3600, must-revalidate
|
||||
</TMPL_IF>Content-type:application/json; charset=UTF-8;
|
||||
Content-type:application/json; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
[
|
||||
<TMPL_LOOP name=projects><TMPL_LOOP name=series_names>{"id":"<TMPL_VAR series_name>", "label":"<TMPL_VAR series_name>", "value":"<TMPL_VAR series_name>"} <TMPL_UNLESS last>,</TMPL_UNLESS>
|
||||
|
||||
58
website/agenda/templates/default/calendar.html
Normal file
58
website/agenda/templates/default/calendar.html
Normal file
@@ -0,0 +1,58 @@
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="expires" content="36000">
|
||||
<meta http-equiv="Content-Script-Type" content="javascript" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<title>Calendar <TMPL_VAR project_title></title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div >
|
||||
<TMPL_IF debug>
|
||||
<div id="calendar_debug"></div>
|
||||
</TMPL_IF>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="first">
|
||||
<a href="<TMPL_VAR .cache_base_url>/<TMPL_VAR .controllers.calendar>/<TMPL_VAR previous_month>.html"
|
||||
>«</a>
|
||||
</th>
|
||||
<th colspan="5" align="center">
|
||||
<a href="<TMPL_VAR .cache_base_url>/<TMPL_VAR .controllers.calendar>/<TMPL_VAR start_date>_<TMPL_VAR end_date>.html"
|
||||
><TMPL_VAR start_month_name> <TMPL_VAR start_year></a>
|
||||
</th>
|
||||
<th class="last">
|
||||
<a href="<TMPL_VAR .cache_base_url>/<TMPL_VAR .controllers.calendar>/<TMPL_VAR next_month>.html"
|
||||
>»</a>
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<TMPL_COMMENT><th>Wo</th>
|
||||
</TMPL_COMMENT>
|
||||
<TMPL_LOOP weekdays><th><a href="<TMPL_VAR .local_base_url>/<TMPL_VAR .controllers.events>/<TMPL_VAR start_date>/<TMPL_VAR end_date>/<TMPL_VAR weekday>/" onclick="calcms.selectWeekdayEventListener('<TMPL_VAR start_date escape=js>','<TMPL_VAR end_date escape=js>','<TMPL_VAR weekday escape=js>');return false;"><TMPL_VAR "weekday_short_name"></a></th></TMPL_LOOP>
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<TMPL_LOOP week_and_days>
|
||||
<tr>
|
||||
<TMPL_COMMENT>
|
||||
<TMPL_LOOP week><th class="<TMPL_VAR class>"><a href="<TMPL_VAR .local_base_url>/<TMPL_VAR .controllers.events>/<TMPL_VAR from_date>/<TMPL_VAR till_date>/" title="Woche anzeigen" onclick="calcms.selectDateRangeEventListener('<TMPL_VAR from_date escape=js>','<TMPL_VAR till_date escape=js>');return false;" ><TMPL_VAR week_of_year></a></th></TMPL_LOOP>
|
||||
</TMPL_COMMENT>
|
||||
<TMPL_LOOP days><td class="<TMPL_VAR class>"><a href="<TMPL_VAR .cache_base_url>/<TMPL_VAR .controllers.events>/<TMPL_VAR date>.html" title="<TMPL_VAR day>.<TMPL_VAR month>. zeigen"><TMPL_VAR day></a></td>
|
||||
</TMPL_LOOP></tr></TMPL_LOOP>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
34
website/agenda/templates/default/categories.html
Normal file
34
website/agenda/templates/default/categories.html
Normal file
@@ -0,0 +1,34 @@
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<form id="calcms_projects" name="calcms_project">
|
||||
<select id="calcms_project" name="project"
|
||||
onchange="calcms.selectProject()"
|
||||
>
|
||||
<TMPL_LOOP projects><option value="<TMPL_VAR name escape=none>"><TMPL_VAR title></option>
|
||||
</TMPL_LOOP>
|
||||
</select>
|
||||
</form>
|
||||
|
||||
<TMPL_IF projects>
|
||||
<form id="calcmsCategoryForm" name="calcms_category">
|
||||
<TMPL_LOOP projects>
|
||||
<TMPL_UNLESS isEmpty>
|
||||
<select id="calcms_category_<TMPL_VAR js_name escape=none>" name="category_<TMPL_VAR js_name escape=none>"
|
||||
title="Kategorien durchsuchen"
|
||||
onchange="calcms.selectCategory('<TMPL_VAR name escape=js>', jQuery(this).val())"
|
||||
style="display:none;"
|
||||
>
|
||||
<option value="">- Kategorie -</option>
|
||||
<TMPL_LOOP categories><option value="<TMPL_VAR name escape=none>"<TMPL_VAR selected>><TMPL_VAR name> (<TMPL_VAR sum>)</option>
|
||||
</TMPL_LOOP>
|
||||
</select>
|
||||
</TMPL_UNLESS>
|
||||
</TMPL_LOOP>
|
||||
</form>
|
||||
</TMPL_IF>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
51
website/agenda/templates/default/comments.html
Normal file
51
website/agenda/templates/default/comments.html
Normal file
@@ -0,0 +1,51 @@
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Kommentare zu Sendungen - <TMPL_VAR project_title></title>
|
||||
<meta http-equiv="Content-Script-Type" content="javascript" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<a name="comments" />
|
||||
<TMPL_IF allow.new_comments>
|
||||
<a href="#comments"
|
||||
onclick="calcms.showCommentForm('calcms_add_comment','','<TMPL_VAR event_id escape=js>','<TMPL_VAR event_start escape=js>');return false;"
|
||||
>Neuen Kommentar schreiben</a>
|
||||
<div>
|
||||
<div id="calcms_add_comment" style="display:none;visibility:hidden;" > </div>
|
||||
</div>
|
||||
</TMPL_IF>
|
||||
|
||||
<TMPL_IF comments>
|
||||
<br>
|
||||
<h4>
|
||||
<span style="float:left">
|
||||
<TMPL_VAR comment_count> Kommentar<TMPL_UNLESS one_result>e</TMPL_UNLESS>
|
||||
</span>
|
||||
<a href="/agenda/feed_kommentare/" title="Kommentare als Feed abonnieren">
|
||||
<img src="<TMPL_VAR static_files_url>images/feed.png" style="float:none">
|
||||
</a>
|
||||
</h4>
|
||||
</TMPL_IF>
|
||||
<TMPL_LOOP comments>
|
||||
<div class="comment level<TMPL_VAR level>" style="float:clear;" >
|
||||
<a name="comment_<TMPL_VAR id>" />
|
||||
<div class="w1"><div class="w2"><div class="w3"><div class="w4">
|
||||
<span class="author"><TMPL_VAR author escape=none></span>,
|
||||
<span class="date"><TMPL_VAR start_date_name> - <TMPL_VAR start_time_name></span>
|
||||
<div class="content"><TMPL_VAR content escape=none></div>
|
||||
<TMPL_IF allow.new_comments>
|
||||
<span >
|
||||
<a href="#calcms_add_comment_<TMPL_VAR id>_anchor"
|
||||
onclick="calcms.showCommentForm('calcms_add_comment_<TMPL_VAR id escape=js>','<TMPL_VAR id escape=js>','<TMPL_VAR event_id escape=js>','<TMPL_VAR event_start escape=js>');return false;"
|
||||
>antworten</a>
|
||||
</span>
|
||||
<div id="calcms_add_comment_<TMPL_VAR id>"> </div>
|
||||
</TMPL_IF>
|
||||
</div></div></div></div>
|
||||
</div>
|
||||
</TMPL_LOOP>
|
||||
</body>
|
||||
38
website/agenda/templates/default/comments.xml
Normal file
38
website/agenda/templates/default/comments.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:application/atom+xml; charset=UTF-8
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:gCal='http://schemas.google.com/gCal/2005'>
|
||||
<id><TMPL_VAR cache_base_url>comments</id>
|
||||
|
||||
<title type='text'><TMPL_VAR project_title> - Kommentare</title>
|
||||
<updated><TMPL_VAR created_at></updated>
|
||||
<category term='Radioprogramm'/>
|
||||
<subtitle type='text'>Das Schaerfste kommentiert noch</subtitle>
|
||||
|
||||
<author>
|
||||
<name><TMPL_VAR project_title></name>
|
||||
<email>info@radiopiloten.de</email>
|
||||
</author>
|
||||
<link rel='alternate' type='text/html' href='<TMPL_VAR cache_base_url>feed_kommentare/'/>
|
||||
<generator version='0.1' uri='http://radiopiloten.org'>calcms</generator>
|
||||
<gCal:timezone value='Europe/Berlin'/>
|
||||
<gCal:timesCleaned value='0'/>
|
||||
<TMPL_LOOP comments>
|
||||
<entry>
|
||||
<id><TMPL_VAR static_files_url><TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url><TMPL_VAR id></id>
|
||||
<published><TMPL_VAR created_at></published>
|
||||
<updated><TMPL_VAR created_at></updated>
|
||||
|
||||
<category term='Kommentar'/>
|
||||
<TMPL_IF short_content><title type='text'><TMPL_VAR short_content></title></TMPL_IF>
|
||||
<TMPL_IF content><summary type='text'><TMPL_VAR content></summary></TMPL_IF>
|
||||
<TMPL_IF content><content type='html'><![CDATA[<TMPL_VAR content>]]></content></TMPL_IF>
|
||||
|
||||
<link rel='alternate' type='text/html' href='<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event escape=url>/<TMPL_VAR event_id escape=url>.html#comment_<TMPL_VAR id escape=url>' title='alternate'/>
|
||||
<link rel='self' type='application/atom+xml' href='<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event escape=url>/<TMPL_VAR event_id escape=url>.html#comment_<TMPL_VAR id escape=url>'/>
|
||||
<author><name><TMPL_VAR author></name></author>
|
||||
</entry>
|
||||
</TMPL_LOOP>
|
||||
</feed>
|
||||
22
website/agenda/templates/default/comments_newest.html
Normal file
22
website/agenda/templates/default/comments_newest.html
Normal file
@@ -0,0 +1,22 @@
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Neueste Kommentare zu Sendungen - <TMPL_VAR project_title></title>
|
||||
<meta http-equiv="Content-Script-Type" content="javascript" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="sendungen">
|
||||
</div>
|
||||
<TMPL_LOOP comments>
|
||||
<a id="event_list_id_<TMPL_VAR event_id>" class="click_for_detail" href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#comments">
|
||||
<div class="comments level<TMPL_VAR level>">
|
||||
<span class="author"><TMPL_VAR author escape=none></span>:
|
||||
<span class="content"><TMPL_VAR short_content escape=none></span>
|
||||
</a>
|
||||
</div>
|
||||
</TMPL_LOOP>
|
||||
</body>
|
||||
51
website/agenda/templates/default/default.html
Normal file
51
website/agenda/templates/default/default.html
Normal file
@@ -0,0 +1,51 @@
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title><TMPL_VAR project_title>: Admin - <TMPL_VAR user></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Script-Type" content="javascript" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<TMPL_IF meta><TMPL_LOOP meta><TMPL_VAR data/></TMPL_LOOP></TMPL_IF>
|
||||
<link rel="stylesheet" href="<TMPL_VAR static_files_url>/css/calcms.css" type="text/css" />
|
||||
|
||||
<style>
|
||||
form{
|
||||
border:0;
|
||||
padding:0;
|
||||
margin:0;
|
||||
};
|
||||
table{
|
||||
margin:1;
|
||||
};
|
||||
div,td,tr,table{
|
||||
vertical-align:middle;
|
||||
};
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div>
|
||||
<a href="/"><img src="<TMPL_VAR static_files_url>/images/logo.png" alt="programm" /></a>
|
||||
</div>
|
||||
|
||||
<TMPL_IF action_result>
|
||||
<div class="ok head">
|
||||
<TMPL_VAR action_result>
|
||||
</div>
|
||||
</TMPL_IF>
|
||||
|
||||
<div id="javascript_enabled">
|
||||
|
||||
<TMPL_IF error>
|
||||
<div class="error head">
|
||||
<TMPL_VAR error>
|
||||
</div>
|
||||
<TMPL_ELSE>
|
||||
<div>
|
||||
<TMPL_VAR subheader>
|
||||
</div>
|
||||
</TMPL_IF>
|
||||
|
||||
46
website/agenda/templates/default/event.atom.xml
Normal file
46
website/agenda/templates/default/event.atom.xml
Normal file
@@ -0,0 +1,46 @@
|
||||
Content-type:application/atom+xml; charset=UTF-8
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:gCal='http://schemas.google.com/gCal/2005'>
|
||||
<id><TMPL_VAR cache_base_url></id>
|
||||
|
||||
<title type='text'><TMPL_VAR project_title></title>
|
||||
<updated><TMPL_VAR modified_at></updated>
|
||||
<category term='<TMPL_VAR location_mapped>'/>
|
||||
<subtitle type='text'><TMPL_VAR project_subtitle></subtitle>
|
||||
|
||||
<author>
|
||||
<name><TMPL_VAR project_title></name>
|
||||
<email><TMPL_VAR project_email></email>
|
||||
</author>
|
||||
<link rel='alternate' type='text/html' href='<TMPL_VAR source_base_url>'/>
|
||||
<link rel='self' type='application/atom+xml' href='<TMPL_VAR cache_base_url>/feed/'/>
|
||||
|
||||
<generator version='0.1' uri='http://radiopiloten.de'>calcms</generator>
|
||||
<gCal:timezone value='<TMPL_VAR time_zone>'/>
|
||||
<gCal:timesCleaned value='0'/>
|
||||
<TMPL_LOOP events>
|
||||
<entry>
|
||||
<id><TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html</id>
|
||||
<published><TMPL_VAR created_at></published>
|
||||
<updated><TMPL_VAR modified_at></updated>
|
||||
|
||||
<category term='Sendung'/>
|
||||
<title type='text'><TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name> - <TMPL_VAR start_time_name> - <TMPL_VAR end_time_name> | <TMPL_VAR full_title></title>
|
||||
<summary type='text'><TMPL_VAR excerpt></summary>
|
||||
<content type='html'><![CDATA[<TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name> - <TMPL_VAR start_time_name> - <TMPL_VAR end_time_name> | <TMPL_VAR full_title><p><TMPL_VAR content_html>]]></content>
|
||||
|
||||
<link rel='alternate' type='text/html' href='<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>' title='alternate'/>
|
||||
<link rel='self' type='application/atom+xml' href='<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>'/>
|
||||
<TMPL_IF media_url><link rel="enclosure" type="audio/mpeg" href="<TMPL_VAR media_url>"/>
|
||||
</TMPL_IF>
|
||||
<TMPL_IF project_title><author>
|
||||
<name><TMPL_VAR project_title></name>
|
||||
<email><TMPL_VAR project_email></email>
|
||||
</author>
|
||||
</TMPL_IF>
|
||||
|
||||
</entry>
|
||||
</TMPL_LOOP>
|
||||
</feed>
|
||||
48
website/agenda/templates/default/event.ics
Normal file
48
website/agenda/templates/default/event.ics
Normal file
@@ -0,0 +1,48 @@
|
||||
Content-Type:text/calendar; charset="UTF-8"
|
||||
Content-Disposition: attachment; filename="<TMPL_VAR project_title>-programm.ics"
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
BEGIN:VCALENDAR
|
||||
PRODID:-//calcms//DE
|
||||
VERSION:2.0
|
||||
CALSCALE:GREGORIAN
|
||||
METHOD:PUBLISH
|
||||
X-WR-CALNAME:<TMPL_VAR project_title> Programm (ical)
|
||||
X-WR-TIMEZONE:<TMPL_VAR time_zone>
|
||||
X-WR-CALDESC:
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:<TMPL_VAR time_zone>
|
||||
X-LIC-LOCATION:<TMPL_VAR time_zone>
|
||||
BEGIN:DAYLIGHT
|
||||
TZOFFSETFROM:+0100
|
||||
TZOFFSETTO:+0200
|
||||
TZNAME:CEST
|
||||
DTSTART:19700329T020000
|
||||
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
|
||||
END:DAYLIGHT
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+0200
|
||||
TZOFFSETTO:+0100
|
||||
TZNAME:CET
|
||||
DTSTART:19701025T030000
|
||||
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
<TMPL_LOOP NAME=events><TMPL_IF NAME=dtstart>BEGIN:VEVENT
|
||||
DTSTART;TZID=<TMPL_VAR time_zone>:<TMPL_VAR NAME=dtstart>
|
||||
<TMPL_IF NAME=dtend>DTEND;TZID=<TMPL_VAR time_zone>:<TMPL_VAR NAME=dtend>
|
||||
</TMPL_IF>DTSTAMP;TZID=<TMPL_VAR time_zone>:<TMPL_VAR modified_at>
|
||||
UID:<TMPL_VAR NAME=event_id>
|
||||
CLASS:PUBLIC
|
||||
CREATED;TZID=<TMPL_VAR time_zone>:<TMPL_VAR created_at>
|
||||
DESCRIPTION:<TMPL_VAR NAME=content_ical>
|
||||
LAST-MODIFIED;TZID=<TMPL_VAR time_zone>:<TMPL_VAR modified_at>
|
||||
LOCATION:<TMPL_VAR location_mapped>
|
||||
SEQUENCE:0
|
||||
STATUS:CONFIRMED
|
||||
SUMMARY:<TMPL_VAR full_title> - coloRadio
|
||||
URL:<TMPL_VAR base_url><TMPL_VAR .controllers.domain><TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>
|
||||
TRANSP:OPAQUE
|
||||
CATEGORIES:<TMPL_VAR project_title>
|
||||
END:VEVENT
|
||||
</TMPL_IF></TMPL_LOOP>END:VCALENDAR
|
||||
65
website/agenda/templates/default/event.json-p
Normal file
65
website/agenda/templates/default/event.json-p
Normal file
@@ -0,0 +1,65 @@
|
||||
Content-type:application/json; charset=UTF-8
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
if(typeof(Feed) == 'undefined') Feed = {};
|
||||
Feed = {
|
||||
"version" : "1.0",
|
||||
"encoding" : "UTF-8",
|
||||
"feed" : {
|
||||
"xmlns" : "http://www.w3.org/2005/Atom",
|
||||
"xmlns$openSearch" : "http://a9.com/-/spec/opensearchrss/1.0/",
|
||||
"id" : { "$t" : "<TMPL_VAR source_base_url>" },
|
||||
"updated" : { "$t" : "<TMPL_VAR modified_at>" },
|
||||
"title" : {
|
||||
"type" : "text",
|
||||
"$t" : "<TMPL_VAR project_title> Sendeplan>"
|
||||
},
|
||||
"subtitle" : {
|
||||
"type" : "text",
|
||||
"$t" : "<TMPL_VAR project_subtitle>"
|
||||
},
|
||||
"author" : [ {
|
||||
"name": { "$t" : "<TMPL_VAR project>" },
|
||||
"email" : { "$t" : "<TMPL_VAR project_email>" }
|
||||
} ],
|
||||
"link" : [ {
|
||||
"rel" : "alternate",
|
||||
"type" : "text/html",
|
||||
"href" : "<TMPL_VAR <TMPL_VAR source_base_url>"
|
||||
} ],
|
||||
"generator" : {
|
||||
"version" : "0.1",
|
||||
"uri" : "<TMPL_VAR <TMPL_VAR source_base_url>>",
|
||||
"$t" : "calcms"
|
||||
},
|
||||
"openSearch$totalResults" : { "$t" : "<TMPL_VAR event_count>" },
|
||||
<TMPL_LOOP events>
|
||||
"entry" : [ {
|
||||
"id" : { "$t" : "<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html/" },
|
||||
"published" : { "$t": "<TMPL_VAR created_at>" },
|
||||
"updated" : { "$t": "<TMPL_VAR modified_at>" },
|
||||
"category" : [ {
|
||||
"scheme" : "http://www.blogger.com/atom/ns#",
|
||||
"term" : "Sendung"
|
||||
} ],
|
||||
"title" : {
|
||||
"type" : "text",
|
||||
"$t" : "<TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name> - <TMPL_VAR start_time_name> - <TMPL_VAR end_time_name> | <TMPL_VAR full_title>"
|
||||
},
|
||||
"link" : [ {
|
||||
"rel" : "alternate",
|
||||
"type" : "text/html",
|
||||
"href" : "<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>"
|
||||
},{
|
||||
"rel" : "self",
|
||||
"type" : "application/atom+xml",
|
||||
"href" : "<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>"
|
||||
} ],
|
||||
"author" : [ {
|
||||
"name" : { "$t" : "<TMPL_VAR project_email>" },
|
||||
"email" : { "$t" : "<TMPL_VAR project_email>" }
|
||||
} ]
|
||||
} ]
|
||||
<TMPL_UNLESS NAME="__last__">,</TMPL_UNLESS>
|
||||
</TMPL_LOOP>
|
||||
}}
|
||||
37
website/agenda/templates/default/event.rss.xml
Normal file
37
website/agenda/templates/default/event.rss.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
Content-type:application/rss+xml; charset=UTF-8
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
|
||||
|
||||
<channel>
|
||||
<atom:link href="http:<TMPL_VAR base_domain><TMPL_VAR cache_base_url>/rss" rel="self" type="application/rss+xml" />
|
||||
<link>http:<TMPL_VAR base_domain><TMPL_VAR cache_base_url>/event.rss.xml</link>
|
||||
<title><TMPL_VAR project_title></title>
|
||||
<description><TMPL_VAR project_subtitle></description>
|
||||
<language>de-de</language>
|
||||
<copyright><TMPL_VAR project_title>, <TMPL_VAR project_email></copyright>
|
||||
<pubDate><TMPL_VAR modified_at></pubDate>
|
||||
<ttl>3600</ttl>
|
||||
<image>
|
||||
<url>http:<TMPL_VAR base_domain>sites/default/files/images/piradio-logo-kreis.preview.gif</url>
|
||||
<link>http:<TMPL_VAR base_domain><TMPL_VAR cache_base_url>/event.rss.xml</link>
|
||||
<title><TMPL_VAR project_title></title>
|
||||
</image>
|
||||
|
||||
|
||||
<TMPL_LOOP events>
|
||||
<item>
|
||||
<title><TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name> - <TMPL_VAR start_time_name> - <TMPL_VAR end_time_name> | <TMPL_VAR full_title></title>
|
||||
<description><TMPL_VAR excerpt></description>
|
||||
<link>http:<TMPL_VAR base_domain><TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url></link>
|
||||
<guid>http:<TMPL_VAR base_domain><TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html</guid>
|
||||
<pubDate><TMPL_VAR modified_at></pubDate>
|
||||
<comments>http:<TMPL_VAR base_domain><TMPL_VAR cache_base_domain>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#comments</comments>
|
||||
<media:content url="http:<TMPL_VAR base_domain><TMPL_VAR image>" medium="image">
|
||||
<media:title type="html"><TMPL_VAR full_title></media:title>
|
||||
</media:content>
|
||||
|
||||
</item>
|
||||
</TMPL_LOOP>
|
||||
</channel>
|
||||
</rss>
|
||||
20
website/agenda/templates/default/event_dashboard.html.js
Normal file
20
website/agenda/templates/default/event_dashboard.html.js
Normal file
@@ -0,0 +1,20 @@
|
||||
Content-type:application/json; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
[<TMPL_LOOP NAME=events>
|
||||
{
|
||||
"id" : "<TMPL_VAR event_id>",
|
||||
"domain" : "https:<TMPL_VAR .source_base_url>",
|
||||
"url" : "https:<TMPL_VAR .source_base_url>programm/sendung/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>",
|
||||
"title" : "<TMPL_VAR full_title escape=IJSON>",
|
||||
"excerpt" : "<TMPL_VAR excerpt escape=IJSON>",
|
||||
"start" : "<TMPL_VAR start_date>T<TMPL_VAR start_time>:00",
|
||||
"end" : "<TMPL_VAR end_date>T<TMPL_VAR end_time>:00",
|
||||
"series_name" : "<TMPL_VAR series_name escape=IJSON>",
|
||||
"image_url" : "<TMPL_VAR series_image_url escape=IJSON>",
|
||||
<TMPL_IF recurrence_date>"recurrence" : "<TMPL_VAR recurrence_weekday_name>, <TMPL_VAR recurrence_date_name>, <TMPL_VAR recurrence_time_name>",</TMPL_IF>
|
||||
"topic" : "<TMPL_VAR topic escape=IJSON>",
|
||||
"content" : "<TMPL_VAR content escape=IJSON>"
|
||||
}
|
||||
<TMPL_UNLESS "__last__">,</TMPL_UNLESS>
|
||||
</TMPL_LOOP>]
|
||||
@@ -0,0 +1,45 @@
|
||||
Content-type:text/html; charset=utf-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<TMPL_LOOP events>
|
||||
<div class="event-base">
|
||||
<div class="vevent">
|
||||
<div class="date<TMPL_IF is_running> running</TMPL_IF>">
|
||||
<h1 class="summary title">
|
||||
<TMPL_IF series_name><TMPL_VAR series_name></TMPL_IF>
|
||||
<TMPL_VAR full_title_no_series>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="content description" >
|
||||
<TMPL_IF no_image_in_text>
|
||||
<TMPL_IF .hide_event_images>
|
||||
<figure>
|
||||
<TMPL_IF series_thumb_url>
|
||||
<img alt="<TMPL_VAR series_name>" src="<TMPL_VAR series_image_url>">
|
||||
<TMPL_IF series_image_label><figcaption>Bild: <TMPL_VAR series_image_label></figcaption></TMPL_IF>
|
||||
</TMPL_IF>
|
||||
</figure>
|
||||
<TMPL_ELSE>
|
||||
<figure>
|
||||
<TMPL_IF thumb_url>
|
||||
<img alt="<TMPL_VAR series_name>" src="<TMPL_VAR image_url>">
|
||||
<TMPL_IF image_label><figcaption>Bild: <TMPL_VAR image_label></figcaption></TMPL_IF>
|
||||
</TMPL_IF>
|
||||
</figure>
|
||||
</TMPL_IF>
|
||||
</TMPL_IF>
|
||||
|
||||
<TMPL_VAR topic escape=none><TMPL_VAR content escape=none>
|
||||
<TMPL_IF recurrence_date><a href="<TMPL_VAR recurrence>.html">
|
||||
Wiederholung vom <TMPL_VAR recurrence_weekday_name>, <TMPL_VAR recurrence_date_name>, <TMPL_VAR recurrence_time_name> Uhr</a>
|
||||
</TMPL_IF>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</TMPL_LOOP>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
90
website/agenda/templates/default/event_details.html
Normal file
90
website/agenda/templates/default/event_details.html
Normal file
@@ -0,0 +1,90 @@
|
||||
Content-type:text/html; charset=utf-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<TMPL_IF no_result>
|
||||
<div id="is_empty">
|
||||
<TMPL_IF search>
|
||||
<TMLP_VAR count> Treffer:
|
||||
</TMPL_IF>
|
||||
</div>
|
||||
</TMPL_IF>
|
||||
|
||||
<TMPL_LOOP events>
|
||||
<div class="event-base" data-prev-event="<TMPL_VAR prev_event_id>" data-next-event="<TMPL_VAR next_event_id>">
|
||||
<div class="vevent">
|
||||
<span class="dtstart"><TMPL_VAR start></span>
|
||||
<TMPL_IF NAME=end><span class="dtend"><TMPL_VAR end></span></TMPL_IF>
|
||||
<span class="location"><TMPL_VAR location_mapped></span>
|
||||
|
||||
<div class="date<TMPL_IF is_running> running</TMPL_IF>">
|
||||
<TMPL_IF is_running> ... Diese Sendung läuft gerade ...<p></TMPL_IF>
|
||||
|
||||
<h1 class="summary title">
|
||||
<TMPL_IF series_name>
|
||||
<a href="#" onclick="calcms.showPrevSeriesEvent(<TMPL_VAR event_id>)" title="vorherige Sendung">«</a><TMPL_VAR series_name><a href="#" onclick="calcms.showNextSeriesEvent(<TMPL_VAR event_id>)" title="nächste Sendung">»</a>
|
||||
</TMPL_IF>
|
||||
<TMPL_VAR full_title_no_series>
|
||||
|
||||
<div style="font-size:1rem">
|
||||
<TMPL_VAR weekday_name>, <TMPL_VAR start_date_name>,
|
||||
<span style="font-size:1.5rem"><TMPL_VAR start_time_name></span> bis <TMPL_VAR end_time_name> Uhr
|
||||
</div>
|
||||
|
||||
</h1>
|
||||
|
||||
<TMPL_IF program> (<TMPL_VAR program>)</TMPL_IF>
|
||||
</div>
|
||||
<div class="content description" >
|
||||
<TMPL_VAR excerpt > <TMPL_VAR user_excerpt >
|
||||
<TMPL_IF excerpt><hr><TMPL_ELSE><TMPL_IF user_excerpt><hr></TMPL_IF></TMPL_IF>
|
||||
|
||||
<TMPL_IF no_image_in_text>
|
||||
<TMPL_IF .hide_event_images>
|
||||
<figure>
|
||||
<TMPL_IF series_thumb_url>
|
||||
<img alt="<TMPL_VAR series_name>" src="<TMPL_VAR series_image_url>">
|
||||
<TMPL_IF series_image_label><figcaption>Bild: <TMPL_VAR series_image_label></figcaption></TMPL_IF>
|
||||
</TMPL_IF>
|
||||
</figure>
|
||||
<TMPL_ELSE>
|
||||
<figure>
|
||||
<TMPL_IF thumb_url>
|
||||
<img alt="<TMPL_VAR series_name>" src="<TMPL_VAR image_url>">
|
||||
<TMPL_IF image_label><figcaption>Bild: <TMPL_VAR image_label></figcaption></TMPL_IF>
|
||||
</TMPL_IF>
|
||||
</figure>
|
||||
</TMPL_IF>
|
||||
</TMPL_IF>
|
||||
|
||||
<TMPL_VAR topic escape=none><TMPL_VAR content escape=none>
|
||||
<TMPL_IF listen_url><audio
|
||||
controls
|
||||
src="<TMPL_VAR listen_url>"
|
||||
title="Sendung nachhören"
|
||||
></audio></TMPL_IF>
|
||||
<TMPL_IF recurrence_date><a href="<TMPL_VAR recurrence>.html">
|
||||
Wiederholung vom <TMPL_VAR recurrence_weekday_name>, <TMPL_VAR recurrence_date_name>, <TMPL_VAR recurrence_time_name> Uhr</a>
|
||||
</TMPL_IF>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
<TMPL_VAR project_title> - <TMPL_VAR location_mapped>
|
||||
|
||||
<div id="calcms_comments">
|
||||
<script>
|
||||
jQuery(document).ready(
|
||||
function() {
|
||||
calcms.showCommentsByEventIdOrEventStart('<TMPL_VAR event_id escape=js>','<TMPL_VAR start_datetime escape=js>');
|
||||
}
|
||||
);
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
</TMPL_LOOP>
|
||||
</body>
|
||||
</html>
|
||||
77
website/agenda/templates/default/event_file_export.txt
Normal file
77
website/agenda/templates/default/event_file_export.txt
Normal file
@@ -0,0 +1,77 @@
|
||||
Content-type:text/plain; charset=utf-8;
|
||||
|
||||
$events=[
|
||||
<TMPL_LOOP NAME=events>
|
||||
{
|
||||
'__last__' => q|<TMPL_VAR __last__>|,
|
||||
'base_url' => q|<TMPL_VAR base_url>|,
|
||||
'cache_base_url' => q|<TMPL_VAR cache_base_url>|,
|
||||
'comment_count' => q|<TMPL_VAR comment_count>|,
|
||||
'.controllers.event' => q|<TMPL_VAR .controllers.event>|,
|
||||
'.controllers.events' => q|<TMPL_VAR .controllers.events>|,
|
||||
'.controllers.calendar' => q|<TMPL_VAR .controllers.calendar>|,
|
||||
'.controllers.comments' => q|<TMPL_VAR .controllers.comments>|,
|
||||
'.controllers.domain' => q|<TMPL_VAR .controllers.domain>|,
|
||||
'.controllers.feed' => q|<TMPL_VAR .controllers.feed>|,
|
||||
'.controllers.ical' => q|<TMPL_VAR .controllers.ical>|,
|
||||
'counter_1' => q|<TMPL_VAR counter_1>|,
|
||||
'created_at' => q|<TMPL_VAR created_at>|,
|
||||
'day' => q|<TMPL_VAR day>|,
|
||||
'day_of_year' => q|<TMPL_VAR day_of_year>|,
|
||||
'dtend' => q|<TMPL_VAR dtend>|,
|
||||
'dtstart' => q|<TMPL_VAR dtstart>|,
|
||||
'end_date_name' => q|<TMPL_VAR end_date_name>|,
|
||||
'end_date' => q|<TMPL_VAR end_date>|,
|
||||
'end_datetime' => q|<TMPL_VAR end_datetime>|,
|
||||
'end_time_name' => q|<TMPL_VAR end_time_name>|,
|
||||
'end_time' => q|<TMPL_VAR end_time>|,
|
||||
'end' => q|<TMPL_VAR end>|,
|
||||
'event_id' => q|<TMPL_VAR event_id>|,
|
||||
'event_uri' => q|<TMPL_VAR event_uri>|,
|
||||
'excerpt' => q|<TMPL_VAR excerpt>|,
|
||||
'image' => q|<TMPL_VAR image>|,
|
||||
'is_first_of_day' => q|<TMPL_VAR is_first_of_day>|,
|
||||
'location_css' => q|<TMPL_VAR location_css>|,
|
||||
'location' => q|<TMPL_VAR location>|,
|
||||
'location_mapped' => q|<TMPL_VAR location_mapped>|,
|
||||
'media_url' => q|<TMPL_VAR media_url>|,
|
||||
'modified_at' => q|<TMPL_VAR modified_at>|,
|
||||
'podcast_url' => q|<TMPL_VAR podcast_url>|,
|
||||
'program' => q|<TMPL_VAR program>|,
|
||||
'project_label' => q|<TMPL_VAR project_label>|,
|
||||
'project_title' => q|<TMPL_VAR project_title>|,
|
||||
'project' => q|<TMPL_VAR project>|,
|
||||
'rds_title' => q|<TMPL_VAR rds_title>|,
|
||||
'reference' => q|<TMPL_VAR reference>|,
|
||||
'recurrence' => q|<TMPL_VAR recurrence>|,
|
||||
'recurrence_date' => q|<TMPL_VAR recurrence_date>|,
|
||||
'full_title' => q|<TMPL_VAR full_title>|,
|
||||
'series_name' => q|<TMPL_VAR series_name>|,
|
||||
'start_date_name' => q|<TMPL_VAR start_date_name>|,
|
||||
'start_date' => q|<TMPL_VAR start_date>|,
|
||||
'start_datetime' => q|<TMPL_VAR start_datetime>|,
|
||||
'start_time_name' => q|<TMPL_VAR start_time_name>|,
|
||||
'start_time' => q|<TMPL_VAR start_time>|,
|
||||
'start_year' => q|<TMPL_VAR start_year>|,
|
||||
'start_month' => q|<TMPL_VAR start_month>|,
|
||||
'start_day' => q|<TMPL_VAR start_day>|,
|
||||
'start_hour' => q|<TMPL_VAR start_hour>|,
|
||||
'start_minute' => q|<TMPL_VAR start_minute>|,
|
||||
'start' => q|<TMPL_VAR start>|,
|
||||
'static_files_url' => q|<TMPL_VAR static_files_url>|,
|
||||
'title' => q|<TMPL_VAR title>|,
|
||||
'week_of_year' => q|<TMPL_VAR week_of_year>|,
|
||||
'weekday_name' => q|<TMPL_VAR weekday_name>|,
|
||||
'weekday_short_name' => q|<TMPL_VAR weekday_short_name>|,
|
||||
'weekday' => q|<TMPL_VAR weekday>|,
|
||||
'time_zone' => q|<TMPL_VAR time_zone>|,
|
||||
'utc_offset' => q|<TMPL_VAR utc_offset>|,
|
||||
'start_utc_epoch' => q|<TMPL_VAR start_utc_epoch>|,
|
||||
'end_utc_epoch' => q|<TMPL_VAR end_utc_epoch>|
|
||||
}<TMPL_UNLESS __last__>,</TMPL_UNLESS>
|
||||
</TMPL_LOOP>
|
||||
];
|
||||
|
||||
|
||||
|
||||
|
||||
81
website/agenda/templates/default/event_freefm.xml
Normal file
81
website/agenda/templates/default/event_freefm.xml
Normal file
@@ -0,0 +1,81 @@
|
||||
Content-type:text/xml; charset=UTF-8
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<station lastupdate="<TMPL_VAR modified_at_datetime_utc>" xmlns:gml="http://www.opengis.net/gml">
|
||||
<info>
|
||||
<displayname>Pi-Radio</displayname>
|
||||
<fullname>Pi-Radio</fullname>
|
||||
<logo src="https://piradio.de/agenda/images/logo.jpg" />
|
||||
<basecolor>#FF6600</basecolor>
|
||||
<city>Berlin</city>
|
||||
<studio>
|
||||
<street>Lottumstrasse</street>
|
||||
<number>9</number>
|
||||
<city>Berlin</city>
|
||||
<zip>10119</zip>
|
||||
<studio-location>
|
||||
<gml:Point>
|
||||
<gml:pos>52.53119 13.4066</gml:pos>
|
||||
</gml:Point>
|
||||
</studio-location>
|
||||
<phone type="studio">+49 030 609 37 277</phone>
|
||||
</studio>
|
||||
</info>
|
||||
|
||||
<media-channels>
|
||||
<transmitter type="ukw">
|
||||
<frequency>88.4</frequency>
|
||||
<frequencyunit>MHz</frequencyunit>
|
||||
<city>Berlin</city>
|
||||
<operator>MediaBroadcast</operator>
|
||||
<transmit-power>500</transmit-power>
|
||||
<transmit-power-unit>W</transmit-power-unit>
|
||||
<transmit-rds-id>88vier</transmit-rds-id>
|
||||
<transmit-times>
|
||||
<transmit-time recurrence="true" />
|
||||
<weekly day="MI" priority="0" time-from="19:00:00" time-to="06:00:00" />
|
||||
<weekly day="DO" priority="0" time-from="19:00:00" time-to="06:00:00" />
|
||||
</transmit-times>
|
||||
|
||||
<transmitter-location>
|
||||
<gml:Point>
|
||||
<gml:pos>52.456534 13.625693</gml:pos>
|
||||
</gml:Point>
|
||||
</transmitter-location>
|
||||
</transmitter>
|
||||
<webstream>
|
||||
<transmit-times>
|
||||
<transmit-time time-from="00:00:00" time-to="23:59:59"/>
|
||||
</transmit-times>
|
||||
<url>http://ice.rosebud-media.de:8000/88vier</url>
|
||||
<format>audio/mpeg</format>
|
||||
<quality>160kbps</quality>
|
||||
</webstream>
|
||||
<website>
|
||||
<url>https://piradio.de</url>
|
||||
</website>
|
||||
</media-channels>
|
||||
|
||||
<programme>
|
||||
<TMPL_LOOP events>
|
||||
<broadcast id="<TMPL_VAR event_id>">
|
||||
<title><TMPL_VAR full_title></title>
|
||||
<description>
|
||||
<TMPL_VAR excerpt> <TMPL_VAR user_excerpt>
|
||||
</description>
|
||||
<categories>
|
||||
<category name="Wort" id="1" />
|
||||
<category name="Musik" id="2" />
|
||||
</categories>
|
||||
<feed>
|
||||
<title>Sendebeschreibung</title>
|
||||
<url>https://piradio.de<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url></url>
|
||||
</feed>
|
||||
<transmit-times>
|
||||
<transmit-time date-from="<TMPL_VAR start_datetime_utc>" date-to="<TMPL_VAR end_datetime_utc>" recurrence="false" rerun="<TMPL_IF rerun>true<TMPL_ELSE>false</TMPL_IF>" />
|
||||
</transmit-times>
|
||||
</broadcast>
|
||||
</TMPL_LOOP>
|
||||
</programme>
|
||||
</station>
|
||||
|
||||
60
website/agenda/templates/default/event_list.html
Normal file
60
website/agenda/templates/default/event_list.html
Normal file
@@ -0,0 +1,60 @@
|
||||
Content-type:text/html; charset=utf-8;
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="expires" content="3600">
|
||||
<meta http-equiv="Cache-control" content="public">
|
||||
<meta http-equiv="Content-Script-Type" content="javascript" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<title>Agenda <TMPL_VAR project_title></title>
|
||||
<body>
|
||||
|
||||
<TMPL_INCLUDE no_search_result.html>
|
||||
<TMPL_INCLUDE no_result.html>
|
||||
|
||||
<div class="events-base" data-first-date="<TMPL_VAR first_date>" data-last-date="<TMPL_VAR last_date>">
|
||||
<TMPL_LOOP NAME=events>
|
||||
<TMPL_IF event_id>
|
||||
<TMPL_IF name="is_first_of_day">
|
||||
<div class="date">
|
||||
<TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name><TMPL_IF project_title> - <TMPL_VAR project_title></TMPL_IF>
|
||||
</div>
|
||||
</TMPL_IF>
|
||||
<div id="event_<TMPL_VAR event_id>" class="event<TMPL_IF location_css> <TMPL_VAR location_css></TMPL_IF><TMPL_IF is_running> running</TMPL_IF>"
|
||||
onclick="window.location.href='<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>'"
|
||||
>
|
||||
<span class="time"><TMPL_VAR start_time_name><TMPL_IF name="__last__"> - <TMPL_VAR end_time_name></TMPL_IF></span>
|
||||
<span class="summary" title="Mehr Infos zur Sendung">
|
||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>">
|
||||
<span class="title"><TMPL_VAR skey></span>
|
||||
<span class="subtitle"><TMPL_VAR stkey><TMPL_VAR tkey></span>
|
||||
<span class="episode"><TMPL_VAR ekey></span>
|
||||
</a>
|
||||
<div class="excerpt"><TMPL_VAR excerpt> <TMPL_VAR user_excerpt> </div>
|
||||
<TMPL_UNLESS no_comment>
|
||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>#comments"
|
||||
>
|
||||
<span class="submitted<TMPL_IF comment_count> comments</TMPL_IF>"><TMPL_VAR comment_count> Kommentar<TMPL_UNLESS one_comment>e</TMPL_UNLESS></span>
|
||||
</a>
|
||||
</TMPL_UNLESS>
|
||||
</span>
|
||||
<span class="location"><TMPL_VAR location_mapped></span>
|
||||
<span class="icon">
|
||||
<TMPL_IF .hide_event_images>
|
||||
<TMPL_IF series_thumb_url>
|
||||
<img src="<TMPL_VAR series_thumb_url>" title="<TMPL_VAR series_image_label>" onerror="if(!this.src.match(/not-found/))this.src='<TMPL_VAR icon_url>/../not-found.svg'">
|
||||
</TMPL_IF>
|
||||
<TMPL_ELSE>
|
||||
<TMPL_IF icon_url>
|
||||
<img src="<TMPL_VAR thumb_url>" title="<TMPL_VAR image_label>" onerror="if(!this.src.match(/not-found/))this.src='<TMPL_VAR icon_url>/../not-found.svg'">
|
||||
</TMPL_IF>
|
||||
</TMPL_IF>
|
||||
</span>
|
||||
</div>
|
||||
</TMPL_IF>
|
||||
</TMPL_LOOP>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
49
website/agenda/templates/default/event_media.rss.xml
Normal file
49
website/agenda/templates/default/event_media.rss.xml
Normal file
@@ -0,0 +1,49 @@
|
||||
Content-type:application/rss+xml; charset=UTF-8
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:media="http://search.yahoo.com/mrss/"
|
||||
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<atom:link href="http:<TMPL_VAR base_domain>agenda/rss-media/rss" rel="self" type="application/rss+xml" />
|
||||
<link>http:<TMPL_VAR base_domain><TMPL_VAR cache_base_url>/event.rss.xml</link>
|
||||
<title><TMPL_VAR project_title></title>
|
||||
<description><TMPL_VAR project_subtitle></description>
|
||||
<itunes:owner>
|
||||
<itunes:email><TMPL_VAR project_email></itunes:email>
|
||||
</itunes:owner>
|
||||
<itunes:author><TMPL_VAR project_title></itunes:author>
|
||||
|
||||
<copyright><TMPL_VAR project_title>, <TMPL_VAR project_email></copyright>
|
||||
<pubDate><TMPL_VAR modified_at></pubDate>
|
||||
<ttl>3600</ttl>
|
||||
<image>
|
||||
<url>http:<TMPL_VAR base_domain>agenda/images/logo.jpg</url>
|
||||
<link>http:<TMPL_VAR base_domain>agenda/rss-media/</link>
|
||||
<title><TMPL_VAR project_title></title>
|
||||
</image>
|
||||
<itunes:image href="http:<TMPL_VAR base_domain>/agenda/images/logo.jpg"/>
|
||||
<language>de-de</language>
|
||||
<itunes:category text="Arts" />
|
||||
|
||||
<TMPL_LOOP events>
|
||||
<item>
|
||||
<title><TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name> - <TMPL_VAR start_time_name> - <TMPL_VAR end_time_name> | <TMPL_VAR full_title></title>
|
||||
<description><TMPL_VAR excerpt></description>
|
||||
<link>http:<TMPL_VAR base_domain><TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url></link>
|
||||
<guid>http:<TMPL_VAR base_domain><TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html</guid>
|
||||
<pubDate><TMPL_VAR modified_at></pubDate>
|
||||
<comments>http:<TMPL_VAR base_domain>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#comments</comments>
|
||||
<enclosure url="https:<TMPL_VAR listen_url>" length="<TMPL_VAR size>" type="audio/mpeg" />
|
||||
<itunes:duration><TMPL_VAR duration></itunes:duration>
|
||||
<media:content url="http:<TMPL_VAR base_domain>media/image/<TMPL_VAR image>" medium="image">
|
||||
<media:title type="html"><TMPL_VAR full_title></media:title>
|
||||
</media:content>
|
||||
<media:content url="https:<TMPL_VAR listen_url>" medium="audio" />
|
||||
</item>
|
||||
</TMPL_LOOP>
|
||||
</channel>
|
||||
</rss>
|
||||
55
website/agenda/templates/default/event_menu.html
Normal file
55
website/agenda/templates/default/event_menu.html
Normal file
@@ -0,0 +1,55 @@
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Cache-control" content="public">
|
||||
<meta http-equiv="expires" content="600">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<TMPL_IF no_results>
|
||||
<div id="empty_or_not">
|
||||
nichts gefunden...
|
||||
</div>
|
||||
</TMPL_IF>
|
||||
|
||||
<TMPL_LOOP NAME=events>
|
||||
<TMPL_IF event_id>
|
||||
<TMPL_IF name="__first__">
|
||||
<div class="date">
|
||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.events>/<TMPL_VAR start_date>.html">
|
||||
<TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name>
|
||||
</a>
|
||||
</div>
|
||||
</TMPL_IF>
|
||||
|
||||
<a
|
||||
href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>"
|
||||
>
|
||||
<div id="event_menu_<TMPL_VAR event_id>" class="vevent event<TMPL_IF is_running> running</TMPL_IF>"
|
||||
title="<TMPL_IF program><TMPL_VAR program> - </TMPL_IF><TMPL_IF series_name><TMPL_VAR series_name> - </TMPL_IF><TMPL_VAR title>"
|
||||
>
|
||||
<TMPL_COMMENT>
|
||||
<div class="icon">
|
||||
<TMPL_IF icon><img src="<TMPL_VAR icon>" alt="<TMPL_VAR series_name>" />
|
||||
<TMPL_ELSE><img src="<TMPL_VAR static_files_url>images/event.icon.png" />
|
||||
</TMPL_IF>
|
||||
</div>
|
||||
</TMPL_COMMENT>
|
||||
<div class="title">
|
||||
<TMPL_VAR start_time_name><br />
|
||||
<TMPL_VAR series_name><TMPL_UNLESS series_name>!<TMPL_VAR title></TMPL_UNLESS>
|
||||
</div>
|
||||
|
||||
<span class="dtstart"><TMPL_VAR start></span>
|
||||
<TMPL_IF NAME=end><span class="dtend"><TMPL_VAR end></span></TMPL_IF>
|
||||
<span class="location"><TMPL_VAR location_mapped></span>
|
||||
</div>
|
||||
</a>
|
||||
</TMPL_IF>
|
||||
</TMPL_LOOP>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
32
website/agenda/templates/default/event_perl.txt
Normal file
32
website/agenda/templates/default/event_perl.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
Content-type:text/plain; charset=utf-8;
|
||||
|
||||
$events=[
|
||||
<TMPL_LOOP NAME=events>
|
||||
{
|
||||
'event_id' => q|<TMPL_VAR event_id>|,
|
||||
'start_date' => q|<TMPL_VAR start_date>|,
|
||||
'start_datetime' => q|<TMPL_VAR start_datetime>|,
|
||||
'end_datetime' => q|<TMPL_VAR end_datetime>|,
|
||||
'weekday_short_name' => q|<TMPL_VAR weekday_short_name>|,
|
||||
'location' => q|<TMPL_VAR location_mapped>|,
|
||||
'location_mapped' => q|<TMPL_VAR location_mapped>|,
|
||||
'image' => q|<TMPL_VAR image>|,
|
||||
'project_title' => q|<TMPL_VAR project_title>|,
|
||||
'program' => q|<TMPL_VAR program>|,
|
||||
'series_name' => q|<TMPL_VAR series_name>|,
|
||||
'title' => q|<TMPL_VAR title>|,
|
||||
'user_title' => q|<TMPL_VAR user_title>|,
|
||||
'excerpt' => q|<TMPL_VAR excerpt>|,
|
||||
'user_excerpt' => q|<TMPL_VAR user_excerpt>|,
|
||||
'episode' => q|<TMPL_VAR episode>|,
|
||||
'full_title' => q|<TMPL_VAR full_title>|,
|
||||
'content' => q|<TMPL_VAR content>|
|
||||
}<TMPL_UNLESS __last__>,</TMPL_UNLESS>
|
||||
</TMPL_LOOP>
|
||||
];
|
||||
|
||||
|
||||
|
||||
<TMPL_IF asd>
|
||||
'content' => q$<TMPL_VAR content>$
|
||||
</TMPL_IF>
|
||||
42
website/agenda/templates/default/event_playlist.html
Normal file
42
website/agenda/templates/default/event_playlist.html
Normal file
@@ -0,0 +1,42 @@
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Cache-control" content="public">
|
||||
<meta http-equiv="expires" content="600">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<style>
|
||||
|
||||
div.event div.title{
|
||||
display:grid;
|
||||
grid-template-columns: 3ch 5ch 1ch 1fr;
|
||||
}
|
||||
div.event div.title div{
|
||||
display:inline;
|
||||
}
|
||||
</style>
|
||||
|
||||
<TMPL_LOOP NAME=events>
|
||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>"
|
||||
>
|
||||
<div id="event_playlist_<TMPL_VAR event_id>" class="event" title="<TMPL_VAR full_title><TMPL_IF excerpt>. <TMPL_VAR excerpt escape=url></TMPL_IF>">
|
||||
<TMPL_COMMENT>
|
||||
<div class="icon">
|
||||
<img src="<TMPL_VAR icon>"></img>
|
||||
</div>
|
||||
</TMPL_COMMENT>
|
||||
<div class="title">
|
||||
<div><TMPL_VAR weekday_short_name></div>
|
||||
<div><TMPL_VAR start_time_name></div>
|
||||
<div>-</div>
|
||||
<div><TMPL_IF series_name><TMPL_VAR series_name><TMPL_ELSE><TMPL_VAR title></TMPL_IF></div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</TMPL_LOOP>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
5
website/agenda/templates/default/event_playlist.txt
Normal file
5
website/agenda/templates/default/event_playlist.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Content-type:text/plain; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<TMPL_IF no_result>Andere Veranstalter</TMPL_IF><TMPL_LOOP NAME=events><a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>" ><TMPL_VAR full_title></a></TMPL_LOOP>
|
||||
|
||||
156
website/agenda/templates/default/event_playlist_long.html
Normal file
156
website/agenda/templates/default/event_playlist_long.html
Normal file
@@ -0,0 +1,156 @@
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="expires" content="3600">
|
||||
<meta http-equiv="Cache-control" content="public">
|
||||
<meta http-equiv="Content-Script-Type" content="javascript" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<title>Playlist <TMPL_VAR project_title></title>
|
||||
|
||||
<script>
|
||||
/**
|
||||
* @fileoverview dragscroll - scroll area by dragging
|
||||
* @version 0.0.8
|
||||
*
|
||||
* @license MIT, see http://github.com/asvd/dragscroll
|
||||
* @copyright 2015 asvd <heliosframework@gmail.com>
|
||||
*/
|
||||
|
||||
|
||||
(function (root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define(['exports'], factory);
|
||||
} else if (typeof exports !== 'undefined') {
|
||||
factory(exports);
|
||||
} else {
|
||||
factory((root.dragscroll = {}));
|
||||
}
|
||||
}(this, function (exports) {
|
||||
var _window = window;
|
||||
var _document = document;
|
||||
var mousemove = 'mousemove';
|
||||
var mouseup = 'mouseup';
|
||||
var mousedown = 'mousedown';
|
||||
var EventListener = 'EventListener';
|
||||
var addEventListener = 'add'+EventListener;
|
||||
var removeEventListener = 'remove'+EventListener;
|
||||
var newScrollX, newScrollY;
|
||||
|
||||
var dragged = [];
|
||||
var reset = function(i, el) {
|
||||
for (i = 0; i < dragged.length;) {
|
||||
el = dragged[i++];
|
||||
el = el.container || el;
|
||||
el[removeEventListener](mousedown, el.md, 0);
|
||||
_window[removeEventListener](mouseup, el.mu, 0);
|
||||
_window[removeEventListener](mousemove, el.mm, 0);
|
||||
}
|
||||
|
||||
// cloning into array since HTMLCollection is updated dynamically
|
||||
dragged = [].slice.call(_document.getElementsByClassName('dragscroll'));
|
||||
for (i = 0; i < dragged.length;) {
|
||||
(function(el, lastClientX, lastClientY, pushed, scroller, cont){
|
||||
(cont = el.container || el)[addEventListener](
|
||||
mousedown,
|
||||
cont.md = function(e) {
|
||||
if (!el.hasAttribute('nochilddrag') ||
|
||||
_document.elementFromPoint(
|
||||
e.pageX, e.pageY
|
||||
) == cont
|
||||
) {
|
||||
pushed = 1;
|
||||
lastClientX = e.clientX;
|
||||
lastClientY = e.clientY;
|
||||
|
||||
e.preventDefault();
|
||||
}
|
||||
}, 0
|
||||
);
|
||||
|
||||
_window[addEventListener](
|
||||
mouseup, cont.mu = function() {pushed = 0;}, 0
|
||||
);
|
||||
|
||||
_window[addEventListener](
|
||||
mousemove,
|
||||
cont.mm = function(e) {
|
||||
if (pushed) {
|
||||
(scroller = el.scroller||el).scrollLeft -=
|
||||
newScrollX = (- lastClientX + (lastClientX=e.clientX));
|
||||
scroller.scrollTop -=
|
||||
newScrollY = (- lastClientY + (lastClientY=e.clientY));
|
||||
if (el == _document.body) {
|
||||
(scroller = _document.documentElement).scrollLeft -= newScrollX;
|
||||
scroller.scrollTop -= newScrollY;
|
||||
}
|
||||
}
|
||||
}, 0
|
||||
);
|
||||
})(dragged[i++]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (_document.readyState == 'complete') {
|
||||
reset();
|
||||
} else {
|
||||
_window[addEventListener]('load', reset, 0);
|
||||
}
|
||||
|
||||
exports.reset = reset;
|
||||
}));
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="playlist_container" class="_dragscroll">
|
||||
|
||||
Playlist Long <br><br>
|
||||
|
||||
<TMPL_LOOP NAME=events>
|
||||
|
||||
<a class="playlist_long_event_detail" href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>" >
|
||||
<div id="event_playlist_<TMPL_VAR event_id>" class="eventContainer event">
|
||||
<div class="top" title="<TMPL_VAR full_title><TMPL_IF excerpt>. <TMPL_VAR excerpt></TMPL_IF>">
|
||||
<TMPL_VAR weekday_short_name> <TMPL_VAR start_time_name>
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<TMPL_IF series_name><TMPL_VAR series_name><TMPL_ELSE><TMPL_VAR title></TMPL_IF>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<div class="scripted" style="display:none;">
|
||||
<a class="zeige_sendungsdetails_playlist_long playlist_long_event_detail" id="link_zu_event_<TMPL_VAR event_id>" href="#">
|
||||
<div id="event_playlist_<TMPL_VAR event_id>" class="eventContainer event">
|
||||
<div class="top" title="<TMPL_VAR full_title><TMPL_IF excerpt>. <TMPL_VAR excerpt></TMPL_IF>">
|
||||
<TMPL_VAR weekday_short_name> <TMPL_VAR start_time_name>
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<TMPL_IF series_name><TMPL_VAR series_name><TMPL_ELSE><TMPL_VAR title></TMPL_IF>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<noscript>
|
||||
<a class="playlist_long_event_detail" href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>" >
|
||||
<div id="event_playlist_<TMPL_VAR event_id>" class="eventContainer event">
|
||||
<div class="top" title="<TMPL_VAR full_title><TMPL_IF excerpt>. <TMPL_VAR excerpt></TMPL_IF>">
|
||||
<TMPL_VAR weekday_short_name> <TMPL_VAR start_time_name>
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<TMPL_IF series_name><TMPL_VAR series_name><TMPL_ELSE><TMPL_VAR title></TMPL_IF>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</noscript>
|
||||
|
||||
</TMPL_LOOP>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
36
website/agenda/templates/default/event_playlist_show.html
Normal file
36
website/agenda/templates/default/event_playlist_show.html
Normal file
@@ -0,0 +1,36 @@
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="expires" content="3600">
|
||||
<meta http-equiv="Cache-control" content="public">
|
||||
<meta http-equiv="Content-Script-Type" content="javascript" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<title>Playlist <TMPL_VAR project_title></title>
|
||||
<style type="text/css">
|
||||
.vevent a {font-size:0.8em;line-height:120%;text-decoration:none;color:#444;Verdana,sans-serif};
|
||||
.vevent .event {font-size:0.8em;line-height:120%;text-decoration:none;color:#444;Verdana,sans-serif};
|
||||
.vevent a:hover {text-decoration:underline;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<TMPL_LOOP NAME=events>
|
||||
<div id="event_<TMPL_VAR event_id>" class="event">
|
||||
<div class="event" >
|
||||
<TMPL_VAR weekday_short_name> <TMPL_VAR start_time_name>
|
||||
<span class="title" title="<TMPL_VAR full_title escape=url>, <TMPL_VAR excerpt escape=url>">
|
||||
<a target="top"
|
||||
href="<TMPL_VAR base_url><TMPL_VAR .controllers.event>/<TMPL_VAR event_id>/<TMPL_VAR event_uri escape=url>"
|
||||
>
|
||||
<TMPL_IF series_name><TMPL_VAR series_name><TMPL_ELSE><TMPL_VAR title></TMPL_IF>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</TMPL_LOOP>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<TMPL_LOOP NAME=events><TMPL_IF __first__><TMPL_VAR full_title> : <TMPL_IF podcast_url><TMPL_VAR podcast_url><ELSE><TMPL_IF media_url><TMPL_VAR media_url><ELSE><TMPL_IF excerpt><TMPL_VAR excerpt></TMPL_IF></TMPL_IF></TMPL_IF></TMPL_IF></TMPL_LOOP>
|
||||
4
website/agenda/templates/default/event_rds.txt
Normal file
4
website/agenda/templates/default/event_rds.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Content-type:text/plain; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<TMPL_LOOP NAME=events><TMPL_IF __first__><TMPL_VAR rds_title></TMPL_IF></TMPL_LOOP>
|
||||
12
website/agenda/templates/default/event_redirect.html
Normal file
12
website/agenda/templates/default/event_redirect.html
Normal file
@@ -0,0 +1,12 @@
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0; url=<TMPL_LOOP NAME=events><TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url></TMPL_LOOP>" />
|
||||
</head>
|
||||
|
||||
<body></body>
|
||||
</html>
|
||||
|
||||
|
||||
89
website/agenda/templates/default/event_running.html
Normal file
89
website/agenda/templates/default/event_running.html
Normal file
@@ -0,0 +1,89 @@
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<TMPL_IF no_result>
|
||||
<!--
|
||||
<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();
|
||||
});
|
||||
</script>
|
||||
<style>
|
||||
#coming_shows{
|
||||
width:100%;
|
||||
height:110px;
|
||||
overflow:hidden;
|
||||
}
|
||||
</style>
|
||||
-->
|
||||
<!--
|
||||
|
||||
<div class="content" style="clear:both">
|
||||
|
||||
<h1 class="summary title">
|
||||
<TMPL_VAR events_title>
|
||||
</h1>
|
||||
<br>
|
||||
<TMPL_VAR events_description>
|
||||
|
||||
<div id="coming_shows"></div>
|
||||
|
||||
<a href="/agenda/programm.html">
|
||||
Programmplan
|
||||
</a>
|
||||
|
||||
<TMPL_IF search>
|
||||
<TMLP_VAR count> Treffer:
|
||||
</TMPL_IF>
|
||||
</div>
|
||||
-->
|
||||
|
||||
|
||||
</TMPL_IF>
|
||||
|
||||
<TMPL_LOOP events>
|
||||
<p>
|
||||
<div class="event">
|
||||
<TMPL_IF event_id>
|
||||
<div class="date<TMPL_IF is_running> running</TMPL_IF>">
|
||||
<p>
|
||||
<h1 class="summary title">
|
||||
Aktuelle Sendung: <a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>">
|
||||
<TMPL_VAR full_title>
|
||||
</a>
|
||||
</h1>
|
||||
<span class="submitted"><TMPL_VAR weekday_name>, <TMPL_VAR start_date_name> -
|
||||
<TMPL_VAR start_time_name> bis <TMPL_VAR end_time_name> Uhr <TMPL_IF program>(<TMPL_VAR program>)</TMPL_IF></span><br />
|
||||
</div>
|
||||
<div class="content" >
|
||||
<TMPL_COMMENT>
|
||||
<div class="image-attach-teaser" style="width: 150px;">
|
||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>">
|
||||
<img class="image image-thumbnail" src="<TMPL_VAR image>" width="150" height="150" />
|
||||
</a>
|
||||
</div>
|
||||
</TMPL_COMMENT>
|
||||
<TMPL_VAR excerpt >
|
||||
</div>
|
||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#comments">
|
||||
<span><TMPL_VAR comment_count> Kommentar<TMPL_UNLESS one_comment>e</TMPL_UNLESS></span>
|
||||
</a>
|
||||
</div>
|
||||
</p>
|
||||
<TMPL_UNLESS __last__><hr /></TMPL_UNLESS>
|
||||
</TMPL_IF>
|
||||
</TMPL_LOOP>
|
||||
|
||||
<!--end of content -->
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
13
website/agenda/templates/default/event_utc_time.json
Normal file
13
website/agenda/templates/default/event_utc_time.json
Normal file
@@ -0,0 +1,13 @@
|
||||
Content-type:application/json; charset=utf-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
{
|
||||
"events" : [
|
||||
<TMPL_LOOP NAME=events>{
|
||||
"start" : "<TMPL_VAR start_utc_epoch>"
|
||||
,"end" : "<TMPL_VAR end_utc_epoch>"
|
||||
<TMPL_IF series_name> ,"series_name" : "<TMPL_VAR series_name>"</TMPL_IF>
|
||||
<TMPL_IF title> ,"title" : "<TMPL_VAR title>"</TMPL_IF>
|
||||
}<TMPL_UNLESS __last__>,</TMPL_UNLESS></TMPL_LOOP>
|
||||
]
|
||||
}
|
||||
4
website/agenda/templates/default/events_playout.json
Normal file
4
website/agenda/templates/default/events_playout.json
Normal file
@@ -0,0 +1,4 @@
|
||||
Content-type:application/json; charset=UTF-8
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
("events" : [<TMPL_LOOP events>"event":{"id" : "<TMPL_VAR event_id>"}<TMPL_UNLESS NAME="__last__">,</TMPL_UNLESS></TMPL_LOOP>])
|
||||
19
website/agenda/templates/default/events_playout.json-p
Normal file
19
website/agenda/templates/default/events_playout.json-p
Normal file
@@ -0,0 +1,19 @@
|
||||
Content-type:application/json; charset=UTF-8
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
"events" : {
|
||||
<TMPL_LOOP events>
|
||||
"event" : [ {
|
||||
"id" : "<TMPL_VAR event_id>",
|
||||
"program" : "<TMPL_VAR program>",
|
||||
"series" : "<TMPL_VAR series_name>",
|
||||
"title" : "<TMPL_VAR title>",
|
||||
"start" : "<TMPL_VAR start_date> <TMPL_VAR start_time>:00",
|
||||
"end" : "<TMPL_VAR end_date> <TMPL_VAR end_time>:00",
|
||||
"location" : "<TMPL_VAR location>",
|
||||
"published" : "<TMPL_VAR created_at>",
|
||||
"updated" : "<TMPL_VAR modified_at>",
|
||||
} ]
|
||||
<TMPL_UNLESS NAME="__last__">,</TMPL_UNLESS>
|
||||
</TMPL_LOOP>
|
||||
}
|
||||
26
website/agenda/templates/default/no_result.html
Normal file
26
website/agenda/templates/default/no_result.html
Normal 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('#sendungen').length!=0) jQuery('#sendungen').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>
|
||||
|
||||
|
||||
9
website/agenda/templates/default/no_search_result.html
Normal file
9
website/agenda/templates/default/no_search_result.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<TMPL_IF no_search_result>
|
||||
<div class="content">
|
||||
Keine Sendung gefunden.
|
||||
</div>
|
||||
</TMPL_IF>
|
||||
<!--<TMPL_IF event_count><TMPL_VAR event_count> Treffer</TMPL_IF>-->
|
||||
|
||||
|
||||
|
||||
1
website/agenda/templates/default/playlist_twitter.txt
Normal file
1
website/agenda/templates/default/playlist_twitter.txt
Normal file
@@ -0,0 +1 @@
|
||||
<TMPL_LOOP NAME=events><TMPL_IF __first__><TMPL_VAR full_title> : <TMPL_IF podcast_url><TMPL_VAR podcast_url><ELSE><TMPL_IF media_url><TMPL_VAR media_url><ELSE><TMPL_IF excerpt><TMPL_VAR excerpt></TMPL_IF></TMPL_IF></TMPL_IF></TMPL_IF></TMPL_LOOP>
|
||||
55
website/agenda/templates/default/series.html
Normal file
55
website/agenda/templates/default/series.html
Normal file
@@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<script src="/agenda/js/jquery.min.js" ></script>
|
||||
<link rel="stylesheet" type="text/css" href="/agenda/css/calcms.css">
|
||||
|
||||
<style>
|
||||
.series{
|
||||
clear:both;
|
||||
}
|
||||
.info{
|
||||
padding:1rem;
|
||||
background:#cc0;
|
||||
}
|
||||
|
||||
button{
|
||||
font-size:0.8rem;
|
||||
}
|
||||
|
||||
.buttons{
|
||||
float:right;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div>
|
||||
<h1>aktuelle Sendereihen</h1>
|
||||
<TMPL_IF info><div class="info"><TMPL_VAR info></div></TMPL_IF>
|
||||
|
||||
<div id="content">
|
||||
<TMPL_LOOP series>
|
||||
<div class="series"
|
||||
href="#"
|
||||
>
|
||||
<b><TMPL_IF has_single_events><TMPL_VAR .loc.single_events><TMPL_ELSE><TMPL_VAR series_name></TMPL_IF></b>
|
||||
<TMPL_IF TITLE> - <TMPL_VAR title></TMPL_IF>
|
||||
<div class="buttons">
|
||||
<button onclick="$(this).parent().parent().find('#calcms_list').load('/agenda/suche/all/<TMPL_VAR series_name escape=url>/vergangene/').show();return false;" >⯇ vergangene</button>
|
||||
<button onclick="$(this).parent().parent().find('#calcms_list').load('/agenda/suche/all/<TMPL_VAR series_name escape=url>/kommende/').show(); return false;" >⯈ kommende</button>
|
||||
<button onclick="$(this).parent().parent().find('#calcms_list').hide();">X</button>
|
||||
</div>
|
||||
<div id="calcms_list" style="display:none"> </div>
|
||||
|
||||
</div>
|
||||
</TMPL_LOOP>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
website/agenda/templates/default/series_names.html
Normal file
38
website/agenda/templates/default/series_names.html
Normal file
@@ -0,0 +1,38 @@
|
||||
Content-type:text/html; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<TMPL_IF projects>
|
||||
|
||||
<form id="calcmsSeriesNamesForm" name="calcms_series_name">
|
||||
|
||||
<TMPL_LOOP projects>
|
||||
<TMPL_UNLESS isEmpty>
|
||||
<select
|
||||
id="calcms_series_name_<TMPL_VAR js_name escape=none>"
|
||||
name="series_name_<TMPL_VAR js_name escape=none>"
|
||||
title="Sendereihen durchsuchen"
|
||||
onchange="calcms.selectSeries('<TMPL_VAR name escape=js>', jQuery(this).val())"
|
||||
style="display:none;"
|
||||
>
|
||||
|
||||
<<<<<<<< HEAD:website/agenda/templates/coloradio/series_names.html
|
||||
<option value="">- Sendereihe auswählen -</option>
|
||||
<TMPL_LOOP series_names><option value="<TMPL_VAR series_name escape=0>"<TMPL_VAR selected escape=0>><TMPL_VAR series_name> <!--(<TMPL_VAR sum>)--></option>
|
||||
========
|
||||
<option value="">- Sendereihe -</option>
|
||||
<TMPL_LOOP series_names><option value="<TMPL_VAR series_name escape=none>"<TMPL_VAR selected escape=none>><TMPL_VAR series_name> (<TMPL_VAR sum>)</option>
|
||||
>>>>>>>> calcms/master:website/agenda/templates/default/series_names.html
|
||||
</TMPL_LOOP>
|
||||
|
||||
</select>
|
||||
</TMPL_UNLESS>
|
||||
</TMPL_LOOP>
|
||||
|
||||
</form>
|
||||
|
||||
</TMPL_IF>
|
||||
</body>
|
||||
</html>
|
||||
7
website/agenda/templates/default/series_names.js
Normal file
7
website/agenda/templates/default/series_names.js
Normal file
@@ -0,0 +1,7 @@
|
||||
Content-type:application/json; charset=UTF-8;
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
[
|
||||
<TMPL_LOOP name=projects><TMPL_LOOP name=series_names>{"id":"<TMPL_VAR series_name>", "label":"<TMPL_VAR series_name>", "value":"<TMPL_VAR series_name>"} <TMPL_UNLESS last>,</TMPL_UNLESS>
|
||||
</TMPL_LOOP></TMPL_LOOP>
|
||||
]
|
||||
Reference in New Issue
Block a user