commit 6baacdd20a79664609d12c2a3ee0c2e5a860d275
parent ad3fcb83d477ca460fcd663128d31e5f887adce2
Author: Georges Dupéron <jahvascriptmaniac+github@free.fr>
Date: Mon, 19 Jul 2010 03:16:39 +0200
Utilisation de __prop__titre pour le titre de la page.
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/__cms__/squelette.php b/__cms__/squelette.php
@@ -17,13 +17,13 @@ class Squelette {
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
- <title>' . $page->chemin->dernier() . '</title>
+ <title>' . $page->get_prop("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>' . $page->chemin->dernier() . '</h1>';
+ <h1>' . $page->get_prop("titre") . '</h1>';
// <meta name="keywords" lang="fr" content="motcle1,mocle2" />
// <meta name="description" content="Description de ma page web." />
}
@@ -33,4 +33,4 @@ class Squelette {
' </body>
</html>';
}
-}
-\ No newline at end of file
+}