Re: Thank Button für envision Theme
Verfasst: 25.08.2013 04:44
Hallo empire85
Nach dem ich den Style in ein Testforum installiert habe gibt es einen kleinen Schönheitsfehler in der viewtopic_body.html.
öffne styles/envision/template/viewtopic_body.html
suche und lösche
suche
füge danach ein
Damit wird die Dankesliste unterhalb der Beiträge angezeigt.
Nach dem ich den Style in ein Testforum installiert habe gibt es einen kleinen Schönheitsfehler in der viewtopic_body.html.
öffne styles/envision/template/viewtopic_body.html
suche und lösche
Code: Alles auswählen
<!-- IF postrow.THANKS and postrow.THANKS_POSTLIST_VIEW and not postrow.S_POST_ANONYMOUS -->
<table width="100%" cellspacing="0">
<tr valign="middle">
<td class="gensmall" align="{S_CONTENT_FLOW_BEGIN}">
<hr />
<!-- IF postrow.S_MOD_THANKS --><a href="{postrow.U_CLEAR_LIST_THANKS_POST}">{postrow.DELETE_IMG}</a> <!-- ENDIF -->{postrow.THANK_TEXT}{postrow.POST_AUTHOR_FULL}{postrow.THANK_TEXT_2} {postrow.THANKS}</td>
</tr>
</table>
<!-- ENDIF -->
<!-- IF postrow.S_THANKS_POST_REPUT_VIEW and postrow.POST_REPUT and not postrow.S_POST_ANONYMOUS and not S_IS_BOT -->
<table class="content" align="left">
<tr class="postbody" align="left">
<td>
<!-- IF postrow.S_THANKS_REPUT_GRAPHIC -->
<div style="float: left; width: {postrow.THANKS_REPUT_GRAPHIC_WIDTH}; height: {postrow.THANKS_REPUT_HEIGHT}; background: URL({postrow.THANKS_REPUT_IMAGE_BACK}); background-repeat: repeat-x;"><div style="height: {postrow.THANKS_REPUT_HEIGHT}; width: {postrow.POST_REPUT}; background: URL({postrow.THANKS_REPUT_IMAGE}); background-repeat: repeat-x;"></div></div>
<!-- ENDIF -->
<strong>{L_REPUT}:</strong> {postrow.POST_REPUT}
</td>
</tr>
</table>
<!-- ENDIF -->
Code: Alles auswählen
<!-- IF postrow.U_JABBER --><a href="{postrow.U_JABBER}" class="bbbutton bbsmall" onclick="popup(this.href, 550, 320); return false;"><span><span><span class="jabber"><h5>{L_JABBER}</h5></span></span></span></a><!-- ENDIF -->
</td>
</tr>
Code: Alles auswählen
<tr>
<!-- IF postrow.S_THANKS_POST_REPUT_VIEW and postrow.POST_REPUT and not postrow.S_POST_ANONYMOUS and not S_IS_BOT -->
<td class="row2" align="left">
<!-- IF postrow.S_THANKS_REPUT_GRAPHIC -->
<div style="float: left; width: {postrow.THANKS_REPUT_GRAPHIC_WIDTH}; height: {postrow.THANKS_REPUT_HEIGHT}; background: URL({postrow.THANKS_REPUT_IMAGE_BACK}); background-repeat: repeat-x;"><div style="height: {postrow.THANKS_REPUT_HEIGHT}; width: {postrow.POST_REPUT}; background: URL({postrow.THANKS_REPUT_IMAGE}); background-repeat: repeat-x;"></div></div>
<!-- ENDIF -->
<strong>{L_REPUT}:</strong> {postrow.POST_REPUT}
</td>
<!-- ENDIF -->
<!-- IF postrow.THANKS and postrow.THANKS_POSTLIST_VIEW and not postrow.S_POST_ANONYMOUS -->
<td class="row1" align="center" valign="middle" width="5%">
<!-- IF postrow.S_MOD_THANKS --><a href="{postrow.U_CLEAR_LIST_THANKS_POST}" title="{L_CLEAR_LIST_THANKS}"><img style="vertical-align: middle;" src="{T_IMAGESET_PATH}/removethanks.gif" width="20" height="20" alt="" /></a><!-- ENDIF -->
</td>
<td class="row1" align="{S_CONTENT_FLOW_BEGIN}" valign="middle">
{postrow.THANK_TEXT}{postrow.POST_AUTHOR_FULL}{postrow.THANK_TEXT_2}<br />{postrow.THANKS}
</td>
<!-- ENDIF -->
<!-- ENDIF -->
</tr>