Sa Marche Merci !
Problème réglé encore une fois je passe pour un noob con moi !
Modérateur: Equipe








0amine0 a écrit:ca marche pas avec ma version 3.0.5
aide moi![]()
![]()
![]()
![]()
![]()
![]()

0amine0 a écrit:ca marche pas avec ma version 3.0.5
aide moi![]()
![]()
![]()
![]()
![]()
![]()


<script type="text/javascript">
function show_details(id)
{
if(document.getElementById(id).style.display == 'none')
{
//Display
document.getElementById(id).style.display = 'block';
//Change link
document.getElementById('phpbb_cat_'+id).innerHTML = '<a href="javascript:show_details(\''+id+'\');" title="{L_EXPAND_CAT_HIDE}">-</a>';
//Delete cookie
document.cookie = '{COOKIE_NAME}_display_cat_'+id+'=0;expires=Thu, 11-Jan-2011 00:00:01 GMT;';
}
else
{
//Don't display
document.getElementById(id).style.display = 'none';
//Change link
document.getElementById('phpbb_cat_'+id).innerHTML = '<a href="javascript:show_details(\''+id+'\');" title="{L_EXPAND_CAT_DISPLAY}">+</a>';
//Create cookie
document.cookie = '{COOKIE_NAME}_display_cat_'+id+'=1;';
}
}
</script>
<table class="tablebg" cellspacing="1" width="100%">
<tr>
<td class="bar" colspan="5" align="{S_CONTENT_FLOW_END}"></td>
</tr>
<tr>
<th class="th2" width="100%"> {L_FORUM} </th>
<th width="50"> {L_TOPICS} </th>
<th width="50"> {L_POSTS} </th>
<th width="100"> {L_LAST_POST} </th>
</tr>
<!-- BEGIN forumrow -->
<!-- IF forumrow.S_IS_CAT -->
<!-- IF not forumrow.S_FIRST_ROW -->
</table>
<!-- ENDIF -->
<table class="tablebg" cellspacing="1" width="100%">
<tr>
<td class="cat" colspan="5"><h4><span id="phpbb_cat_c{forumrow.FORUM_ID}" style="font-size:18px;margin-right:8px;">{forumrow.DISPLAY_CAT_LINK}</span><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></td>
</tr>
</table>
<table class="tablebg" cellspacing="1" width="100%" id="c{forumrow.FORUM_ID}" style="display:{forumrow.DISPLAY_CAT};">
<!-- ELSEIF forumrow.S_IS_LINK -->
<tr>
<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
<td class="row1">
<!-- IF forumrow.FORUM_IMAGE -->
<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><br clear="all" />
<!-- ENDIF -->
<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
<p class="forumdesc">{forumrow.FORUM_DESC}</p>
<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
</td>
<!-- IF forumrow.CLICKS -->
<td class="row2" colspan="3" align="center"><span class="genmed">{L_REDIRECTS}: {forumrow.CLICKS}</span></td>
<!-- ELSE -->
<td class="row2" colspan="3" align="center"> </td>
<!-- ENDIF -->
</tr>
<!-- ELSE -->
<!-- IF forumrow.S_NO_CAT -->
<tr>
<td class="cat" colspan="5"><h4>{L_FORUM}</h4></td>
</tr>
<!-- ENDIF -->
<tr>
<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
<td class="row1" width="65%">
<!-- IF forumrow.FORUM_IMAGE -->
<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><br clear="all" />
<!-- ENDIF -->
<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
<p class="forumdesc">{forumrow.FORUM_DESC}</p>
<!-- IF forumrow.MODERATORS -->
<p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p>
<!-- ENDIF -->
<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
<!-- ENDIF -->
</td>
<td class="row2" width="60" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td>
<td class="row2" width="60" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td>
<td class="row2" width="100" align="center" nowrap="nowrap">
<!-- IF forumrow.LAST_POST_TIME -->
<p class="topicdetails">{forumrow.LAST_POST_TIME}</p>
<p class="topicdetails">{forumrow.LAST_POSTER_FULL}
<!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->
</p>
<!-- ELSE -->
<p class="topicdetails">{L_NO_POSTS}</p>
<!-- ENDIF -->
</td>
</tr>
<!-- IF forumrow.S_LAST_ROW -->
</table>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- BEGINELSE -->
<tr>
<td class="row1" colspan="5" align="center"><p class="gensmall">{L_NO_FORUMS}</p></td>
</tr>
<!-- END forumrow -->
<tr>
<td class="bar" colspan="5"></td>
</tr>
</table>

document.cookie = '{COOKIE_NAME}_display_cat_'+id+'=0;expires=Thu, 11-Jan-2011 00:00:01 GMT;';

<dt>
<!-- IF forumrow.S_IS_GLOBAL -->
{L_ANNOUNCEMENTS}
<span id="phpbb_cat_c{forumrow.FORUM_ID}" style="font-size:18px;margin-right:8px;">
{forumrow.DISPLAY_CAT_LINK}
</span>
<!-- ELSEIF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
<!-- ELSE -->{L_FORUM}
<!-- ENDIF -->
</dt>






Retourner vers MODs indépendants de la base
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 1 invité