So, was ich mir gedacht habe.
Erstmal mache ich die üblichen Änderungen (alten Button enfernen, neuen hinzufügen) in der imageset.cfg, in der colors.css und in der buttons.css, wegen des neuen Buttons.
In der viewtopic_body.html:
Entferne ich:
Code: Alles auswählen
<!-- IF THANKS_ENABLE -->
<!-- IF postrow.S_FIRST_POST and not postrow.S_GIVE_THANKS and not postrow.S_IS_OWN_POST --><li class="thanks-icon"><a href="{postrow.U_THANKS}" title="{L_THANKS1}"><span>{L_THANKS1}</span></a></li><!-- ENDIF -->
<!-- ENDIF -->
Dann füge ich
Code: Alles auswählen
<!-- IF THANKS_ENABLE -->
<!-- IF postrow.S_FIRST_POST and not postrow.S_GIVE_THANKS and not postrow.S_IS_OWN_POST --><div class="thanks-icon"><a href="{postrow.U_THANKS}" title="{L_THANKS1}"><span>{L_THANKS1}</span></a></div><!-- ENDIF -->
<!-- ENDIF -->
Code: Alles auswählen
<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a></div>
Meine Bedenken:
Die Variablen
Code: Alles auswählen
<!-- IF postrow.S_FIRST_POST and not postrow.S_GIVE_THANKS and not postrow.S_IS_OWN_POST -->
mfg,
Trash-Master
Nachtrag:
Hab jetzt mal das gemacht, was ich oben beschrieben habe. Ergebnis: Der Bedanken Button erscheint nicht.
Nachtrag 2:
Habe nun alle Variablen vor und hinter
Code: Alles auswählen
<div class="thanks-icon"><a href="{postrow.U_THANKS}" title="{L_THANKS1}"><span>{L_THANKS1}</span></a></div>
Nachtrag 3:
Habe das ganze in der viewtopic_body.html nun auf
Code: Alles auswählen
<div class="thanks-icon"><a href="{postrow.U_THANKS}" title="{L_THANKS1}"><span></span>{L_THANKS1}</a></div>