Fork me on GitHub

Rapport de message :*
 

Re: enlever image boite de selection sur viewforum.php

Titre du sujet : Re: enlever image boite de selection sur viewforum.php
par montuy337513 sur 29/09/2012 21:13:57

c'est dans le template que tu dois apporter les modifications

Par ordre de priorité, ./themes/ton_theme/modules/newbb/newbb_viewforum.html ou si il est absent ./modules/newbb/templates/newbb_viewforum.html

il faut que tu retires ces lignes (chez moi de la ligne 93 à 162)
<div class="dropdown">
<{if 
$menumode eq 0}>

    <
select
        name
="forumoption" id="forumoption"
        
class="menu"    onchange="if(this.options[this.selectedIndex].value.length >0 )    { window.location=this.options[this.selectedIndex].value;}"
    
>
        <
option value=""><{$smarty.const._MD_FORUMOPTION}></option>
        <
option value="<{$mark_read}>"><{$smarty.const._MD_MARK_ALL_TOPICS}>&nbsp;<{$smarty.const._MD_MARK_READ}></option>
        <
option value="<{$mark_unread}>"><{$smarty.const._MD_MARK_ALL_TOPICS}>&nbsp;<{$smarty.const._MD_MARK_UNREAD}></option>
        <
option value="">--------</option>
        <
option value="<{$post_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_ALLPOSTS}></option>
        <
option value="<{$newpost_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_NEWPOSTS}></option>
        <
option value="<{$all_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_ALL}></option>
        <
option value="<{$digest_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_DIGEST}></option>
        <
option value="<{$unreplied_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_UNREPLIED}></option>
        <
option value="<{$unread_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_UNREAD}></option>
        <
option value="">--------</option>
        <{foreach 
item=menu from=$menumode_other}>
        <
option value="<{$menu.link}>"><{$menu.title}></option>
        <{/foreach}>
    </
select>

<{elseif 
$menumode eq 1}>
    <
div id="forumoption" class="menu">
    <
table><tr><td>
        <
class="item" href="<{$mark_read}>"><{$smarty.const._MD_MARK_ALL_TOPICS}>&nbsp;<{$smarty.const._MD_MARK_READ}></a>
        <
class="item" href="<{$mark_unread}>"><{$smarty.const._MD_MARK_ALL_TOPICS}>&nbsp;<{$smarty.const._MD_MARK_UNREAD}></a>
        <
div class="separator"></div>
        <
class="item" href="<{$post_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_ALLPOSTS}></a>
        <
class="item" href="<{$newpost_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_NEWPOSTS}></a>
        <
class="item" href="<{$all_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_ALL}></a>
        <
class="item" href="<{$digest_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_DIGEST}></a>
        <
class="item" href="<{$unreplied_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_UNREPLIED}></a>
        <
class="item" href="<{$unread_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_UNREAD}></a>
        <
div class="separator"></div>
        <{foreach 
item=menu from=$menumode_other}>
        <
class="item" href="<{$menu.link}>"><{$menu.title}></a>
        <{/foreach}>
    </
td></tr></table>
    </
div>
    <
script type="text/javascript">document.getElementById("forumoption").onmouseout closeMenu;</script>
    <div class="menubar"><a href="" onclick="openMenu(event, 'forumoption');return false;"><{$smarty.const._MD_FORUMOPTION}></a></div>

<{elseif $menumode eq 2}>
    <div class="menu">
        <ul>
            <li>
                <div class="item"><strong><{$smarty.const._MD_FORUMOPTION}></strong></div>
                <ul>
                <li><table><tr><td>
                    <div class="item"><a href="<{$mark_read}>"><{$smarty.const._MD_MARK_ALL_TOPICS}>&nbsp;<{$smarty.const._MD_MARK_READ}></a></div>
                    <div class="item"><a href="<{$mark_unread}>"><{$smarty.const._MD_MARK_ALL_TOPICS}>&nbsp;<{$smarty.const._MD_MARK_UNREAD}></a></div>
                    <div class="separator"></div>
                    <div class="item"><a href="<{$post_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_ALLPOSTS}></a></div>
                    <div class="item"><a href="<{$newpost_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_NEWPOSTS}></a></div>
                    <div class="item"><a href="<{$all_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_ALL}></a></div>
                    <div class="item"><a href="<{$digest_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_DIGEST}></a></div>
                    <div class="item"><a href="<{$unreplied_link}>"><{$smarty.const._MD_VIEW}>&nbsp;<{$smarty.const._MD_UNREPLIED}></a></div>
                    <div class="separator"></div>
                    <{foreach item=menu from=$menumode_other}>
                    <div class="item"><a href="<{$menu.link}>"><{$menu.title}></a></div>
                    <{/foreach}>
                </td></tr></table></li>
                </ul>
            </li>
        </ul>
    </div>
<{/if}>
</div>


ensuite il te reste a vider les caches dans administration->maintenance

Tu sélectionnes "smarty_cache", "smarty_compile" et "xoops_cache" puis tu appuis sur "envoyer".

Là, cela devrai fonctionner
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

111 Personne(s) en ligne (105 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 111 | Plus ...