4 |
david |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
include ("inc_version.php3");
|
|
|
4 |
|
|
|
5 |
if ($var_lang) {
|
|
|
6 |
$lastmodified = filemtime("aide_gauche.php3");
|
|
|
7 |
$headers_only = http_last_modified($lastmodified, time() + 24 * 3600);
|
|
|
8 |
if ($headers_only) exit;
|
|
|
9 |
}
|
|
|
10 |
|
|
|
11 |
if (@file_exists($flag_ecrire ? "inc_connect.php3" : "ecrire/inc_connect.php3")) {
|
|
|
12 |
include_ecrire("inc_auth.php3");
|
|
|
13 |
$aide_statut = ($connect_statut == '1comite') ? 'redac' : 'admin';
|
|
|
14 |
}
|
|
|
15 |
else $aide_statut = 'admin';
|
|
|
16 |
|
|
|
17 |
include_ecrire("inc_lang.php3");
|
|
|
18 |
utiliser_langue_visiteur();
|
|
|
19 |
if ($var_lang) changer_langue($var_lang);
|
|
|
20 |
|
|
|
21 |
include_ecrire("inc_layer.php3");
|
|
|
22 |
|
|
|
23 |
?>
|
|
|
24 |
<HTML>
|
|
|
25 |
<HEAD>
|
|
|
26 |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
|
|
27 |
<style>
|
|
|
28 |
<!--
|
|
|
29 |
a {text-decoration: none; }
|
|
|
30 |
A:Hover {text-decoration: underline;}
|
|
|
31 |
|
|
|
32 |
.article-inactif {
|
|
|
33 |
float: <?php echo $spip_lang_left; ?>;
|
|
|
34 |
text-align: <?php echo $spip_lang_left; ?>;
|
|
|
35 |
width: 80%;
|
|
|
36 |
background: url(img_pack/triangle<?php echo $spip_lang_rtl; ?>.gif) <?php echo $spip_lang_left; ?> center no-repeat;
|
|
|
37 |
margin: 2px;
|
|
|
38 |
padding: 0px;
|
|
|
39 |
padding-<?php echo $spip_lang_left; ?>: 20px;
|
|
|
40 |
font-family: Arial, Sans, sans-serif;
|
|
|
41 |
font-size: 12px;
|
|
|
42 |
}
|
|
|
43 |
.article-actif {
|
|
|
44 |
float: <?php echo $spip_lang_right; ?>;
|
|
|
45 |
text-align: <?php echo $spip_lang_right; ?>;
|
|
|
46 |
width: 80%;
|
|
|
47 |
background: url(img_pack/triangle<?php echo $spip_lang_rtl; ?>.gif) <?php echo $spip_lang_right; ?> center no-repeat;
|
|
|
48 |
margin: 4px;
|
|
|
49 |
padding: 0px;
|
|
|
50 |
padding-<?php echo $spip_lang_right; ?>: 20px;
|
|
|
51 |
font-family: Arial, Sans, sans-serif;
|
|
|
52 |
font-size: 12px;
|
|
|
53 |
font-weight: bold;
|
|
|
54 |
color: black;
|
|
|
55 |
}
|
|
|
56 |
.article-actif:hover {
|
|
|
57 |
text-decoration: none;
|
|
|
58 |
}
|
|
|
59 |
.rubrique {
|
|
|
60 |
width: 90%;
|
|
|
61 |
margin: 0px;
|
|
|
62 |
margin-top: 6px;
|
|
|
63 |
margin-bottom: 4px;
|
|
|
64 |
padding: 4px;
|
|
|
65 |
font-family: Trebuchet MS, Arial, Sans, sans-serif;
|
|
|
66 |
font-size: 13px;
|
|
|
67 |
font-weight: bold;
|
|
|
68 |
color: black;
|
|
|
69 |
background-color: #EEEECC;
|
|
|
70 |
-moz-border-radius: 4px;
|
|
|
71 |
}
|
|
|
72 |
-->
|
|
|
73 |
</style>
|
|
|
74 |
<script type='text/javascript'><!--
|
|
|
75 |
var curr_article;
|
|
|
76 |
function activer_article(id) {
|
|
|
77 |
if (curr_article)
|
|
|
78 |
document.getElementById(curr_article).className = 'article-inactif';
|
|
|
79 |
if (id) {
|
|
|
80 |
document.getElementById(id).className = 'article-actif';
|
|
|
81 |
curr_article = id;
|
|
|
82 |
}
|
|
|
83 |
}
|
|
|
84 |
//--></script>
|
|
|
85 |
<?php afficher_script_layer(); ?>
|
|
|
86 |
</HEAD>
|
|
|
87 |
|
|
|
88 |
<body bgcolor="#FFFFFF" text="#000000" link='#E86519' vlink='#6E003A' alink='#FF9900' TOPMARGIN="5" LEFTMARGIN="5" MARGINWIDTH="5" MARGINHEIGHT="5"<?php
|
|
|
89 |
if ($spip_lang_rtl)
|
|
|
90 |
echo " dir='rtl'";
|
|
|
91 |
echo ">";
|
|
|
92 |
|
|
|
93 |
function rubrique($titre, $statut = "redac") {
|
|
|
94 |
global $ligne_rubrique;
|
|
|
95 |
global $block_rubrique;
|
|
|
96 |
global $titre_rubrique;
|
|
|
97 |
global $afficher_rubrique, $ouvrir_rubrique;
|
|
|
98 |
global $larubrique;
|
|
|
99 |
|
|
|
100 |
global $aide_statut;
|
|
|
101 |
|
|
|
102 |
$afficher_rubrique = 0;
|
|
|
103 |
|
|
|
104 |
if (($statut == "admin" AND $aide_statut == "admin") OR ($statut == "redac")) {
|
|
|
105 |
$larubrique++;
|
|
|
106 |
$titre_rubrique = $titre;
|
|
|
107 |
$ligne_rubrique = array();
|
|
|
108 |
$block_rubrique = "block$larubrique";
|
|
|
109 |
$afficher_rubrique = 1;
|
|
|
110 |
$ouvrir_rubrique = 0;
|
|
|
111 |
}
|
|
|
112 |
}
|
|
|
113 |
|
|
|
114 |
function fin_rubrique() {
|
|
|
115 |
global $ligne_rubrique;
|
|
|
116 |
global $block_rubrique;
|
|
|
117 |
global $titre_rubrique;
|
|
|
118 |
global $afficher_rubrique, $ouvrir_rubrique;
|
|
|
119 |
global $texte;
|
|
|
120 |
|
|
|
121 |
if ($afficher_rubrique && count($ligne_rubrique)) {
|
|
|
122 |
echo "<div class='rubrique'>";
|
|
|
123 |
if ($ouvrir_rubrique)
|
|
|
124 |
echo bouton_block_visible($block_rubrique);
|
|
|
125 |
else
|
|
|
126 |
echo bouton_block_invisible($block_rubrique);
|
|
|
127 |
echo $titre_rubrique;
|
|
|
128 |
echo "</div>\n";
|
|
|
129 |
if ($ouvrir_rubrique)
|
|
|
130 |
echo debut_block_visible($block_rubrique);
|
|
|
131 |
else
|
|
|
132 |
echo debut_block_invisible($block_rubrique);
|
|
|
133 |
echo "\n";
|
|
|
134 |
reset($ligne_rubrique);
|
|
|
135 |
while (list(, $ligne) = each($ligne_rubrique)) {
|
|
|
136 |
echo $texte[$ligne];
|
|
|
137 |
}
|
|
|
138 |
echo fin_block();
|
|
|
139 |
echo "\n\n";
|
|
|
140 |
}
|
|
|
141 |
}
|
|
|
142 |
|
|
|
143 |
function article($titre, $lien, $statut = "redac") {
|
|
|
144 |
global $aide;
|
|
|
145 |
global $ligne;
|
|
|
146 |
global $ligne_rubrique;
|
|
|
147 |
global $rubrique;
|
|
|
148 |
global $texte;
|
|
|
149 |
global $afficher_rubrique, $ouvrir_rubrique;
|
|
|
150 |
global $aide_statut;
|
|
|
151 |
global $spip_lang;
|
|
|
152 |
|
|
|
153 |
if ($afficher_rubrique AND (($statut == "admin" AND $aide_statut == "admin") OR ($statut == "redac"))) {
|
|
|
154 |
$ligne_rubrique[] = ++$ligne;
|
|
|
155 |
|
|
|
156 |
$texte[$ligne] = '';
|
|
|
157 |
$id = "ligne$ligne";
|
|
|
158 |
$url = "aide_droite.php3?aide=$lien&var_lang=$spip_lang";
|
|
|
159 |
if ($aide == $lien) {
|
|
|
160 |
$ouvrir_rubrique = 1;
|
|
|
161 |
$class = "article-actif";
|
|
|
162 |
$texte[$ligne] .= "<script type='text/javascript'><!--\ncurr_article = '$id';\n// --></script>\n";
|
|
|
163 |
}
|
|
|
164 |
else {
|
|
|
165 |
$class = "article-inactif";
|
|
|
166 |
}
|
|
|
167 |
$texte[$ligne] .= "<a class='$class' id='$id' href='$url' target='droite' ".
|
|
|
168 |
"onClick=\"activer_article('$id');return true;\">$titre</a><br style='clear:both;'>\n";
|
|
|
169 |
}
|
|
|
170 |
}
|
|
|
171 |
|
|
|
172 |
|
|
|
173 |
rubrique(_T('menu_aide_installation_spip'),"admin");
|
|
|
174 |
article(_T('menu_aide_installation_reactuliser_droits'), "install0", "admin");
|
|
|
175 |
article(_T('menu_aide_installation_connexion_mysql'), "install1", "admin");
|
|
|
176 |
article(_T('menu_aide_installation_choix_base'), "install2", "admin");
|
|
|
177 |
article(_T('menu_aide_installation_informations_personnelles'), "install5", "admin");
|
|
|
178 |
article(_T('menu_aide_installation_ftp'), "ftp_auth", "admin");
|
|
|
179 |
article(_T('menu_aide_installation_probleme_squelette'), "erreur_mysql", "admin");
|
|
|
180 |
fin_rubrique();
|
|
|
181 |
|
|
|
182 |
rubrique(_T('menu_aide_articles'));
|
|
|
183 |
article(_T('menu_aide_articles_raccourcis_typo'),"raccourcis");
|
|
|
184 |
article(_T('menu_aide_articles_titres'),"arttitre");
|
|
|
185 |
article(_T('menu_aide_articles_choix_rubrique'),"artrub");
|
|
|
186 |
article(_T('menu_aide_articles_descriptif_rapide'),"artdesc");
|
|
|
187 |
article(_T('menu_aide_articles_chapeau'),"artchap");
|
|
|
188 |
article(_T('menu_aide_articles_redirection'),"artvirt","admin");
|
|
|
189 |
article(_T('menu_aide_articles_texte'),"arttexte");
|
|
|
190 |
article(_T('menu_aide_articles_date'),"artdate");
|
|
|
191 |
article(_T('menu_aide_articles_date_anterieure'),"artdate_redac");
|
|
|
192 |
article(_T('menu_aide_articles_auteurs'),"artauteurs");
|
|
|
193 |
article(_T('menu_aide_articles_logos'),"logoart","admin");
|
|
|
194 |
article(_T('menu_aide_articles_statut'),"artstatut");
|
|
|
195 |
article(_T('menu_aide_articles_proposer'),"artprop");
|
|
|
196 |
article(_T('menu_aide_articles_en_cours_modification'),"artmodif");
|
|
|
197 |
fin_rubrique();
|
|
|
198 |
|
|
|
199 |
rubrique(_T('menu_aide_rubriques'));
|
|
|
200 |
article(_T('menu_aide_rubriques_structure'),"rubhier");
|
|
|
201 |
article(_T('menu_aide_rubriques_choix'),"rubrub","admin");
|
|
|
202 |
article(_T('menu_aide_rubriques_logo'),"rublogo","admin");
|
|
|
203 |
fin_rubrique();
|
|
|
204 |
|
|
|
205 |
rubrique(_T('menu_aide_breves'));
|
|
|
206 |
article(_T('menu_aide_breves_breves'),"breves");
|
|
|
207 |
article(_T('menu_aide_breves_choix'),"brevesrub");
|
|
|
208 |
article(_T('menu_aide_breves_lien'),"breveslien");
|
|
|
209 |
article(_T('menu_aide_breves_statut'),"brevesstatut","admin");
|
|
|
210 |
article(_T('menu_aide_breves_logo'),"breveslogo","admin");
|
|
|
211 |
fin_rubrique();
|
|
|
212 |
|
|
|
213 |
rubrique(_T('menu_aide_images_doc'));
|
|
|
214 |
article(_T('menu_aide_images_doc_inserer'),"ins_img");
|
|
|
215 |
article(_T('menu_aide_images_doc_joindre'),"ins_doc");
|
|
|
216 |
article(_T('menu_aide_images_doc_ftp'),"ins_upload","admin");
|
|
|
217 |
fin_rubrique();
|
|
|
218 |
|
|
|
219 |
rubrique(_T('menu_aide_mots_cles'));
|
|
|
220 |
article(_T('menu_aide_mots_cles_principe'),"mots");
|
|
|
221 |
article(_T('menu_aide_mots_cles_mots_cles'),"artmots");
|
|
|
222 |
article(_T('menu_aide_mots_cles_groupes'),"motsgroupes","admin");
|
|
|
223 |
fin_rubrique();
|
|
|
224 |
|
|
|
225 |
rubrique(_T('menu_aide_sites'));
|
|
|
226 |
article(_T('menu_aide_sites_referencer'),"reference");
|
|
|
227 |
article(_T('menu_aide_sites_syndiquer'),"rubsyn");
|
|
|
228 |
article(_T('menu_aide_sites_articles_syndiques'),"artsyn");
|
|
|
229 |
article(_T('menu_aide_sites_proxy'),"confhttpproxy","admin");
|
|
|
230 |
fin_rubrique();
|
|
|
231 |
|
|
|
232 |
rubrique(_T('menu_aide_messagerie'));
|
|
|
233 |
article("<img src='img_pack/m_envoi$spip_lang_rtl.gif' border=0> "._T('menu_aide_messagerie_utilisateurs'),"messut");
|
|
|
234 |
article("<img src='img_pack/m_envoi_bleu$spip_lang_rtl.gif' border=0> "._T('menu_aide_messagerie_pense_bete'),"messpense");
|
|
|
235 |
article(_T('menu_aide_messagerie_calendrier'),"messcalen");
|
|
|
236 |
article(_T('menu_aide_messagerie_configuration_perso'),"messconf");
|
|
|
237 |
fin_rubrique();
|
|
|
238 |
|
|
|
239 |
rubrique(_T('menu_aide_suivi_forum'),"admin");
|
|
|
240 |
article(_T('menu_aide_suivi_forum_suivi'),"suiviforum","admin");
|
|
|
241 |
fin_rubrique();
|
|
|
242 |
|
|
|
243 |
rubrique(_T('menu_aide_suivi_forum_configuration'),"admin");
|
|
|
244 |
article(_T('menu_aide_suivi_forum_nom_adresse'),"confnom","admin");
|
|
|
245 |
article(_T('menu_aide_suivi_forum_contenu_articles'),"confart","admin");
|
|
|
246 |
article(_T('menu_aide_suivi_forum_articles_postes'),"confdates","admin");
|
|
|
247 |
article(_T('menu_aide_suivi_forum_fonctionnement'),"confforums","admin");
|
|
|
248 |
article(_T('menu_aide_suivi_forum_systeme_breves'),"confbreves","admin");
|
|
|
249 |
article(_T('menu_aide_suivi_forum_messagerie_interne'),"confmessagerie","admin");
|
|
|
250 |
article(_T('menu_aide_suivi_forum_statistiques'),"confstat","admin");
|
|
|
251 |
article(_T('menu_aide_suivi_forum_envoi_emails'),"confmails","admin");
|
|
|
252 |
article(_T('menu_aide_suivi_forum_moteur_recherche'),"confmoteur","admin");
|
|
|
253 |
fin_rubrique();
|
|
|
254 |
|
|
|
255 |
rubrique(_T('menu_aide_interface_perso'));
|
|
|
256 |
article(_T('menu_aide_interface_perso_simplifiee'),"intersimple");
|
|
|
257 |
article(_T('menu_aide_interface_perso_cookie'),"cookie");
|
|
|
258 |
article(_T('menu_aide_interface_perso_deconnecter'),"deconnect");
|
|
|
259 |
fin_rubrique();
|
|
|
260 |
|
|
|
261 |
?>
|
|
|
262 |
</BODY>
|
|
|
263 |
</HTML>
|