1 : /*
2 : +----------------------------------------------------------------------+
3 : | PHP Version 6 |
4 : +----------------------------------------------------------------------+
5 : | Copyright (c) 1997-2009 The PHP Group |
6 : +----------------------------------------------------------------------+
7 : | This source file is subject to version 3.01 of the PHP license, |
8 : | that is bundled with this package in the file LICENSE, and is |
9 : | available through the world-wide-web at the following url: |
10 : | http://www.php.net/license/3_01.txt |
11 : | If you did not receive a copy of the PHP license and are unable to |
12 : | obtain it through the world-wide-web, please send a note to |
13 : | license@php.net so we can mail you a copy immediately. |
14 : +----------------------------------------------------------------------+
15 : | Authors: Rasmus Lerdorf <rasmus@php.net> |
16 : | Zeev Suraski <zeev@zend.com> |
17 : +----------------------------------------------------------------------+
18 : */
19 :
20 : /* $Id: credits.c 288448 2009-09-18 23:06:21Z bjori $ */
21 :
22 : #include "php.h"
23 : #include "info.h"
24 : #include "SAPI.h"
25 :
26 : /* NOTE: keep utf8 */
27 :
28 : #define CREDIT_LINE(module, authors) php_info_print_table_row(2, module, authors)
29 : #define CREDIT_PUTS(s) php_output_write_utf8((s), strlen(s) TSRMLS_CC)
30 :
31 : PHPAPI void php_print_credits(int flag TSRMLS_DC) /* {{{ */
32 6 : {
33 6 : if (!sapi_module.phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE) {
34 1 : php_print_info_htmlhead(TSRMLS_C);
35 : }
36 :
37 6 : if (!sapi_module.phpinfo_as_text) {
38 3 : CREDIT_PUTS("<h1>PHP Credits</h1>\n");
39 : } else {
40 3 : CREDIT_PUTS("PHP Credits\n");
41 : }
42 :
43 6 : if (flag & PHP_CREDITS_GROUP) {
44 : /* Group */
45 :
46 4 : php_info_print_table_start();
47 4 : php_info_print_table_header(1, "PHP Group");
48 4 : php_info_print_table_row(1, "Thies C. Arntzen, Stig Bakken, Shane Caraveo, Andi Gutmans, Rasmus Lerdorf, Sam Ruby, Sascha Schumann, Zeev Suraski, Jim Winstead, Andrei Zmievski");
49 4 : php_info_print_table_end();
50 : }
51 :
52 6 : if (flag & PHP_CREDITS_GENERAL) {
53 : /* Design & Concept */
54 2 : php_info_print_table_start();
55 2 : if (!sapi_module.phpinfo_as_text) {
56 1 : php_info_print_table_header(1, "Language Design & Concept");
57 : } else {
58 1 : php_info_print_table_header(1, "Language Design & Concept");
59 : }
60 2 : php_info_print_table_row(1, "Andi Gutmans, Rasmus Lerdorf, Zeev Suraski, Marcus Boerger");
61 2 : php_info_print_table_end();
62 :
63 : /* PHP Language */
64 2 : php_info_print_table_start();
65 2 : php_info_print_table_colspan_header(2, "PHP Authors");
66 2 : php_info_print_table_header(2, "Contribution", "Authors");
67 2 : CREDIT_LINE("Zend Scripting Language Engine", "Andi Gutmans, Zeev Suraski, Stanislav Malyshev, Marcus Boerger, Dmitry Stogov");
68 2 : CREDIT_LINE("Extension Module API", "Andi Gutmans, Zeev Suraski, Andrei Zmievski");
69 2 : CREDIT_LINE("UNIX Build and Modularization", "Stig Bakken, Sascha Schumann, Jani Taskinen");
70 2 : CREDIT_LINE("Windows Port", "Shane Caraveo, Zeev Suraski, Wez Furlong, Pierre-Alain Joye");
71 2 : CREDIT_LINE("Server API (SAPI) Abstraction Layer", "Andi Gutmans, Shane Caraveo, Zeev Suraski");
72 2 : CREDIT_LINE("Streams Abstraction Layer", "Wez Furlong, Sara Golemon");
73 2 : CREDIT_LINE("PHP Data Objects Layer", "Wez Furlong, Marcus Boerger, Sterling Hughes, George Schlossnagle, Ilia Alshanetsky");
74 2 : php_info_print_table_end();
75 :
76 : /* Unicode support */
77 2 : php_info_print_table_start();
78 2 : php_info_print_table_colspan_header(2, "Unicode Support");
79 2 : php_info_print_table_header(2, "Contribution", "Authors");
80 2 : CREDIT_LINE("Design and Architecture", "Andrei Zmievski");
81 2 : CREDIT_LINE("Zend Engine implementation", "Andrei Zmievski, Dmitry Stogov");
82 2 : php_info_print_table_end();
83 : }
84 :
85 6 : if (flag & PHP_CREDITS_SAPI) {
86 : /* SAPI Modules */
87 :
88 2 : php_info_print_table_start();
89 2 : php_info_print_table_colspan_header(2, "SAPI Modules");
90 2 : php_info_print_table_header(2, "Contribution", "Authors");
91 : #include "credits_sapi.h"
92 2 : php_info_print_table_end();
93 : }
94 :
95 6 : if (flag & PHP_CREDITS_MODULES) {
96 : /* Modules */
97 :
98 2 : php_info_print_table_start();
99 2 : php_info_print_table_colspan_header(2, "Module Authors");
100 2 : php_info_print_table_header(2, "Module", "Authors");
101 : #include "credits_ext.h"
102 2 : php_info_print_table_end();
103 : }
104 :
105 6 : if (flag & PHP_CREDITS_DOCS) {
106 2 : php_info_print_table_start();
107 2 : php_info_print_table_colspan_header(2, "PHP Documentation");
108 2 : CREDIT_LINE("Authors", "Mehdi Achour, Friedhelm Betz, Antony Dovgal, Nuno Lopes, Hannes Magnusson, Georg Richter, Damien Seguy, Jakub Vrana");
109 2 : CREDIT_LINE("Editor", "Philip Olson");
110 2 : CREDIT_LINE("User Note Maintainers", "Friedhelm Betz, Etienne Kneuss, Nuno Lopes, Hannes Magnusson, Felipe Pena, Maciek Sokolewicz");
111 2 : CREDIT_LINE("Other Contributors", "Previously active authors, editors and other contributors are listed in the manual.");
112 2 : php_info_print_table_end();
113 : }
114 :
115 6 : if (flag & PHP_CREDITS_QA) {
116 2 : php_info_print_table_start();
117 2 : php_info_print_table_header(1, "PHP Quality Assurance Team");
118 2 : php_info_print_table_row(1, "Ilia Alshanetsky, Joerg Behrens, Antony Dovgal, Stefan Esser, Moriyoshi Koizumi, Magnus Maatta, Sebastian Nohn, Derick Rethans, Melvyn Sopacua, Jani Taskinen");
119 2 : php_info_print_table_end();
120 : }
121 :
122 6 : if (flag & PHP_CREDITS_WEB) {
123 : /* Websites and infrastructure */
124 :
125 2 : php_info_print_table_start();
126 2 : php_info_print_table_colspan_header(2, "Websites and Infrastructure team");
127 : /* www., wiki., windows., master., and others, I guess pecl. too? */
128 2 : CREDIT_LINE("PHP Websites Team", "Rasmus Lerdorf, Hannes Magnusson, Philip Olson, Lukas Kahwe Smith, Pierre-Alain Joye, Kalle Sommer Nielsen");
129 2 : CREDIT_LINE("Event Maintainers", "Damien Seguy, Daniel P. Brown");
130 : /* Mirroring */
131 2 : CREDIT_LINE("Network Infrastructure", "Daniel P. Brown");
132 : /* Windows build boxes and such things */
133 2 : CREDIT_LINE("Windows Infrastructure", "Alex Schoenmaker");
134 2 : php_info_print_table_end();
135 : }
136 :
137 6 : if (!sapi_module.phpinfo_as_text && flag & PHP_CREDITS_FULLPAGE) {
138 1 : CREDIT_PUTS("</div></body></html>\n");
139 : }
140 6 : }
141 : /* }}} */
142 :
143 : /*
144 : * Local variables:
145 : * tab-width: 4
146 : * c-basic-offset: 4
147 : * End:
148 : * vim600: sw=4 ts=4 fdm=marker
149 : * vim<600: sw=4 ts=4
150 : */
|