[med-svn] r533 - in trunk/community/website: . img
hanska-guest at alioth.debian.org
hanska-guest at alioth.debian.org
Wed Oct 3 15:12:01 UTC 2007
Author: hanska-guest
Date: 2007-10-03 15:12:01 +0000 (Wed, 03 Oct 2007)
New Revision: 533
Removed:
trunk/community/website/img/tools.png
Modified:
trunk/community/website/index.php
Log:
List generated automatically.
Removing unused icon.
Deleted: trunk/community/website/img/tools.png
===================================================================
(Binary files differ)
Modified: trunk/community/website/index.php
===================================================================
--- trunk/community/website/index.php 2007-10-03 14:50:55 UTC (rev 532)
+++ trunk/community/website/index.php 2007-10-03 15:12:01 UTC (rev 533)
@@ -35,21 +35,55 @@
<div class="sectionTop"></div>
<div class="row">
<div class="relatedHeading">
- <img src="/img/tools.png" alt="Project Members" />
<table class="related">
- <tr><td><img src="/img/wh_green.png" alt="Project Administrator" />Andreas Tille</td></tr>
- <tr><td><img src="/img/wh_green.png" alt="Project Administrator" />Charles Plessy</td></tr>
- <tr><td><img src="/img/wh_grey.png" alt="Project Developer" />Changyan Xie</td></tr>
- <tr><td><img src="/img/wh_grey.png" alt="Project Developer" />Daniel Bayer</td></tr>
- <tr><td><img src="/img/wh_grey.png" alt="Project Developer" />David Paleino</td></tr>
- <tr><td><img src="/img/wh_grey.png" alt="Project Developer" />Michael Hanke</td></tr>
- <tr><td><img src="/img/wh_grey.png" alt="Project Developer" />Moriyoshi Koizumi</td></tr>
- <tr><td><img src="/img/wh_grey.png" alt="Project Developer" />Nelson A. de Oliveira</td></tr>
- <tr><td><img src="/img/wh_grey.png" alt="Project Developer" />Philipp Benner</td></tr>
- <tr><td><img src="/img/wh_green.png" alt="Project Administrator" />Steffen Möller</td></tr>
- <tr><td><img src="/img/wh_grey.png" alt="Project Developer" />Steven Michael Robbins</td></tr>
- <tr><td><img src="/img/wh_green.png" alt="Project Administrator" />Thijs Kinkhorst</td></tr>
- <tr><td><img src="/img/wh_grey.png" alt="Project Developer" />Vincent Danjean</td></tr>
+ <?php
+ $members = array(
+ "admins" => array(
+ "Andreas Tille",
+ "Charles Plessy",
+ "Steffen Möller",
+ "Thijs Kinkhorst"),
+ "developers" => array(
+ "Changyan Xie",
+ "Daniel Bayer",
+ "David Paleino",
+ "Michael Hanke",
+ "Moriyoshi Koizumi",
+ "Nelson A. de Oliveira",
+ "Philipp Benner",
+ "Steven Michael Robbins",
+ "Vincent Danjean")
+ );
+
+ foreach ($members as $role => $names) {
+ foreach($names as $person) {
+ $sorted_members[] = array($person => $role);
+ }
+ }
+
+ ksort($sorted_members);
+
+ $img = "";
+
+ foreach ($sorted_members as $member => $role) {
+ switch ($role) {
+ case "admin":
+ $img = "/img/wh_green.png";
+ $alt = "Project Administrator";
+ break;
+ case "developer":
+ default:
+ $img = "/img/wh_grey.png";
+ $alt = "Project Developer";
+ }
+ ?>
+ <tr><td>
+ <img src="<?=$img?>" alt="<?=$alt?>" />
+ <?=$member?>
+ </td></tr>
+ <?php
+ }
+ ?>
</table>
</div>
</div>
More information about the debian-med-commit
mailing list