Trying to rock the boat as little as possible in terms of design.

Markup/css: Saner (data) tables markup. Remove deprecated css from 
style. Add global typography defaults. Remove redundant typography from 
style.css. 
PHP: Remove (most) PHP code from the developers page. New developer list 
parser. Move inactive developers to an array (should be a 
"/var/www/web/devs/inactive" folder in svn). New developer list print 
functions.


SVN revision: 51733
This commit is contained in:
Andres Blanc 2010-08-29 21:26:46 +00:00
parent cb1fd39bbc
commit 166f342cf1
9 changed files with 545 additions and 611 deletions

12
p.php
View File

@ -1,6 +1,10 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<?php include 'site/site.php'; ?>
<?php
include 'site/site.php';
include 'site/developers.php';
include 'site/helpers.php';
?>
<html>
<head>
<title><?php echo $title; ?></title>
@ -76,11 +80,7 @@ if (is_file("p/$page/$lang-rss"))
<div id="sitefooter">
<div class="layout">
<table width="100%">
<tr>
<td width="100%" align="center">Copyright &copy; Enlightenment.org</td>
</tr>
</table>
<p> Copyright &copy; Enlightenment.org</p>
</div>
</div>

View File

@ -10,55 +10,59 @@
The Enlightenment Project has several mailing lists to aid you. The
following table contains a summary, including links to the list archives.
To add, remove or otherwise modify a subscription to these lists,
simply click on the list name in the &quot;Mailing List&quot; column and enter your
simply click on the list name in the &quot;Mailing List&quot; column and enter your
subscription details into the form.
</p>
<center>
<table class='tab'>
<tr><th class='tab'>MAILING LIST</th>
<th class='tab'>ARCHIVE</th>
<th class='tab'>DESCRIPTION</th>
</tr>
<tr>
<td class='tab1'><a href="http://lists.sourceforge.net/lists/listinfo/enlightenment-announce">Enlightenment Announce</a></td>
<td class='tab1'><a href="http://sourceforge.net/mailarchive/forum.php?forum_name=enlightenment-announce">SourceForge</a>, <a href="http://marc.theaimsgroup.com/?l=enlightenment-announce&r=1&w=2">MARC</a></td>
<td class='tab1'>Recieve notification of all new releases.</td>
</tr>
<tr>
<td class='tab2'><a href="http://lists.sourceforge.net/lists/listinfo/enlightenment-users">Enlightenment Users List</a></td>
<td class='tab2'><a href="http://sourceforge.net/mailarchive/forum.php?forum_name=enlightenment-users">SourceForge</a>, <a href="http://marc.theaimsgroup.com/?l=enlightenment-users&r=1&w=2">MARC</a></td>
<td class='tab2'>General mailing list for questions, help, comments, feedback and anything E related.</td>
</tr>
<tr>
<td class='tab1'><a href="http://lists.sourceforge.net/lists/listinfo/enlightenment-devel">Enlightenment Development List</a></td>
<td class='tab1'><a href="http://sourceforge.net/mailarchive/forum.php?forum_name=enlightenment-devel">SourceForge</a>, <a href="http://marc.theaimsgroup.com/?l=enlightenment-devel&r=1&w=2">MARC</a></td>
<td class='tab1'>Developer only list. If your message does not directly involve code post to the users group.</td>
</tr>
<tr>
<td class='tab2'><a href="http://lists.sourceforge.net/lists/listinfo/enlightenment-svn">Enlightenment SVN Commit List</a></td>
<td class='tab2'><a href="http://sourceforge.net/mailarchive/forum.php?forum_name=enlightenment-svn">SourceForge</a></td>
<td class='tab2'>Get email notification of all SVN updates.</td>
</tr>
<tr>
<td class='tab1'><a href="http://lists.sourceforge.net/lists/listinfo/enlightenment-intl">Enlightenment Internationalisation List</a></td>
<td class='tab1'><a href="http://sourceforge.net/mailarchive/forum.php?forum_name=enlightenment-intl">SourceForge</a></td>
<td class='tab1'>Mailling list for l10n and i18n. Send your translations of E to this list. </td>
</tr>
<tr>
<td class='tab2'><a href="http://lists.sourceforge.net/lists/listinfo/enlightenment-bugs">Enlightenment Bug Traker Notification</a></td>
<td class='tab2'><a href="http://sourceforge.net/mailarchive/forum.php?forum_name=enlightenment-bugs">SourceForge</a></td>
<td class='tab2'>Receive notification for all bugs committed to Trac.</td>
</tr>
<table class="data mailing">
<thead>
<tr>
<th class="name">Mailing List</th>
<th class="archive">Archive</th>
<th class="description">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><a href="http://lists.sourceforge.net/lists/listinfo/enlightenment-announce">Enlightenment Announce</a></td>
<td class="archive"><a href="http://sourceforge.net/mailarchive/forum.php?forum_name=enlightenment-announce">SourceForge</a>, <a href="http://marc.theaimsgroup.com/?l=enlightenment-announce&r=1&w=2">MARC</a></td>
<td class="description">Recieve notification of all new releases.</td>
</tr>
<tr class="odd">
<td class="name"><a href="http://lists.sourceforge.net/lists/listinfo/enlightenment-users">Enlightenment Users List</a></td>
<td class="archive"><a href="http://sourceforge.net/mailarchive/forum.php?forum_name=enlightenment-users">SourceForge</a>, <a href="http://marc.theaimsgroup.com/?l=enlightenment-users&r=1&w=2">MARC</a></td>
<td class="description">General mailing list for questions, help, comments, feedback and anything E related.</td>
</tr>
<tr>
<td class="name"><a href="http://lists.sourceforge.net/lists/listinfo/enlightenment-devel">Enlightenment Development List</a></td>
<td class="archive"><a href="http://sourceforge.net/mailarchive/forum.php?forum_name=enlightenment-devel">SourceForge</a>, <a href="http://marc.theaimsgroup.com/?l=enlightenment-devel&r=1&w=2">MARC</a></td>
<td class="description">Developer only list. If your message does not directly involve code post to the users group.</td>
</tr>
<tr class="odd">
<td class="name"><a href="http://lists.sourceforge.net/lists/listinfo/enlightenment-svn">Enlightenment SVN Commit List</a></td>
<td class="archive"><a href="http://sourceforge.net/mailarchive/forum.php?forum_name=enlightenment-svn">SourceForge</a></td>
<td class="description">Get email notification of all SVN updates.</td>
</tr>
<tr>
<td class="name"><a href="http://lists.sourceforge.net/lists/listinfo/enlightenment-intl">Enlightenment Internationalisation List</a></td>
<td class="archive"><a href="http://sourceforge.net/mailarchive/forum.php?forum_name=enlightenment-intl">SourceForge</a></td>
<td class="description">Mailling list for l10n and i18n. Send your translations of E to this list. </td>
</tr>
<tr class="odd">
<td class="name"><a href="http://lists.sourceforge.net/lists/listinfo/enlightenment-bugs">Enlightenment Bug Traker Notification</a></td>
<td class="archive"><a href="http://sourceforge.net/mailarchive/forum.php?forum_name=enlightenment-bugs">SourceForge</a></td>
<td class="description">Receive notification for all bugs committed to Trac.</td>
</tr>
</tbody>
</table>
</center>
<hr noshade="noshade" style="width: 200px;" />
<h2>IRC</h2>
<p>
Get help right away using #e, the Enlightenment channel on FreeNode IRC. Choose a server <a href="http://freenode.org/irc_servers.shtml">from
Get help right away using #e, the Enlightenment channel on FreeNode IRC. Choose a server <a href="http://freenode.org/irc_servers.shtml">from
the FreeNode Servers Page</a> and then join #e. Einen deutschsprachigen IRC
channel gibt es auch - #e.de auf <a href="http://freenode.org/irc_servers.shtml">
FreeNode</a>. Per gli utenti di lingua italiana è disponibile il canale #e-it su <a href="http://freenode.org/irc_servers.shtml">FreeNode</a>
@ -72,279 +76,61 @@ documentation feel free to report it in the <a href="http://trac.enlightenment.o
<hr noshade="noshade" style="width: 200px;" />
<h2>People</h2>
<?php
$devspath = "/var/www/web/devs";
//Exclude accounts that aren't actually devs
$exclude = array('ewww');
class dev
{
var $login, $irc_nick, $name, $location, $e_mail, $www, $managing;
public function dev ($infopath)
{
if (!($content = file ($infopath, FILE_IGNORE_NEW_LINES|FILE_SKIP_EMPTY_LINES))) return;
while (list (, $line) = each ($content))
{
$delimiter = strpos ($line, ":");
$desc = strtolower (trim (substr ($line, 0, $delimiter)));
$info = trim (substr ($line, $delimiter+1));
switch ($desc)
{
case "login": $this->login = $info; break;
case "irc nick": $this->irc_nick = $info; break;
case "name": $this->name = $info; break;
case "location": $this->location = $info; break;
case "e-mail": $this->e_mail = $info; break;
case "www": $this->www = $info; break;
case "managing": $this->managing = $info; break;
}
}
}
}
if ($dh = opendir ($devspath))
{
while ($dir = readdir ($dh))
{
if (($dir[0] == ".") || $dir == "CVS") continue;
if (is_dir ($devspath."/".$dir) && !in_array($dir,$exclude))
$devdirs [] = $dir;
}
closedir ($dh);
}
//sort ($devdirs);
while (list (, $dev) = each ($devdirs))
{ $infopath = "$devspath/$dev/info.txt";
if (file_exists ($infopath))
{
$newdev = new dev ($infopath);
$developers[strtolower($newdev->irc_nick)] = $newdev;
}
}
//sort by the irc nick which is the key
ksort($developers);
// output!
/*while (list ($key, $val) = each ($developers))
{
echo "<br/>=================<br/>";
echo "LOGIN = ".$val->login."<br/>";
echo "IRC = ".$val->irc_nick."<br/>";
echo "NAME = ".$val->name."<br/>";
echo "LOCATION = ".$val->location."<br/>";
echo "EMAIL = ".$val->e_mail."<br/>";
echo "WWW = ".$val->www."<br/>";
echo "MANAGING = ".$val->managing."<br/><br/>";
} */
?>
<table class='main'>
<tr>
<td class='main'><div class="main">
<center>
<table class='tab'>
<tr>
<th class='tab' width='100px'>Name</th>
<th class='tab'>Managing</th>
<th class='tab' width='100px'>IRC Nick</th>
<th class='tab' width='160px'>Location</th>
<th class='tab' width='100px'>Website</th>
</tr>
<table class="data developers active" cellspacing="0">
<caption>
Active developers
</caption>
<thead>
<tr>
<th class="name">Name</th>
<th class="manage">Managing / Contributing</th>
<th class="irc">IRC Nick</th>
<th class="location">Location</th>
<th class="website">Website</th>
</tr>
</thead>
<tbody>
<?php foreach ( developers_active() as $login => $data ): ?>
<tr <?php tr_odd() ?>>
<td class="name"> <?php td(dev_data_contact($data)) ?></td>
<td class="manage"> <?php td(@$data['Managing'] . @$data['Contributing']) ?></td>
<td class="irc"> <?php td(dev_data_irc($data)) ?></td>
<td class="location"> <?php td(@$data['Location']) ?></td>
<td class="website"> <?php td(dev_data_www($data)) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php
$i=0;
while (list ($key, $val) = each ($developers))
{
if($i++%2)
$class='tab1';
else
$class='tab2';
echo "<tr>";
echo "<td class='$class'>".$val->name."</td>";
echo "<td class='$class'>".$val->managing."</td>";
echo "<td class='$class'>".$val->irc_nick."</td>";
echo "<td class='$class'>".$val->location."</td>";
echo "<td class='$class'>";
if(strstr($val->www, "http://"))
{
if($val->www[strlen($val->www)-1] == '/')
$val->www = substr($val->www, 0, -1);
echo "<a href='".$val->www."'>".
str_replace(array('http://', 'www.'),'',$val->www)."</a>";
}
echo "</td>";
echo "</tr>";
}
?>
</table>
<?php tr_odd('reset') ?>
<h2>Inactive List</h2>
<center>
<table class='tab'>
<th class='tab' width='130'>Name</th>
<th class='tab'>Managed</th>
<th class='tab' width='130px'>IRC Nick</th>
<th class='tab' width='130px'>Website</th>
</tr>
<tr>
<td class='tab1'><a href="mailto:mandrake@user.sourceforge.net">Mandrake</a></td>
<td class='tab1'>Core Dev Team</td>
<td class='tab1'>mandrake</td>
<td class='tab1'><a href="http://www.mandrake.net/">mandrake.net</a></td>
</tr>
<tr>
<td class='tab2'><a href="mailto:crosendahl@trustlab.com">Christopher Rosendahl</a></td>
<td class='tab2'>Ewl, Ewd, Etcher</td>
<td class='tab2'>smugg</td>
<td class='tab2'>N</td>
</tr>
<tr>
<td class='tab1'><a href="mailto:enilsenNO@SPAMportalen.no">Espen Nilsen</a></td>
<td class='tab1'>EWL Contribs</td>
<td class='tab1'>ymer|SpNlsn</td>
<td class='tab1'>N</td>
</tr>
<tr>
<td class='tab2'><a href="mailto:tillsan@users.sourceforge.net">Till Adam</a></td>
<td class='tab2'>E17, EVAS DFB</td>
<td class='tab2'>tillsan</td>
<td class='tab2'>N</td>
</tr>
<tr>
<td class='tab1'><a href="mailto:redalb@users.sourceforge.net">Klaas Bosteels</a></td>
<td class='tab1'>Etox</td>
<td class='tab1'>redalb</td>
<td class='tab1'>N</td>
</tr>
<tr>
<td class='tab2'><a href="mailto:lofwyrm@users.sourceforge.net">Adam Kisiel</a></td>
<td class='tab2'>Etox</td>
<td class='tab2'>lofwyrm</td>
<td class='tab2'>N</td>
</tr>
<tr>
<td class='tab1'><a href="mailto:burra@users.sourceforge.net">Burra</a></td>
<td class='tab1'>Ecore</td>
<td class='tab1'>burra</td>
<td class='tab1'>N</td>
</tr>
<tr>
<td class='tab2'><a href="mailto:marini@pcmenelao.mi.infn.it%3E">Franz Marini</a></td>
<td class='tab2'>Imlib2 Contributions</td>
<td class='tab2'></td>
<td class='tab2'>N</td>
</tr>
<tr>
<td class='tab1'><a href="mailto:horms@users.sourceforge.net">Horms</a></td>
<td class='tab1'>Dev Team</td>
<td class='tab1'>horms</td>
<td class='tab1'>N</td>
</tr>
<tr>
<td class='tab2'><a href="mailto:dphase@users.sourceforge.net">Joshua Deere</a></td>
<td class='tab2'>Retina</td>
<td class='tab2'>dphase</td>
<td class='tab2'>N</td>
</tr>
<tr>
<td class='tab1'><a href="mailto:x5rings@users.sourceforge.net">Chris Thomas</a></td>
<td class='tab1'>Elogin</td>
<td class='tab1'>x5rings</td>
<td class='tab1'>N</td>
</tr>
<tr>
<td class='tab2'><a href="mailto:muhri@users.sourceforge.net">Maher Awamy</a></td>
<td class='tab2'>Imlib/Evas perl bindings</td>
<td class='tab2'>muhri</td>
<td class='tab2'><a href="http://www.muhri.net/">muhri.net</a></td>
</tr>
<tr>
<td class='tab1'><a href="mailto:gilbertt@users.sourceforge.net">Tom Gilbert</a></td>
<td class='tab1'>Epplets API, Giblib, Feh, CamE, Geist, Gozer, Gom, Scrot</td>
<td class='tab1'>gilbertt</td>
<td class='tab1'><a href="http://www.linuxbrit.co.uk/">linuxbrit.co.uk</a></td>
</tr>
<tr>
<td class='tab2'><a href="mailto:kirth@hole.org">Kirth</a></td>
<td class='tab2'>Ports and Package Team</td>
<td class='tab2'>kirth</td>
<td class='tab2'>N</td>
</tr>
<tr>
<td class='tab1'><a href="mailto:ljlane@users.sourceforge.net">Laurence J. Lane</a></td>
<td class='tab1'>Ports and Package Team</td>
<td class='tab1'>ljlane</td>
<td class='tab1'>N</td>
</tr>
<tr>
<td class='tab2'><a href="mailto:stauff@users.sourceforge.net">Platon Fomichev</a></td>
<td class='tab2'>Ports and Package Team</td>
<td class='tab2'>stauff</td>
<td class='tab2'>N</td>
</tr>
<tr>
<td class='tab1'><a href="mailto:sfrost@users.sourceforge.net">Stephen Frost</a></td>
<td class='tab1'>Ports and Package Team</td>
<td class='tab1'>sfrost</td>
<td class='tab1'>N</td>
</tr>
<tr>
<td class='tab2'><a href="mailto:andrew@neep.com.au">Andrew</a></td>
<td class='tab2'>Web and Doc Team </td>
<td class='tab2'>Andrew </td>
<td class='tab2'>N</td>
</tr>
<tr>
<td class='tab1'><a href="mailto:cK@whoop.org">Christian Kreibich</a></td>
<td class='tab1'>EFSD Owner, Web Team</td>
<td class='tab1'>cK </td>
<td class='tab1'><a href="http://www.whoop.org/">whoop.org</a></td>
</tr>
<tr>
<td class='tab2'><a href="mailto:winterlight@hendryx.com">Hendryx</a></td>
<td class='tab2'>Web and Doc Team</td>
<td class='tab2'>Hendryx</td>
<td class='tab2'><a href="http://www.hendyrx.com/">hendyrx.com</a></td>
</tr>
<tr>
<td class='tab1'><a href="mailto:alphafemale@radiant.net">S. J. Black</a></td>
<td class='tab1'>Doc Team</td>
<td class='tab1'>alpha female</td>
<td class='tab1'>N</td>
</tr>
<tr>
<td class='tab2'><a target="_self" href="mailto:term@NOSPAM-THANKSusers.sourceforge.net">Term</a></td>
<td class='tab2'>Web Team</td>
<td class='tab2'>term</td>
<td class='tab2'><a href="http://www.twistedpath.org/">twistedpath.org</a></td>
</tr>
<tr>
<td class='tab1'><a href="mailto:trip@ga.prestige.net">Tim Fabiniak</a></td>
<td class='tab1'>Web Team</td>
<td class='tab1'>minion2</td>
<td class='tab1'>N</td>
</tr>
<tr>
<td class='tab2'>Dan Sinclair</td>
<td class='tab2'>Ewl, Efreet, EwlBook</td>
<td class='tab2'>dj2</td>
<td class='tab2'><a href="http://everburning.com/">everburning.com</a></td>
</tr>
<tr>
<td class='tab1'>Sthithaprajna Garapaty</td>
<td class='tab1'>taskbar module</td>
<td class='tab1'>iamsthitha</td>
<td class='tab1'>N</td>
</tr>
</table>
<table class="data developers inactive" cellspacing="0">
<caption>
Inactive developers
</caption>
<thead>
<tr>
<th class="name">Name</th>
<th class="manage">Managed / Contributed</th>
<th class="irc">IRC Nick</th>
<th class="website">Website</th>
</tr>
<tbody>
<?php foreach ( developers_inactive() as $login => $data ): ?>
<tr <?php tr_odd() ?>>
<td class="name"> <?php td(dev_data_contact($data)) ?></td>
<td class="manage"> <?php td(@$data['Managing'] . @$data['Contributing']) ?></td>
<td class="irc"> <?php td(@$data['IRC Nick']) ?></td>
<td class="website"> <?php td(dev_data_www($data)) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</center>
</div></td>
@ -354,4 +140,4 @@ ksort($developers);
</td>
</tr>
</table>

View File

@ -16,55 +16,47 @@
from the list of available distributions the one that is right for you.</p>
<center>
<table class='tab'>
<tbody>
<tr>
<th class="tab">Distribution/Platform</td>
<th class="tab">File</td>
<th class="tab">Comments</td>
</tr>
<tr class="team-dark">
<td class='tab1'>Enlightenment Source Code TAR.GZ</td>
<td class='tab1'>
<a href="http://prdownloads.sourceforge.net/enlightenment/e16-1.0.5.tar.gz?download">e16-1.0.5.tar.gz</a>
</td>
<td class='tab1'>&nbsp;</td>
</tr>
<tr class="team-light">
<td class='tab2'>Source Package RPM</td>
<td class='tab2'>
<a href="http://prdownloads.sourceforge.net/enlightenment/e16-1.0.5-1.fc13.src.rpm?download">e16-1.0.5-1.fc13.src.rpm</a>
</td>
<td class='tab2'>&nbsp;</td>
</tr>
<tr class="team-dark">
<td class='tab1'>Linux ix86 Binary RPM</td>
<td class='tab1'>
<a href="http://prdownloads.sourceforge.net/enlightenment/e16-1.0.5-1.fc13.i686.rpm?download">e16-1.0.5-1.fc13.i686.rpm</a>
</td>
<td class='tab1'>&nbsp;</td>
</tr>
<tr class="team-light">
<td class='tab2'>Gentoo Linux</td>
<td class='tab2'>
<a href="http://packages.gentoo.org/package/x11-wm/enlightenment">e16 ebuilds</a>
</td>
<td class='tab2'>&nbsp;</td>
</tr>
<tr class="team-dark">
<td class='tab1'>Debian GNU/Linux DEB</td>
<td class='tab1'>
<a href="http://packages.debian.org/e16">e16 packages</a>
</td>
<td class='tab1'>&nbsp;</td>
</tr>
</tbody>
<table class='data'>
<thead>
<tr>
<th>Distribution/Platform</th>
<th>Archive</th>
<th>Comments</th>
</tr>
</thead>
<tbody>
<tr>
<td>Enlightenment Source Code TAR.GZ</td>
<td>
<a href="http://prdownloads.sourceforge.net/enlightenment/e16-1.0.5.tar.gz?download">e16-1.0.5.tar.gz</a>
</td>
<td>&nbsp;</td>
</tr>
<tr class="odd">
<td>Source Package RPM</td>
<td>
<a href="http://prdownloads.sourceforge.net/enlightenment/e16-1.0.5-1.fc13.src.rpm?download">e16-1.0.5-1.fc13.src.rpm</a>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Linux ix86 Binary RPM</td>
<td>
<a href="http://prdownloads.sourceforge.net/enlightenment/e16-1.0.5-1.fc13.i686.rpm?download">e16-1.0.5-1.fc13.i686.rpm</a>
</td>
<td>&nbsp;</td>
</tr>
<tr class="odd">
<td>Gentoo Linux</td>
<td><a href="http://packages.gentoo.org/package/x11-wm/enlightenment">e16 ebuilds</a></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Debian GNU/Linux DEB</td>
<td><a href="http://packages.debian.org/e16">e16 packages</a></td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
</center>

265
site/developers.php Normal file
View File

@ -0,0 +1,265 @@
<?php
/**
@return Multi-level array of developer data in the format:
( 'Name' => array ( 'name' => 'developer name', .. ), ..)
@example
$website = $developers['Carsten Haitzler']['WWW'];
echo $website;
>> "http://www.rasterman.com/"
@todo Cache either this or the generated table.
*/
function developers_active ()
{
$path = '/var/www/web/devs/*';
$paths = glob($path, GLOB_ONLYDIR);
$paths = array_filter($paths, '_developer_path_filter');
$developers = _developer_list($paths);
ksort($developers);
return $developers;
}
function _developer_path_filter ( $path )
{
if ($path == '/var/www/web/devs/ewww')
return false;
if ( !file_exists("$path/info.txt") )
return false;
return true;
}
function _developer_list ( $paths )
{
$developers = array();
foreach ($paths as $path)
{
$file = file("$path/info.txt", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
$entry = _developer_info($file);
$developers[$entry['Name']] = $entry;
}
return $developers;
}
function _developer_info ( $file )
{
$entry = array();
foreach ($file as $line)
{
$info = explode(':', $line, 2);
$info[0] = trim($info[0]);
$info[1] = trim($info[1]);
$entry[$info[0]] = $info[1];
}
return $entry;
}
/**
@return Multi-level array of inactive developer data (with less fields).
*/
function developers_inactive ()
{
$developers = array
(
// 'Name' => array (
// 'Name' => '',
// 'mail' => '',
// 'Managing' => '',
// 'IRC Nick' => '',
// 'WWW' => '',
// ),
'Mandrake' => array (
'Name' => 'Mandrake',
'E-Mail' => 'mandrake@user.sourceforge.net',
'Managing' => 'Core Dev Team',
'IRC Nick' => 'mandrake',
'WWW' => 'http://www.mandrake.net/'
),
'Christopher Rosendahl' => array (
'Name' => 'Christopher Rosendahl',
'E-Mail' => 'crosendahl@trustlab.com',
'Managing' => 'Ewl, Ewd, Etcher',
'IRC Nick' => 'smugg',
'WWW' => ''
),
'Espen Nilsen' => array (
'Name' => 'Espen Nilsen',
'E-Mail' => 'enilsenNO@SPAMportalen.no',
'Managing' => 'EWL Contribs',
'IRC Nick' => 'ymer|SpNlsn',
'WWW' => ''
),
'Till Adam' => array (
'Name' => 'Till Adam',
'E-Mail' => 'tillsan@users.sourceforge.net',
'Managing' => 'E17, EVAS DFB',
'IRC Nick' => 'tillsan',
'WWW' => ''
),
'Klaas Bosteels' => array (
'Name' => 'Klaas Bosteels',
'E-Mail' => 'redalb@users.sourceforge.net',
'Managing' => 'Etox',
'IRC Nick' => 'redalb',
'WWW' => ''
),
'Adam Kisiel' => array (
'Name' => 'Adam Kisiel',
'E-Mail' => 'lofwyrm@users.sourceforge.net',
'Managing' => 'Etox',
'IRC Nick' => 'lofwyrm',
'WWW' => ''
),
'Burra' => array (
'Name' => 'Burra',
'E-Mail' => 'burra@users.sourceforge.net',
'Managing' => 'Ecore',
'IRC Nick' => 'burra',
'WWW' => ''
),
'Franz Marini' => array (
'Name' => 'Franz Marini',
'E-Mail' => 'marini@pcmenelao.mi.infn.it%3E',
'Managing' => 'Imlib2 Contributions',
'IRC Nick' => '',
'WWW' => ''
),
'Horms' => array (
'Name' => 'Horms',
'E-Mail' => 'horms@users.sourceforge.net',
'Managing' => 'Dev Team',
'IRC Nick' => 'horms',
'WWW' => ''
),
'Joshua Deere' => array (
'Name' => 'Joshua Deere',
'E-Mail' => 'dphase@users.sourceforge.net',
'Managing' => 'Retina',
'IRC Nick' => 'dphase',
'WWW' => ''
),
'Chris Thomas' => array (
'Name' => 'Chris Thomas',
'E-Mail' => 'x5rings@users.sourceforge.net',
'Managing' => 'Elogin',
'IRC Nick' => 'x5rings',
'WWW' => ''
),
'Maher Awamy' => array (
'Name' => 'Maher Awamy',
'E-Mail' => 'muhri@users.sourceforge.net',
'Managing' => 'Imlib/Evas perl bindings',
'IRC Nick' => 'muhri',
'WWW' => 'http://www.muhri.net/'
),
'Tom Gilbert' => array (
'Name' => 'Tom Gilbert',
'E-Mail' => 'gilbertt@users.sourceforge.net',
'Managing' => 'Epplets API, Giblib, Feh, CamE, Geist, Gozer, Gom, Scrot',
'IRC Nick' => 'gilbertt',
'WWW' => 'http://www.linuxbrit.co.uk/'
),
'Kirth' => array (
'Name' => 'Kirth',
'E-Mail' => 'kirth@hole.org',
'Managing' => 'Ports and Package Team',
'IRC Nick' => 'kirth',
'WWW' => ''
),
'Laurence J. Lane' => array (
'Name' => 'Laurence J. Lane',
'E-Mail' => 'ljlane@users.sourceforge.net',
'Managing' => 'Ports and Package Team',
'IRC Nick' => 'ljlane',
'WWW' => ''
),
'Platon Fomichev' => array (
'Name' => 'Platon Fomichev',
'E-Mail' => 'stauff@users.sourceforge.net',
'Managing' => 'Ports and Package Team',
'IRC Nick' => 'stauff',
'WWW' => ''
),
'Stephen Frost' => array (
'Name' => 'Stephen Frost',
'E-Mail' => 'sfrost@users.sourceforge.net',
'Managing' => 'Ports and Package Team',
'IRC Nick' => 'sfrost',
'WWW' => ''
),
'Andrew' => array (
'Name' => 'Andrew',
'E-Mail' => 'andrew@neep.com.au',
'Managing' => 'Web and Doc Team ',
'IRC Nick' => 'Andrew ',
'WWW' => ''
),
'Christian Kreibich' => array (
'Name' => 'Christian Kreibich',
'E-Mail' => 'cK@whoop.org',
'Managing' => 'EFSD Owner, Web Team',
'IRC Nick' => 'cK ',
'WWW' => 'http://www.whoop.org/'
),
'Hendryx' => array (
'Name' => 'Hendryx',
'E-Mail' => 'winterlight@hendryx.com',
'Managing' => 'Web and Doc Team',
'IRC Nick' => 'Hendryx',
'WWW' => 'http://www.hendyrx.com/'
),
'S. J. Black' => array (
'Name' => 'S. J. Black',
'E-Mail' => 'alphafemale@radiant.net',
'Managing' => 'Doc Team',
'IRC Nick' => 'alpha female',
'WWW' => ''
),
'Term' => array (
'Name' => 'Term',
'E-Mail' => 'term@NOSPAM-THANKSusers.sourceforge.net',
'Managing' => 'Web Team',
'IRC Nick' => 'term',
'WWW' => 'http://www.twistedpath.org/'
),
'Tim Fabiniak' => array (
'Name' => 'Tim Fabiniak',
'E-Mail' => 'trip@ga.prestige.net',
'Managing' => 'Web Team',
'IRC Nick' => 'minion2',
'WWW' => ''
),
'Dan Sinclair' => array (
'Name' => 'Dan Sinclair',
'E-Mail' => '',
'Managing' => 'Ewl, Efreet, EwlBook',
'IRC Nick' => 'dj2',
'WWW' => 'http://everburning.com/'
),
'Sthithaprajna Garapaty' => array (
'Name' => 'Sthithaprajna Garapaty',
'E-Mail' => '',
'Managing' => 'taskbar module',
'IRC Nick' => 'iamsthitha',
'WWW' => ''
),
);
ksort($developers);
return $developers;
}
/* Don't add the ?> */

75
site/helpers.php Normal file
View File

@ -0,0 +1,75 @@
<?php
/* Not yet... */
// function button ( $url, $title )
// {
// echo <<<EOD
//
// <p class="button">
// <a href="$url"><span>$title</span></a>
// </p>
//
// EOD;
// }
function td ( $content )
{
if ( empty($content) )
echo '&nbsp;';
else
echo $content;
}
function tr_odd ( $reset = false )
{
static $n = 0;
if ( $reset )
$n = 0;
else if ($n++ & 1)
echo 'class="odd"';
}
/*
Functions for developers lists.
*/
function dev_data_www ( $data )
{
$url = @$data["WWW"];
if ( strstr($url, 'http://') )
{
$domain = str_replace(array('http://', 'www.'),'', $url);
$domain = rtrim($domain, '/');
return "<a href='$url'>$domain</a>";
}
return null;
}
function dev_data_contact ( $data )
{
$name = @$data['Name'];
$mail = @$data['E-Mail'];
if ( !empty($mail) )
return "<a href='mailto:$mail'>$name</a>";
return $name;
}
function dev_data_irc ( $data )
{
$nick = @$data['IRC Nick'];
if ( $nick )
{
$nick = str_replace(' ', '', $nick);
return str_replace('/', ', ', $nick);
}
return null;
}
/* Don't add the ?> */

View File

@ -156,6 +156,7 @@
}
else if (file_exists("p/$b/link")) {
$h = read_var("p/$b/link");
$pname = $h;
}
if ((strncasecmp($page,$l,strlen($l)) == 0) OR
(($page == "index") AND ($l == "Home") )) {
@ -214,4 +215,6 @@
}
}
}
?>
/* Don't add the ?> */

252
style.css
View File

@ -6,7 +6,6 @@ body {
background-color : #ffffff;
padding : 0;
margin : 0;
font-family : "Bitstream Vera","Vera","Trebuchet MS",Trebuchet,Tahoma,sans-serif;
}
html, body {
@ -14,7 +13,6 @@ html, body {
}
/******************************************************/
/* Centered Layout + 'stay on bottom' footer */
/******************************************************/
@ -22,7 +20,6 @@ html, body {
margin : 0 auto 0 auto;
min-width : 700px;
width : 90%;
/* background : url(ti/main_background.png) no-repeat center 150px; */
}
#wrapper {
@ -30,79 +27,12 @@ html, body {
height : auto !important;
height : 100%;
margin : 0 auto -53px;
text-align : center;
align : center;
}
#footer, #push {
height : 53px;
}
#content {
margin-top : 40px;
text-align : left;
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #444444;
font-size : 0.9em;
}
/****************************/
/* Top main menu */
/****************************/
#header_logo {
background-image : url(ti/logo.png);
width : 61px;
}
#header_logo a {
position : absolute;
border : 0px;
background-color : transparent;
top : 0px;
width : 60px;
height : 60px;
}
#header_menu {
background-image : url(ti/header_menu_background.png);
font : normal 10pt verdana,'Bitstream Vera Sans',helvetica,arial,sans-serif;
text-align : right;
}
#header_last {
background-image : url(ti/header_menu_background_last.png);
width : 15px;
}
td.nav_passive {
background : url(ti/header_menu_unselected_background.png) 0 0 no-repeat;
height : 63px;
font-family : "Bitstream Vera","Vera","Trebuchet MS",Trebuchet,Tahoma,sans-serif;
font-size : 11px;
padding : 20px 10px 20px 10px;
vertical-align : middle;
}
td.nav_active {
background : url(ti/header_menu_current_background.png) 0 0 no-repeat;
height : 63px;
color : #646464;
font-family : "Bitstream Vera","Vera","Trebuchet MS",Trebuchet,Tahoma,sans-serif;
font-size : 11px;
font-weight : bold;
padding : 20px 10px 20px 10px;
vertical-align : middle;
}
#header_menu a {
display : block;
text-decoration : none;
cursor : pointer;
color : #cdcdcd;
}
/****************************/
/* Footer */
/****************************/
@ -111,81 +41,9 @@ td.nav_active {
height : 53px;
}
#sitefooter td {
color : #888888;
font-size : 0.8em;
white-space : nowrap;
padding-top : 10px;
border : 0px;
}
#sitefooter a {
border : 0px;
background-color : transparent;
}
/*****************/
/* SubMenu */
/*****************/
#submenu {
text-align : right;
padding-top : 0px;
font : normal 10px verdana,'Bitstream Vera Sans',helvetica,arial,sans-serif;
font-weight : bold;
}
a.nav:link, a.nav:visited {
color : #888888;
}
a.nav:active {
color : #000000;
}
a.nav:hover {
color : #444444;
}
li.navul {
border-right : 1px solid #ddd;
padding-right : 5px;
padding-left : 3px;
display : inline;
}
li.selected {
/* text-decoration : underline; */
}
li.navul:last-child {
border: 0px;
}
a.navul:link, a.navul:visited {
color : #888888;
text-decoration : none;
}
a.navul:active {
color : #000000;
text-decoration : none;
}
a.navul:hover {
color : #444444;
text-decoration : none;
}
/*////////////////////////////////////////////////////////*/
div.main {
text-align : justify;
vertical-align : top;
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #444444;
font-size : 0.9em;
}
@ -223,10 +81,6 @@ div.bod {
div.fragment, div.code {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #000;
font-size : 11px;
line-height : 14px;
border : 1px solid #eee;
text-align : left;
vertical-align : middle;
@ -234,6 +88,15 @@ div.fragment, div.code {
overflow : auto;
}
pre {
border : 1px dotted #bbb;
text-align : left;
vertical-align : middle;
padding : 5px;
overflow : auto;
}
hr {
width : 200px;
height : 1px;
@ -241,43 +104,22 @@ hr {
border : 0px;
}
h1 {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #000000;
font-size : 1.5em;
}
h2 {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #000000;
font-size : 1.3em;
margin : 0;
padding : 0;
}
h3 {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #000000;
font-size : 1.1em;
margin : 0;
padding : 0;
}
p {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #444444;
font-size : 0.9em;
margin-top: 2px;
margin-bottom: 10px;
padding: 0;
}
p.tiny {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #888888;
font-size : 0.7em;
}
a:link {
color : #445566;
text-decoration : underline;
@ -308,35 +150,6 @@ img.thumb {
border : 1px solid;
}
ul {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #444444;
font-size : 0.9em;
}
li {
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #444444;
font-size : 0.9em;
}
pre {
font-family : "Bitstream Vera Mono", "Vera Mono", "Trebuchet MS Mono", "Trebuchet Mono", "Tahoma Mono", mono;
color : #000000;
font-size : 0.9em;
border : 1px dotted #bbb;
text-align : left;
vertical-align : middle;
padding : 5px;
overflow : auto;
}
blockquote {
color : #000000;
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
font-size : 0.9em;
}
table.n {
width : 100px;
height : 100px;
@ -375,42 +188,6 @@ div.lr {
float : right;
}
table.tab {
width : 90%;
padding : 0px;
margin : 5px;
border : 1px solid #cccccc;
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color : #444444;
font-size : 1.0em;
border-collapse : collapse;
}
th.tab {
color : #ffffff;
background-color : #000000;
padding : 3px;
text-align : left;
}
td.tab1 {
color : #444444;
background-color : #ffffff;
padding : 3px;
text-align : left;
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
font-size : 0.9em;
}
td.tab2 {
color : #444444;
background-color : #eeeeee;
padding : 3px;
text-align : left;
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
font-size : 0.9em;
}
table.b {
padding : 0px;
margin : 0px;
@ -432,7 +209,6 @@ td.b4 { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,
td.b4[class] { background-image:url("i/b4.png"); }
td.b5 {
background-image : url("i/b5.png");
font-family : "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
font-size : 11px;
color : #ffffff;
text-align : left;
@ -450,25 +226,21 @@ td.b9[class] { background-image:url("i/b9.png"); }
a.b:link {
color : #ffffff;
text-decoration : none;
// display : block;
}
a.b:visited {
color : #ffffff;
text-decoration : none;
// display : block;
}
a.b:active {
color : #ffee88;
text-decoration : none;
// display : block;
}
a.b:hover {
color : #cccccc;
text-decoration : none;
// display : block;
}
/** NEWS STYLE */
@ -548,12 +320,6 @@ a.b:hover {
text-decoration : none;
}
.section-plug p {
margin : 1em 0px;
padding : 0px;
text-align : left;
}
.section-plug ul {
margin : 0px;
padding : 0px;

View File

@ -14,7 +14,7 @@
#header ul.menu li a { display: inline-block; vertical-align: top; text-align: center; }
#header ul.menu li { margin-left: 16px; }
#header ul.menu a { text-decoration: none; }
#header ul.menu span { display: inline-block; height: 54px; line-height: 54px; color: #444444; font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif; font-size: 12px; letter-spacing: -1px; text-transform: uppercase; }
#header ul.menu span { display: inline-block; height: 54px; line-height: 54px; color: #444444; font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif; font-size: 11px; letter-spacing: -1px; text-transform: uppercase; }
#header ul.menu li.index { float: left; position: relative; margin-left: 0; }
#header ul.menu li.index span { background: black; height: 72px; line-height: 72px; width: 110px; color: #f3f3f3; }
#header ul.submenu { text-align: right; list-style: none inside none; white-space: nowrap; letter-spacing: -5px; }
@ -22,7 +22,7 @@
#header ul.submenu li a { display: inline-block; vertical-align: top; text-align: center; }
#header ul.submenu li { margin-left: 16px; }
#header ul.submenu a { text-decoration: none; }
#header ul.submenu span { line-height: 36px; color: #444444; font-size: 11px; text-transform: capitalize; }
#header ul.submenu span { line-height: 36px; color: #444444; font-size: 10px; text-transform: capitalize; }
/* ******************* Changes to the Original Stylesheet ****************** */
body { background: #f3f3f3; }

View File

@ -1,3 +1,31 @@
body { font-family: "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif; color: #444444; }
pre, div.fragment, div.code { font-family: "Bitstream Vera Mono", "Vera Mono", "Trebuchet MS Mono", "Trebuchet Mono", "Tahoma Mono", mono; white-space: pre-wrap; color: #000; }
blockquote { color: #000; }
body { font-size: 12px; }
pre, div.fragment, div.code { font-size: 11px; line-height: 12px; }
p.tiny { color: #888; font-size: 10px; }
h1, h2, h3, h4, h5, h6 { color: #000; }
h1 { font-size: 21px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }
h5 { font-size: 12px; }
h6 { font-size: 11px; }
ul, ol { font-size: 11px; }
#header { /* CSS Reset */ /* http://meyerweb.com/eric/tools/css/reset/ */ /* v1.0 | 20080212 */ /* remember to define focus styles! */ /* remember to highlight inserts somehow! */ /* tables still need 'cellspacing="0"' in the markup */ }
#header html, #header body, #header div, #header span, #header applet, #header object, #header iframe, #header h1, #header h2, #header h3, #header h4, #header h5, #header h6, #header p, #header blockquote, #header pre, #header a, #header abbr, #header acronym, #header address, #header big, #header cite, #header code, #header del, #header dfn, #header em, #header font, #header img, #header ins, #header kbd, #header q, #header s, #header samp, #header small, #header strike, #header strong, #header sub, #header sup, #header tt, #header var, #header b, #header u, #header i, #header center, #header dl, #header dt, #header dd, #header ol, #header ul, #header li, #header fieldset, #header form, #header label, #header legend, #header table, #header caption, #header tbody, #header tfoot, #header thead, #header tr, #header th, #header td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
#header body { line-height: 1; }
@ -37,16 +65,35 @@
#header div.submenu { height: 36px; margin-bottom: 36px; }
/* ******************* Changes to the Original Stylesheet ****************** */
table.data { width: 90%; padding: 0px; margin: 5px; border: 1px solid #ccc; border-collapse: collapse; }
table.data thead th { color: #fff; background-color: #000; padding: 3px; text-align: left; }
table.data tbody tr td { color: #444; background-color: #fff; padding: 3px; text-align: left; font-size: 11px; }
table.data tbody tr.odd td { color: #444; background-color: #eee; }
table.developers td.name { width: 12em; }
table.developers td.location { width: 14em; }
table.developers.active caption { display: none; }
table.developers td { padding-right: 1ex; }
table.developers.inactive caption { font-weight: bold; margin-bottom: 2px; color: #000; }
table.mailing td.archive { white-space: nowrap; }
#middle { margin-top: -18px; }
#content { margin: 0 -8px; }
.layout { margin: 0 auto; /* min-width: $page; */ width: 90%; }
.layout { margin: 0 auto; min-width: 750px; width: 90%; }
table.main h1, td.main { margin-top: 0; padding-top: 0; }
p { color: #444444; }
table.b { line-height: 1; }
#sitefooter p { text-align: center; padding-top: 18px; font-size: 11px; }
#sitefooter p { text-align: center; padding-top: 9px; font-size: 10px; color: #888; white-space: nowrap; }
hr { width: 200px; height: 1px; background-color: #eeeeee; border: 0px; }
div.main p { text-align: justify; }
div.main .section-plug p { margin: 1em 0px; padding: 0px; text-align: left; }
div.news-latest-date { margin-bottom: 15px; }