move config cache/base_url to locations/widget_render_url
This commit is contained in:
@@ -267,7 +267,7 @@ sub get($$) {
|
||||
start_month => $start_month,
|
||||
start_year => $start_year,
|
||||
base_url => $config->{locations}->{base_url},
|
||||
cache_base_url => $config->{cache}->{base_url},
|
||||
widget_render_url=> $config->{locations}->{widget_render_url},
|
||||
controllers => $config->{controllers},
|
||||
};
|
||||
|
||||
@@ -283,7 +283,7 @@ sub render($$$$) {
|
||||
my $parms = $request->{params}->{checked};
|
||||
my $template_parameters = $calendar;
|
||||
$template_parameters->{base_url} = $config->{locations}->{base_url};
|
||||
$template_parameters->{cache_base_url} = $config->{cache}->{base_url};
|
||||
$template_parameters->{widget_render_url}= $config->{locations}->{widget_render_url};
|
||||
$template_parameters->{server_cache} = $config->{cache}->{server_cache} if ( $config->{cache}->{server_cache} );
|
||||
$template_parameters->{use_client_cache} = $config->{cache}->{use_client_cache}
|
||||
if ( $config->{cache}->{use_client_cache} );
|
||||
|
||||
@@ -173,7 +173,7 @@ sub modify_results($$$) {
|
||||
$result->{short_content} = $result->{content};
|
||||
}
|
||||
$result->{base_url} = $config->{locations}->{base_url};
|
||||
$result->{cache_base_url} = $config->{cache}->{base_url};
|
||||
$result->{widget_render_url} = $config->{locations}->{widget_render_url};
|
||||
|
||||
if ( $params->{template} =~ /\.xml/ ) {
|
||||
|
||||
|
||||
@@ -264,7 +264,7 @@ sub modify_results ($$$$) {
|
||||
$result->{static_files_url} = $config->{locations}->{static_files_url};
|
||||
$result->{source_base_url} = $config->{locations}->{source_base_url};
|
||||
$result->{local_base_url} = $config->{locations}->{local_base_url};
|
||||
$result->{cache_base_url} = $config->{cache}->{base_url};
|
||||
$result->{widget_render_url}= $config->{locations}->{widget_render_url};
|
||||
|
||||
$result->{is_running} = 1 if $running_event_id
|
||||
&& $result->{event_id}
|
||||
@@ -1221,7 +1221,7 @@ sub render($$$$;$) {
|
||||
$tparams->{base_url} = $config->{locations}->{base_url};
|
||||
$tparams->{base_domain} = $config->{locations}->{base_domain};
|
||||
$tparams->{local_base_url} = $config->{locations}->{local_base_url};
|
||||
$tparams->{cache_base_url} = $config->{cache}->{base_url};
|
||||
$tparams->{widget_render_url} = $config->{locations}->{widget_render_url};
|
||||
$tparams->{modified_at} = time::time_to_datetime( time() );
|
||||
if ( ( defined $params->{template} )
|
||||
&& ( $params->{template} =~ /(\.xml)/ ) )
|
||||
|
||||
@@ -35,10 +35,6 @@ domain ${DOMAIN}
|
||||
config_file ${BASE_DIR}/agenda/config/config.cgi
|
||||
</system>
|
||||
|
||||
<cache>
|
||||
base_url /programm
|
||||
</cache>
|
||||
|
||||
<locations>
|
||||
temp_dir ${BASE_DIR}/temp/
|
||||
|
||||
@@ -50,6 +46,7 @@ domain ${DOMAIN}
|
||||
source_base_url https://${DOMAIN}/
|
||||
local_base_url /agenda/
|
||||
editor_base_url /agenda/planung/
|
||||
widget_render_url /programm
|
||||
|
||||
# ajax
|
||||
base_domain https://${DOMAIN}/
|
||||
|
||||
@@ -138,7 +138,7 @@ sub showComments {
|
||||
for my $event (@$events) {
|
||||
$event->{start} = time::date_time_format( $config, $event->{start}, $language );
|
||||
$comment_count += $event->{comment_count} if defined $event->{comment_count};
|
||||
$event->{cache_base_url} = $config->{cache}->{base_url};
|
||||
$event->{widget_render_url} = $config->{locations}->{widget_render_url};
|
||||
}
|
||||
}
|
||||
for my $param (%$comment) {
|
||||
|
||||
@@ -215,7 +215,7 @@ sub getMail {
|
||||
$mail->{Data} .= "nur zur Erinnerung...\n\n";
|
||||
$mail->{Data} .= "am $event->{weekday_name} ist die naechste '$event->{series_name}'-Sendung.\n\n";
|
||||
$mail->{Data} .=
|
||||
"$event->{source_base_url}$event->{cache_base_url}/$config->{controllers}->{event}/$event->{event_id}.html\n\n";
|
||||
"$event->{source_base_url}$event->{widget_render_url}/$config->{controllers}->{event}/$event->{event_id}.html\n\n";
|
||||
$mail->{Data} .= "Gruss, $request->{user}\n";
|
||||
return $mail;
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
</a>
|
||||
</td>
|
||||
<td class="event_title">
|
||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event escape=url>/<TMPL_VAR id>.html#comments" title="zeige Sendung">
|
||||
<a href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event escape=url>/<TMPL_VAR id>.html#comments" title="zeige Sendung">
|
||||
<TMPL_VAR series_name> - <TMPL_VAR title>
|
||||
</a>
|
||||
</td>
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
<!--
|
||||
<TMPL_IF .allow.update_event>
|
||||
<a class="button"
|
||||
href="mailto:<TMPL_VAR .series_users_email_list>?cc=programm@radiopiloten.de&reply-to=programm@radiopiloten.de&subject=<TMPL_VAR start> - <TMPL_VAR series_name><TMPL_IF title> - <TMPL_VAR title></TMPL_IF><TMPL_IF episode> #<TMPL_VAR episode></TMPL_IF>&body=Hallo <TMPL_VAR .series_user_names>,%0A%0Anur zur Erinnerung...%0A%0Aam <TMPL_VAR weekday_name> ist die naechste '<TMPL_VAR series_name>'-Sendung.%0A%0Ahttp:<TMPL_VAR source_base_url><TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html%0A%0AGruss, <TMPL_VAR user>"
|
||||
href="mailto:<TMPL_VAR .series_users_email_list>?cc=programm@radiopiloten.de&reply-to=programm@radiopiloten.de&subject=<TMPL_VAR start> - <TMPL_VAR series_name><TMPL_IF title> - <TMPL_VAR title></TMPL_IF><TMPL_IF episode> #<TMPL_VAR episode></TMPL_IF>&body=Hallo <TMPL_VAR .series_user_names>,%0A%0Anur zur Erinnerung...%0A%0Aam <TMPL_VAR weekday_name> ist die naechste '<TMPL_VAR series_name>'-Sendung.%0A%0Ahttp:<TMPL_VAR source_base_url><TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html%0A%0AGruss, <TMPL_VAR user>"
|
||||
><button><TMPL_VAR .loc.button_reminder></button></a>
|
||||
</TMPL_IF>
|
||||
-->
|
||||
|
||||
@@ -16,15 +16,15 @@ Access-Control-Allow-Origin: *
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="first">
|
||||
<a href="<TMPL_VAR .cache_base_url>/<TMPL_VAR .controllers.calendar>/<TMPL_VAR previous_month>.html"
|
||||
<a href="<TMPL_VAR .widget_render_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"
|
||||
<a href="<TMPL_VAR .widget_render_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 href="<TMPL_VAR .widget_render_url>/<TMPL_VAR .controllers.calendar>/<TMPL_VAR next_month>.html"
|
||||
>»</a>
|
||||
</th>
|
||||
</tr>
|
||||
@@ -43,7 +43,7 @@ Access-Control-Allow-Origin: *
|
||||
<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 days><td class="<TMPL_VAR class>"><a href="<TMPL_VAR .widget_render_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>
|
||||
|
||||
@@ -4,7 +4,7 @@ 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>
|
||||
<id><TMPL_VAR widget_render_url>comments</id>
|
||||
|
||||
<title type='text'><TMPL_VAR project_title> - Kommentare</title>
|
||||
<updated><TMPL_VAR created_at></updated>
|
||||
@@ -15,7 +15,7 @@ Access-Control-Allow-Origin: *
|
||||
<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/'/>
|
||||
<link rel='alternate' type='text/html' href='<TMPL_VAR widget_render_url>feed_kommentare/'/>
|
||||
<generator version='0.1' uri='http://radiopiloten.org'>calcms</generator>
|
||||
<gCal:timezone value='Europe/Berlin'/>
|
||||
<gCal:timesCleaned value='0'/>
|
||||
@@ -30,8 +30,8 @@ Access-Control-Allow-Origin: *
|
||||
<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>'/>
|
||||
<link rel='alternate' type='text/html' href='<TMPL_VAR widget_render_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 widget_render_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>
|
||||
|
||||
@@ -10,7 +10,7 @@ Access-Control-Allow-Origin: *
|
||||
</head>
|
||||
<body>
|
||||
<TMPL_LOOP comments>
|
||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#comments">
|
||||
<a href="<TMPL_VAR widget_render_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>
|
||||
|
||||
@@ -3,7 +3,7 @@ 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>
|
||||
<id><TMPL_VAR widget_render_url></id>
|
||||
|
||||
<title type='text'><TMPL_VAR project_title></title>
|
||||
<updated><TMPL_VAR modified_at></updated>
|
||||
@@ -15,14 +15,14 @@ Access-Control-Allow-Origin: *
|
||||
<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/'/>
|
||||
<link rel='self' type='application/atom+xml' href='<TMPL_VAR widget_render_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>
|
||||
<id><TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html</id>
|
||||
<published><TMPL_VAR created_at></published>
|
||||
<updated><TMPL_VAR modified_at></updated>
|
||||
|
||||
@@ -31,8 +31,8 @@ Access-Control-Allow-Origin: *
|
||||
<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>'/>
|
||||
<link rel='alternate' type='text/html' href='<TMPL_VAR widget_render_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 widget_render_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>
|
||||
|
||||
@@ -41,7 +41,7 @@ LOCATION:<TMPL_VAR location_mapped>
|
||||
SEQUENCE:0
|
||||
STATUS:CONFIRMED
|
||||
SUMMARY:<TMPL_VAR full_title>
|
||||
URL:<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>
|
||||
URL:<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>
|
||||
TRANSP:OPAQUE
|
||||
CATEGORIES:<TMPL_VAR project_title>
|
||||
END:VEVENT
|
||||
|
||||
@@ -35,7 +35,7 @@ Feed = {
|
||||
"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/" },
|
||||
"id" : { "$t" : "<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html/" },
|
||||
"published" : { "$t": "<TMPL_VAR created_at>" },
|
||||
"updated" : { "$t": "<TMPL_VAR modified_at>" },
|
||||
"category" : [ {
|
||||
@@ -49,11 +49,11 @@ Feed = {
|
||||
"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>"
|
||||
"href" : "<TMPL_VAR widget_render_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>"
|
||||
"href" : "<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>"
|
||||
} ],
|
||||
"author" : [ {
|
||||
"name" : { "$t" : "<TMPL_VAR project_email>" },
|
||||
|
||||
@@ -4,8 +4,8 @@ Content-type:application/rss+xml; charset=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>
|
||||
<atom:link href="http:<TMPL_VAR base_domain><TMPL_VAR widget_render_url>/rss" rel="self" type="application/rss+xml" />
|
||||
<link>http:<TMPL_VAR base_domain><TMPL_VAR widget_render_url>/event.rss.xml</link>
|
||||
<title><TMPL_VAR project_title></title>
|
||||
<description><TMPL_VAR project_subtitle></description>
|
||||
<language>de-de</language>
|
||||
@@ -14,7 +14,7 @@ Content-type:application/rss+xml; charset=UTF-8
|
||||
<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>
|
||||
<link>http:<TMPL_VAR base_domain><TMPL_VAR widget_render_url>/event.rss.xml</link>
|
||||
<title><TMPL_VAR project_title></title>
|
||||
</image>
|
||||
|
||||
@@ -23,8 +23,8 @@ Content-type:application/rss+xml; charset=UTF-8
|
||||
<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>
|
||||
<link>http:<TMPL_VAR base_domain><TMPL_VAR widget_render_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 widget_render_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">
|
||||
|
||||
@@ -5,7 +5,7 @@ $events=[
|
||||
{
|
||||
'__last__' => q|<TMPL_VAR __last__>|,
|
||||
'base_url' => q|<TMPL_VAR base_url>|,
|
||||
'cache_base_url' => q|<TMPL_VAR cache_base_url>|,
|
||||
'widget_render_url' => q|<TMPL_VAR widget_render_url>|,
|
||||
'comment_count' => q|<TMPL_VAR comment_count>|,
|
||||
'.controllers.event' => q|<TMPL_VAR .controllers.event>|,
|
||||
'.controllers.events' => q|<TMPL_VAR .controllers.events>|,
|
||||
|
||||
@@ -69,7 +69,7 @@ Content-type:text/xml; charset=UTF-8
|
||||
</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>
|
||||
<url>https://piradio.de<TMPL_VAR widget_render_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>" />
|
||||
|
||||
@@ -22,18 +22,18 @@ Content-type:text/html; charset=utf-8;
|
||||
</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>'"
|
||||
onclick="window.location.href='<TMPL_VAR widget_render_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>">
|
||||
<a href="<TMPL_VAR widget_render_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"
|
||||
<a href="<TMPL_VAR widget_render_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>
|
||||
|
||||
@@ -9,7 +9,7 @@ Content-type:application/rss+xml; charset=UTF-8
|
||||
|
||||
<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>
|
||||
<link>http:<TMPL_VAR base_domain><TMPL_VAR widget_render_url>/event.rss.xml</link>
|
||||
<title><TMPL_VAR project_title></title>
|
||||
<description><TMPL_VAR project_subtitle></description>
|
||||
<itunes:owner>
|
||||
|
||||
@@ -18,14 +18,14 @@ Content-type:text/html; charset=UTF-8;
|
||||
<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">
|
||||
<a href="<TMPL_VAR widget_render_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>"
|
||||
href="<TMPL_VAR widget_render_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>"
|
||||
|
||||
@@ -20,7 +20,7 @@ div.event div.title div{
|
||||
</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>"
|
||||
<a href="<TMPL_VAR widget_render_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>
|
||||
|
||||
@@ -1,5 +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>
|
||||
<TMPL_IF no_result>Andere Veranstalter</TMPL_IF><TMPL_LOOP NAME=events><a href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>" ><TMPL_VAR full_title></a></TMPL_LOOP>
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ Access-Control-Allow-Origin: *
|
||||
<body>
|
||||
<div id="playlist_container" class="dragscroll">
|
||||
<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>" >
|
||||
<a href="<TMPL_VAR widget_render_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>
|
||||
|
||||
@@ -3,7 +3,7 @@ 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>" />
|
||||
<meta http-equiv="refresh" content="0; url=<TMPL_LOOP NAME=events><TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url></TMPL_LOOP>" />
|
||||
</head>
|
||||
|
||||
<body></body>
|
||||
|
||||
@@ -50,7 +50,7 @@ Access-Control-Allow-Origin: *
|
||||
<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>">
|
||||
Aktuelle Sendung: <a href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>">
|
||||
<TMPL_VAR full_title>
|
||||
</a>
|
||||
</h1>
|
||||
@@ -60,14 +60,14 @@ Access-Control-Allow-Origin: *
|
||||
<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>">
|
||||
<a href="<TMPL_VAR widget_render_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">
|
||||
<a href="<TMPL_VAR widget_render_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>
|
||||
|
||||
Reference in New Issue
Block a user