|
Gemeinschaft uCoz Für Webmaster Tools & Scripts Schönes Form der Kommentaren |
Schönes Form der Kommentaren |
Verwaltungspanel -> Designverwaltung -> Form der Kommentare. und dort den ganzen code durch diesen code ersetzten.
Schaut dann so aus:
Code <br> <table border="0" cellpadding="0" cellspacing="0" width="100%" height="20"> <tr> <td width="30" height="20"><img src="http://xthemes.ru/templates/images/comments-style/1.png" border="0"></td> <td width="1500" align="left" class="topLink1" style="background:url('http://xthemes.ru/templates/images/comments-style/2.png') left no-repeat;padding-bottom:0px;font-size:10px;color:#FFFFFF;"><div class="schQuery" align="left">Autor: <a href="$PROFILE_URL$">$USERNAME$</a></div></td> <td width="30" height="20"><img src="http://xthemes.ru/templates/images/comments-style/3.png" border="0"></td> </tr></table> <table border="1" cellpadding="1" cellspacing="0" width="100%" style="border:1px solid #000000;"> <tr valign="top"><td align="center" width="5%" style="background:#ffffff;padding:3px;border:1px solid #cccccc;"> <div class="eMessage" style="text-align:left;clear:both;padding-top:0px;padding-bottom:0px;" > <a href="$PROFILE_URL$" title="$USERNAME$"><img align="center" src="$USER_AVATAR_URL$" width="100" border="0" /></a> </td> <td align="right" style="background:#ffffff;padding:2px;border:0px solid #000000;"> <div class="eMessage" style="text-align:left;clear:both;padding-top:0px;padding-bottom:0px;" > <a href="javascript://" onclick="Insert('$USERNAME$',document.getSelection());"><img style="border: 0pt none ; margin: 0pt; padding: 0pt;" src="http://freizeitgruppebamberg.de/bilder/p_quote.gif" title="Zitieren"></a> <script type="text/javascript"> function Insert(qname,text){ if (text!=""){ qname=qname.replace(/[\[\]]/g, "|"); document.getElementById('message').value += "[b]Zitieren[/b] ("+qname+") "+text+"\n"; document.getElementById(wh).focus(); document.getElementById(wh).focus()} else _uWnd.alert('Markieren Sie den Text zum Zitieren','',{w:230,h:80,tm:3000}); } </script> <a href="$PROFILE_URL$"><img style="border: 0pt none ; margin: 0pt; padding: 0pt;" src="http://freizeitgruppebamberg.de/bilder/p_profile.gif" title="Profil"></a> <b>Antworten</b>: $ANSWER$<a href="$ANSWER_URL$"><img style="border: 0pt none ; margin: 0pt; padding: 0pt;" src="http://freizeitgruppebamberg.de/bilder/antworten.gif" title="Antworten"></a> <div style="float:right;font-size:11px;font-family:Arial,sans-serif;"><span class="myWinError"><b>$COMMENT_RATING$</b></span><span style="color:gray;"><b>$COMMENT_RATING$</b></span><span class="myWinSuccess"><b>+$COMMENT_RATING$</b></span> <a href="$GOOD_COMMENT_URL$"><img alt="" src="http://s39.ucoz.net/img/icon/thumbu.png" width="13" align="absmiddle" border="0" title="Gutes Post"></a> <a href="$BAD_COMMENT_URL$"><img alt="" src="http://s39.ucoz.net/img/icon/thumbd.png" width="13" border="0" align="absmiddle" title="Плохой пост"></a><img alt="" src="http://s39.ucoz.net/img/icon/thumbu_.png" align="absmiddle" width="13" border="0" title="Guter Post"> <img alt="" src="http://s39.ucoz.net/img/icon/thumbd_.png" width="13" align="absmiddle" border="0" title="Schlechter Post"></div> <br> $MESSAGE$ </div> </div> </td></tr></table> <table border="0" cellpadding="0" cellspacing="0" width="100%" height="18"> <tr> <td width="30" height="18"><img src="http://xthemes.ru/templates/images/comments-style/4.png" border="0"></td> <td width="1500" align="left" class="topLink1" style="background:url('http://xthemes.ru/templates/images/comments-style/5.png') left no-repeat;font-size:9px;color:#FFFFFF;">Datum: $DATE$ $MODER_PANEL$[<a href="$ENTRY_URL$" target="_blank" title="Zu Materialseite">Materialseite</a>]</td> <td width="30" height="18"><img src="http://xthemes.ru/templates/images/comments-style/6.png" border="0"></td> </tr> </table> Zugefügt (22.04.2010, 13:25)
Code <script type="text/javascript"> var selection='';function Insert(qname,text){if (text!=""){ qname=qname.replace(/[\[\]]/g, "|"); paste("[quote="+qname+"]"+text+"[/quote]\n", 0);} else {alert('Markieren Sie den Text zum Zitieren');}} function paste(text,flag){if ((document.selection)&&(flag)) {document.addform.message.focus();document.addform.document.selection.createRange().text = text;} else document.addform.message.value += text;}function get_selection() {if (window.getSelection){selection = window.getSelection();selection = selection.replace(/\r\n\r\n/gi, "_doublecaret_"); selection = selection.replace(/\r\n/gi, " "); while (selection.indexOf(" ") !=-1) selection = selection.replace(/ /gi, ""); selection = selection.replace(/_doublecaret_/gi, "\r\n\r\n"); } else selection = document.selection.createRange().text; } </script> <script type="text/javascript"> function emoticon(code){ if (code != ""){ var txtarea = document.addform.message; code = ' ' + code + ' '; if (document.selection) { txtarea.focus(); var txtContent = txtarea.value; var str = document.selection.createRange(); if (str.text == ""){str.text = code;} else if (txtContent.indexOf(str.text) != -1){str.text = code + str.text;} else {txtarea.value = txtContent + code;} } else{txtarea.value = txtarea.value + code;} } } </script> <div class="xw-tl"><div class="xw-tr"><div class="xw-tcc"></div></div></div><div class="xw-ml"><div class="xw-mr"><div class="xw-mc topBlockM" style="background-color:#ffffff;"> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="$CLASS$"> <tr> <td style="border-right:1px dashed #a3bae9;width:15%;text-align:center;padding:5px;" rowspan="3"> <?if($USER_AVATAR_URL$)?> <img src="$USER_AVATAR_URL$" border="0"> <?else?> <img src="http://uhelp.org.ru/src/img/noava.png" border="0"> <?endif?> </td> <td style="padding:5px;" colspan="2"> <div class="cDate" style="float:right;font:7pt;"><span title="$TIME$">$DATE$</span> $MODER_PANEL$</div> <div class="cTop" style="text-align:left;"><span style="width:18px;"><b>$NUMBER$</b>.</span> <a href="javascript://" onClick="emoticon('[b]$NAME$[/b],');return false;"><b>$NAME$</b></a></a> <?if($USERNAME$)?>( <a href="$PROFILE_URL$"><b>$USERNAME$</b></a> )<?endif?> <?if($EMAIL$)?><a href="$EMAIL_JS$" title="Email"><img border="0" align="absmiddle" src="http://s21.ucoz.net/t/211/e.gif"></a><?endif?> <?if($SITE$)?><a rel="nofollow" href="$SITE$" target="_blank" title="Site"><img border="0" align="absmiddle" src="http://s21.ucoz.net/t/211/h.gif"></a><?endif?> <?if($ICQ$)?><a title="ICQ" href="#" onClick="prompt('ICQ number','$ICQ$'); return false;"><img border="0" align="absmiddle" src="http://s21.ucoz.net/t/211/i.gif"></a><?endif?> </div> <div class="cMessage" style="text-align:left;clear:both;padding-top:2px;padding-bottom:2px;">$MESSAGE$</div> <br> </td> <tr><td style="border-top:1px dashed #a3bae9;padding:5px;" colspan="2"><br><?if($ANSWER$)?><div class="cAnswer" style="text-align:left;clear:both;"><b>Ответ</b>: $ANSWER$</div><?endif?></td></tr> <tr><td style="padding:2px;vertical-align:bottom;"> <?if($PROFILE_URL$)?><a href="$PROFILE_URL$"><img src="http://s21.ucoz.net/img/fr/bt/1/p_profile.gif" border="0"></a><?endif?> <?if($USERNAME$)?><a href="javascript://" onclick="window.open('/index/14-$USERNAME$-0-1','sendEmail','scrollbars=1,width=650,height=450,left=0,top=0'); return false;"><img src="http://s21.ucoz.net/img/fr/bt/1/p_pm.gif" border="0"></a><?endif?> <?if($EMAIL$)?><a href="javascript://" onclick="prompt('E-Mail', '$EMAIL$'); return false;"><img src="http://s21.ucoz.net/img/fr/bt/1/p_email.gif" border="0"></a><?endif?> <?if($SITE$)?><a href="$SITE$"><img src="http://s21.ucoz.net/img/fr/bt/1/p_www.gif" border="0"></a><?endif?> <?if($ICQ$)?><a href="javascript://" onclick="prompt('Номер ICQ', '$ICQ$'); return false;"><img src="http://s21.ucoz.net/img/fr/bt/1/p_icq.gif" border="0"></a><?endif?> </td><td style="padding:2px;text-align:right;vertical-align:bottom;"> <a href="javascript:Insert('$USERNAME$',selection);" onmouseover="get_selection();" class="postQuote"><img src="http://s21.ucoz.net/img/fr/bt/1/p_quote.gif" title="Zitieren"></a> <a class="goOnTop" href="javascript:scroll(0,0);"><img style="margin:0;padding:0;border:0;" src="http://s21.ucoz.net/img/fr/bt/1/p_up.gif" title="nach Oben" /></a> </td></tr> </table> </div></div></div><div class="xw-bl"><div class="xw-br"><div class="xw-bc"><div class="xw-footer"></div></div></div></div><br> uCoz Forum dient uns zur Lösung von Problemen, die wir ohne uCoz nicht hätten.
Für Danke gibt es Auszeichnungen +++++ Tipp- und Rechtschreibfehler sind absichtlich eingebaut und dienen der Belustigung des Lesers. Beitrag wurde von johann69 - Donnerstag, 22.04.2010, 13:26 bearbeitet
|
| |||
| |||