-
Notifications
You must be signed in to change notification settings - Fork 102
Expand file tree
/
Copy pathawards.py
More file actions
248 lines (245 loc) · 9.58 KB
/
awards.py
File metadata and controls
248 lines (245 loc) · 9.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
# -*- coding: UTF-8 -*-
# vim: set expandtab sw=4 ts=4 sts=4:
#
# phpMyAdmin web site
#
# Copyright (C) 2008 - 2016 Michal Cihar <michal@cihar.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
"""Data for awards"""
from html import escape
# List of awards
AWARDS = [
{
'image': 'images/awards/2021-database-management-software.png',
'link': 'https://digital.com/database-management-software/#phpMyAdmin',
'title': 'Best Database Management Software of 2021',
'text': '''
<p>phpMyAdmin was listed in
<a href="https://digital.com/" target="_blank" rel="noopener">Digital.com's</a>
<a href="%(link)s" target="_blank" rel="noopener">Best Database Management Software list</a>
in January 2021.</p>
''',
'photos': [],
},
{
'image': 'images/awards/2017-hosting-advice.png',
'link': 'https://www.hostingadvice.com/blog/why-phpmyadmin-best-db-admin-tool-for-business/',
'title': 'Best Database Admin Tool for Business Hosting',
'text': '''
<p>phpMyAdmin was awarded
<a href="https://www.hostingadvice.com/" target="_blank" rel="noopener">HostingAdvice</a>'s
<a href="%(link)s" target="_blank" rel="noopener">Best Database Admin Tool for Business Hosting</a>
in January 2017.</p>
''',
'photos': [],
},
{
'image': 'images/awards/percona-live-logo.png',
'link': 'https://openlife.cc/blogs/2013/april/mysql-community-awards-2013-and-winners-are',
'title': '2013 MySQL Community Awards',
'text': '''
<p>At the <a href="%(link)s" target="_blank" rel="noopener">2013 MySQL Community Awards</a> ceremony, our
project has won MySQL Application of the year 2013.</p>
''',
'photos': [
(
'images/awards/2013-community-awards-3.jpg',
'Accepting the award',
'Marc Delisle representing the team'
),
(
'images/awards/2013-community-awards-1.jpg',
'The trophy',
'The trophy'
),
(
'images/awards/2013-community-awards-2.jpg',
'The trophy\'s inscription',
'The trophy\'s inscription'
),
],
},
{
'image': 'images/awards/sf_cca_2009_logo.png',
'link': 'https://sourceforge.net/blog/cca06/',
'title': '2009 SourceForge.net Community Choice Awards',
'text': '''
<p>For the <a href="%(link)s" target="_blank" rel="noopener">2009 SourceForge.net Community Choice Awards</a>,
phpMyAdmin was present in two categories: Best Tool or Utility for Developers (finalist) and Best Tool or Utility for SysAdmins (winner).</p>
''',
'photos': [
(
'images/awards/sf_cca_2009_trophy.jpg',
'The trophy',
'The trophy'
)
],
},
{
'image': 'images/awards/infoworld-bossie-2008.jpg',
'link': 'http://www.infoworld.com/',
'title': 'InfoWorld 2008 Best of Open Source Awards',
'text': '''
<p>Our project has won this <a href="%(link)s" target="_blank" rel="noopener">Infoworld 2008 award:</a>
Best of open source platforms and middleware (MySQL administration).</p>
''',
'photos': [],
},
{
'image': 'images/awards/sf_cca_2008_winner.png',
'link': 'https://sourceforge.net/blog/cca08',
'title': '2008 SourceForge.net Community Choice Awards',
'text': '''
<p>For the <a href="%(link)s" target="_blank" rel="noopener">2008 SourceForge.net Community Choice Awards</a>,
phpMyAdmin was present in three categories: Best Tool or Utility for Developers (finalist), Best Tool or Utility for SysAdmins (winner), and Most Likely to Be the Next $1B Acquisition (winner).</p>
''',
'photos': [
(
'images/awards/sf_cca_2008_trophies.jpg',
'The two trophies',
'The two trophies'
)
],
},
{
'image': 'images/awards/sf_cca_2007_sysadmin.gif',
'link': 'https://sourceforge.net/blog/cca07',
'title': '2007 SourceForge.net Community Choice Awards',
'text': '''
<p>For the <a href="%(link)s" target="_blank" rel="noopener">2007 SourceForge.net Community Choice Awards</a>,
phpMyAdmin was present in two categories: Best Tool or Utility for Developers (nominated) and Best Tool or Utility for SysAdmins (winner).</p>
''',
'photos': [
(
'images/awards/sf_cca_2007_trophy.jpg',
'The trophy',
'The trophy'
)
],
},
{
'image': 'images/awards/2006-trophees-logo.png',
'link': 'https://tropheesdulibre.org/',
'title': '2006 Trophees du Libre',
'text': '''
<p>phpMyAdmin has won a Silver Trophy at the Third Trophees du Libre
(Free Software Awards) in the category PHP.</p>
''',
'photos': [
(
'images/awards/2006-trophees-marc.jpg',
'Receiving the award',
'Marc Delisle (right) receiving the award in the name of '
'the phpMyAdmin development team.'
)
],
},
{
'image': 'images/awards/2005-os2world.png',
'link': 'https://www.os2world.com/',
'title': '2005 OS2World.com Awards',
'text': '''
<p>For the <a href="%(link)s" target="_blank" rel="noopener">5th Annual OS/2 World Awards</a>,
phpMyAdmin won in the category Best PHP Application.</p>
''',
'photos': [],
},
{
'image': 'images/awards/sf_cca_2006_winner.png',
'link': 'https://sourceforge.net/blog/cca06/',
'title': '2006 SourceForge.net Community Choice Awards',
'text': '''
<p>For the first annual SourceForge.net <a href="%(link)s" target="_blank" rel="noopener">Community Choice
Awards</a>, phpMyAdmin won the first place in two categories: Databases and Sysadmin.</p>
''',
'photos': [],
},
{
'image': 'images/awards/2006-phpmag-ger.png',
'link': 'https://www.phpmagazin.de/',
'title': 'PHP Magazin Reader\'s Choice Award 2006',
'text': '''
<p>phpMyAdmin was awarded the Reader's Choice Award 2006 in the category Best PHP-Tool / Best PHP-Application
by the readers of the <a href="%(link)s" target="_blank" rel="noopener">German PHP Magazin</a>.</p>
''',
'photos': [],
},
{
'image': 'images/awards/2005-phpmag-ger.gif',
'link': 'https://www.phpmagazin.de/',
'title': 'PHP Magazin Reader\'s Choice Award 2005',
'text': '''
<p>phpMyAdmin was awarded the Reader's Choice Award 2005 in the category Best PHP-Tool / Best PHP-Application
by the readers of the <a href="%(link)s" target="_blank" rel="noopener">German PHP Magazin</a>.</p>
''',
'photos': [],
},
{
'image': 'images/awards/2003-phpmag-ger.gif',
'link': 'https://www.phpmagazin.de/',
'title': 'PHP Magazin Reader\'s Choice Award 2003',
'text': '''
<p>phpMyAdmin was awarded the Reader's Choice Award 2003 in the category Best PHP-Tool / Best PHP-Application
by the readers of the <a href="%(link)s" target="_blank" rel="noopener">German PHP Magazin</a>.</p>
''',
'photos': [
(
'images/awards/2003-php-conf.jpg',
'Receiving the award',
'Alexander Turek and Garvin Hicking receiving the award '
'in the name of the phpMyAdmin development team at '
'2003 PHP International Conference.'
)
],
},
{
'image': 'images/awards/2003-phpmag-int.gif',
'link': 'https://www.phpmagazin.de/',
'title': 'International PHP Magazine Reader\'s Choice Award 2003',
'text': '''
<p>phpMyAdmin was awarded the Reader's Choice Award 2003 in the category Best PHP-Tool / Best PHP-Application
by the readers of the <a href="%(link)s" target="_blank" rel="noopener">International PHP Magazine</a>.</p>
''',
'photos': [
(
'images/awards/2003-php-conf.jpg',
'Receiving the award',
'Alexander Turek and Garvin Hicking receiving the award '
'in the name of the phpMyAdmin development team at '
'2003 PHP International Conference.'
)
],
},
{
'image': 'images/awards/2002-12-sfnet-potm.png',
'link': 'https://sourceforge.net/potm/potm-2002-12.php',
'title': 'Sourceforge.net project of the month',
'text': '''
<p>phpMyAdmin was awarded
<a href="https://sourceforge.net" target="_blank" rel="noopener">Sourceforge.net</a>'s
<a href="%(link)s" target="_blank" rel="noopener">Project of the month</a>
in December 2002. Have a look at that <a href="%(link)s" target="_blank" rel="noopener">article</a>, if you
want to learn about the early years of phpMyAdmin.</p>
''',
'photos': [],
},
]
# Allow award text to use other things as format string
for award in AWARDS:
award['text'] = award['text'] % {
'link': escape(award['link'])
}