bordures autour des images

This commit is contained in:
Georges Dupéron 2010-07-04 22:26:20 +02:00
parent 995482dff1
commit fe337fde1a
4 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ class CMS {
public static function affiche($uri) { public static function affiche($uri) {
$p = Page::_new(CMS::uri_vers_chemin($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() . $p->vue()
. CMS::pied(); . CMS::pied();
} }
@ -38,12 +38,12 @@ class CMS {
<title>' . $titre . '</title> <title>' . $titre . '</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="fr" /> <meta http-equiv="Content-Language" content="fr" />
<link href="../style.css" rel="stylesheet" type="text/css" /><!-- TODO : chemin incorrect -->
</head> </head>
<body> <body>
<h1>' . $titre . '</h1>'; <h1>' . $titre . '</h1>';
// <meta name="keywords" lang="fr" content="motcle1,mocle2" /> // <meta name="keywords" lang="fr" content="motcle1,mocle2" />
// <meta name="description" content="Description de ma page web." /> // <meta name="description" content="Description de ma page web." />
// <link href="style.css" rel="stylesheet" type="text/css" />
} }
public static function pied() { public static function pied() {

View File

@ -11,7 +11,7 @@ class GalerieEvenement extends Page {
return $enfants[0]->vue('miniature'); return $enfants[0]->vue('miniature');
} }
$ret .= '<ul>'; $ret .= '<ul class="galerie evenement">';
foreach ($this->liste_enfants() as $k) { foreach ($this->liste_enfants() as $k) {
$ret .= '<li><a href="' . $k->url() . '">' . '['.$k->chemin->get().'] ' . $k->vue('miniature') . '</a></li>'; $ret .= '<li><a href="' . $k->url() . '">' . '['.$k->chemin->get().'] ' . $k->vue('miniature') . '</a></li>';
} }

View File

@ -11,7 +11,7 @@ class GaleriePeriode extends Page {
return $enfants[0]->vue('miniature'); return $enfants[0]->vue('miniature');
} }
$ret .= '<ul>'; $ret .= '<ul class="galerie periode">';
foreach ($this->liste_enfants() as $k) { foreach ($this->liste_enfants() as $k) {
$ret .= '<li><a href="' . $k->url() . '">' . '['.$k->chemin->get().'] ' . $k->vue('miniature') . '</a></li>'; $ret .= '<li><a href="' . $k->url() . '">' . '['.$k->chemin->get().'] ' . $k->vue('miniature') . '</a></li>';
} }

View File

@ -6,7 +6,7 @@ class Galerie extends Page {
public function vue($nom_vue = "normal") { public function vue($nom_vue = "normal") {
$ret = ''; $ret = '';
$ret .= '<ul>'; $ret .= '<ul class="galerie principale">';
foreach ($this->liste_enfants() as $k) { foreach ($this->liste_enfants() as $k) {
$ret .= '<li><a href="' . $k->url() . '">' . $k->vue('miniature') . '</a></li>'; $ret .= '<li><a href="' . $k->url() . '">' . $k->vue('miniature') . '</a></li>';
} }