Un plan amélioré, et surtout des commentaires carrement plus fonctionnels, ils étaient pleins de bugs...

master
baptiste.goupil@gmail.com 18 years ago
parent 760e2c3044
commit 39459436e5

1
.gitattributes vendored

@ -52,6 +52,7 @@ squelettes/style/barre/bt_quote.png -text
squelettes/style/barre/bt_strong.png -text
squelettes/style/barre/bt_ul.png -text
squelettes/style/cite.gif -text
squelettes/style/commentaire.gif -text
squelettes/style/ecran.css -text
squelettes/style/galerie.css -text
squelettes/style/galerie/apres.png -text

@ -146,7 +146,7 @@ function dcWikiBar(textarea,img_path)
function btQ(label) {
addButton(img_path+'bt_quote.png',label,
function() { singleTag("''",'blockquote','}}'); });
function() { singleTag("''",'blockquote'); });
}
function btCode(label) {
@ -157,8 +157,8 @@ function dcWikiBar(textarea,img_path)
function btBr(label) {
addButton(img_path+'bt_br.png',label,
function() {
var tag = "\n_ ";
encloseSelection('',tag);
var tag = "\n";
encloseSelection(tag, '');
});
}

@ -1,5 +1,5 @@
<B_fils>
<div class="discussion">
<div id="discussion">
<h5><:discussion:></h5>
<BOUCLE_breved(BREVES){id_breve}>
[<a href="(#PARAMETRES_FORUM|url_reponse_forum)" title="<:repondre_breve:>" class="repondre dr"><:repondre_breve:></a>]
@ -27,4 +27,4 @@
[<p class="repondre"><a href="(#PARAMETRES_FORUM|url_reponse_forum)" title="<:repondre_rubrique:>" class="repondre"><:repondre_rubrique:></a></p>]
</BOUCLE_rubrique>
<//B_breve>
<//B_fils>
<//B_fils>

@ -1,6 +1,6 @@
<form action="[(#ENV{lien})]" method="get" class="formrecherche" id="recherche">
[(#ENV{lien}|form_hidden)]
<div>
<input type="text" id="formulaire_recherche" class="formrecherche" name="recherche" value="[(#ENV{recherche}|?{#ENV{recherche},<:info_rechercher:>})]" onfocus="if (this.value=='<:info_rechercher:>') this.value='';" />
<input type="text" id="formulaire_recherche" class="formrecherche" name="recherche" value="[(#ENV{recherche}|?{#ENV{recherche},<:info_rechercher:>})]" onfocus="if (this.value=='<:info_rechercher:>') this.value='';" onblur="if (this.value=='') this.value='<:info_rechercher:>';" />
</div>
</form>
</form>

@ -61,10 +61,10 @@
<BOUCLE_forum_parent(FORUMS) {id_forum}>
<h6 class="repcom"><:en_reponse:></h6>
<div class="message couleurmessage0 repcom">
<p class="entetemessage"><cite class="poster vcard">[(#URL_SITE|choixsivide{[(#NOM|sinon{#EMAIL}|sinon{#IP})],[<a class="url fn" href="(#URL_SITE)" rel="external">[(#NOM|sinon{#EMAIL}|sinon{#IP})]</a>]})]</cite>
<p class="entetemessage"><cite class="poster vcard">[(#URL_SITE|choixsivide{[(#NOM|?{#NOM, <:anonyme:>})],[<a class="url fn" href="(#URL_SITE)" rel="external">[(#NOM|?{#NOM, <:anonyme:>})]</a>]})]</cite>
(<:le:> <span class="dtposted"[ title="(#DATE|date_iso)"]><a rel="self bookmark"[ href="(#URL_FORUM|url_absolue)"]>[(#DATE|affdate)] <:a:> [(#DATE|heures)]:[(#DATE|minutes)]</a></span>)</p>
<div class="summary tmessage">#TEXTE</div>
<div class="summary tmessage">[(#TEXTE|typo_comments)]</div>
</div>
</BOUCLE_forum_parent>

@ -53,6 +53,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'sur_internet' => 'Sur Internet',
'previsualisation_commentaire' => 'Pr&eacute;visualisation de votre commentaire',
'reagir_article' => "Soyez le premier &agrave; r&eacute;gir &agrave; cet article",
'reaction' => 'r&eacute;action',
'reactions' => 'r&eacute;actions',
'recherche' => 'Recherche&nbsp;',
'repondre_rubrique' => 'R&eacute;pondre &agrave; cette rubrique',
'repondre_a_article' => 'R&eacute;pondre &agrave; l\'article',
@ -63,4 +65,4 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'video' => 'Vid&eacute;o jointe',
'videos' => 'Vid&eacute;os jointes'
);
?>
?>

@ -21,7 +21,9 @@ $chaine = preg_replace(",\+\+(.*?)\+\+,","<ins>\\1</ins>",$chaine);
$chaine = preg_replace(",__(.*?)__,","<del>\\1</del>",$chaine);
$chaine = preg_replace(",&#8217;&#8217;(.*?)&#8217;&#8217;,s","<blockquote>\\1</blockquote>",$chaine);
$chaine = preg_replace(",@@(.*?)@@,s","<code>\\1</code>",$chaine);
$chaine = preg_replace(",&lt;&lt; (.*?) >>,s","<pre>\\1</pre>",$chaine);
$chaine = preg_replace(",&lt;&lt; (.*?) >>,ms","<pre>\\1</pre>",$chaine);
$chaine = nl2br($chaine);
$chaine = str_replace(array("<br /><br />", "<br />\n<br />", "<br />\n\r<br />"), array("<br />","<br />","<br />"), $chaine);
return $chaine;
}
function nom_musique($url) {
@ -50,4 +52,4 @@ function vrai_id($id) {
$id = substr($id, 1);
return $id;
}
?>
?>

@ -36,7 +36,7 @@
<h4><:articles:></h4>
<ul class="articles">
<BOUCLE_articles(ARTICLES){id_rubrique}{par titre}>
<li><a href="#URL_ARTICLE" title="[(#TITRE|supprimer_numero)]">[(#TITRE|supprimer_numero)]</a></li>
<li><a href="#URL_ARTICLE" title="[(#TITRE|supprimer_numero)]">[(#TITRE|supprimer_numero)]</a><BOUCLE_commentaires_article(FORUMS){id_article}{plat}> </BOUCLE_commentaires_article><a class="nbcom" href="#URL_ARTICLE#discussion" title="[(#TOTAL_BOUCLE) [(#TOTAL_BOUCLE|>{1}|?{<:reactions:>, <:reaction:>})]]">#TOTAL_BOUCLE</a></B_commentaires_article></li>
</BOUCLE_articles>
</ul>
</B_articles>
@ -86,4 +86,4 @@
</div>
</body>
</html>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

@ -117,6 +117,7 @@ color:#3b7294;
}
#haut #ar li a:hover {
color:#fff;
text-decoration:none;
}
span.date {
position:absolute;
@ -358,7 +359,7 @@ font-size:1.1em;
margin-top:.5em;
float:none;
}
#colonneprincipale .discussion h5 {
#colonneprincipale #discussion h5 {
font-size:1.4em;
}
#colonneprincipale p.repondre {
@ -812,18 +813,38 @@ padding:.4em;
clear:both;
}
h2.listerubrique a, h2.listerubrique a:visited:hover {
color:#6381a0;
font-weight:bold;
color:#426488;
}
h2.listerubrique a:visited, h2.listerubrique a:hover {
color:#7fa5bd;
color:#6490AC;
text-decoration:none;
}
.rubriqueprimaire h4 {
font-size:1em;
margin:.4em 0 .3em .8em;
}
.rubriqueprimaire h4 a {
font-weight:bold;
}
.rubriqueprimaire {
margin-bottom:1em;
}
.rubriqueprimaire img.logo {
margin-top:5px;
}
.rubriqueprimaire a {
font-weight:normal;
}
a.nbcom {
background:url(commentaire.gif) no-repeat;
font-size:.85em;
padding:0 5px 5px 5px;
}
a.nbcom:hover {
text-decoration:none;
font-weight:bold;
}
ul.breves {
padding:.8em 1% 1em 1%;
width:25%;
@ -1017,6 +1038,7 @@ ul.menu li a {
color:#884337;
font-family: Tahoma, "Lucida Grande","Lucida Sans",Geneva,Verdana,sans-serif;
font-weight:bold;
text-decoration:none;
}
ul.menu {
list-style:none;

Loading…
Cancel
Save