commit fe337fde1a3445042ed19397f8221f8f49741044
parent 995482dff10b638e5eb138ab4900b016e02a26d5
Author: Georges Dupéron <jahvascriptmaniac+github@free.fr>
Date: Sun, 4 Jul 2010 22:26:20 +0200
bordures autour des images
Diffstat:
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/__cms__/cms.php b/__cms__/cms.php
@@ -25,7 +25,7 @@ class CMS {
public static function affiche($uri) {
$p = Page::_new(CMS::uri_vers_chemin($uri));
- echo CMS::en_tete($uri) // TODO
+ echo CMS::en_tete($p->chemin->get()) // TODO
. $p->vue()
. CMS::pied();
}
@@ -38,12 +38,12 @@ class CMS {
<title>' . $titre . '</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="fr" />
+ <link href="../style.css" rel="stylesheet" type="text/css" /><!-- TODO : chemin incorrect -->
</head>
<body>
<h1>' . $titre . '</h1>';
// <meta name="keywords" lang="fr" content="motcle1,mocle2" />
// <meta name="description" content="Description de ma page web." />
-// <link href="style.css" rel="stylesheet" type="text/css" />
}
public static function pied() {
diff --git a/__cms__/types/galerie-evenement.php b/__cms__/types/galerie-evenement.php
@@ -11,7 +11,7 @@ class GalerieEvenement extends Page {
return $enfants[0]->vue('miniature');
}
- $ret .= '<ul>';
+ $ret .= '<ul class="galerie evenement">';
foreach ($this->liste_enfants() as $k) {
$ret .= '<li><a href="' . $k->url() . '">' . '['.$k->chemin->get().'] ' . $k->vue('miniature') . '</a></li>';
}
diff --git a/__cms__/types/galerie-periode.php b/__cms__/types/galerie-periode.php
@@ -11,7 +11,7 @@ class GaleriePeriode extends Page {
return $enfants[0]->vue('miniature');
}
- $ret .= '<ul>';
+ $ret .= '<ul class="galerie periode">';
foreach ($this->liste_enfants() as $k) {
$ret .= '<li><a href="' . $k->url() . '">' . '['.$k->chemin->get().'] ' . $k->vue('miniature') . '</a></li>';
}
diff --git a/__cms__/types/galerie.php b/__cms__/types/galerie.php
@@ -6,7 +6,7 @@ class Galerie extends Page {
public function vue($nom_vue = "normal") {
$ret = '';
- $ret .= '<ul>';
+ $ret .= '<ul class="galerie principale">';
foreach ($this->liste_enfants() as $k) {
$ret .= '<li><a href="' . $k->url() . '">' . $k->vue('miniature') . '</a></li>';
}