aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-05-11 12:08:10 +0000
committerRomain d'Alverny <rda@mageia.org>2012-05-11 12:08:10 +0000
commit9c6c51d6a171335112e4337e91b05c51ba5da6b2 (patch)
tree70f12fcb1828fe686a7b56e93233f75a7ee8aafa
parentb7697ca925c5c0bcc6fa450899e4a398ee982c00 (diff)
downloadwww-9c6c51d6a171335112e4337e91b05c51ba5da6b2.tar
www-9c6c51d6a171335112e4337e91b05c51ba5da6b2.tar.gz
www-9c6c51d6a171335112e4337e91b05c51ba5da6b2.tar.bz2
www-9c6c51d6a171335112e4337e91b05c51ba5da6b2.tar.xz
www-9c6c51d6a171335112e4337e91b05c51ba5da6b2.zip
new community section/pages
-rw-r--r--community/index.php4
l---------cs/community1
l---------de/community1
l---------el/community1
-rw-r--r--en/community/index.php136
-rw-r--r--en/community/locales.php2
l---------es/community1
l---------et/community1
l---------fi/community1
l---------fr/community1
l---------it/community1
l---------lv/community1
l---------nb/community1
l---------nl/community1
l---------pl/community1
l---------pt-br/community1
l---------pt/community1
l---------ro/community1
l---------ru/community1
l---------sl/community1
l---------tr/community1
l---------uk/community1
l---------zh-cn/community1
l---------zh-tw/community1
24 files changed, 163 insertions, 0 deletions
diff --git a/community/index.php b/community/index.php
new file mode 100644
index 000000000..561c797ab
--- /dev/null
+++ b/community/index.php
@@ -0,0 +1,4 @@
+<?php
+
+require_once '../langs.inc.php';
+relocate($langs, 'community/');
diff --git a/cs/community b/cs/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/cs/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/de/community b/de/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/de/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/el/community b/el/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/el/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/en/community/index.php b/en/community/index.php
new file mode 100644
index 000000000..b3d7be494
--- /dev/null
+++ b/en/community/index.php
@@ -0,0 +1,136 @@
+<?php
+
+define('HLANG', true);
+require '../../langs.php';
+include 'locales.php';
+
+$_t = array(
+ 'en' => array(
+ 'page_title' => 'Mageia Community',
+ 'page_h1' => 'Mageia Community Portal',
+ 'blog_url' => 'http://blog.mageia.org/en/',
+ 'planet_url' => 'http://planet.mageia.org/en/'
+ ),
+ 'fr' => array(
+ 'page_title' => 'Communauté Mageia',
+ 'page_h1' => 'Portail de la communauté Mageia',
+ 'News' => 'Actualités',
+ 'How to contribute?' => 'Comment contribuer&nbsp;?',
+ 'Toolbox' => 'Boîte à outils',
+ 'blog_url' => 'http://blog.mageia.org/fr/',
+ 'planet_url' => 'http://planet.mageia.org/fr/'
+ ),
+ 'es' => array(
+ 'blog_url' => 'http://blog.mageia.org/en/',
+ 'planet_url' => 'http://planet.mageia.org/es/'
+ ),
+ 'it' => array(
+ 'blog_url' => 'http://blog.mageia.org/it/',
+ 'planet_url' => 'http://planet.mageia.org/it/'
+ ),
+ 'de' => array(
+ 'blog_url' => 'http://blog.mageia.org/de/',
+ 'planet_url' => 'http://planet.mageia.org/de/'
+ )
+);
+
+$_t = i18n::get_strings($_t, $locale, $i18n_fallback_rules);
+include '../../lib/news.php';
+
+?>
+<!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">
+</head>
+<body class="community">
+ <?php echo $hsnav; ?>
+ <h1 id="mgnavtitle"><?php _e('page_h1')?></h1>
+ <div id="doc2" class="yui-t7">
+ <div id="bd" role="main">
+ <div class="yui-g" style="padding-top: 1em;">
+ <div class="yui-g first">
+ <div class="para preambule">
+ <section>
+ <h2><a href="<?php _e('blog_url')?>"><?php _e('News')?></a></h2>
+ <?php
+ show_feed(null, _t('blog_url'), _t('blog_url') . '?feed=rss', 7);
+ // don't work:
+ //show_feed('Mageia MLs', '', 'https://ml.mageia.org/l/rss/active_lists?count=20&for=10');
+ //show_feed('Mageia Forum', 'http://forum.mageia.org/en/', 'https://forums.mageia.org/en/feed.php?mode=topics_active');
+ ?>
+ </section>
+ </div>
+ <div class="para">
+ <h2><?php _e('Conversations')?></h2>
+ <p>... or, how to get in touch with us? Easy:</p>
+ <ul>
+ <li><a href="https://wiki.mageia.org/en/IRC" title="Internet Relay Chat">IRC</a> on Freenode</a>,</li>
+ <li><a href="/mailman/">mailing-lists 1</a>
+ &amp; <a href="http://ml.mageia.org/">2</a>,</li>
+ <li><a href="<?php _e('forum_url')?>">forum</a>,</li>
+ <li><a href="<?php _e('blog_url')?>">blog</a>,</li>
+ <li>in real life!</li>
+ <li>during events!</li>
+ </ul>
+ <!-- TODO
+
+ <section>
+ <h2>People!</h2>
+ </section>
+ -->
+ </div>
+ <div class="yui-u first">
+
+ </div>
+ <div class="yui-u">
+
+ </div>
+ </div>
+ <div class="yui-g">
+ <div class="para">
+ <h2><?php _e('Toolbox')?></h2>
+ <ul>
+ <li><a href="http://wiki.mageia.org/">Wiki</a></li>
+ <li><a href="http://bugs.mageia.org/">Bugzilla</a></li>
+ <li><a href="http://forum.mageia.org/">Forum</a></li>
+ <li><a href="/en/calendar/">Calendar</a></li>
+ </ul>
+ <ul>
+ <li><a href="http://svn.mageia.org/">Subversion</a>,
+ <a href="http://gitweb.mageia.org/">Git</a></li>
+ <li><a href="http://pkgsubmit.mageia.org/">Packages submission queue</a>,
+ <a href="http://pkgsubmit.mageia.org/data/unmaintained.txt">unmaintained packages</a></li>
+ <li><a href="http://check.mageia.org/">Global QA report</a></li>
+ </ul>
+ </div>
+ <div class="para">
+ <h2><a href="../contribute/"><?php _e('How to contribute?')?></a></h2>
+ <p><a href="../contribute/">Start here</a>.</p>
+ </div>
+ <div class="para">
+ <h2><?php _e('Useful reminders')?></h2>
+ <ul>
+ <li><a href="../about/">More about Mageia</a></li>
+ <li><a href="../about/code-of-conduct/">Our code of conduct</a></li>
+ <li><a href="http://wiki.mageia.org/en/Org">Our governance</a>:
+ <a href="https://wiki.mageia.org/en/Special:Search?search=teams">Teams</a>,
+ <a href="http://wiki.mageia.org/en/Org_Council">the Council</a>,
+ and <a href="http://wiki.mageia.org/en/Org_Board">the Board</a>.</li>
+ <li><a href="../donate/">Donations</a> &amp; <a href="/en/about/reports/">reports</a>.</li>
+ </ul>
+ </div>
+ <div class="yui-u first">
+ </div>
+ <div class="yui-u">
+ <p><mark>This page needs you.</mark></p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/en/community/locales.php b/en/community/locales.php
new file mode 100644
index 000000000..a4abe2daf
--- /dev/null
+++ b/en/community/locales.php
@@ -0,0 +1,2 @@
+<?php
+
diff --git a/es/community b/es/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/es/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/et/community b/et/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/et/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/fi/community b/fi/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/fi/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/fr/community b/fr/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/fr/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/it/community b/it/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/it/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/lv/community b/lv/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/lv/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/nb/community b/nb/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/nb/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/nl/community b/nl/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/nl/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/pl/community b/pl/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/pl/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/pt-br/community b/pt-br/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/pt-br/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/pt/community b/pt/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/pt/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/ro/community b/ro/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/ro/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/ru/community b/ru/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/ru/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/sl/community b/sl/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/sl/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/tr/community b/tr/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/tr/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/uk/community b/uk/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/uk/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/zh-cn/community b/zh-cn/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/zh-cn/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file
diff --git a/zh-tw/community b/zh-tw/community
new file mode 120000
index 000000000..b711b0a1f
--- /dev/null
+++ b/zh-tw/community
@@ -0,0 +1 @@
+../en/community \ No newline at end of file