adding support for arabic languages fa the first one
This commit is contained in:
parent
34f8ae6a01
commit
fd8403d75b
11
header.php
11
header.php
|
|
@ -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>';
|
||||
?>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue