This repository has been archived by the owner on Jul 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
site.html
140 lines (120 loc) · 3.44 KB
/
site.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
#CACHE{0}
<BOUCLE_principale(SYNDIC){id_syndic}{tout}>
<!DOCTYPE html>
<html>
<head>
<title>[(#TITRE|sinon{#URL_SITE}|textebrut)]</title>
<meta charset="#CHARSET">
<link rel="canonical" href="[(#ID_SYNDIC|generer_url_entite{site}|url_absolue)]">
[(#SESSION{id_auteur}|sinon{0}|microcache{inc/head_langue})]
<INCLURE{fond=inc/head}{lang=fr}>
<BOUCLE_auteur_message(AUTEURS){id_auteur=#SESSION{id_auteur}|sinon{0}}{tout}>
[<link rel="stylesheet" href="(#URL_PAGE{couleur,couleur=#COULEUR})" type="text/css" media="all">]
<style><!--
[(#ID_AUTEUR|microcache{noisettes/css_auteur})]
--></style>
</BOUCLE_auteur_message>
[<link rel="stylesheet" href="(#URL_PAGE{couleur,couleur=54dd24})" type="text/css" media="all">]
<//B_auteur_message>
<INCLURE{fond=inc/head_session}>
<script><!--
if (auteur_connecte > 0) {
$(document).ready(function(){
$("#follow_url").load("index.php?action=bouton_follow_url&id_syndic=#ID_SYNDIC");
});
}
--></script>
<style>
#enfants_sites {
margin-top: 20px;
margin-left: -20px;
font-size: 90%;
max-height: 400px;
overflow: auto;
}
#enfants_sites ul li ul {
margin-left: 20px;
display: none;
}
#enfants_sites ul li:hover>ul {
display: block;
}
#entete_people h2 {
margin-top: 0;
}
</style>
</head>
<body class="site plier">
<INCLURE{fond=inc/entete}>
<div id="principale">
<div>
<div id="entete_people">
[(#SET{url_racine,""})]
<ul class="parents_url">
<BOUCLE_parent(SYNDIC){id_syndic=#ID_PARENT}>
<BOUCLE_parent2(BOUCLE_parent) />
<li>
<!-- #ID_PARENT -->
<a href="[(#ID_SYNDIC|generer_url_entite{site})]">[(#URL_SITE|replace{#GET{url_racine}})]</a>
[(#SET{url_racine,#URL_SITE})]
</li>
</BOUCLE_parent>
</ul>
<div class="outils">
<div class="suivre">
<div id="follow_url"></div>
</div>
</div>
[(#TITRE|oui)
<h1>#TITRE</h1>
<h2>[(#URL_SITE|replace{#GET{url_racine}}|mb_substr{0,40,utf-8})]</h2>
]
[(#TITRE|non)
<h1>[(#URL_SITE|replace{#GET{url_racine}}|mb_substr{0,40,utf-8})]</h1>
]
[(#ID_SYNDIC|microcache{noisettes/afficher_enfants_site})]
[(#SET{follow,#ENV{follow}})]
[(#ENV{follow}|non)
[(#SET{follow,all})]
]
[(#SESSION{id_auteur}|non)
[(#SET{follow,all})]
]
[(#SESSION{id_auteur}|oui)
<div class="limite_date">
<a href="sites/[(#ID_SYNDIC|parametre_url{follow,#SESSION{login}})]"[(#GET{follow}|=={#SESSION{login}}|oui)class="actif"]>Mes messages</a>
|
<a href="sites/[(#ID_SYNDIC|parametre_url{follow,follow})]"[(#GET{follow}|=={follow}|oui)class="actif"]>Messages de mon réseau</a>
|
<a href="[(#ID_SYNDIC|generer_url_entite{site})]"[(#GET{follow}|=={all}|oui)class="actif"]>Tous les messages</a>
</div>
]
</div>
<div id="centre">
<div id="tous_messages">
[(#ENV{debut_messages}|>{10}|non)
[(#GET{follow}|=={all}|oui)
[(#ID_SYNDIC|microcache{noisettes/contenu/contenu_site})]
]
[(#GET{follow}|=={all}|non)
<INCLURE{fond=noisettes/contenu/contenu_site}{id=#ID_SYNDIC}{follow=#GET{follow}}>
]
]
[(#ENV{debut_messages}|>{10}|oui)
<INCLURE{fond=noisettes/contenu/contenu_site}{id=#ID_SYNDIC}{follow=#GET{follow}}>
]
</div>
</div>
<aside id="droite">
[(#REM) plugin seenthis_opencalais]
[(#PLUGIN{seenthisoc}|?{
[(#INCLURE{fond=noisettes/oc_site,id=#ID_SYNDIC})]
})]
</aside>
<div class="clear-left"></div>
</div>
</div>
</body>
</html>
</BOUCLE_principale>
#FILTRE{mini_html}