Fixed config issue, Added links, Fixed sidebar logo spacing
Update sidebar.php, config.php, and 3 more files...
This commit is contained in:
@@ -19,7 +19,7 @@ function printSidebarEntry($url, $title, $icon, $activeId) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<nav id="sidebar" class="sidebar p-m pt-l">
|
<nav id="sidebar" class="sidebar p-m">
|
||||||
<a href="<?php print(l10n_url_abs('/')); ?>" class="no-select">
|
<a href="<?php print(l10n_url_abs('/')); ?>" class="no-select">
|
||||||
<img class="logo-sidebar-v2"
|
<img class="logo-sidebar-v2"
|
||||||
src="https://cdn.nibblepoker.lu/NibblePoker/Logos/v2_full_shaded_optimized.svg"
|
src="https://cdn.nibblepoker.lu/NibblePoker/Logos/v2_full_shaded_optimized.svg"
|
||||||
@@ -43,7 +43,7 @@ function printSidebarEntry($url, $title, $icon, $activeId) {
|
|||||||
//printSidebarEntry(l10n_url_abs('/content/?tags=utility'), localize("sidebar.text.utilities"), "fad fa-toolbox", "utility");
|
//printSidebarEntry(l10n_url_abs('/content/?tags=utility'), localize("sidebar.text.utilities"), "fad fa-toolbox", "utility");
|
||||||
//printSidebarEntry(l10n_url_abs('/content/?tags=3d-print'), localize("sidebar.text.3d-print"), "fad fa-print", "3d-print");
|
//printSidebarEntry(l10n_url_abs('/content/?tags=3d-print'), localize("sidebar.text.3d-print"), "fad fa-print", "3d-print");
|
||||||
//<hr class="subtle">
|
//<hr class="subtle">
|
||||||
printSidebarEntry(l10n_url_abs('/tools/'), localize("sidebar.text.tools"), "fad fa-tools", "tools");
|
//printSidebarEntry(l10n_url_abs('/tools/'), localize("sidebar.text.tools"), "fad fa-tools", "tools");
|
||||||
?>
|
?>
|
||||||
<hr class="subtle">
|
<hr class="subtle">
|
||||||
<?php
|
<?php
|
||||||
|
@@ -4,23 +4,20 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
|
|||||||
header('HTTP/1.1 403 Forbidden'); die();
|
header('HTTP/1.1 403 Forbidden'); die();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Used for opengraph head tags.
|
// Used for opengraph head tags & the debug page.
|
||||||
switch($_SERVER['SERVER_NAME']) {
|
switch($_SERVER['SERVER_NAME']) {
|
||||||
case "192.168.1.85":
|
|
||||||
case "localhost":
|
|
||||||
case "nibblepoker.lu":
|
|
||||||
$host = "nibblepoker.lu";
|
|
||||||
$host_uri = "https://nibblepoker.lu";
|
|
||||||
$host_tld = "lu";
|
|
||||||
break;
|
|
||||||
case "nibblepoker.com":
|
case "nibblepoker.com":
|
||||||
$host = "nibblepoker.com";
|
$host = "nibblepoker.com";
|
||||||
$host_uri = "https://nibblepoker.com";
|
$host_uri = "https://nibblepoker.com";
|
||||||
$host_tld = "com";
|
$host_tld = "com";
|
||||||
|
$cdn_uri = "https://cdn.nibblepoker.com";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
http_response_code(400);
|
$host = "nibblepoker.lu";
|
||||||
exit(1);
|
$host_uri = "https://nibblepoker.lu";
|
||||||
|
$host_tld = "lu";
|
||||||
|
$cdn_uri = "https://cdn.nibblepoker.lu";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$dir_commons = dirname(__FILE__);
|
$dir_commons = dirname(__FILE__);
|
||||||
@@ -43,5 +40,5 @@ $enable_waffle_iron = date('m-d') === '07-21';
|
|||||||
$enable_bouneschlupp_mode = date('m-d') === '06-23';
|
$enable_bouneschlupp_mode = date('m-d') === '06-23';
|
||||||
|
|
||||||
// Debugging stuff
|
// Debugging stuff
|
||||||
$print_execution_timer = true;
|
$print_execution_timer = false;
|
||||||
?>
|
?>
|
@@ -6,10 +6,11 @@
|
|||||||
"links.header.title": "Links",
|
"links.header.title": "Links",
|
||||||
|
|
||||||
"links.social.title": "Social Networks",
|
"links.social.title": "Social Networks",
|
||||||
|
"links.work.title": "Work & Freelancing",
|
||||||
"links.misc.title": "Miscellaneous",
|
"links.misc.title": "Miscellaneous",
|
||||||
|
|
||||||
"links.twitter.title": "Twitter <i>(@NibblePoker)</i>",
|
"links.twitter.title": "Twitter <i>(@NibblePoker)</i>",
|
||||||
"links.twitter.text.1": "???",
|
"links.twitter.text.1": "Random rambles about projects I'm working on.",
|
||||||
|
|
||||||
"links.github.title": "GitHub <i>(@aziascreations)</i>",
|
"links.github.title": "GitHub <i>(@aziascreations)</i>",
|
||||||
"links.github.text.1": "Private account containing all my personal projects.",
|
"links.github.text.1": "Private account containing all my personal projects.",
|
||||||
@@ -20,6 +21,9 @@
|
|||||||
"links.linkedin.title": "LinkedIn",
|
"links.linkedin.title": "LinkedIn",
|
||||||
"links.linkedin.text.1": "???",
|
"links.linkedin.text.1": "???",
|
||||||
|
|
||||||
|
"links.malt.title": "Malt",
|
||||||
|
"links.malt.text.1": "Any freelancing/consulting job can be conducted through their service.",
|
||||||
|
|
||||||
"links.gitea.title": "Self-hosted Gitea",
|
"links.gitea.title": "Self-hosted Gitea",
|
||||||
"links.gitea.text.1": "Contains all my projects and some mirrors from various sites.",
|
"links.gitea.text.1": "Contains all my projects and some mirrors from various sites.",
|
||||||
|
|
||||||
|
@@ -6,10 +6,11 @@
|
|||||||
"links.header.title": "Liens",
|
"links.header.title": "Liens",
|
||||||
|
|
||||||
"links.social.title": "Réseaux Sociaux",
|
"links.social.title": "Réseaux Sociaux",
|
||||||
|
"links.work.title": "Travail & Freelancing",
|
||||||
"links.misc.title": "Autres liens",
|
"links.misc.title": "Autres liens",
|
||||||
|
|
||||||
"links.twitter.title": "Twitter <i>(@NibblePoker)</i>",
|
"links.twitter.title": "Twitter <i>(@NibblePoker)</i>",
|
||||||
"links.twitter.text.1": "???",
|
"links.twitter.text.1": "Des discussions et posts sur les projets sur lesquels je travaille.",
|
||||||
|
|
||||||
"links.github.title": "GitHub <i>(@aziascreations)</i>",
|
"links.github.title": "GitHub <i>(@aziascreations)</i>",
|
||||||
"links.github.text.1": "Compte privé contenant tous mes projets personnels.",
|
"links.github.text.1": "Compte privé contenant tous mes projets personnels.",
|
||||||
@@ -20,6 +21,9 @@
|
|||||||
"links.linkedin.title": "LinkedIn",
|
"links.linkedin.title": "LinkedIn",
|
||||||
"links.linkedin.text.1": "???",
|
"links.linkedin.text.1": "???",
|
||||||
|
|
||||||
|
"links.malt.title": "Malt",
|
||||||
|
"links.malt.text.1": "???",
|
||||||
|
|
||||||
"links.gitea.title": "Gitea auto-hébergé",
|
"links.gitea.title": "Gitea auto-hébergé",
|
||||||
"links.gitea.text.1": "Contient tous mes projets et des miroirs provenant de divers sites.",
|
"links.gitea.text.1": "Contient tous mes projets et des miroirs provenant de divers sites.",
|
||||||
|
|
||||||
|
@@ -53,13 +53,24 @@ include 'commons/DOM/sidebar.php';
|
|||||||
<?php print(localize("links.github_pro.text.1")); ?>
|
<?php print(localize("links.github_pro.text.1")); ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
<?php printMainHeader(localize("links.work.title")); ?>
|
||||||
|
|
||||||
<p class="mt-s ml-s t-w-600 t-size-12">
|
<p class="mt-s ml-s t-w-600 t-size-12">
|
||||||
<i class="fab fa-linkedin mr-xs"></i><a href="https://www.linkedin.com/in/herwin-bozet/"><?php print(localize("links.linkedin.title")); ?></a>
|
<i class="fab fa-linkedin ml-xxs mr-xs"></i><a href="https://www.linkedin.com/in/herwin-bozet/"><?php print(localize("links.linkedin.title")); ?></a>
|
||||||
</p>
|
</p>
|
||||||
<p class="mt-xxs ml-l">
|
<p class="mt-xxs ml-l">
|
||||||
<?php print(localize("links.linkedin.text.1")); ?>
|
<?php print(localize("links.linkedin.text.1")); ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p class="mt-s ml-s t-w-600 t-size-12">
|
||||||
|
<i class="fa-duotone fa-handshake mr-xxs"></i><a href="https://fr.malt.be/profile/herwinbozet"><?php print(localize("links.malt.title")); ?></a>
|
||||||
|
</p>
|
||||||
|
<p class="mt-xxs ml-l">
|
||||||
|
<?php print(localize("links.malt.text.1")); ?>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<?php printMainHeader(localize("links.misc.title")); ?>
|
<?php printMainHeader(localize("links.misc.title")); ?>
|
||||||
|
|
||||||
<p class="mt-s ml-s t-w-600 t-size-12">
|
<p class="mt-s ml-s t-w-600 t-size-12">
|
||||||
@@ -75,6 +86,13 @@ include 'commons/DOM/sidebar.php';
|
|||||||
<p class="mt-xxs ml-l">
|
<p class="mt-xxs ml-l">
|
||||||
<?php print(localize("links.archives.text.1")); ?>
|
<?php print(localize("links.archives.text.1")); ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p class="mt-s ml-s t-w-600 t-size-12">
|
||||||
|
<i class="fa-duotone fa-code-branch mr-xs"></i><a href="https://git.nibblepoker.lu/"><?php print(localize("links.gitea.title")); ?></a>
|
||||||
|
</p>
|
||||||
|
<p class="mt-xxs ml-l">
|
||||||
|
<?php print(localize("links.gitea.text.1")); ?>
|
||||||
|
</p>
|
||||||
</main>
|
</main>
|
||||||
<?php
|
<?php
|
||||||
include 'commons/DOM/footer.php';
|
include 'commons/DOM/footer.php';
|
||||||
|
Reference in New Issue
Block a user