move config cache/base_url to locations/widget_render_url
This commit is contained in:
@@ -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>
|
||||
-->
|
||||
|
||||
Reference in New Issue
Block a user