Podwójny przycisk "edytuj"

Założony przez  xxxNINJAxxx.

wersja skryptu MyBB: 1.6.12
adres forum: www.top.xaa.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Witam, mam taki problem, który jest widoczny na screenie. Mam podwójnie "Edytuj". Jak usunąć te edytuj gdzie nie ma buttona ?

Posiadam styl GTA.

http://ifotos.pl/zobacz/problemPN_epewaax.PNG/
Pokaż szablon postbit i posbit_classic, bo na forum jest układ klasyczny postów a na screenie nie, więc nie wiem o który szablon chodzi.
Jeśli Ci pomogłem naciśnij guzik POMÓGŁ lub dodaj PUNKT REPUTACJI
Gdzie to znajdę? Szukam i nie mogę znaleźć.
ACp → Style i szablony → Szablony → Twój szablon → Opis posta.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
ACP → Style i szablony → Szablony → [twój styl] → Opis posta → Podaj zawartość postbit i postbit_classic

@UP: szybszy :D
Pomoc poza forum - odpłatnie.
postbit:

{$ignore_bit}
<
a name="pid{$post['pid']}id="pid{$post['pid']}"></a>
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="{$post_extra_style} {$post_visibility}id="post_{$post['pid']}">
    <
tbody>
        <
tr>
            <
td class="tcat">
                <
div class="float_left smalltext">
                    {
$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
                </
div>
                {
$post['posturl']}
            </
td>
        </
tr>

        <
tr>
            <
td class="trow1 {$unapproved_shade}">
                <
table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
                    <
tr>
                        <
td class="post_avatar" width="1" style="{$post['avatar_padding']}">
                            {
$post['useravatar']}
                        </
td>
                        <
td class="post_author">
                            <
strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
                            <
span class="smalltext">
                                {
$post['usertitle']}<br />
                                {
$post['userstars']}
                                {
$post['groupimage']}
                            </
span>
                        </
td>
                        <
td class="smalltext post_author_info" width="165">
                            {
$post['user_details']}
                        </
td>
                    </
tr>
                </
table>
            </
td>
        </
tr>

        <
tr>
            <
td class="trow2 post_content {$unapproved_shade}">
                <
span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>

                <
div class="post_body" id="pid_{$post['pid']}">
                    {
$post['message']}
                </
div>
                {
$post['attachments']}
                {
$post['signature']}

                <
div class="post_meta" id="post_meta_{$post['pid']}">
                {
$post['iplogged']}
                </
div>
            </
td>
        </
tr>

        <
tr>
            <
td class="trow1 post_buttons {$unapproved_shade}">
                <
div class="author_buttons float_left">
                    {
$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
                </
div>
                <
div class="post_management_buttons float_right">{$post['button_tyl']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$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']}
                </
div>
            </
td>
        </
tr>
        <
tr style="{$post['tyl_display']}id="tyl_{$post['pid']}">
            {
$post['thankyoulike_data']}
        </
tr>
    </
tbody>
</
table


postbit_classic

{$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="{$altbg}width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}id="pid{$post['pid']}"></a>
        <
strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
        <
span class="smalltext">
            {
$post['usertitle']}<br />
            {
$post['userstars']}
            {
$post['groupimage']}
            {
$post['useravatar']}<br />
            {
$post['user_details']}
        </
span>
    </
td>
    <
td class="{$altbg}valign="top">
        <
table width="100%">
            <
tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
            <
br />
            <
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="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
    <
td class="{$altbg}style="vertical-align: middle;">
        <
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_tyl']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$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>
</
table
Nie widzę nic dziwnego. Pokaż postbit_edit.
ACp → Style i szablony → Szablony → Twój szablon → Opis posta → postbit_edit.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
<a href="editpost.php?pid={$post['pid']}id="edit_post_{$post['pid']}"><img src="{$theme['imglangdir']}/postbit_edit.gif" alt="{$lang->postbit_edit}title="{$lang->postbit_edit}/></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
proszę.
Pokaż jakieś konto testowe ;)
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Nie mam takiego problemu.
[Obrazek: Przechwyt_epesxra.PNG]
W sumie to prosiłem o dane do konta testowego, ale jak tak to ok. ;)

Masz jakieś pluginy typu modnotice? Widać, że to tylko u wyższych rang, skoro tu nie pokazuje.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Tak posiadam owy plugin.

Login: test
Hasło: test123
Pokaż szablon z ACP → Style i szablony → Szablony → Szablony globalne → postbit_moderator_edit
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
postbit_moderator_edit
<a href="editpost.php?pid={$post['pid']}id="edit_post_{$post['pid']}"><img src="{$theme['imglangdir']}/postbit_edit.gif" alt="Edytuj" title="Edytuj" />Edycja</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 class="popup_item_container"><a href="modnotice.php?pid={$post['pid']}class="popup_item">{$lang->postbit_post_moderate}</a></div></div>
<
script type="text/javascript">
// <!--
    
if(use_xmlhttprequest == "1")
    {
        new 
PopupMenu("edit_post_{$post['pid']}");
    }
// -->
</script
proszę.

Zamieniłem:
src="{$theme['imglangdir']}/postbit_edit.gif" alt="Edytuj" title="Edytuj" />Edycja</a>
na:
src="{$theme['imglangdir']}/postbit_edit.gif" alt="Edytuj" title="Edytuj" /></a>
i jest dobrze.

Dobrze zrobiłem czy jest jakiś lepszy sposób na to?
Cytat:Zamieniłem:
src="{$theme['imglangdir']}/postbit_edit.gif" alt="Edytuj" title="Edytuj" />Edycja</a>
na:
src="{$theme['imglangdir']}/postbit_edit.gif" alt="Edytuj" title="Edytuj" /></a>
i jest dobrze.

Dobrze zrobiłem czy jest jakiś lepszy sposób na to?

Dobrze, właśnie na tym to polegało.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.



Użytkownicy przeglądający ten wątek:

1 gości