aboutsummaryrefslogtreecommitdiffstats
path: root/en/timeline
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-05-22 19:46:57 +0000
committerRomain d'Alverny <rda@mageia.org>2012-05-22 19:46:57 +0000
commite4343f43fa90f295950a2d1b2d8a2f5d19625a58 (patch)
tree599c7bc998d299bb31525a56de7378ab6bd7ba46 /en/timeline
parent764c4dfdae108c6006138dfec1c781ffb6b4ccde (diff)
downloadwww-e4343f43fa90f295950a2d1b2d8a2f5d19625a58.tar
www-e4343f43fa90f295950a2d1b2d8a2f5d19625a58.tar.gz
www-e4343f43fa90f295950a2d1b2d8a2f5d19625a58.tar.bz2
www-e4343f43fa90f295950a2d1b2d8a2f5d19625a58.tar.xz
www-e4343f43fa90f295950a2d1b2d8a2f5d19625a58.zip
timeline draft
Diffstat (limited to 'en/timeline')
-rw-r--r--en/timeline/index.php84
1 files changed, 84 insertions, 0 deletions
diff --git a/en/timeline/index.php b/en/timeline/index.php
new file mode 100644
index 000000000..9b00f8057
--- /dev/null
+++ b/en/timeline/index.php
@@ -0,0 +1,84 @@
+<?php
+
+define('HLANG', true);
+require '../../langs.php';
+
+$_t = array(
+ 'page_h1' => 'Mageia Timeline',
+ 'page_title' => 'Mageia Timeline',
+);
+
+$events = array(
+ '2010' => array(
+ 'September' => array(
+ 'Mageia starts as a <a href="/en/about/2010-sept-announcement.html">fork of Mandriva Linux</a>.',
+ 'Mageia.Org is registered in Paris, France.'
+ ),
+ 'End of year' => array(
+ 'With an incredible response, first donations and discussions abound.',
+ 'Project gets structured, governance takes slowly shape (first board, teams).'
+ )
+ ),
+ '2011' => array(
+ 'January' => 'Build system is ready to run for the first alpha ISOs.',
+ 'February' => 'First General Assembly during FOSDEM in Brussels, Belgium.',
+ 'June' => '<a href="/1/">Mageia 1</a> is released.',
+ ),
+ '2012' => array(
+ 'February' => 'Second General Assembly during FOSDEM in Brussels, Belgium.',
+ 'May' => array(
+ '<a href="/2/">Mageia 2</a> is released.',
+ )
+ )
+);
+
+?>
+<!DOCTYPE html>
+<html lang="<?php echo $locale; ?>">
+<head>
+ <meta charset="utf-8">
+ <title><?php _e('page_title')?></title>
+ <link rel="stylesheet" href="/g/style/all.css">
+ <style>
+ .para { text-align: left; float: left; width: 250px; display: block; border-right: 1px solid #eef; border-bottom: 1px solid #eef; }
+ hr { margin-top: 2em; }
+ #tl0 {
+ list-style: none;
+ margin: 0; padding: 0;
+ }
+ .tliy { list-style: none; }
+ .tliy h2 { border-bottom: 1px solid #ddd; }
+ .tlim { list-style: none; padding-bottom: 0.8em;}
+ .tlim h3 { color: #777; font-size: 130%; }
+ .tlie { margin-left: 4em; }
+ </style>
+</head>
+<body class="about">
+ <?php echo $hsnav; ?>
+ <h1 id="mgnavtitle"><?php _e('page_h1')?></h1>
+ <div class="para" style="width: 800px;">
+ <section>
+ <ul class="hl" id="tl0"><?php
+ $events = array_reverse($events, true);
+ foreach ($events as $year => $dates):
+ $li = array();
+ $dates = array_reverse($dates, true);
+ foreach ($dates as $dt => $ev) {
+ if (!is_array($ev))
+ $ev = array($ev);
+
+ $s = array();
+ foreach ($ev as $evit) {
+ $s[] = sprintf('<li class="tlie">%s</li>', $evit);
+ }
+ $li[] = sprintf('<li class="tlim"><h3>%s</h3><ul class="hl">%s</ul></li>', $dt, implode($s));
+ }
+ echo sprintf('<li class="tliy"><h2>%s</h2><ul class="hl">%s</ul></li>', $year, implode($li));
+
+ endforeach;
+ ?></ul>
+
+ </section>
+ </div>
+</body>
+</html> \ No newline at end of file