diff options
author | msquare <msquare@notrademark.de> | 2015-11-28 19:22:24 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2015-11-28 19:22:24 +0100 |
commit | de52fc7fb0d770dbff802b5c7d4990c8a8ec5d98 (patch) | |
tree | a6d1106bb097a0e866ef8566f268e033908dc877 | |
parent | ecf25f5d2a1793671474fb9dfe816001b98b4770 (diff) | |
parent | 999ff3fc7ae857846e6947fc52ae1e9ebd4757ed (diff) |
Merge pull request #223 from jlauinger/add-contact-email-configuration
Make contact email address configurable
-rw-r--r-- | config/config.default.php | 3 | ||||
-rw-r--r-- | public/index.php | 1 | ||||
-rw-r--r-- | templates/layout.html | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/config/config.default.php b/config/config.default.php index 4aa8d154..e9ec0427 100644 --- a/config/config.default.php +++ b/config/config.default.php @@ -6,6 +6,9 @@ $maintenance_mode = false; // URL to the angel faq and job description $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 = 1; diff --git a/public/index.php b/public/index.php index 04146088..520649ed 100644 --- a/public/index.php +++ b/public/index.php @@ -157,6 +157,7 @@ echo template_render('../templates/layout.html', array( 'content' => msg() . $content, 'header_toolbar' => header_toolbar(), 'faq_url' => $faq_url, + 'contact_email' => $contact_email, 'locale' => locale() )); diff --git a/templates/layout.html b/templates/layout.html index e1a884f6..ee7fcd2d 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -29,7 +29,7 @@ <div class="col-md-12"> <hr /> <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> </div> </div> |