Umfrage an die Seite gequetscht

Alles zu Styles, Templates, Icons und Smilies für phpBB 2.0, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Tarlar
Mitglied
Beiträge: 178
Registriert: 01.03.2004 15:59
Wohnort: Ebersbach
Kontaktdaten:

Umfrage an die Seite gequetscht

Beitrag 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?
Benutzeravatar
itst
Ehrenadmin
Beiträge: 7418
Registriert: 21.08.2001 02:00
Wohnort: Büttelborn bei Darmstadt
Kontaktdaten:

Beitrag von itst »

Nix.

viewtopic_poll_ballot.tpl und viewtopic_poll_result.tpl sind Deine Freunde. Ich tippe auf ein colspan-Problem.
Sascha A. Carlin,
phpBB.de Ehrenadministrator
:o
Tarlar
Mitglied
Beiträge: 178
Registriert: 01.03.2004 15:59
Wohnort: Ebersbach
Kontaktdaten:

Beitrag 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
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag 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
Tarlar
Mitglied
Beiträge: 178
Registriert: 01.03.2004 15:59
Wohnort: Ebersbach
Kontaktdaten:

Beitrag von Tarlar »

Vielen Dank. Es geht jetzt wieder.
Antworten

Zurück zu „phpBB 2.0: Styles, Templates und Grafiken“