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