1 |
<?php |
2 |
/** |
3 |
*/ |
4 |
|
5 |
$orgs = array( |
6 |
array('http://www.mandrivafr.org/', 'AUFML'), |
7 |
array('http://dedibox.fr/', 'Dédibox'), |
8 |
array('http://www.gandi.net/', 'Gandi.net'), |
9 |
array('http://www.kazar.net/', 'Kazar.net'), |
10 |
array('http://www.lost-oasis.net/', 'Lost-Oasis'), |
11 |
array('http://www.mageialinux-online.org/', 'MLO'), |
12 |
array('http://nfrance.fr/', 'NFrance'), |
13 |
array('http://www.spreadshirt.com/', 'Spreadshirt'), |
14 |
array('http://zarb.org/', 'zarb.org'), |
15 |
|
16 |
// see mirrors.mageia.org |
17 |
array('http://www.upmc.fr/', 'Université Pierre et Marie Curie'), |
18 |
array('http://www.ibiblio.org/', 'The Public\'s Library and Digital Archive'), |
19 |
array('http://www.mandrivauser.de', 'Mandrivauser.de'), |
20 |
array('http://www.hs-esslingen.de/', 'Hochschule Esslingen'), |
21 |
array('http://uni-erlangen.de/', 'Universität Erlangen-Nürnberg'), |
22 |
// mageia.supp.name? |
23 |
// fundawang.lcuc.org.cn? |
24 |
// ftp.LinuxCabal.org? |
25 |
// mageia.nautile.nc? |
26 |
); |
27 |
|
28 |
|
29 |
/** |
30 |
*/ |
31 |
function html_people_list($people) |
32 |
{ |
33 |
$html = '<ul class="ty-ppl-list">'; |
34 |
foreach ($people as $p) |
35 |
$html .= sprintf('<li>%s</li>', $p); |
36 |
$html .= '</ul>'; |
37 |
|
38 |
return $html; |
39 |
} |
40 |
|
41 |
/** |
42 |
*/ |
43 |
function html_orgs_list($orgs) |
44 |
{ |
45 |
$html = '<ul class="ty-ppl-list twocol">'; |
46 |
foreach ($orgs as $o) |
47 |
$html .= sprintf('<li><a href="%s">%s</a> %s</li>', $o[0], $o[1], @$o[2]); |
48 |
$html .= '</ul>'; |
49 |
|
50 |
return $html; |
51 |
} |
52 |
|