Commit 04877751 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Add list of languages

parent 4d763d9c
......@@ -292,20 +292,6 @@ function draw_menus( $nobanner, $alternate_lang )
</div>
<div style="display: none;">
<?php
if( isset($alternate_lang) ) {
$root_filename = explode('.', $_SERVER['SCRIPT_FILENAME'] );
foreach($alternate_lang as $lang) {
if( $lang == "en" )
echo '<a href="/'.$root_filename[0].'.html">'.$lang.'</a>'."\n";
else
echo '<a href="/'.$root_filename[0].'.'.$lang.'.html">'.$lang.'</a>'."\n";
}
}
?>
</div>
<div class="clearme"></div>
......@@ -384,6 +370,21 @@ function footer($tag = "") {
</ul>
</div>
<div style='clear: both; padding-bottom: 30px;'></div>
<div>
<div class='footerHeading'>Traductions</div>
<?php
if( isset($alternate_lang) ) {
$root_filename = explode('.', $_SERVER['SCRIPT_FILENAME'] );
foreach($alternate_lang as $lang) {
if( $lang == "en" )
echo '<a href="/'.$root_filename[0].'.html">'.$lang.'</a>'."\n";
else
echo '<a href="/'.$root_filename[0].'.'.$lang.'.html">'.$lang.'</a>'."\n";
}
}
?>
</div>
<div style='clear: both; padding-bottom: 30px;'></div>
<div style='text-align: center; line-height: 14px; font-size: 9px; color: #999; direction: ltr;'>
<p>
<a href='/legal.html'><?php echo _("Legal"); ?></a> | <a href='/contact.html'>Report Trademark Abuse</a><br />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment