-
Notifications
You must be signed in to change notification settings - Fork 0
/
list.html
140 lines (137 loc) · 5.62 KB
/
list.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<title>{article_titre_page}{blog_nom}</title>
<meta name="viewport" content="width=device-width, user-scalable=yes" />
<meta name="generator" content="BlogoText" />
<meta name="robots" content="all" />
<meta name="author" content="{blog_auteur}" />
<meta name="description" content="{blog_description}" />
<link rel="icon" type="image/png" href="{style}/images/favicon.png" />
<link rel="apple-touch-icon" href="{style}/images/apple-touch-icon.png">
<link rel="canonical" href="{racine_du_site}" />
<link rel="image_src" href="{style}/images/apple-touch-icon.png" />
<meta itemprop="name" content="{article_titre}" />
<meta itemprop="description" content="{article_chapo}" />
<meta itemprop="image" content="{style}/images/apple-touch-icon.png">
<meta property="og:title" content="{article_titre_page}{blog_nom}" />
<meta property="og:url" content="{racine_du_site}" />
<meta property="og:description" content="{blog_description}" />
<meta property="og:site_name" content="{blog_nom}" />
<meta property="og:locale" content="fr_FR" />
<meta property="og:image" content="{style}/images/apple-touch-icon.png" />
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="{style}/images/apple-touch-icon.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link type="text/css" rel="stylesheet" href="{style}/style.css" />
<link type="application/rss+xml" rel="alternate" title="RSS - Articles" href="{rss}" />
<link rel="alternate" type="application/rss+xml" title="RSS - Les liens" href="rss.php?mode=links" />
<link rel="alternate" type="application/atom+xml" title="ATOM - Le blog" href="atom.php" />
<link rel="alternate" type="application/atom+xml" title="ATOM - Les liens" href="atom.php?mode=links" />
</head>
<body>
<header id="top">
<h1><a href="{racine_du_site}" title="">{blog_nom}</a></h1>
<h2>{blog_description}</h2>
</header>
<div id="wrapper">
<aside id="sidebar">
<nav id="navigate">
<h3><img src="{style}/images/search.png" alt=""/> Rechercher</h3>
{recherche}
{calendrier}
<hr/>
</nav>
<nav id="last_comments">
<h3><img src="{style}/images/icon_comment.png" alt=""/> Derniers commentaires</h3>
{commentaires_encart}
<hr/>
</nav>
<nav id="liens">
<h3>Autres</h3>
<ul>
<li><a href="index.php" title="">Blog</a></li>
<li><a href="index.php?mode=links" title="">Liens</a></li>
<li><a href="index.php?mode=comments" title="">Derniers commentaires</a></li>
</ul>
<hr/>
</nav>
<nav id="random">
<h3>Un article au hasard</h3>
<ul>
<li><a href="?random" title="">Un article au hasard ?</a></li>
</ul>
<hr/>
</nav>
<nav id="rss">
<h4>Fils RSS</h4>
<ul>
<li><a href="rss.php" title=""><img src="{style}/images/feed.png" alt="" /> RSS</a> : Blog</li>
<li><a href="rss.php?full" title=""><img src="{style}/images/feed.png" alt=""/> RSS</a> : Blog (articles complets)</li>
</ul>
<hr/>
</nav>
<nav id="tags">
<h3><img src="{style}/images/icon_tag.png" alt="" /> Tags</h3>
{categories_encart}
<hr/>
</nav>
</aside>
<section id="contenu">
{BOUCLE_posts}
// ici il s'affichera ce qu'on veut : un article, un commentaire, un lien sauvé…
// les thèmes pour ces choses sont dans le dossier "template"
// chaque "objet" (lien, article, …) dispose de son propre formatage.
// **** le texte que vous mettez ici (dans la "boucle") ne sera pas éxécuté ni affiché. ****
{/BOUCLE_posts}
</section>
<br style="clear:both;" />
{pagination}
</div> <!-- einde #wrapper -->
<footer><b>{blog_auteur}</b>, licence CC0 – Publié avec <a href="http://lehollandaisvolant.net/blogotext/" title="">BlogoText</a> – Thème par <a href="http://lehollandaisvolant.net/" title="">Timo van Neerden</a>, retouché par OranginaRouge</footer>
<script type="text/javascript">
/* Tag script found at : http://www.siteduzero.com/tutoriel-3-34703-insertion-de-balises-dans-une-zone-de-texte.html */
function insertTag(startTag, endTag, tag, tagType) {
var field = document.getElementById(tag);
var scroll = field.scrollTop;
field.focus();
if (window.ActiveXObject) { // C'est IE
var textRange = document.selection.createRange();
var currentSelection = textRange.text;
textRange.text = startTag + currentSelection + endTag;
textRange.moveStart("character", -endTag.length - currentSelection.length);
textRange.moveEnd("character", -endTag.length);
textRange.select();
} else { // c'est pas IE.
var startSelection = field.value.substring(0, field.selectionStart);
var currentSelection = field.value.substring(field.selectionStart, field.selectionEnd);
var endSelection = field.value.substring(field.selectionEnd);
if (currentSelection == "") { currentSelection = "TEXTE"; }
field.value = startSelection + startTag + currentSelection + endTag + endSelection;
field.focus();
field.setSelectionRange(startSelection.length + startTag.length, startSelection.length + startTag.length + currentSelection.length);
}
field.scrollTop = scroll;
}
function reply(code) {
var field = document.getElementById('form-commentaire').getElementsByTagName('textarea')[0];
field.focus();
if (field.value !== '') {
field.value += '\n\n';
}
field.value += code;
field.scrollTop = 10000;
field.focus();
}
function resize(id, dht) {
var elem = document.getElementById(id);
var ht = elem.offsetHeight;
size = Number(ht)+Number(dht);
elem.style.height = size+"px";
return false;
}
</script>
</body>
</html>