Add language meta information
This commit is contained in:
@ -74,7 +74,7 @@ function print_langs(){
|
|||||||
}else{
|
}else{
|
||||||
$uri='?'.htmlspecialchars($query)."&lang=$code";
|
$uri='?'.htmlspecialchars($query)."&lang=$code";
|
||||||
}
|
}
|
||||||
echo " <a href=\"$uri\" target='_self'>$name</a>";
|
echo " <a href=\"$uri\" target='_self' hreflang=\"$code\">$name</a>";
|
||||||
}
|
}
|
||||||
echo '</small>';
|
echo '</small>';
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@ try{
|
|||||||
die($I['nodb']);
|
die($I['nodb']);
|
||||||
}
|
}
|
||||||
asort($categories);
|
asort($categories);
|
||||||
echo '<!DOCTYPE html><html><head>';
|
echo '<!DOCTYPE html><html lang="'.$language.'><head>';
|
||||||
echo "<title>$I[admintitle]</title>";
|
echo "<title>$I[admintitle]</title>";
|
||||||
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
|
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
|
||||||
echo '<meta name=viewport content="width=device-width, initial-scale=1">';
|
echo '<meta name=viewport content="width=device-width, initial-scale=1">';
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
require_once(__DIR__.'/../common_config.php');
|
require_once(__DIR__.'/../common_config.php');
|
||||||
$style = '.red{color:red} .green{color:green} .software-link{text-align:center;font-size:small}';
|
$style = '.red{color:red} .green{color:green} .software-link{text-align:center;font-size:small}';
|
||||||
send_headers([$style]);
|
send_headers([$style]);
|
||||||
echo '<!DOCTYPE html><html><head>';
|
echo '<!DOCTYPE html><html lang="'.$language.'"><head>';
|
||||||
echo "<title>$I[testtitle]</title>";
|
echo "<title>$I[testtitle]</title>";
|
||||||
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
|
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
|
||||||
echo '<meta name="author" content="Daniel Winzen">';
|
echo '<meta name="author" content="Daniel Winzen">';
|
||||||
|
Reference in New Issue
Block a user