diff options
author | Romain d'Alverny <rda@mageia.org> | 2013-01-16 09:57:44 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2013-01-16 09:57:44 +0000 |
commit | 9d67932e3fc5a9a72f87741c16db0443ea6bcf1e (patch) | |
tree | 05067e9cf4faca1ce859a1ddf67c16c6b542278e | |
parent | 9c9ad98ad465ede08fe08a60ab2a3670de8415f3 (diff) | |
download | www-9d67932e3fc5a9a72f87741c16db0443ea6bcf1e.tar www-9d67932e3fc5a9a72f87741c16db0443ea6bcf1e.tar.gz www-9d67932e3fc5a9a72f87741c16db0443ea6bcf1e.tar.bz2 www-9d67932e3fc5a9a72f87741c16db0443ea6bcf1e.tar.xz www-9d67932e3fc5a9a72f87741c16db0443ea6bcf1e.zip |
new Contact page (English only for now, no .lang file)
-rw-r--r-- | _nav/css/source.css | 3 | ||||
-rw-r--r-- | _nav/lib.php | 3 | ||||
-rw-r--r-- | en/contact/index.php | 76 |
3 files changed, 80 insertions, 2 deletions
diff --git a/_nav/css/source.css b/_nav/css/source.css index 8ebb51b6d..2e5bed0ca 100644 --- a/_nav/css/source.css +++ b/_nav/css/source.css @@ -60,7 +60,8 @@ .contribute #mgnav .contribute, .bugs-mageia-org #mgnav .contribute, .contrib #mgnav .contrib, -.you #mgnav .you +.you #mgnav .you, +.contact #mgnav .contact { font-weight: bold; background: transparent; diff --git a/_nav/lib.php b/_nav/lib.php index 12c7af529..97dea1d78 100644 --- a/_nav/lib.php +++ b/_nav/lib.php @@ -68,7 +68,8 @@ function _mgnav_html($wrap = false, $lang = 'en', $inject = null, $vhost = '//ww array('support', '$S/$L/support/', l10n::_t('Support', $_t), l10n::_t('Get support from Mageia community.')), array('community', '$S/$L/community/', l10n::_t('Community', $_t), l10n::_t('')), array('contribute', '$S/$L/contribute/', l10n::_t('Contribute', $_t), l10n::_t('You too can build Mageia with us!')), - array('you', '//identity.mageia.org/', l10n::_t('You', $_t), l10n::_t('Your Mageia online account.')) + array('you', '//identity.mageia.org/', l10n::_t('You', $_t), l10n::_t('Your Mageia online account.')), + array('contact', '$S/$L/contact/', l10n::_t('Contact', $_t), l10n::_t('Contact Us')) // <search> ); diff --git a/en/contact/index.php b/en/contact/index.php new file mode 100644 index 000000000..5d190b799 --- /dev/null +++ b/en/contact/index.php @@ -0,0 +1,76 @@ +<?php +define('HLANG', true); +require '../../langs.php'; +_lang_load($locale, 'contact'); + +?><!DOCTYPE html> +<html lang="<?php echo $locale; ?>"> +<head> + <meta charset="utf-8"> + <title><?php _e('Contact Us')?></title> + <meta name="description" content="<?php _e('Here you can find out, how to contribute to the Mageia project')?>"> + <meta name="keywords" content="<?php _e('mageia, contact, mail, press, people, board, council, mailing lists')?>"> + <meta name="author" content="Mageia"> + <link rel="stylesheet" type="text/css" href="/g/style/all.css"> + <link rel="canonical" href="/<?php echo $locale; ?>/contact/"> + <?php include '../../analytics.php'; ?> +</head> +<body id="top" class="contact"> + <?php echo $hsnav; ?> + <h1 id="mgnavtitle"><?php _e('Contact Us')?></h1> + <div style="float: left; width: 400px; text-align: left; border-bottom: 1px solid #ddd;"> + <div class="para" id="by-time"> + <?php + _h('You are looking for support', null, 'h2'); + _h('Please check our <a href="https://forums.mageia.org/">forum</a> or our <a href="http://wiki.mageia.org/" hreflang="en">wiki</a>.'); + echo '<br>'; + _h('You would like to report an issue', null, 'h2'); + _h('Please see <a href="%s" hreflang="en">how to report an issue in our bugs database</a>.', + array('https://wiki.mageia.org/en/How_to_report_a_bug_properly')); + echo '<br>'; + + _h('You are not sure who to contact', null, 'h2');?> + <ul id="contrib-time" class="contrib-list"> + <li> + <h3><a href="mailto:contact@mageia.org">contact@mageia.org</a></h3> + <?php _h('For generic contact information.')?> + </li> + </ul> + </div> + </div> + <div style="float: left; width: 600px; text-align: left; border: 1px solid #ddd; border-top: 0;"> + <div class="para" id="by-role"> + <?php + _h('You have an idea of who to contact', null, 'h2'); + _h('You may post in the <a href="%s">forum</a> or the <a href="%s">public discussion mailing-list</a>.', + array('https://www.mageia.org/mailman/listinfo/mageia-discuss')); + _h('You may use the following email aliases too to contact all members of a group at once:'); + $groups = array( + 'board' => 'Mageia.Org Board members', + 'council' => 'Mageia Council', + 'sysadmin' => 'Systems administration team', + 'packagers' => 'Packagers', + 'atelier' => 'Communication, Marketing & Web teams', + 'qa' => 'QA team', + 'doc' => 'Documentation team', + 'association-members' => 'Mageia.Org association members' + ); + echo '<ul class="hl">'; + foreach ($groups as $k => $v) { + _h('<a href="mailto:%s@group.mageia.org">%s</a>', array($k, $v), 'li'); + } + echo '</ul>'; + + _h( + 'In most case you should avoid using those aliases, and instead use appropriate <a href="%s">public</a> <a href="%s">mailing lists</a>.', + array('https://www.mageia.org/mailman/', 'http://ml.mageia.org/') + ); + _h('This should only be used for the rare cases where private emails are needed.'); + _h('If you want to contact Council or Board for a public discussion, you can start a thread on a mailing-list and add the Board or Council alias in CC.'); + _h('If you want to join and contribute to Mageia, please see <a href="%s">our Contributions page</a>', array('../contribute/')); + ?> + <hr> + </div> + </div> +</body> +</html> |