Posts View in Bubble viewtopic_body.tpl düzenlemesi

Eklentiler ile ilgili soru, sorun ve tartışmalar.

Posts View in Bubble viewtopic_body.tpl düzenlemesi

İleti hope 26.03.2007, 19:09

Arkadaşlar ben bu modu kuracaktım ama kodların düzenleneceği yer biraz karışık çünkü daha önce başka bir mod kumuştum. Bir türlü yapamadım rica etsem benim yerime düzenlermisiniz?
Kod: Tümünü seç
#
#-----[ FIND ]------------------------------------------------
#
      <td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tr>
            <td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen">&nbsp;</span>&nbsp; &nbsp;{L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
            <td valign="top" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
         </tr>
         <tr>
            <td colspan="2"><hr /></td>
         </tr>
         <tr>
            <td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
         </tr>
      </table></td>

#
#-----[ REPLACE WITH ]-----------------------------------------
#
      <td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tr>
            <td><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}&nbsp; &nbsp;{L_POST_SUBJECT}: {postrow.POST_SUBJECT}<span class="gen">&nbsp;</span></span></td>
            <td valign="top"  style="width:auto" align="right" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
         </tr>
                        <tr>
                                <td colspan="2"><hr /></td>   
                        </tr>
         <tr>
            <td colspan="2">



<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td width="10"><img src="/images/bubble1.gif" width="26" height="12"></td>
    <td background="/images/bubble2.gif"></td>
    <td width="10"><img src="/images/bubble3.gif" width="26" height="12"></td>
  </tr>
  <tr>
    <td background="/images/bubble5.gif" valign="top"><img src="/images/bubble4.gif" width="26" height="36"></td>
    <td valign="top" bgcolor="#DEEBF7"><span class="postbody">{postrow.MESSAGE}</span></td>
    <td background="/images/bubble6.gif" valign="top"></td>
  </tr>
  <tr>
    <td><img src="/images/bubble7.gif" width="26" height="12"></td>
    <td background="/images/bubble8.gif"></td>
    <td><img src="/images/bubble9.gif" width="26" height="12"></td>
  </tr>
</table>
<br />
<span class="postbody">{postrow.SIGNATURE}</span>
<br />
<span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
         </tr>
      </table></td>


#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM


viewtopic_body.tpl dosyasındaki o bölüm
[syntax="php"] <td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><script language="Javascript" type="text/javascript">
<!--
function link_to_post(pid)
{
temp = prompt( "{COPY}", "{MSG_PATH}" + pid);

return false;
}
-->
</script>

<span class="postdetails"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen">&nbsp;</span>&nbsp; &nbsp;{L_POST_SUBJECT}: {postrow.POST_SUBJECT}<br /><b>{postrow.L_POST}: <a onclick="link_to_post('{postrow.U_MINI_POST}'); return false;" href="javascript:void(3);">#{postrow.POST_NUMBER}</a></b></span>&nbsp;<a href="{postrow.U_MINI_SINGLE_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{L_VIEW_SINGLE}" title="{L_VIEW_SINGLE}" border="0" />{L_VIEW_SINGLE}</a>&nbsp;<a href="{postrow.DOWNLOAD_POST}" class="genmed"><b>{L_DOWNLOAD_POST}</b></a></span></td>
<td valign="top" nowrap="nowrap">{postrow.THANKS_IMG} {postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG} {postrow.TOPIC_VIEW_IMG}</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><span class="postbody"><form action="{postrow.EDIT_URL}" method='post' name='postid{postrow.EDIT_POST_ID}'>
<div id="e{postrow.EDIT_POST_ID}" style="VISIBILITY: hidden; POSITION: absolute">
<input type='hidden' name='mode' value='editpost'>
<input type='hidden' name='t' value='{postrow.EDIT_POST_ID}'>
<input type='hidden' name='subject' value='{postrow.EDIT_SUBJECT}'>
<input type='hidden' name='message' value='{postrow.EDIT_MSG}'>
<table border='0' cellpadding='10' cellspacing='1' width='40%' class='gensmall'>
<tr>
<td class='row2' valign='top' width='60%'><span class='gensmall'>
<div align="center"><b>{L_QUICK_EDIT}</b></div>
<textarea name='message' rows='4' cols='100%' wrap='virtual' tabindex='3' class='post2'>{postrow.EDIT_MSG}</textarea><br>
<div align="center"><input type='checkbox' name='attach_sig' {postrow.EDIT_SIG}>{L_EDIT_SIGNATURE}
<input CLASS='gensmall' type='submit' name='post' class='mainoption' value='{L_EDIT_SUBMIT}'>
<input name="r2" type="radio" checked value="" onClick="toggleT('e{postrow.EDIT_POST_ID}','h')">Kapat</div>
</tr>
</table>
</div>
</form>{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span> <!-- Edit Notes MOD -->
<!-- BEGIN post_edit_notes -->
<!-- BEGIN edit_notes_loop -->
<br />
<table style="background-color: #F8F8FF;" cellspacing="1" width="100%" class="forumline">
<tr>
<td style="background-color: #E8E8E8; padding: 4px;"><span class="gensmall">{postrow.post_edit_notes.edit_notes_loop.L_EDITED_BY} {postrow.post_edit_notes.edit_notes_loop.NOTE}<br /> {postrow.post_edit_notes.edit_notes_loop.U_IP} {postrow.post_edit_notes.edit_notes_loop.U_DELETE_NOTE}</span></td>
</tr>
</table>
<!-- END edit_notes_loop -->
<!-- END post_edit_notes -->
<!-- Edit Notes MOD --><br><span class="gensmall" {postrow.EDIT_CLOSE}> <input name="r2" type="radio" value="" onClick="toggleT('e{postrow.EDIT_POST_ID}','s')"><b>{L_QUICK_EDIT}</b></span></td>
</tr>
</table></td>
[/syntax]
hope
Üye
Üye
 
İleti: 64
Kayıt: 09.11.2005, 22:45

Cvp: Posts View in Bubble viewtopic_body.tpl düzenlemesi

İleti hope 27.03.2007, 16:28

yardım eden yokmu?
hope
Üye
Üye
 
İleti: 64
Kayıt: 09.11.2005, 22:45


Soru(n)lar & Tartışmalar



Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir

cron