[ Index ] |
|
Code source de Dotclear 1.2.5 |
1 <?php 2 # ***** BEGIN LICENSE BLOCK ***** 3 # This file is part of DotClear. 4 # Copyright (c) 2004 Olivier Meunier and contributors. All rights 5 # reserved. 6 # 7 # DotClear is free software; you can redistribute it and/or modify 8 # it under the terms of the GNU General Public License as published by 9 # the Free Software Foundation; either version 2 of the License, or 10 # (at your option) any later version. 11 # 12 # DotClear is distributed in the hope that it will be useful, 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 # along with DotClear; if not, write to the Free Software 19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 # 21 # ***** END LICENSE BLOCK ***** 22 ?> 23 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 24 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 25 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php dcInfo('lang'); ?>" 26 lang="<?php dcInfo('lang'); ?>"> 27 <head> 28 <meta http-equiv="Content-Type" 29 content="text/html; charset=<?php dcInfo('encoding'); ?>" /> 30 <meta name="MSSmartTagsPreventParsing" content="TRUE" /> 31 <?php dcHeadLinks(); ?> 32 <link rel="alternate" type="application/rss+xml" title="RSS" href="<?php dcInfo('rss'); ?>" /> 33 <link rel="alternate" type="application/atom+xml" title="Atom" href="<?php dcInfo('atom'); ?>" /> 34 <meta name="DC.title" content="<?php dcInfo(); ?>" /> 35 <title><?php dcSinglePostTitle('%s - '); dcSingleCatTitle('%s - '); 36 dcSingleMonthTitle('%s - '); dcCustomTitle('%s - '); dcInfo(); ?></title> 37 38 <link rel="stylesheet" type="text/css" href="<?php dcInfo('theme'); ?>/style.css" media="screen" /> 39 <?php dcPostTrackbackAutoDiscovery(); ?> 40 </head> 41 42 <body> 43 44 <div id="page"> 45 46 <div id="top"> 47 <h1><a href="<?php dcInfo('url'); ?>"><?php dcInfo(); ?></a></h1> 48 </div> 49 50 <p id="prelude"><a href="#main">Aller au contenu</a> | 51 <a href="#sidebar">Aller au menu</a> | 52 <a href="#search">Aller à la recherche</a></p> 53 54 <div id="main"> 55 <div id="content"> 56 <?php if ($err_msg != '') : /* Si on a une quelconque erreur, on l'affiche */?> 57 <div class="error"><strong>Erreur : </strong> 58 <?php echo $err_msg; ?></div> 59 60 <?php elseif ($preview) : /* Si on demande la prévisualisation d'un commentaire */?> 61 <h3>Commentaire pour <?php dcPostTitle(); ?></h3> 62 <div id="comment-preview"> 63 <blockquote> 64 <?php dcCommentPreview(); ?> 65 </blockquote> 66 </div> 67 68 <h3>Changer le commentaire</h3> 69 <?php include dirname(__FILE__).'/form.php'; ?> 70 71 <?php elseif ($mode != 'post') : /* Si aucune erreur et mode != post on affiche une liste de billets */?> 72 <?php # Phrase affiché en cas de recherche (%s est le mot cherché) 73 dcSearchString('<p>Résultats de votre recherche de <em>%s</em>.</p>'); 74 ?> 75 76 <?php include dirname(__FILE__).'/list.php'; ?> 77 78 <?php else : /* Sinon, mode = post, donc billet unique (avec commentaires et tout le reste)*/?> 79 <?php include dirname(__FILE__).'/post.php'; ?> 80 <?php endif; ?> 81 82 </div> 83 </div> 84 85 <div id="sidebar"> 86 <div id="calendar"> 87 <h2>Calendrier</h2> 88 <?php #Affichage du calendrier 89 dcCalendar('<table summary="Calendrier">%s</table>'); ?> 90 <span></span> 91 </div> 92 93 <div id="search"> 94 <form action="<?php dcInfo('search'); ?>" method="get"> 95 96 <h2><label for="q">Rechercher</label></h2> 97 <p class="field"><input name="q" id="q" type="text" size="10" 98 value="<?php dcSearchString(); ?>" accesskey="4" /> 99 <input type="submit" class="submit" value="ok" /></p> 100 101 </form> 102 </div> 103 104 <?php /* Affichage du blog "selection uniquement si des billets sont 105 présents */ ?> 106 <?php dcSelection('<div id="selection"><h2>À retenir</h2><ul>%s</ul></div>'); ?> 107 108 <?php dcLangList('<div id="languages"><h2>Langues</h2><ul>%s</ul></div>'); ?> 109 110 <div id="categories"> 111 <h2>Catégories</h2> 112 <?php dcCatList(); ?> 113 </div> 114 115 <div id="archives"> 116 <h2>Archives</h2> 117 <?php dcMonthsList(); ?> 118 </div> 119 120 <div id="links"> 121 <h2>Liens</h2> 122 <?php dcBlogroll::linkList(); ?> 123 </div> 124 125 <div id="syndicate"> 126 <h2>Syndication</h2> 127 <ul> 128 <li><a href="<?php dcInfo('rss'); ?>">fil rss</a></li> 129 <li><a href="<?php dcInfo('rss'); ?>?type=co">fil rss commentaires</a></li> 130 <li><a href="<?php dcInfo('atom'); ?>">fil atom</a></li> 131 <li><a href="<?php dcInfo('atom'); ?>?type=co">fil atom commentaires</a></li> 132 </ul> 133 </div> 134 </div> 135 136 <p id="footer"><a href="http://www.dotclear.net/"> 137 propulsé par DotClear</a></p> 138 139 </div> <!-- end #page --> 140 141 <!-- Blocs en plus pour ajouter des images en tout genre si besoin --> 142 <div id="block1"><span></span></div><div id="block2"><span></span></div> 143 <div id="block3"><span></span></div><div id="block4"><span></span></div> 144 <div id="block5"><span></span></div><div id="block6"><span></span></div> 145 146 </body> 147 </html>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Fri Feb 23 21:40:15 2007 | par Balluche grâce à PHPXref 0.7 |