Impossible de fusionner les sujets
2 participants
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Problème avec un script, un code :: Archives des problèmes avec un code
Page 1 sur 1 • Partagez
Impossible de fusionner les sujets
Détails techniques
Version du forum : phpBB2Poste occupé : Fondateur
Navigateur(s) concerné(s) : Mozilla Firefox, Google Chrome, Internet Explorer, Opera, Safari, Autre
Capture d'écran du problème :
- Voir l'image:
Personnes concernées par le problème : Plusieurs utilisateurs
Problème apparu depuis : Depuis la modification du template topics_list_box
Lien du forum : http://horde-orugaron.forumactif.com/
Description du problème
BonjourComme le titre l'indique, depuis la modification de la template topics_list_box il m'est totalement impossible de fusionner les sujets vu que l'encoche pour le faire n’apparaît pas (cf : screen).
Voici le template en question :
- Code:
<!-- BEGIN topics_list_box --><!-- BEGIN row --><!-- BEGIN header_table --><!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
var all_checked = true;
for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
}
}
document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
}
}
}
</script>
<!-- END multi_selection -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN pagination -->
<tr>
<td colspan="7" align="right"><span class="gensmall">{PAGINATION}</span></td>
</tr>
<!-- END pagination -->
<!-- END header_table -->
<!-- BEGIN header_row -->
<tr>
<td colspan="{topics_list_box.row.COLSPAN}"><span class="gensmall"> <b>{topics_list_box.row.L_TITLE}</b></span></td>
</tr>
<!-- END header_row -->
<!-- BEGIN topic -->
{topics_list_box.row.END_TABLE_STICKY}
<tr>
<td valign="top" width="100%">
<div class="corp_sujet">
<img class="img_old_new_sujet" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" />
<span class="gensmall">{topics_list_box.row.TOPIC_ANNOUNCES_DATES}</span>
<div class="corp_desc_sujet">
<div class="titre_sujet">{topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.PARTICIPATE_POST_IMG}{topics_list_box.row.TOPIC_TYPE} <a href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>
<div class="auteur_sujet">Auteur : {topics_list_box.row.TOPIC_AUTHOR}</div>
<!-- BEGIN switch_description -->
<div class="desc_sujet">{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}</div>
<!-- END switch_description -->
<div class="go_to_page_sujet">{topics_list_box.row.GOTO_PAGE}
<!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE} <!-- END nav_tree -->
</div>
</div>
</div>
<!-- BEGIN avatar -->
<div class="avatar_sujet">
<div>{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</div>
</div>
<!-- END avatar -->
<div class="corp_stat_sujet">
<div class="vu_rep_sujet">
Vu {topics_list_box.row.VIEWS} fois - {topics_list_box.row.REPLIES} Réponses
</div>
<div class="stats_sujet">
{topics_list_box.row.LAST_POST_TIME} <br />
{topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}</div>
</div>
</td>
<!-- BEGIN multi_selection -->
<td align="center" valign="middle"><span class="postdetails"><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></span></td>
<!-- END multi_selection -->
</tr>
<!-- END topic --><!-- BEGIN no_topics -->
<tr>
<td colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle" height="30"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></td>
</tr>
<!-- END no_topics --><!-- BEGIN bottom -->
<tr>
<td class="catBottom" colspan="{topics_list_box.row.COLSPAN}" valign="middle">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> <span class="gensmall">{PAGINATION}</span></td>
<td align="right"><a href="#top">{L_BACK_TO_TOP}</a> </td>
</tr>
</table>
</td>
</tr>
<!-- END bottom --><!-- BEGIN footer_table -->
</table><!-- END footer_table --><!-- BEGIN spacer --><br class="gensmall" /><!-- END spacer --><!-- END row --><!-- END topics_list_box -->
Merci par avance pour votre aide. ^^
Dernière édition par Pierre43 le Mer 23 Mai 2018 - 20:23, édité 1 fois
Re: Impossible de fusionner les sujets
Bonjour Pierre43,
Est-ce mieux avec cette version ?
Cordialement,
w00tw00t
Est-ce mieux avec cette version ?
- Code:
<!-- BEGIN topics_list_box --><!-- BEGIN row --><!-- BEGIN header_table --><!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
var all_checked = true;
for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
}
}
document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
}
}
}
</script>
<!-- END multi_selection -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN pagination -->
<tr>
<td colspan="7" align="right"><span class="gensmall">{PAGINATION}</span></td>
</tr>
<!-- END pagination -->
<!-- END header_table -->
<!-- BEGIN header_row -->
<tr>
<td colspan="{topics_list_box.row.COLSPAN}"><span class="gensmall"> <b>{topics_list_box.row.L_TITLE}</b></span></td>
</tr>
<!-- END header_row -->
<!-- BEGIN topic -->
{topics_list_box.row.END_TABLE_STICKY}
<tr>
<td valign="top" width="100%">
<div class="corp_sujet">
<img class="img_old_new_sujet" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" />
<span class="gensmall">{topics_list_box.row.TOPIC_ANNOUNCES_DATES}</span>
<div class="corp_desc_sujet">
<div class="titre_sujet">
<!-- BEGIN single_selection -->
Sélectionnez <input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />
<!-- END single_selection -->
{topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.PARTICIPATE_POST_IMG}{topics_list_box.row.TOPIC_TYPE} <a href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>
<div class="auteur_sujet">Auteur : {topics_list_box.row.TOPIC_AUTHOR}</div>
<!-- BEGIN switch_description -->
<div class="desc_sujet">{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}</div>
<!-- END switch_description -->
<div class="go_to_page_sujet">{topics_list_box.row.GOTO_PAGE}
<!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE} <!-- END nav_tree -->
</div>
</div>
</div>
<!-- BEGIN avatar -->
<div class="avatar_sujet">
<div>{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</div>
</div>
<!-- END avatar -->
<div class="corp_stat_sujet">
<div class="vu_rep_sujet">
Vu {topics_list_box.row.VIEWS} fois - {topics_list_box.row.REPLIES} Réponses
</div>
<div class="stats_sujet">
{topics_list_box.row.LAST_POST_TIME} <br />
{topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}</div>
</div>
</td>
<!-- BEGIN multi_selection -->
<td align="center" valign="middle"><span class="postdetails"><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></span></td>
<!-- END multi_selection -->
</tr>
<!-- END topic --><!-- BEGIN no_topics -->
<tr>
<td colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle" height="30"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></td>
</tr>
<!-- END no_topics --><!-- BEGIN bottom -->
<tr>
<td class="catBottom" colspan="{topics_list_box.row.COLSPAN}" valign="middle">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> <span class="gensmall">{PAGINATION}</span></td>
<td align="right"><a href="#top">{L_BACK_TO_TOP}</a> </td>
</tr>
</table>
</td>
</tr>
<!-- END bottom --><!-- BEGIN footer_table -->
</table><!-- END footer_table --><!-- BEGIN spacer --><br class="gensmall" /><!-- END spacer --><!-- END row --><!-- END topics_list_box -->
Cordialement,
w00tw00t
Re: Impossible de fusionner les sujets
Merci beaucoup, ça a fonctionné ^^
Il manquait quoi dans le template du coup?
Il manquait quoi dans le template du coup?
Re: Impossible de fusionner les sujets
Bonjour Pierre43,
J'ai ajouté ces quelques lignes relatives à la sélection exclusive :
Je reste à votre disposition pour plus de détails,
Cordialement,
w00tw00t
J'ai ajouté ces quelques lignes relatives à la sélection exclusive :
- Code:
<!-- BEGIN single_selection -->
Sélectionnez <input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />
<!-- END single_selection -->
Je reste à votre disposition pour plus de détails,
Cordialement,
w00tw00t
Re: Impossible de fusionner les sujets
Ça ira, vous m'avez déjà bien dépanné
Merci beaucoup ^^
Mis en résolu
Merci beaucoup ^^
Mis en résolu
Sujets similaires
» Impossible de fusionner 2 sujets
» Impossible de fusionner 2 sujets
» Impossible de fusionner 2 sujets
» Impossible de fusionner les sujets
» Impossible de fusionner deux sujets !
» Impossible de fusionner 2 sujets
» Impossible de fusionner 2 sujets
» Impossible de fusionner les sujets
» Impossible de fusionner deux sujets !
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Problème avec un script, un code :: Archives des problèmes avec un code
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum