configure site title and description
This commit is contained in:
@@ -1172,6 +1172,10 @@ sub render($$$$;$) {
|
|||||||
if ( defined $config->{permissions}->{hide_event_images} )
|
if ( defined $config->{permissions}->{hide_event_images} )
|
||||||
&& ( $config->{permissions}->{hide_event_images} == 1 );
|
&& ( $config->{permissions}->{hide_event_images} == 1 );
|
||||||
|
|
||||||
|
for my $attr (qw(no_result events_title events_description)){
|
||||||
|
$template_parameters->{$attr} = $config->{$attr};
|
||||||
|
}
|
||||||
|
|
||||||
template::process( $config, $_[0], $params->{template}, $template_parameters );
|
template::process( $config, $_[0], $params->{template}, $template_parameters );
|
||||||
|
|
||||||
return $_[0];
|
return $_[0];
|
||||||
|
|||||||
@@ -113,5 +113,10 @@ domain ${DOMAIN}
|
|||||||
day_starting_hour 6
|
day_starting_hour 6
|
||||||
</date>
|
</date>
|
||||||
|
|
||||||
|
no_result_message Radio ${DOMAIN}
|
||||||
|
events_title Radio ${DOMAIN}
|
||||||
|
events_description Hört mehr Radio
|
||||||
|
|
||||||
|
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
|
|||||||
@@ -25,9 +25,14 @@
|
|||||||
</style>
|
</style>
|
||||||
<div class="content" style="clear:both">
|
<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>
|
<div id="coming_shows"></div>
|
||||||
|
|
||||||
<a href="/agenda/programm.html">
|
<a href="/agenda/programm.html">
|
||||||
Programmplan
|
Programmplan
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -14,12 +14,7 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!--
|
<div class="content" style="clear:both"><TMPL_VAR no_result_message escape="none"></div>
|
||||||
<div class="content" style="clear:both">
|
|
||||||
nichts gefunden...<br>
|
|
||||||
<br>
|
|
||||||
</div>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<h3 class="summary title">Kommende Sendungen</h3>
|
<h3 class="summary title">Kommende Sendungen</h3>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user