template: custom themes for agenda

For agenda a custom theme can be configured in locations/theme.
Templates are read from the subdirectory "templates/<theme>/".  The
default theme is "default".  All Templates are moved to
templates/default.
This commit is contained in:
Milan
2023-02-25 11:06:52 +01:00
parent e067bc1448
commit ebd521452a
38 changed files with 8 additions and 12 deletions

View File

@@ -0,0 +1,21 @@
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
</TMPL_IF>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>
<TMPL_LOOP comments>
<a 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>