Merge pull request #223 from jlauinger/add-contact-email-configuration

Make contact email address configurable
This commit is contained in:
msquare 2015-11-28 19:22:24 +01:00
commit de52fc7fb0
3 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,9 @@ $maintenance_mode = false;
// URL to the angel faq and job description // URL to the angel faq and job description
$faq_url = "https://events.ccc.de/congress/2013/wiki/Static:Volunteers"; $faq_url = "https://events.ccc.de/congress/2013/wiki/Static:Volunteers";
// contact email address, linked on every page
$contact_email = "mailto:erzengel@lists.ccc.de";
// Default-Theme auf der Startseite, 1=style1.css usw. // Default-Theme auf der Startseite, 1=style1.css usw.
$default_theme = 1; $default_theme = 1;

View File

@ -157,6 +157,7 @@ echo template_render('../templates/layout.html', array(
'content' => msg() . $content, 'content' => msg() . $content,
'header_toolbar' => header_toolbar(), 'header_toolbar' => header_toolbar(),
'faq_url' => $faq_url, 'faq_url' => $faq_url,
'contact_email' => $contact_email,
'locale' => locale() 'locale' => locale()
)); ));

View File

@ -29,7 +29,7 @@
<div class="col-md-12"> <div class="col-md-12">
<hr /> <hr />
<div class="text-center footer" style="margin-bottom: 10px;"> <div class="text-center footer" style="margin-bottom: 10px;">
<a href="%faq_url%">FAQ</a> · <a href="mailto:erzengel@lists.ccc.de"><span class="glyphicon glyphicon-envelope"></span> Contact</a> · <a href="https://github.com/engelsystem/engelsystem/issues">Bugs / Features</a> · <a href="https://github.com/engelsystem/engelsystem/">Development <a href="%faq_url%">FAQ</a> · <a href="%contact_email%"><span class="glyphicon glyphicon-envelope"></span> Contact</a> · <a href="https://github.com/engelsystem/engelsystem/issues">Bugs / Features</a> · <a href="https://github.com/engelsystem/engelsystem/">Development
Platform</a> · <a href="?p=credits">Credits</a> Platform</a> · <a href="?p=credits">Credits</a>
</div> </div>
</div> </div>