Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoleoncio committed May 6, 2024
1 parent 665c7bc commit 358610b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 5 additions & 1 deletion bin/languages.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,8 @@ function §($item, ...$args) {
}

return $translatedString;
}
}

//RTL conversion
$rtl = ['he', 'skr-arab'];
if (in_array($lang, $rtl)) echo '<link rel="stylesheet" href="bin/rtl.css">';
6 changes: 0 additions & 6 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@
$gitCommit .= shell_exec("git log -1 --pretty=format:'%h - %s (%ci)' --abbrev-commit");
$gitBranch = "Branch: ";
$gitBranch .= shell_exec("git rev-parse --abbrev-ref HEAD");

//Lista idiomas RTL
$rtl = ['he', 'skr-arab'];
?>

<!DOCTYPE html>
Expand All @@ -124,9 +121,6 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="bin/w3.css">
<?php if (in_array($lang, $rtl)): ?>
<link rel="stylesheet" href="bin/rtl.css">
<?php endif; ?>
<link href='https://tools-static.wmflabs.org/fontcdn/css?family=Roboto' rel='stylesheet' type='text/css'>
</head>
<body style="font-family: 'Roboto', sans-serif;">
Expand Down

0 comments on commit 358610b

Please sign in to comment.