Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.37 veröffentlicht (04.11.23)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Editor Optionen ein und ausfahren.
#31
Aso, nein danke.
Das is perfekt so Toungue
Und jetzt geh ich schlafen, eine gute Nacht! Big Grin
Zitieren
#32
Wem es dennoch interessiert, hier der Spoiler als zweite Variante.

Im newreply Template suchen nach

Code:
<textarea id="message" name="message" rows="20" cols="70" tabindex="2" >{$message}</textarea>
{$codebuttons}
{$multiquote_external}
</td>
</tr>


danach dies einfügen


Code:
<tr><td colspan="2">
<div style="padding: 3px; background-color: #3a1e13; border: 2px solid #fff; font-size: 1em; width: 100%;color:#fff;">
<div style="text-transform: uppercase; border-bottom: 1px solid #000000; margin-bottom: 3px; font-size: 0.8em; font-weight: bold; display: block;">
<span onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerHTML = '<b>Spoiler </b><a href=\'#\' onclick=\'return false;\'>schließen</a>'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML = '<b>Spoiler </b><a href=\'#\' onclick=\'return false;\'>öffnen</a>'; }"><b>Spoiler </b><a href="#" onclick="return false;" style="color:#EAA225;">öffnen</a></span>
</div>
<div class="quotecontent">
<div style="display: none;">
<table>


Weiterhin suchen nach

Code:
{$captcha}

danach dies einfügen

</table></div></div></div></td></tr>


Und so sollte es am Ende aussehen.

ZU
   

OFFEN
   
Mit freundlichen Grüßen

MrBrechreiz
Zitieren
#33
Nochmal eine Frage, ich würde die Attachment's Box da auch noch gerne mit reinschieben aber wenn ich den Code einfach so veränder gehts nicht.
Code:
</tr>
{$modoptions}
{$subscriptionmethod}
{$attachbox}
{$captcha}
</tbody>
</table>
<br />

Hab einfach nur das nach oben verschoben. 
Code:
{$attachbox}
Zitieren
#34
Ist es bei der ersten Variante geblieben ?
Mit freundlichen Grüßen

MrBrechreiz
Zitieren
#35
Ja, bei der Collapse.
Zitieren
#36
Das werden aber einige Templates sein, die bearbeitet werden müssen.


Kopiere Dir deine Templates irgendwo hin, falls was schief läuft.


Nimm am besten alle die ich nun nenne 1:1 zu dir.


Neue Antworten Templates->newreply


Code:
<html>
<head>
<title>{$lang->post_reply_to}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$maximageserror}
{$attacherror}
{$reply_errors}
<form action="newreply.php?tid={$tid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->post_new_reply}</strong></td>
</tr>
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->reply_to}</strong></span></td>
</tr>
{$loginbox}
<tr>
<td class="trow2" width="20%"><strong>{$lang->post_subject}</strong></td>
<td class="trow2"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</tr>
{$posticons}
<tr>
<td class="trow2" valign="top"><strong>{$lang->your_message}</strong><br />{$smilieinserter}</td>
<td class="trow2">
<textarea id="message" name="message" rows="20" cols="70" tabindex="2" >{$message}</textarea>
{$codebuttons}
{$multiquote_external}
</td>
</tr>

<tr>
<td colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.gif" id="newreply_img" class="expander" alt="[-]" title="[-]" /></div>
</td>
</tr>
<tbody style="{$collapsed['newreply_e']}" id="newreply_e">

<tr>
<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<td class="trow1"><span class="smalltext">
{$option_signature}
{$disablesmilies}
</span></td>
</tr>
{$modoptions}
{$subscriptionmethod}
{$captcha}
{$attachbox}
</tbody>
</table>

<br />
<div align="center"><input type="submit" class="button" name="submit" value="{$lang->post_reply}" tabindex="3" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="replyto" value="{$replyto}" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
</form>
{$forumrules}
{$threadreview}
{$footer}
</body>
</html>


Beitrag Templates->post_attachments

Code:
<br />

<tr>
    <td class="thead" colspan="2"><strong>{$lang->attachments}</strong></td>
</tr>
<tr>
    <td class="tcat smalltext" colspan="2">{$lang->attach_quota} <a href="usercp.php?action=attachments">{$lang->view_attachments}</a></td>
</tr>
{$newattach}
{$attachments}



Beitrag Templates->post_attachments_attachment

Code:
<tr>
<td class="trow2" style="white-space: nowrap">{$attachment['icon']} {$attachment['filename']} ({$attachment['size']})</td>
<td class="trow2" style="white-space: nowrap; text-align: center;">{$attach_mod_options} {$attach_rem_options} {$postinsert}</td>
</tr>



Beitrag Templates->post_attachments_attachment_unapproved

Code:
<tr>
<td class="trow_shaded" style="white-space: nowrap">{$attachment['icon']} <em><a href="attachment.php?aid={$attachment['aid']}" target="_blank">{$attachment['filename']}</a> ({$attachment['size']})</em></td>
<td class="trow_shaded" style="white-space: nowrap; text-align: center;">{$attach_mod_options} <input type="submit" class="button" name="rem" value="{$lang->remove_attachment}" onclick="return Post.removeAttachment({$attachment['aid']});" /> {$postinsert}</td>
</tr>



Beitrag Templates->post_attachments_new

Code:
<tr>
<td class="trow1" colspan="2" style="white-space: nowrap"><img src="{$theme['imgdir']}/paperclip.gif" alt="" /><strong>{$lang->new_attachment}</strong> <input type="file" name="attachment" size="30" class="fileupload" />{$attach_update_options} <input type="submit" class="button" name="newattachment" value="{$lang->add_attachment}"  tabindex="13" />
</td>
</tr>


Auf Validität habe ich jetzt keinen grossen Wert gelegt. Soll ja auch nur ein Beispiel sein.
Mit freundlichen Grüßen

MrBrechreiz
Zitieren
#37
Hat perfekt geklappt, danke! Smile
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Wer weiss ein vernünftiges Gästebuchscript mit folgenden Optionen ? GlobalPlayer 4 2.720 14.04.2007, 20:43
Letzter Beitrag: modercol