|
|
@@ -37,7 +37,7 @@ $categories = $publication->getCategories();
|
|
|
$totalPages = ceil($totalPublications / $limit);
|
|
|
?>
|
|
|
<!DOCTYPE html>
|
|
|
-<html lang="<?php echo getCurrentLanguage(); ?>">
|
|
|
+<html lang="<?php echo Translation::getCurrentLang(); ?>">
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
@@ -53,7 +53,7 @@ $totalPages = ceil($totalPublications / $limit);
|
|
|
<a href="categories.php"><?php echo t('nav_categories'); ?></a>
|
|
|
<a href="search.php"><?php echo t('nav_search'); ?></a>
|
|
|
</nav>
|
|
|
- <?php echo $translation->getLanguageSwitcher('index.php'); ?>
|
|
|
+ <?php echo Translation::getLanguageSwitcher('index.php'); ?>
|
|
|
</div>
|
|
|
</header>
|
|
|
|