Hallo,
danke. Genau das habe ich gesucht
Nun habe ich aber ein neues Problem.
Ich habe in die Template-Datei "posting_body.html" über
Code: Alles auswählen
<!-- IF S_INLINE_ATTACHMENT_OPTIONS -->
<tr>
<td class="row1"><b class="genmed">{L_ATTACHMENTS}:</b></td>
<td class="row2"><select name="attachments">{S_INLINE_ATTACHMENT_OPTIONS}</select> <input type="button" class="btnbbcode" accesskey="a" value="{L_PLACE_INLINE}" name="attachinline" <!-- IF S_WYSIWYG_SHOW -->onclick="var form_name = 'postform';var text_name = 'message';attach_form = document.forms[form_name].elements['attachments']; comm._HTML('[attachment=' + attach_form.value + ']', '[/attachment]',attach_form.options[attach_form.selectedIndex].text);"<!-- ELSE -->onclick="attach_form = document.forms[form_name].elements['attachments']; attach_inline(attach_form.value, attach_form.options[attach_form.selectedIndex].text);" onmouseover="helpline('a')" onmouseout="helpline('tip')"<!-- ENDIF --> />
</td>
</tr>
<!-- ENDIF -->
folgendes eingefügt:
Code: Alles auswählen
<?php
if($topic_id == "2")
{
include ('./styles/subsilver2/template/webcam_add.html');
}
?>
Sprich, ich will, dass eine bestimmte Datei nur beim Verfassen eines bestimmten Themas eingebunden wird. Aber irgendwie sehe ich dann nie was davon... Cache schon mehrmals gelöscht.
Inhalt der webcam_add.html:
Code: Alles auswählen
<tr>
<td class="row1"><b class="genmed">Webcam einbinden:</b></td>
<td class="row2"><a target="popup" onclick="window.open('', 'popup', 'width=580,height=360,scrollbars=no, toolbar=no,status=no,resizable=yes,menubar=no,location=no,directories=no,top=10,left=10')"href="images/webcams/index.html">Hier geht's zum Popup</a></td>
</tr>
Vielen Dank euch schon mal!
Gruß,
mps