adding support for arabic languages fa the first one

This commit is contained in:
Patricio Gonzalez Vivo 2021-01-30 13:38:39 -05:00
parent 34f8ae6a01
commit fd8403d75b
1 changed files with 8 additions and 3 deletions

View File

@ -1,9 +1,14 @@
<!DOCTYPE html>
<html>
<?php
$html_attributes = "";
if ($_GET['lan'] == "fa") {
$html_attributes = 'dir="rtl" lang="fa"';
}
echo '
<html '.$html_attributes.'>
<head>
<meta charset="utf-8">
<?php
echo '
<title>The Book of Shaders'.$subtitle.'</title>';
?>