Merci, c'est pratique
Néanmoins j'ai une petite question concernant cette partie
Code:
## New Topic Button On Topic Page ##
#
#-----[ OPEN ]-----------------------
# styles/*/template/viewtopic_body.html
#
#-----[ FIND ]------------------------------------------
# This may be a partial find and not the whole line.
<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></span></a></div>
#
#-----[ AFTER, ADD ]----------------
#
<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div>
#
#-----[ FIND ]------------------------------------------
# This may be a partial find and not the whole line.
<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></span></a></div>
#
#-----[ AFTER, ADD ]----------------
#
<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div>
En faisant comme ça, en affichant un topic "ouvert" qui est dans un forum "verrouillé", les boutons affichés sont "Répondre" et "Nouveau", alors qu'ils devraient être : "Répondre" et "Verrouillé".
Il n'y a que dans le cas d'un topic verrouillé que l'on verra l'état "verrouillé" du forum
Regarde par exemple dans :
coin-cul-f51/attention-mini-regles-t389.htmlLe forum est verrouillé et pourtant le bouton "nouveau sujet" apparaît
Je ne sais pas comment faire pour afficher les bons boutons
