Translations. Fixing the language bar.
This commit is contained in:
parent
27373f0c61
commit
28fc75dd25
38 changed files with 1006 additions and 150 deletions
16
index.php
16
index.php
|
@ -1,23 +1,21 @@
|
|||
<?php
|
||||
|
||||
// read toml config file
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
ob_start();
|
||||
|
||||
use Yosymfony\Toml\Toml;
|
||||
|
||||
$config = Toml::ParseFile('includes/config.toml');
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'functions/i18n.php';
|
||||
require_once 'includes/sessions.php';
|
||||
require_once 'includes/lang_loader.php';
|
||||
?>
|
||||
|
||||
<!doctype html >
|
||||
<html lang="<?php echo $lang ?>">
|
||||
<head>
|
||||
<?php require_once 'header.php';
|
||||
?>
|
||||
<?php require 'includes/header.php'; ?>
|
||||
</head>
|
||||
<body style="background-color: #eee;">
|
||||
<?php require 'navbar.php'; ?>
|
||||
<?php require 'includes/navbar.php'; ?>
|
||||
<section style="background-color: #eee;">
|
||||
<div class="container py-5">
|
||||
<div class="row">
|
||||
|
@ -31,6 +29,6 @@ require_once 'includes/lang_loader.php';
|
|||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php require 'footer.php'; ?>
|
||||
<?php require 'includes/footer.php'; ?>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue