configure site title and description
This commit is contained in:
@@ -1172,6 +1172,10 @@ sub render($$$$;$) {
|
||||
if ( defined $config->{permissions}->{hide_event_images} )
|
||||
&& ( $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 );
|
||||
|
||||
return $_[0];
|
||||
|
||||
@@ -113,5 +113,10 @@ domain ${DOMAIN}
|
||||
day_starting_hour 6
|
||||
</date>
|
||||
|
||||
no_result_message Radio ${DOMAIN}
|
||||
events_title Radio ${DOMAIN}
|
||||
events_description Hört mehr Radio
|
||||
|
||||
|
||||
</config>
|
||||
|
||||
|
||||
@@ -25,9 +25,14 @@
|
||||
</style>
|
||||
<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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user