forked from vergnet/site-accueil-insa
Merge remote-tracking branch 'refs/remotes/origin/master'
This commit is contained in:
commit
db79263647
3 changed files with 11 additions and 3 deletions
|
@ -222,6 +222,9 @@ Au niveau des modifications, tu peux changer le nom des équipes dans le script
|
||||||
### error.php
|
### error.php
|
||||||
Page sans complexité, une erreur 404 plus ou moin donc mettre une image drôle ou un ptit message rigolo.
|
Page sans complexité, une erreur 404 plus ou moin donc mettre une image drôle ou un ptit message rigolo.
|
||||||
|
|
||||||
|
### game.php
|
||||||
|
Jeu rajouté tardivement développé par le club info, spécifique à la semaine d'accueil 2022 => tu peux la retirer et essaye de voir avec le club info pour éventuellement les chauffer à en faire un nouveau sur le nouveau thème !
|
||||||
|
|
||||||
### index.php
|
### index.php
|
||||||
Page d'accueil, sans complexité, juste du contenu et des liens, actuellement le lien vers la page enigma y est caché en cliquant sur INSA BROS => à changer pour pas que ce soit prévisible.
|
Page d'accueil, sans complexité, juste du contenu et des liens, actuellement le lien vers la page enigma y est caché en cliquant sur INSA BROS => à changer pour pas que ce soit prévisible.
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,11 @@ li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.photo {
|
||||||
|
display: inline-block;
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
.directory-ul {
|
.directory-ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,7 +74,7 @@ function createDirectories($path)
|
||||||
?>
|
?>
|
||||||
<a href="<?= $folderLink ?>">
|
<a href="<?= $folderLink ?>">
|
||||||
<li class="directory-li">
|
<li class="directory-li">
|
||||||
<span id="folderTitle"><?= $folderTitle ?></span>
|
<span id="folderTitle"><?= str_replace("_", " ", $folderTitle) ?></span>
|
||||||
<span id="folderPhotos">
|
<span id="folderPhotos">
|
||||||
<?php if ($photos > 1) {
|
<?php if ($photos > 1) {
|
||||||
echo " - ".$photos." photos";
|
echo " - ".$photos." photos";
|
||||||
|
@ -235,13 +235,13 @@ function generatePath($path)
|
||||||
$currentPath = "";
|
$currentPath = "";
|
||||||
$pathTitle = "Menu";
|
$pathTitle = "Menu";
|
||||||
$pathLink = "?" . urlParam . "=";
|
$pathLink = "?" . urlParam . "=";
|
||||||
echo '<li><a href="'.$pathLink.'" class="link">'.$pathTitle.'</a></li>';
|
echo '<li><a href="'.$pathLink.'" class="link">'.str_replace("_", " ", $pathTitle).'</a></li>';
|
||||||
foreach ($folders as $value) {
|
foreach ($folders as $value) {
|
||||||
if ($value != "") {
|
if ($value != "") {
|
||||||
$pathTitle = $value;
|
$pathTitle = $value;
|
||||||
$currentPath .= DIRECTORY_SEPARATOR . $value;
|
$currentPath .= DIRECTORY_SEPARATOR . $value;
|
||||||
$pathLink = "?" . urlParam . "=" . $currentPath;
|
$pathLink = "?" . urlParam . "=" . $currentPath;
|
||||||
echo ' > <li><a href="'.$pathLink.'" class="link">'.$pathTitle.'</a></li>';
|
echo ' > <li><a href="'.$pathLink.'" class="link">'.str_replace("_", " ", $pathTitle).'</a></li>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue