Advertisement
Guest User

Réponses ds les Forums (tiki)

a guest
Feb 14th, 2014
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  {if $prefs.feature_forums eq 'y' && $mytiki_forum_replies eq 'y'}
  2.     <div id="content9" class="content">
  3.       <div class="cbox">
  4.         <div class="cbox-title">
  5.           {if $userwatch eq $user}{tr}My forum replies{/tr}{else}{tr}User forum replies{/tr}{/if}
  6.         </div>
  7.         <div class="cbox-data">
  8.           <table class="table normal">
  9.             <tr>
  10.               <th>{tr}Forum replies{/tr}</th>              
  11.               <th>{tr}Date of post{/tr}</th>              
  12.             </tr>
  13.             {cycle values="even,odd" print=false}
  14.             {section name=ix loop=$user_forum_replies}
  15.               <tr class="{cycle}">
  16.                 <td class="text">
  17.                   <a class="link" title="{tr}View{/tr}" href="tiki-view_forum_thread.php?comments_parentId={$user_forum_replies[ix].threadId}&amp;forumId={$user_forum_replies[ix].object}">{$user_forum_replies[ix].title}</a>
  18.                 </td>
  19.                 <td class="date">
  20.                   {$user_forum_replies[ix].commentDate|tiki_short_datetime}
  21.                 </td>                  
  22.               </tr>
  23.             {/section}
  24.           </table>
  25.           <div style="text-align:right;">{tr}Records:{/tr} {$user_forum_replies|@count}</div>
  26.         </div>
  27.       </div>
  28.     </div>
  29.   {/if}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement