aboutsummaryrefslogtreecommitdiffstats
path: root/en/community
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2016-06-29 23:01:40 +0200
committerfilip <filip.komar@gmail.com>2016-06-29 23:01:40 +0200
commit0c03c5d21606c7b4892f747d124d1551fa8179fc (patch)
treec4d9a112147ca358882736ba4a1952a0a0943ac9 /en/community
parentcefb9d2942463da47b7f79717b00b541b587aa3e (diff)
downloadwww-0c03c5d21606c7b4892f747d124d1551fa8179fc.tar
www-0c03c5d21606c7b4892f747d124d1551fa8179fc.tar.gz
www-0c03c5d21606c7b4892f747d124d1551fa8179fc.tar.bz2
www-0c03c5d21606c7b4892f747d124d1551fa8179fc.tar.xz
www-0c03c5d21606c7b4892f747d124d1551fa8179fc.zip
common footer added to community page + some improvements
+ like general content width + one block divided for more fluid DOM + improved location of web team help sentence + removed duplicated favicon
Diffstat (limited to 'en/community')
-rw-r--r--en/community/index.php29
1 files changed, 14 insertions, 15 deletions
diff --git a/en/community/index.php b/en/community/index.php
index 4745f70d8..ba53b637a 100644
--- a/en/community/index.php
+++ b/en/community/index.php
@@ -2,9 +2,7 @@
define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
-$dictionary_1 = read_translation_file($locale, 'community');
-$dictionary_2 = read_translation_file($locale, 'news');
-$dictionary = array_merge($dictionary_1, $dictionary_2);
+$dictionary = read_translation_file($locale, array('community', 'news', 'common_footer'));
include '../../lib/news.php';
?>
@@ -17,7 +15,8 @@ include '../../lib/news.php';
<meta name="keywords" content="<?php _g('mageia, community, news, tools, tasks')?>">
<meta name="author" content="Mageia">
<link rel="stylesheet" type="text/css" href="/g/style/all.css">
- <link rel="icon" type="image/png" href="/g/favicon.png" /> <style>
+ <link rel="stylesheet" type="text/css" href="/g/style/common_footer.css">
+ <style>
#newslist { list-style: none; margin: 0; padding: 0; }
#newslist > li { list-style: none; padding: 0.6em 0.9em; }
#newslist li:first-child { font-weight: bold; outline: 1px solid #fa8; margin-bottom: 0.4em; background: #fffaf0; }
@@ -44,7 +43,7 @@ include '../../lib/news.php';
<li><a href="//people.mageia.org/"><?php _g('People');?></a></li>
</ul>
</header>
- <div id="doc6" class="yui-t7">
+ <div id="doc6" class="yui-t7" style="margin-bottom: 0px; max-width: 950px;">
<div class="yui-ge">
<div class="para" style="width: 400px;">
<section>
@@ -103,7 +102,14 @@ include '../../lib/news.php';
<li><?php _g('in real life!')?></li>
<li><a href=<?php _g('"https://wiki.mageia.org/en/Events" hreflang="en"')?>><?php _g('during events!')?></a></li>
</ul>
- <hr>
+ <!-- TODO
+
+ <section>
+ <h2>People!</h2>
+ </section>
+ -->
+ </div>
+ <div class="para">
<h2><?php _g('Teams you can join!')?></h2>
<ul class="hl">
<li><a href=<?php _g('"https://wiki.mageia.org/en/Atelier_team" hreflang="en"')?>><?php _g('Atelier')?></a></li>
@@ -114,14 +120,6 @@ include '../../lib/news.php';
<li><a href=<?php _g('"https://wiki.mageia.org/en/Sysadmin_Team" hreflang="en"')?>><?php _g('Systems &amp; infrastructure administration')?></a></li>
<li><a href=<?php _g('"https://wiki.mageia.org/en/Bugsquad" hreflang="en"')?>><?php _g('Bugs triaging')?></a></li>
</ul>
-
- <hr>
- <!-- TODO
-
- <section>
- <h2>People!</h2>
- </section>
- -->
</div>
<div class="para">
<h2><?php _g('Mageia')?></h2>
@@ -137,8 +135,9 @@ include '../../lib/news.php';
<li><?php _g('<a href="../donate/">Donations</a> &amp; <a href="../about/reports/">reports</a>.')?></li>
</ul>
</div>
+ <p style="clear: both; text-align: center;"><mark><?php _g('This page needs you! <a href="https://wiki.mageia.org/en/Web_team">Join the Web team</a>!')?></mark></p>
</div>
</div>
- <p style="clear: both; text-align: right;"><mark><?php _g('This page needs you! <a href="https://wiki.mageia.org/en/Web_team">Join the Web team</a>!')?></mark></p>
+<?php echo common_footer($locale); ?>
</body>
</html>