]> git.mxchange.org Git - friendica.git/commitdiff
display names listed in credits.txt from /credits
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 29 Oct 2015 06:13:29 +0000 (07:13 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 29 Oct 2015 07:48:41 +0000 (08:48 +0100)
mod/credits.php [new file with mode: 0644]
util/credits.txt [new file with mode: 0644]
view/templates/credits.tpl [new file with mode: 0644]

diff --git a/mod/credits.php b/mod/credits.php
new file mode 100644 (file)
index 0000000..4907363
--- /dev/null
@@ -0,0 +1,20 @@
+<?php
+/**
+ * Show a credits page for all the developers who helped with the project
+ * (only contributors to the git repositories for friendica core and the
+ * addons repository will be listed though ATM)
+ */
+
+function credits_content (&$a) {
+    /* fill the page with credits */
+    $f = fopen('util/credits.txt','r');
+    $names = fread($f, filesize('util/credits.txt'));
+    $arr = explode("\n", htmlspecialchars($names));
+    fclose($f);
+    $tpl = get_markup_template('credits.tpl');
+    return replace_macros( $tpl, array(
+       '$pagetitle'            => t('Credits'),
+       '$thanks'               => t('Friendica is a community project, that would not be possible without the help of many people. Here is a list of those who have contributed to the code or the translation of Friendica. Thank you all!'),
+       '$names'         => $arr,
+    ));
+}
diff --git a/util/credits.txt b/util/credits.txt
new file mode 100644 (file)
index 0000000..60ac4c6
--- /dev/null
@@ -0,0 +1,164 @@
+23n
+Abinoam P. Marques Jr.
+Abrax
+Adam Jurkiewicz
+Alex
+Alexander Kampmann
+AlfredSK
+André Lohan
+Anthronaut
+Arian - Cazare Muncitori
+aweiher
+axelt
+balderino
+Beanow
+bufalo1973
+Calango Jr
+Carlos Solís
+Carsten Pfeiffer
+Cat Gray
+Chris Case
+Christian M. Grube
+Christian Vogeley
+Cohan Robinson
+Cyboulette
+Cyryl Sochacki
+czarnystokrotek
+Damien Goutte-Gattat
+Daniel Dupriest
+Daria Początek
+David
+David Martín Miranda
+Devlon Duthie
+Diego Souza
+Domovoy
+Doru  DEACONU
+Dylan Thiedeke
+Développeur égaré
+eddy2508
+effex7
+Elena
+emilia.krawczyk
+Eric Côté
+erik
+Erkan Yilmaz
+Fabian Dost
+Fabio Comuni
+felixgilles
+Filip Bugaj
+FlxAlbroscheit
+foss
+Francesco Apruzzese
+Frank Dieckmann
+Frederico Gonçalves Guimarães
+gerhard6380
+Gert Cauwenberg
+greeneyedred
+Gregory Smith
+Haakon Meland Eriksen
+Hans Meine
+hauke
+Hauke Altmann
+Hauke Zühl
+Hubert Kościański
+Jak
+Jakob
+jensp
+jeroenpraat
+Johannes Schwab
+John Brazil
+Josef Moravek
+juanman
+julia.domagalska
+Karel Vandecandelaere
+Karolina
+Keith Fernie
+Klaus Weidenbach
+Lea1995polish
+Leberwurscht
+Leonard Lausen
+Lionel Triay
+Ludovic Grossard
+maase2
+Magdalena Gazda
+Mai Anh Nguyen
+Manuel Pérez Monís
+Marcin Klessa
+Mariusz Pisz
+marmor
+Marquis_de_Carabas
+Martin Schmitt
+Mateusz Mikos
+Mats Sjöberg
+Matthew Exon
+Matthias
+Matthias Moritz
+Max Weller
+mhnxo
+Michael Johnston
+Michael Vogel
+Michal Šupler
+Michalina
+Mike Macgirvin
+Nicola Spanti
+Olaf Conradi
+Oliver
+Olivier
+Olivier Migeot
+Pavel Morozov
+peturisfeld
+Piotr Blonkowski
+pokerazor
+Rabuzarus
+Radek
+Rafael
+Rainulf Pineda
+rcmaniac
+rebeka-catalina
+repat
+Ricardo Pereira
+Rui Andrada
+Sam
+Sandro Santilli
+Sebastian Egbers
+sella
+Sennewood
+Seth
+Silke Meyer
+Simon L'nu
+Simó Albert i Beltran
+Stanislav N.
+StefOfficiel
+Sveinn í Felli
+Sven Anders
+Sylvain Lagacé
+szymon.filip
+Sérgio Lima
+Taekus
+Tazman DeVille
+Thomas
+Thomas Willingham
+thorsten23
+Tino
+Tobias Diekershoff
+Tobias Hößl
+tomamplius
+tomtom84
+Tony Baldwin
+TORminator
+tschlotfeldt
+Tubuntu
+tupambae
+tuscanhobbit
+U-SOUND\mike
+ufic
+Vasudev Kamath
+Vasya Novikov
+vislav
+Yasen Pramatarov
+ylms
+Zach Prezkuta
+Zered
+zottel
+Zvi ben Yaakov (a.k.a rdc)
+Михаил
\ No newline at end of file
diff --git a/view/templates/credits.tpl b/view/templates/credits.tpl
new file mode 100644 (file)
index 0000000..c049a9b
--- /dev/null
@@ -0,0 +1,8 @@
+<h1>{{$pagetitle}}</h1>
+<p>{{$thanks}}</p>
+
+<ul class="credits">
+{{foreach $names as $name}}
+ <li>{{$name}}</li>
+{{/foreach}}
+</ul>