From e4343f43fa90f295950a2d1b2d8a2f5d19625a58 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Tue, 22 May 2012 19:46:57 +0000 Subject: timeline draft --- en/map/index.php | 2 +- en/timeline/index.php | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 en/timeline/index.php (limited to 'en') diff --git a/en/map/index.php b/en/map/index.php index 364134ffe..595463e19 100644 --- a/en/map/index.php +++ b/en/map/index.php @@ -32,7 +32,7 @@ $map = array( array('t' => _t('Reports'), 'l' => '/en/about/reports/') ) ), - array('t' => _t('Timeline'), 'l' => '/en/about/timeline/') + array('t' => _t('Timeline'), 'l' => '/en/timeline/') ) ), 'downloads' => array( 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 @@ + 'Mageia Timeline', + 'page_title' => 'Mageia Timeline', +); + +$events = array( + '2010' => array( + 'September' => array( + 'Mageia starts as a fork of Mandriva Linux.', + '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' => 'Mageia 1 is released.', + ), + '2012' => array( + 'February' => 'Second General Assembly during FOSDEM in Brussels, Belgium.', + 'May' => array( + 'Mageia 2 is released.', + ) + ) +); + +?> + + + + + <?php _e('page_title')?> + + + + + +

+
+
+
    $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('
  • %s
  • ', $evit); + } + $li[] = sprintf('
  • %s

      %s
  • ', $dt, implode($s)); + } + echo sprintf('
  • %s

      %s
  • ', $year, implode($li)); + + endforeach; + ?>
+ +
+
+ + \ No newline at end of file -- cgit v1.2.1