Seite 1 von 1

Umfrage an die Seite gequetscht

Verfasst: 28.04.2004 21:24
von Tarlar
Wenn jemand eine Umfrage beginnt wird die Umfrag in die Spalte mit den Posterdaten gestellt.

http://tarlar.funpic.de/viewtopic.php?t=45

Was muss ich da in der viewtopic.php machen?

Verfasst: 28.04.2004 22:05
von itst
Nix.

viewtopic_poll_ballot.tpl und viewtopic_poll_result.tpl sind Deine Freunde. Ich tippe auf ein colspan-Problem.

Verfasst: 29.04.2004 13:39
von Tarlar
viewtopic_poll_ballot.tpl hat geschrieben:<form method="POST" action="{S_POLL_ACTION}">
<table width="100%" border="0" cellpadding="3" cellspacing="1" class="forumline">
<tr>
<th>Poll :: {POLL_QUESTION}</th>
</tr>
<tr>
<td align="center" class="row2">
<br />
<table cellspacing="0" cellpadding="1" border="0">
<!-- BEGIN poll_option -->
<tr>
<td>
<input type="radio" name="vote_id" value="{poll_option.POLL_OPTION_ID}" /></td>
<td class="postbody">{poll_option.POLL_OPTION_CAPTION}</td>
</tr>
<!-- END poll_option -->
</table>
<br />
{S_HIDDEN_FIELDS}
</td>
</tr>
<tr>
<td align="center" class="cat"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input type="submit" name="submit" value="{L_SUBMIT_VOTE}" class="mainoption" /></td>
<td>&nbsp;&nbsp;</td>
<td class="fakebut"><a class="but" href="{U_VIEW_RESULTS}">&nbsp; {L_VIEW_RESULTS} &nbsp;</a></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<br />
viewtopic_poll_result.tpl hat geschrieben:<table width="100%" border="0" cellpadding="3" cellspacing="1" class="forumline">
<tr>
<th>Poll :: {POLL_QUESTION}</th>
</tr>
<tr>
<td class="row2">
<br />
<table cellspacing="0" cellpadding="4" border="0" align="center">
<tr>
<td><table cellspacing="0" cellpadding="2" border="0">
<!-- BEGIN poll_option -->
<tr>
<td>{poll_option.POLL_OPTION_CAPTION}</td>
<td> <table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="templates/fisubice/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}" title="{poll_option.POLL_OPTION_PERCENT}" /></td>
<td><img src="templates/fisubice/images/vote_rcap.gif" width="4" alt="" height="12" /></td>
</tr>
</table></td>
<td align="center">&nbsp;<strong>{poll_option.POLL_OPTION_PERCENT}</strong>&nbsp;</td>
<td align="center">[ {poll_option.POLL_OPTION_RESULT} ]</td>
</tr>
<!-- END poll_option -->
</table></td>
</tr>
<tr>
<td colspan="4" align="center"><strong>{L_TOTAL_VOTES} : {TOTAL_VOTES}</strong></td>
</tr>
</table>
<br />
</td>
</tr>
</table>
<br />
Hab sie mal gepostet

Verfasst: 29.04.2004 14:22
von Markus67
Hi ...

Öffne die viewtopic_poll_result.tpl ...

suche:

Code: Alles auswählen

<table width="100%" border="0" cellpadding="3" cellspacing="1" class="forumline">
ersetzen mit:

Code: Alles auswählen

<tr> 
  <td class="row2" colspan="2"><br clear="all" />
<table width="100%" border="0" cellpadding="3" cellspacing="1" class="forumline">
suche:

Code: Alles auswählen

</tr>
</table>
<br />
</td>
</tr>
</table>
<br />
ersetze mit:

Code: Alles auswählen

</tr>
</table>
<br />
</td>
</tr>
</table>
<br />
</td>
</tr>
Markus

Verfasst: 29.04.2004 14:30
von Tarlar
Vielen Dank. Es geht jetzt wieder.

Verfasst: 29.04.2004 14:40
von Markus67
Gern geschehen :-)

Markus