<?php
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tr>
<td class="tcat smalltext" align="center" valign="middle">
<strong>{$post['postdate']} {$post['posttime']}</strong>
</td>
<td class="tcat smalltext" valign="middle">
<span style="float: right;">{$post['posturl']}</span>
<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
</td>
</tr>
<tr>
<td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;">
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="postbit3_header">
<div class="postbit5_header"><strong><span class="largetext">{$post['profilelink']} {$post['onlinestatus']}</span></strong>
</div>
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}<br>
{$post['useravatar']}<br><br>
{$post['user_details']}
</span>
</div>
</td>
<td class="{$altbg}" valign="top">
<table width="100%">
<tr><td>
<div id="pid_{$post['pid']}" class="post_body">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
{$post['iplogged']}
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="{$altbg}" style="vertical-align: middle;" colspan="2">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
<td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['thanks']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
</tr>
</table>
</td>
</tr>{$post['thxdsp_inline']}
</table>{$post['thxdsp_outline']}
(15 Jan, 2013, 12:29 pm)Cluster escribió: No, pero postbit_www postbit_edit o postbit_delete, para ver el class que usa
<?php
<a href="{$post['website']}" target="_blank" class="pbutton" alt="{$lang->postbit_website}" title="{$lang->postbit_website}"><img src="{$theme['imgdir']}/post/www.png" class="i" /><span class="text">Sitio Web</span></a>
<?php
<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}" class="pbutton" alt="{$lang->postbit_edit}" title="{$lang->postbit_edit}"><img src="{$theme['imgdir']}/post/edit.png" class="i" /><span class="text">Editar</span></a>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="javascript:;" onclick="Thread.quickEdit({$post['pid']});" class="popup_item">{$lang->postbit_quick_edit}</a></div><div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div></div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
new PopupMenu("edit_post_{$post['pid']}");
}
// -->
</script>
<?php
<a href="private.php?action=delete&pmid={$id}&my_post_key={$mybb->post_code}" class="pbutton" alt="{$lang->delete}" title="{$lang->delete_title}"><img src="{$theme['imgdir']}/post/del.png" class="i" /><span class="text">Eliminar MP</span></a>
<?php
class="pbutton"
(15 Jan, 2013, 2:38 pm)Cluster escribió: Aqui te dejo el plugin modificado para ti
solo subelo a inc/plugins sin activar-desactivar nada, remplaza por el actual
para las imagenes, tienes que subir postbit_thx.gif y postbit_rthx.gif a el directorio de tu theme para que quede complementado el icono
Parse error: syntax error, unexpected 'src' (T_STRING) in /home/sergio/public_html/foro/inc/plugins/thx.php on line 567
<?php
$post['thanks'] = "<a id=\"a{$post['pid']}\" onclick=\"var uno = thx({$post['pid']});var dos = hideuntilthanks_reload(); return uno && dos;\" class=\"pbutton\" href=\"showthread.php?action=thank&tid={$post['tid']}&pid={$post['pid']}\"><img class=\"i\ "src=\"{$mybb->settings['bburl']}/{$theme['imgdir']}/postbit_thx.gif\" border=\"0\" alt=\"$lang->thx_main\" title=\"$lang->thx_main\" id=\"i{$post['pid']}\" /><span class="text"> Gracias</span></a>";
<?php
$post['thanks'] = "<a id=\"a{$post['pid']}\" onclick=\"var uno = thx({$post['pid']});var dos = hideuntilthanks_reload(); return uno && dos;\" class=\"pbutton\" href=\"showthread.php?action=thank&tid={$post['tid']}&pid={$post['pid']}\"><img class=\"i\" src=\"{$mybb->settings['bburl']}/{$theme['imgdir']}/postbit_thx.gif\" border=\"0\" alt=\"$lang->thx_main\" title=\"$lang->thx_main\" id=\"i{$post['pid']}\" /><span class=\"text\"> Gracias</span></a>";
(16 Jan, 2013, 8:33 pm)Cluster escribió:Código PHP:<?php
$post['thanks'] = "<a id=\"a{$post['pid']}\" onclick=\"var uno = thx({$post['pid']});var dos = hideuntilthanks_reload(); return uno && dos;\" class=\"pbutton\" href=\"showthread.php?action=thank&tid={$post['tid']}&pid={$post['pid']}\"><img class=\"i\" src=\"{$mybb->settings['bburl']}/{$theme['imgdir']}/postbit_thx.gif\" border=\"0\" alt=\"$lang->thx_main\" title=\"$lang->thx_main\" id=\"i{$post['pid']}\" /><span class=\"text\"> Gracias</span></a>";
(15 Jan, 2013, 2:38 pm)Cluster escribió: para las imagenes, tienes que subir postbit_thx.gif y postbit_rthx.gif a el directorio de tu theme para que quede complementado el icono