It is currently Sun 25 Sep 2016 - 09:04 - créer un forum

[tuto]séparateur d'annonce et post-it

Skip to content

Post new topic Reply to topic Goto page: <  1, 2, 332, 33, 34, 35, 36, 37  >

[tuto]séparateur d'annonce et post-it
Author Message
Sploutch


Joined: 02 Jan 2006
Posts: 584

PostPosted: Fri 15 Jan 2010 - 11:55    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

PublicitéSupprimer les publicités ?
Previous post review:

Ne penses-tu pas plutôt qu'il y aurait une erreur quand tu exécutes le tutoriel, plutôt que de dire que le tutoriel ne fonctionne pas... innocent

-Place-tu bien le(s) code(s) etc ?
-Es-tu sur de tes modifications ?
-Les fais-tu dans le bon thèmes ?
Forum
Author Message
mOi60


Offline
Guest




PostPosted: Fri 15 Jan 2010 - 16:08    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Code: Sélectionner - Agrandir
<br />
<br />
 <script language="Javascript" type="text/javascript">
<!--
imprim = 0;
-->
</script>
<script language="Javascript" type="text/javascript">
<!--
function teststicky(annonce){
var elems=document.getElementsByTagName('img');
var issticky=false;
for(var i=0;i<elems.length;i++){
if(elems[i].src.search(/(announce|sticky)/g) < 0) continue;
issticky=true;
break;
}
if (issticky == true) {
document.write('<tr><td class="row3" align="center" valign="middle" colspan="7"><br><br><br></td></tr>');
imprim = 1;
}
}
-->
</script> 








<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
 
 <tr>
   <td align="left" valign="middle" width="50"><br /><br /><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
   <td align="left" valign="bottom" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br />&nbsp;</span></td>
   <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
 </tr>
  </table>
<br />
  <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
 <tr>
   <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
   <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
   <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
   <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
   <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
 </tr>
 <!-- BEGIN topicrow -->
<script language="Javascript" type="text/javascript">
<!--
annonce = 0;
monreg = /(folder-|folder_n|folder_h|folder_l)/g;
zone = "{topicrow.TOPIC_FOLDER_IMG}";
if (monreg.test(zone)) {
annonce = 1;
}
if (imprim == 0 && annonce == 1) {
teststicky(annonce);
}
-->
</script>





<script language="Javascript" type="text/javascript">
<!--
annonce = 0;
monreg = /(folder-|folder_n|folder_h|folder_l)/g;
zone = "{topicrow.TOPIC_FOLDER_IMG}"; E
if (monreg.test(zone)) {
annonce = 1;
}
if (imprim == 0 && annonce == 1) {
teststicky(annonce);
}
-->
</script>



 <tr>
   <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="50" height="52" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
   <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}<!-- IF topicrow.TOPIC_TYPE == "<b>Annonce Globale :</b> " -->
<a style="font-size:16px; color: RED" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Annonce :</b> " -->
<a style="font-size:16px; color: RED" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Post-it :</b> " -->
<a style="font-size:16px; color: RED" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ELSE -->
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ENDIF --> 

{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
  {topicrow.GOTO_PAGE}</span></td>
   <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
   <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
   <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
   <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
 </tr>
 <!-- END topicrow -->
 <!-- BEGIN switch_no_topics -->
 <tr>
   <td class="row1" colspan="6" height="90" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
 </tr>
 <!-- END switch_no_topics -->
 <tr>
   <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
  <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
  </span></td>
 </tr>
  </table>
<br />
  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
 <tr>
   <td align="left" valign="middle" width="90"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
   <td align="left" valign="bottom" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br />&nbsp;</span></td>
   <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
  </td>
 </tr>
 <tr>
   <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
 </tr>
 <tr>
   <td align="left" valign="bottom" colspan="2"><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
   <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
 </tr>
  </table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
 <td align="right">{JUMPBOX}</td>
  </tr>
</table>
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
 <tr>
  <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
   <tr>
    <td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="30" height="20" /></td>
    <td class="gensmall">{L_NEW_POSTS}</td>
    <td>&nbsp;&nbsp;</td>
    <td width="15" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="30" height="20" /></td>
    <td class="gensmall">{L_NO_NEW_POSTS}</td>
    <td>&nbsp;&nbsp;</td>
    <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="30" height="20" /></td>
    <td class="gensmall">{L_ANNOUNCEMENT}</td>
   </tr>
   <tr>
    <td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="30" height="20" /></td>
    <td class="gensmall">{L_NEW_POSTS_HOT}</td>
    <td>&nbsp;&nbsp;</td>
    <td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="30" height="20" /></td>
    <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
    <td>&nbsp;&nbsp;</td>
    <td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="30" height="20" /></td>
    <td class="gensmall">{L_STICKY}</td>
   </tr>
   <tr>
    <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="30" height="20" /></td>
    <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
    <td>&nbsp;&nbsp;</td>
    <td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="30" height="20" /></td>
    <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
   </tr>
  </table></td>
  <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
 </tr>
</table>

 

si vous apercevez une erreur


Author Message
Sploutch
Membre


Offline
Membre

Joined: 02 Jan 2006
Posts: 584
Niveau:
Point(s): 632
Moyenne: 1.08
Masculin

PostPosted: Fri 15 Jan 2010 - 16:49    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Oui !
ICI :
Quote:
<!-- ENDIF -->

{topicrow.TOPIC_TITLE}[/url]</span><span class="gensmall">

{topicrow.GOTO_PAGE}</span></td>

Je n'ai pas testé plus loin ..remplace voir ta template par celle-ci :

Code: Sélectionner - Agrandir
    <br />
    <br />
     <script language="Javascript" type="text/javascript">
    <!--
    imprim = 0;
    -->
    </script>
    <script language="Javascript" type="text/javascript">
    <!--
    function teststicky(annonce){
    var elems=document.getElementsByTagName('img');
    var issticky=false;
    for(var i=0;i<elems.length;i++){
    if(elems[i].src.search(/(announce|sticky)/g) < 0) continue;
    issticky=true;
    break;
    }
    if (issticky == true) {
    document.write('<tr><td class="row3" align="center" valign="middle" colspan="7"><br><br><br></td></tr>');
    imprim = 1;
    }
    }
    -->
    </script>








    <form method="post" action="{S_POST_DAYS_ACTION}">
      <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
     
     <tr>
       <td align="left" valign="middle" width="50"><br /><br /><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
       <td align="left" valign="bottom" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br />&nbsp;</span></td>
       <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
     </tr>
      </table>
    <br />
      <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
     <tr>
       <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
       <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
       <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
       <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
       <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
     </tr>
     <!-- BEGIN topicrow -->
    <script language="Javascript" type="text/javascript">
    <!--
    annonce = 0;
    monreg = /(folder-|folder_n|folder_h|folder_l)/g;
    zone = "{topicrow.TOPIC_FOLDER_IMG}";
    if (monreg.test(zone)) {
    annonce = 1;
    }
    if (imprim == 0 && annonce == 1) {
    teststicky(annonce);
    }
    -->
    </script>





    <script language="Javascript" type="text/javascript">
    <!--
    annonce = 0;
    monreg = /(folder-|folder_n|folder_h|folder_l)/g;
    zone = "{topicrow.TOPIC_FOLDER_IMG}"; E
    if (monreg.test(zone)) {
    annonce = 1;
    }
    if (imprim == 0 && annonce == 1) {
    teststicky(annonce);
    }
    -->
    </script>



     <tr>
       <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="50" height="52" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
       <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}<!-- IF topicrow.TOPIC_TYPE == "<b>Annonce Globale :</b> " -->
    <a style="font-size:16px; color: RED" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
    <!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Annonce :</b> " -->
    <a style="font-size:16px; color: RED" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
    <!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Post-it :</b> " -->
    <a style="font-size:16px; color: RED" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
    <!-- ELSE -->
    <a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
    <!-- ENDIF -->

    {topicrow.TOPIC_TITLE}<span class="gensmall"><br />
      {topicrow.GOTO_PAGE}</span></td>
       <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
       <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
       <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
       <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
     </tr>
     <!-- END topicrow -->
     <!-- BEGIN switch_no_topics -->
     <tr>
       <td class="row1" colspan="6" height="90" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
     </tr>
     <!-- END switch_no_topics -->
     <tr>
       <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
      <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
      </span></td>
     </tr>
      </table>
    <br />
      <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
     <tr>
       <td align="left" valign="middle" width="90"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
       <td align="left" valign="bottom" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br />&nbsp;</span></td>
       <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
      </td>
     </tr>
     <tr>
       <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
     </tr>
     <tr>
       <td align="left" valign="bottom" colspan="2"><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
       <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
     </tr>
      </table>
    </form>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
     <td align="right">{JUMPBOX}</td>
      </tr>
    </table>
    <table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
     <tr>
      <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
       <tr>
        <td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="30" height="20" /></td>
        <td class="gensmall">{L_NEW_POSTS}</td>
        <td>&nbsp;&nbsp;</td>
        <td width="15" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="30" height="20" /></td>
        <td class="gensmall">{L_NO_NEW_POSTS}</td>
        <td>&nbsp;&nbsp;</td>
        <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="30" height="20" /></td>
        <td class="gensmall">{L_ANNOUNCEMENT}</td>
       </tr>
       <tr>
        <td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="30" height="20" /></td>
        <td class="gensmall">{L_NEW_POSTS_HOT}</td>
        <td>&nbsp;&nbsp;</td>
        <td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="30" height="20" /></td>
        <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
        <td>&nbsp;&nbsp;</td>
        <td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="30" height="20" /></td>
        <td class="gensmall">{L_STICKY}</td>
       </tr>
       <tr>
        <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="30" height="20" /></td>
        <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
        <td>&nbsp;&nbsp;</td>
        <td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="30" height="20" /></td>
        <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
       </tr>
      </table></td>
      <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
     </tr>
    </table>

     

_______________________
1 tour pour la forme.1 tour pour l'esprit.

| Le site pour les Filles | Me Soutenir | Smileys Fun | Mes Tutoriels | Mon formulaire D'aide | No Support MP |


Forum
Author Message
mOi60


Offline
Guest




PostPosted: Fri 15 Jan 2010 - 19:10    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

j ai changer, et aucun changement!

Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Fri 15 Jan 2010 - 19:13    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

bonjour

ici
Code: Sélectionner - Agrandir

 <!-- BEGIN topicrow -->
<script language="Javascript" type="text/javascript">
<!--
annonce = 0;
monreg = /(folder-|folder_n|folder_h|folder_l)/g;
zone = "{topicrow.TOPIC_FOLDER_IMG}";
if (monreg.test(zone)) {
annonce = 1;
}
if (imprim == 0 && annonce == 1) {
teststicky(annonce);
}
-->
</script>





<script language="Javascript" type="text/javascript">
<!--
annonce = 0;
monreg = /(folder-|folder_n|folder_h|folder_l)/g;
zone = "{topicrow.TOPIC_FOLDER_IMG}"; E
if (monreg.test(zone)) {
annonce = 1;
}
if (imprim == 0 && annonce == 1) {
teststicky(annonce);
}
-->
</script>


tu as mis deux fois le code à ajouter




Code: Sélectionner - Agrandir
<script language="Javascript" type="text/javascript">
<!--
annonce = 0;
monreg = /(folder-|folder_n|folder_h|folder_l)/g;
zone = "{topicrow.TOPIC_FOLDER_IMG}"; E
if (monreg.test(zone)) {
annonce = 1;
}
if (imprim == 0 && annonce == 1) {
teststicky(annonce);
}
-->
</script>


il faut en supprimer un
_______________________


Forum
Author Message
mOi60


Offline
Guest




PostPosted: Fri 15 Jan 2010 - 21:47    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Code: Sélectionner - Agrandir
 <br />
    <br />
     <script language="Javascript" type="text/javascript">
    <!--
    imprim = 0;
    -->
    </script>
    <script language="Javascript" type="text/javascript">
    <!--
    function teststicky(annonce){
    var elems=document.getElementsByTagName('img');
    var issticky=false;
    for(var i=0;i<elems.length;i++){
    if(elems[i].src.search(/(announce|sticky)/g) < 0) continue;
    issticky=true;
    break;
    }
    if (issticky == true) {
    document.write('<tr><td class="row3" align="center" valign="middle" colspan="7"><br><br><br></td></tr>');
    imprim = 1;
    }
    }
    -->
    </script>




    <form method="post" action="{S_POST_DAYS_ACTION}">
      <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
    
     <tr>
       <td align="left" valign="middle" width="50"><br /><br /><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
       <td align="left" valign="bottom" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br />&nbsp;</span></td>
       <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
     </tr>
      </table>
    <br />
      <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
     <tr>
       <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
       <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
       <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
       <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
       <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
     </tr>
     <!-- BEGIN topicrow -->
    <script language="Javascript" type="text/javascript">
    <!--
    annonce = 0;
    monreg = /(folder-|folder_n|folder_h|folder_l)/g;
    zone = "{topicrow.TOPIC_FOLDER_IMG}";
    if (monreg.test(zone)) {
    annonce = 1;
    }
    if (imprim == 0 && annonce == 1) {
    teststicky(annonce);
    }
    -->
    </script>


    <script language="Javascript" type="text/javascript">
    <!--
    annonce = 0;
    monreg = /(folder-|folder_n|folder_h|folder_l)/g;
    zone = "{topicrow.TOPIC_FOLDER_IMG}"; E
    if (monreg.test(zone)) {
    annonce = 1;
    }
    if (imprim == 0 && annonce == 1) {
    teststicky(annonce);
    }
    -->
    </script>

     <tr>
       <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="50" height="52" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
       <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}<!-- IF topicrow.TOPIC_TYPE == "<b>Annonce Globale :</b> " -->
    <a style="font-size:16px; color: RED" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
    <!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Annonce :</b> " -->
    <a style="font-size:16px; color: RED" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
    <!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Post-it :</b> " -->
    <a style="font-size:16px; color: RED" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
    <!-- ELSE -->
    <a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
    <!-- ENDIF -->
    {topicrow.TOPIC_TITLE}<span class="gensmall"><br />
      {topicrow.GOTO_PAGE}</span></td>
       <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
       <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
       <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
       <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
     </tr>
     <!-- END topicrow -->
     <!-- BEGIN switch_no_topics -->
     <tr>
       <td class="row1" colspan="6" height="90" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
     </tr>
     <!-- END switch_no_topics -->
     <tr>
       <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
      <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
      </span></td>
     </tr>
      </table>
    <br />
      <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
     <tr>
       <td align="left" valign="middle" width="90"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
       <td align="left" valign="bottom" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br />&nbsp;</span></td>
       <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
      </td>
     </tr>
     <tr>
       <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
     </tr>
     <tr>
       <td align="left" valign="bottom" colspan="2"><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
       <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
     </tr>
      </table>
    </form>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
     <td align="right">{JUMPBOX}</td>
      </tr>
    </table>
    <table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
     <tr>
      <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
       <tr>
        <td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="30" height="20" /></td>
        <td class="gensmall">{L_NEW_POSTS}</td>
        <td>&nbsp;&nbsp;</td>
        <td width="15" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="30" height="20" /></td>
        <td class="gensmall">{L_NO_NEW_POSTS}</td>
        <td>&nbsp;&nbsp;</td>
        <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="30" height="20" /></td>
        <td class="gensmall">{L_ANNOUNCEMENT}</td>
       </tr>
       <tr>
        <td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="30" height="20" /></td>
        <td class="gensmall">{L_NEW_POSTS_HOT}</td>
        <td>&nbsp;&nbsp;</td>
        <td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="30" height="20" /></td>
        <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
        <td>&nbsp;&nbsp;</td>
        <td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="30" height="20" /></td>
        <td class="gensmall">{L_STICKY}</td>
       </tr>
       <tr>
        <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="30" height="20" /></td>
        <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
        <td>&nbsp;&nbsp;</td>
        <td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="30" height="20" /></td>
        <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
       </tr>
      </table></td>
      <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
     </tr>
    </table>



toujours rien avec ca !


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sat 16 Jan 2010 - 12:09    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

tu as toujours les deux codes ici

Code: Sélectionner - Agrandir
<!-- BEGIN topicrow -->
    <script language="Javascript" type="text/javascript">
    <!--
    annonce = 0;
    monreg = /(folder-|folder_n|folder_h|folder_l)/g;
    zone = "{topicrow.TOPIC_FOLDER_IMG}";
    if (monreg.test(zone)) {
    annonce = 1;
    }
    if (imprim == 0 && annonce == 1) {
    teststicky(annonce);
    }
    -->
    </script>


    <script language="Javascript" type="text/javascript">
    <!--
    annonce = 0;
    monreg = /(folder-|folder_n|folder_h|folder_l)/g;
    zone = "{topicrow.TOPIC_FOLDER_IMG}"; E
    if (monreg.test(zone)) {
    annonce = 1;
    }
    if (imprim == 0 && annonce == 1) {
    teststicky(annonce);
    }
    -->
    </script>


comme indiqué tu dois en supprimer un
_______________________


Forum
Author Message
mOi60


Offline
Guest




PostPosted: Sat 16 Jan 2010 - 14:03    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Code: Sélectionner - Agrandir
 <br />
    <br />
         <script language="Javascript" type="text/javascript">
    <!--
    function teststicky(annonce){
    var elems=document.getElementsByTagName('img');
    var issticky=false;
    for(var i=0;i<elems.length;i++){
    if(elems[i].src.search(/(announce|sticky)/g) < 0) continue;
    issticky=true;
    break;
    }
    if (issticky == true) {
    document.write('<tr><td class="row3" align="center" valign="middle" colspan="7"><br><br><br></td></tr>');
    imprim = 1;
    }
    }
    -->
    </script>




    <form method="post" action="{S_POST_DAYS_ACTION}">
      <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
    
     <tr>
       <td align="left" valign="middle" width="50"><br /><br /><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
       <td align="left" valign="bottom" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br />&nbsp;</span></td>
       <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
     </tr>
      </table>
    <br />
      <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
     <tr>
       <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
       <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
       <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
       <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
       <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
     </tr>
     <!-- BEGIN topicrow -->
    <script language="Javascript" type="text/javascript">
    <!--
    annonce = 0;
    monreg = /(folder-|folder_n|folder_h|folder_l)/g;
    zone = "{topicrow.TOPIC_FOLDER_IMG}";
    if (monreg.test(zone)) {
    annonce = 1;
    }
    if (imprim == 0 && annonce == 1) {
    teststicky(annonce);
    }
    -->
    </script>


    <script language="Javascript" type="text/javascript">
    <!--
    annonce = 0;
    monreg = /(folder-|folder_n|folder_h|folder_l)/g;
    zone = "{topicrow.TOPIC_FOLDER_IMG}"; E
    if (monreg.test(zone)) {
    annonce = 1;
    }
    if (imprim == 0 && annonce == 1) {
    teststicky(annonce);
    }
    -->
    </script>

     <tr>
       <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="50" height="52" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
       <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}<!-- IF topicrow.TOPIC_TYPE == "<b>Annonce Globale :</b> " -->
    <a style="font-size:16px; color: RED" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
    <!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Annonce :</b> " -->
    <a style="font-size:16px; color: RED" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
    <!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Post-it :</b> " -->
    <a style="font-size:16px; color: RED" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
    <!-- ELSE -->
    <a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
    <!-- ENDIF -->
    {topicrow.TOPIC_TITLE}<span class="gensmall"><br />
      {topicrow.GOTO_PAGE}</span></td>
       <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
       <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
       <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
       <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
     </tr>
     <!-- END topicrow -->
     <!-- BEGIN switch_no_topics -->
     <tr>
       <td class="row1" colspan="6" height="90" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
     </tr>
     <!-- END switch_no_topics -->
     <tr>
       <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
      <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
      </span></td>
     </tr>
      </table>
    <br />
      <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
     <tr>
       <td align="left" valign="middle" width="90"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
       <td align="left" valign="bottom" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br />&nbsp;</span></td>
       <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
      </td>
     </tr>
     <tr>
       <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
     </tr>
     <tr>
       <td align="left" valign="bottom" colspan="2"><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
       <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
     </tr>
      </table>
    </form>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
     <td align="right">{JUMPBOX}</td>
      </tr>
    </table>
    <table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
     <tr>
      <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
       <tr>
        <td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="30" height="20" /></td>
        <td class="gensmall">{L_NEW_POSTS}</td>
        <td>&nbsp;&nbsp;</td>
        <td width="15" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="30" height="20" /></td>
        <td class="gensmall">{L_NO_NEW_POSTS}</td>
        <td>&nbsp;&nbsp;</td>
        <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="30" height="20" /></td>
        <td class="gensmall">{L_ANNOUNCEMENT}</td>
       </tr>
       <tr>
        <td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="30" height="20" /></td>
        <td class="gensmall">{L_NEW_POSTS_HOT}</td>
        <td>&nbsp;&nbsp;</td>
        <td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="30" height="20" /></td>
        <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
        <td>&nbsp;&nbsp;</td>
        <td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="30" height="20" /></td>
        <td class="gensmall">{L_STICKY}</td>
       </tr>
       <tr>
        <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="30" height="20" /></td>
        <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
        <td>&nbsp;&nbsp;</td>
        <td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="30" height="20" /></td>
        <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
       </tr>
      </table></td>
      <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
     </tr>
    </table>



comme ca ? toujours rien


Author Message
Eldred


Offline
Guest




PostPosted: Tue 2 Feb 2010 - 22:16    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Justement, j'ai essayé et ça n'a pas fonctionné et en plus, je croyais que c'était seulement pour séparer les annonces et post-it des messages et pas les placer tout en haut même au dessus des sous forums.

Je vais ressayer...

Merci,
Eldred

EDIT : j'ai ressayé mais ça ne change rien...

Voici mon template modifié =>


 
Code: Sélectionner - Agrandir
<script language="Javascript" type="text/javascript">
<!--
imprim = 0;
-->
</script>
<script language="Javascript" type="text/javascript">
<!--
function teststicky(annonce){
var elems=document.getElementsByTagName('img');
var issticky=false;
for(var i=0;i<elems.length;i++){
if(elems[i][/i].src.search(/(announce|sticky)/g) < 0) continue;
issticky=true;
break;
}
if (issticky == true) {
document.write('<tr><td class="row3" align="center" valign="middle" colspan="7"></td></tr>');
imprim = 1;
}
}
-->
</script> 

<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td class="maintitle"><a href="{U_VIEW_FORUM}">{FORUM_NAME}[/url]</td>
<td class="gensmall" align="right" valign="bottom">{L_MODERATOR}: {MODERATORS}<br />
{LOGGED_IN_USER_LIST}<br />
<strong><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}[/url]</strong></td>
</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr> 
<td><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" alt="{L_POST_NEW_TOPIC}" title="{L_POST_NEW_TOPIC}" />[/url]</td>
<td class="nav" width="100%">&nbsp;<a href="{U_INDEX}">{L_INDEX}[/url] &raquo; <a href="{U_VIEW_FORUM}">{FORUM_NAME}[/url]</td>
<td nowrap="nowrap" class="nav">{PAGINATION}</td>
</tr>
</table>
<table border="0" cellpadding="2" cellspacing="1" width="100%" class="forumline">
    <tr>
        <th colspan="2">{L_TOPICS}</th>
        <th>{L_REPLIES}</th>
        <th>{L_AUTHOR}</th>
        <th>{L_VIEWS}</th>
        <th>{L_LASTPOST}</th>
    </tr>
    <!-- BEGIN topicrow -->
    <script language="Javascript" type="text/javascript">
<!--
annonce = 0;
monreg = /(folder-|folder_n|folder_h|folder_l)/g;
zone = "{topicrow.TOPIC_FOLDER_IMG}";
if (monreg.test(zone)) {
annonce = 1;
}
if (imprim == 0 && annonce == 1) {
teststicky(annonce);
}
-->
</script> 

<tr>
        <td height="34" class="row1"><a href="{topicrow.U_VIEW_TOPIC}"><img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" />[/url]</td>
        <td class="row1" width="100%">{topicrow.NEWEST_POST_IMG}<span class="topictitle">{topicrow.TOPIC_TYPE}</span><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}[/url]<span class="gensmall"><br />
            {topicrow.GOTO_PAGE}</span></td>
        <td class="row2" align="center"><span class="gensmall">{topicrow.REPLIES}</span></td>
        <td class="row3" align="center" nowrap="nowrap"><span class="gensmall">&nbsp;{topicrow.TOPIC_AUTHOR}&nbsp;</span></td>
        <td class="row2" align="center"><span class="gensmall">{topicrow.VIEWS}</span></td>
        <td class="row3" align="center" nowrap="nowrap"><span class="gensmall">&nbsp;{topicrow.LAST_POST_TIME}&nbsp;<br />
            {topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
    </tr>
    <!-- END topicrow -->
    <!-- BEGIN switch_no_topics -->
    <tr>
        <td height="40" colspan="6" align="center" class="row1">{L_NO_TOPICS}</td>
    </tr>
    <!-- END switch_no_topics -->
    <tr>
        <td class="cat" align="center" colspan="6">
            <form method="post" action="{S_POST_DAYS_ACTION}">
                <table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="gensmall">{L_DISPLAY_TOPICS}:&nbsp;</td>
                        <td>{S_SELECT_TOPIC_DAYS}&nbsp;</td>
                        <td><input type="submit" class="catbutton" value="{L_GO}" name="submit" />
                        </td>
                    </tr>
                </table>
            </form>
        </td>
    </tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" alt="{L_POST_NEW_TOPIC}" title="{L_POST_NEW_TOPIC}" />[/url]</td>
<td class="nav" width="100%">&nbsp;<a href="{U_INDEX}">{L_INDEX}[/url] &raquo; <a href="{U_VIEW_FORUM}">{FORUM_NAME}[/url]</td>
<td nowrap="nowrap" class="nav">{PAGINATION}</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td><br />{JUMPBOX}</td>
<td class="gensmall" align="right" valign="top"><strong><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}[/url]</strong><br />
{L_MODERATOR}: {MODERATORS}<br />
{LOGGED_IN_USER_LIST}
</td>
</tr>
</table>
<br />
<table class="forumline" width="100%"  cellspacing="0" border="0" align="center" cellpadding="0">
<tr><th>&nbsp;</th></tr>
</table>
<table bgcolor="#4A5163" class="forumline"  width="100%"  cellspacing="0" border="0" align="center" cellpadding="0">
<tr>
<td valign="top" class="row1">
<table class="row1"  border="0" cellspacing="1" cellpadding="0">
<tr>
<td><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" title="{L_NEW_POSTS}" /></td>
<td class="gensmall">&nbsp;{L_NEW_POSTS}</td>
<td>&nbsp;&nbsp;</td>
<td><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" title="{L_NO_NEW_POSTS}" /></td>
<td class="gensmall">&nbsp;{L_NO_NEW_POSTS}</td>
<td>&nbsp;&nbsp;</td>
<td><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" title="{L_ANNOUNCEMENT}" /></td>
<td class="gensmall">{L_ANNOUNCEMENT}</td>
</tr>
<tr>
<td><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" title="{L_NEW_POSTS_HOT}" /></td>
<td class="gensmall">{L_NEW_POSTS_HOT}</td>
<td>&nbsp;</td>
<td><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" vspace="4" title="{L_NO_NEW_POSTS_HOT}" /></td>
<td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
<td>&nbsp;</td>
<td><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" title="{L_STICKY}" /></td>
<td class="gensmall">{L_STICKY}</td>
</tr>
<tr>
<td><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" title="{L_NEW_POSTS_LOCKED}" /></td>
<td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
<td>&nbsp;</td>
<td><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" title="{L_NO_NEW_POSTS_LOCKED}" /></td>
<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
<td class="row1" >&nbsp;</td>
<td class="row1" >&nbsp;</td>
<td class="row1" >&nbsp;</td>
</tr>
</table>
</td>
<td class="row1" align="right" valign="top"><span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table>
<table class="forumline" width="100%"  cellspacing="0" border="0" align="center" cellpadding="0">
<tr><td class="cat" width="100%">&nbsp;</td></tr>
</table>  


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Wed 3 Feb 2010 - 17:30    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

bonjour
comme indiqué en page une il y a des thèmes sur lesquelles la modification ne marche pas
_______________________


Forum
Author Message
zindagui


Offline
Guest




PostPosted: Wed 10 Feb 2010 - 22:38    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Bonjour
J'ai lus avec attention le tutoriel, j'ai bien suivis les instructions, et fait les modification sur viewforum_body.tpl comme indiqué ... Mais je n'ai pas trés bien compris, comment je vais séparer les sujets aprés modification ...
Je ne suis inscrite dans Xooit que depuis quelques jours, et donc ne suis pas trés ' douée '.
Je vous remercie d'avance


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Thu 11 Feb 2010 - 18:06    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

bonjour

il faut passer les sujets en post it ou annonce quand tu le crée en bas du corps du message tu as type de sujet
post it annonce ou normal
tu coches post it ou annonce
_______________________


Forum
Author Message
canouna


Offline
Guest




PostPosted: Thu 18 Mar 2010 - 15:07    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Bonjour

J'ai essayé afin de voir une séparation entre mes messages et post it ou annonce.

Rien ne se passe, je ne vois rien du tout

voici mon template

Quote:

<script language="Javascript" type="text/javascript">
<!--
imprim = 0;
-->
</script>
<script language="Javascript" type="text/javascript">
<!--
function teststicky(annonce){
var elems=document.getElementsByTagName('img');
var issticky=false;
for(var i=0;i<elems.length;i++){
if(elems.src.search(/(announce|sticky)/g) < 0) continue;
issticky=true;
break;
}
if (issticky == true) {
document.write('<tr><td class="row3" align="center" valign="middle" colspan="7"></td></tr>');
imprim = 1;
}
}
-->
</script>
<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
   <tr>
     <td align="left" valign="bottom" colspan="2">{FORUM_NAME}
<span class="gensmall">{L_MODERATOR}: {MODERATORS}

{LOGGED_IN_USER_LIST}
</span></td>
     <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall">{PAGINATION}</span></td>
   </tr>
   <tr>
     <td align="left" valign="middle" width="50">
</td>
     <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;{L_INDEX} -> {FORUM_NAME}</span></td>
     <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall">{L_MARK_TOPICS_READ}</span></td>
   </tr>
  </table>

  <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
   <tr>
     <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
     <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
     <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
     <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
     <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
   </tr>
   <!-- BEGIN topicrow -->
<script language="Javascript" type="text/javascript">
<!--
annonce = 0;
monreg = /(folder-|folder_n|folder_h|folder_l)/g;
zone = "{topicrow.TOPIC_FOLDER_IMG}";
if (monreg.test(zone)) {
annonce = 1;
}
if (imprim == 0 && annonce == 1) {
teststicky(annonce);
}
-->
</script>
   <tr>
     <td class="row1" align="center" valign="middle" width="20">
</td>
     <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}{topicrow.TOPIC_TITLE}</span><span class="gensmall">

      {topicrow.GOTO_PAGE}</span></td>
     <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
     <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
     <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
     <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}
{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
   </tr>
   <!-- END topicrow -->
   <!-- BEGIN switch_no_topics -->
   <tr>
     <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
   </tr>
   <!-- END switch_no_topics -->
   <tr>
     <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
      <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
      </span></td>
   </tr>
  </table>

  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
   <tr>
     <td align="left" valign="middle" width="50">
</td>
     <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;{L_INDEX} -> {FORUM_NAME}</span></td>
     <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span>
<span class="nav">{PAGINATION}</span>
      </td>
   </tr>
   <tr>
     <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
   </tr>
  </table>
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
   <td align="right">{JUMPBOX}</td>
  </tr>
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
   <tr>
      <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
         <tr>
            <td width="20" align="left">
</td>
            <td class="gensmall">{L_NEW_POSTS}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center">
</td>
            <td class="gensmall">{L_NO_NEW_POSTS}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center">
</td>
            <td class="gensmall">{L_ANNOUNCEMENT}</td>
         </tr>
         <tr>
            <td width="20" align="center">
</td>
            <td class="gensmall">{L_NEW_POSTS_HOT}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center">
</td>
            <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center">
</td>
            <td class="gensmall">{L_STICKY}</td>
         </tr>
         <tr>
            <td class="gensmall">
</td>
            <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
            <td>&nbsp;&nbsp;</td>
            <td class="gensmall">
</td>
            <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
         </tr>
      </table></td>
      <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
   </tr>
</table>


Voici ce que j'ai après avoir modifier le template



LE thème que j'ai pris est wowgames


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Thu 18 Mar 2010 - 18:01    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

bonjour

comme indiqué cela ne marche pas sur tous les thèmes
_______________________


Forum
Author Message
canouna


Offline
Guest




PostPosted: Thu 18 Mar 2010 - 18:48    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Oui j'ai vu ça, mais comment savoir si notre thème figure ?

EN fait si le changement ne se fait pas, c'est que ça marche pas c'est ça ^^

Enfin c'est pas grave.

Merci d'avoir répondu


Author Message
smayk


Offline
Guest




PostPosted: Fri 7 May 2010 - 19:48    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

top  Cool du premier coup sa a marché pour moi.

Author Message
Contenu Sponsorisé





PostPosted: Today at 09:04    Post subject: [tuto]séparateur d'annonce et post-it

Display posts from previous:   
Reply to topic Page 33 of 37 Goto page: <  1, 2, 332, 33, 34, 35, 36, 37  >




Portal | Index | Administration Panel | Create a forum | Free support forum | Free forums directory | Report a violation | Conditions générales d'utilisation
Propulsé par p h p B B © 2016 p h p B B Group |
 
© 2003-2013 Xooit.com - Contact - Mentions légales - CGU - Charte - CNIL : 1381401