Hi,
suche im viewtopic.tpl nach:
Code:
{POLL_DISPLAY}<!-- BEGIN postrow -->
und ersetze es mit:
Code:
{POLL_DISPLAY}
<!-- BEGIN postrow -->
ersetze im viewtopic_poll_result.tpl alles mit:
Code:
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class="row2" colspan="2"><br clear="all" />
<table cellspacing="0" cellpadding="4" border="0" align="center">
<tr>
<td colspan="4" align="center"><span class="gen"><b>{POLL_QUESTION}</b></span></td>
</tr>
<tr>
<td align="center">
<table cellspacing="0" cellpadding="2" border="0">
<!-- BEGIN poll_option -->
<tr>
<td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td>
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="templates/grey_dream/images/vote_lcap.gif" width="4" alt="" height="12" /></td>
<td><img src="{poll_option.POLL_OPTION_IMG}" width="{poll_option.POLL_OPTION_IMG_WIDTH}" height="12" alt="{poll_option.POLL_OPTION_PERCENT}" /></td>
<td><img src="templates/grey_dream/images/vote_rcap.gif" width="4" alt="" height="12" /></td>
</tr>
</table>
</td>
<td align="center"><b><span class="gen"> {poll_option.POLL_OPTION_PERCENT} </span></b></td>
<td align="center"><span class="gen">[ {poll_option.POLL_OPTION_RESULT} ]</span></td>
</tr>
<!-- END poll_option -->
</table>
</td>
</tr>
<tr>
<td colspan="4" align="center"><span class="gen"><b>{L_TOTAL_VOTES} : {TOTAL_VOTES}</b></span></td>
</tr>
</table>
<br clear="all" />
</td>
</tr></table>
ersetze im viewtopic_poll_ballot.tpl alles mit:
Code:
<table cellspacing="0" cellpadding="2" border="0" width="100%"> <tr>
<td class="row2" colspan="2"><br clear="all" /><form method="POST" action="{S_POLL_ACTION}"><table cellspacing="0" cellpadding="4" border="0" align="center">
<tr>
<td align="center"><span class="gen"><b>{POLL_QUESTION}</b></span></td>
</tr>
<tr>
<td align="center"><table cellspacing="0" cellpadding="2" border="0">
<!-- BEGIN poll_option -->
<tr>
<td><input type="radio" name="vote_id" value="{poll_option.POLL_OPTION_ID}" /> </td>
<td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td>
</tr>
<!-- END poll_option -->
</table></td>
</tr>
<tr>
<td align="center">
<input type="submit" name="submit" value="{L_SUBMIT_VOTE}" class="liteoption" />
</td>
</tr>
<tr>
<td align="center"><span class="gensmall"><b><a href="{U_VIEW_RESULTS}" class="gensmall">{L_VIEW_RESULTS}</a></b></span></td>
</tr>
</table>{S_HIDDEN_FIELDS}</form></td>
</tr> </table>
Gruss
Christian