Commit cbc58e6f authored by Christoph Miebach's avatar Christoph Miebach

please validator

parent fb9a6a62
...@@ -94,7 +94,7 @@ function footer($tag = "", $alternate_lang=array(), $additional_class = "") { ...@@ -94,7 +94,7 @@ function footer($tag = "", $alternate_lang=array(), $additional_class = "") {
echo "<div class='footerHeading'>Translations: "; echo "<div class='footerHeading'>Translations: ";
echo '<select ONCHANGE="location = this.options[this.selectedIndex].value;">'; echo '<select ONCHANGE="location = this.options[this.selectedIndex].value;">';
$root_filename = explode('.', $_SERVER['SCRIPT_FILENAME'] ); $root_filename = explode('.', $_SERVER['SCRIPT_FILENAME'] );
echo '<option value="/'.$root_filename[0].'.html"></option>'."\n"; echo '<option value="/'.$root_filename[0].'.html">&nbsp;</option>'."\n";
foreach($alternate_lang as $lang) { foreach($alternate_lang as $lang) {
if( $lang == "en" ) if( $lang == "en" )
echo '<option value="/'.$root_filename[0].'.html">'.$lang.'</option>'."\n"; echo '<option value="/'.$root_filename[0].'.html">'.$lang.'</option>'."\n";
......
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