From 21e66fcce6fbf09ff9209101aae853ae223ac0a3 Mon Sep 17 00:00:00 2001 From: Andreas Hubel Date: Tue, 22 Dec 2020 19:29:17 +0100 Subject: add option for additonal licence text on about page --- configs/conferences/rc3/config.php | 4 +++- model/Conference.php | 3 +++ template/about.phtml | 7 +++++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/configs/conferences/rc3/config.php b/configs/conferences/rc3/config.php index 3b7a830..9d20143 100644 --- a/configs/conferences/rc3/config.php +++ b/configs/conferences/rc3/config.php @@ -101,13 +101,15 @@ $CONFIG['CONFERENCE'] = array( * Wird beides aktiviert, hat der externe Link Vorrang! * Wird beides auskommentiert, wird der Link nicht angezeigt */ - 'RELIVE_JSON' => 'https://cdn.c3voc.de/relive/rc3/index.json' + 'RELIVE_JSON' => 'https://cdn.c3voc.de/relive/rc3/index.json', /** * APCU-Cache-Zeit in Sekunden * Wird diese Zeile auskommentiert, werden die apc_*-Methoden nicht verwendet und * das Relive-Json bei jedem Request von der Quelle geladen und geparst */ //'RELIVE_JSON_CACHE' => 30*60, + + 'ADDITIONAL_LICENCE_HTML' => 'Some sound effects and music obtained from zapsplat.com', ); /** diff --git a/model/Conference.php b/model/Conference.php index 26bcc8b..fcc43c0 100644 --- a/model/Conference.php +++ b/model/Conference.php @@ -249,4 +249,7 @@ class Conference extends ModelBase public function getAdditionalHtml() { return $this->get('CONFERENCE.ADDITIONAL_HTML'); } + public function getAdditionalLicenceHtml() { + return $this->get('CONFERENCE.ADDITIONAL_LICENCE_HTML'); + } } diff --git a/template/about.phtml b/template/about.phtml index ec2791e..3d69f4a 100644 --- a/template/about.phtml +++ b/template/about.phtml @@ -1,12 +1,15 @@

About the Live-Streams and Recordings

- Lecture recording and streaming at getTitle())?> is organized and performed by the Chaos Computer Club Video Operation Center. All times in the schedule are UTC+2, we are happy to accept Pull requests to fix that, c.f. https://github.com/openstreetmap/stateofthemap-2020/issues/61. + Lecture recording and streaming at getTitle())?> is organized and performed by the Chaos Computer Club Video Operation Center.

Licences

- The video stream is licensed under CC Attribution 4.0 (CC BY 4.0). This may not hold true for the slides or the actual performance. If in doubt please contact the speaker directly. + The video stream is licensed under CC Attribution 4.0 International (CC BY 4.0). This may not hold true for the slides or the actual performance. If in doubt please contact the speaker directly. +

+

+ getAdditionalLicenceHtml()?>

Although the licence permits it, we would like to ask you not to distribute stream dumps. We try to release finished cuts of recordings as quickly as possible -- cgit v1.2.3