[ Index ]
 

Code source de Phorum 5.1.25

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/templates/default/ -> index_new.tpl (source)

   1  <div class="PhorumNavBlock">
   2    <span class="PhorumNavHeading">{LANG->Goto}:</span>&nbsp;{IF URL->INDEX}<a class="PhorumNavLink" href="{URL->INDEX}">{LANG->ForumList}</a>&bull;{/IF}<a class="PhorumNavLink" href="{URL->SEARCH}">{LANG->Search}</a>&bull;{INCLUDE loginout_menu}
   3  </div>
   4  <table id="phorum-index" cellspacing="0">
   5    {LOOP FORUMS}
   6      {IF FORUMS->folder_flag}
   7        <tr class="folder">
   8          {IF FORUMS->forum_id FORUMS->vroot}
   9            <th class="forum-name">{LANG->Forums}</th>
  10          {ELSE}
  11            <th class="forum-name"><a href="{FORUMS->url}">{FORUMS->name}</a></th>
  12          {/IF}
  13          <th class="forum-threads">{LANG->Threads}</th>
  14          <th class="forum-posts">{LANG->Posts}</th>
  15          <th class="forum-last-post">{LANG->LastPost}</th>
  16        </tr>
  17      {ELSE}
  18        <tr class="forum">
  19          <td class="forum-name">
  20            <a href="{FORUMS->url}">{FORUMS->name}</a><p>{FORUMS->description}</p>
  21            <small>
  22              {IF LOGGEDIN true}
  23                {LANG->Options}:
  24              {ELSE}
  25                {IF FORUMS->url_rss}
  26                  {LANG->Options}:
  27                {/IF}
  28              {/IF}
  29              {IF LOGGEDIN true}<a href="{FORUMS->url_markread}">{LANG->MarkForumRead}</a>{/IF}{IF FORUMS->url_rss}{IF LOGGEDIN true}&nbsp;&bull;&nbsp;{/IF}<a href="{FORUMS->url_rss}">{LANG->RSS}</a>{/IF}
  30            </small>
  31          </td>
  32          <td class="forum-threads" nowrap="nowrap">
  33            {FORUMS->thread_count}
  34            {IF FORUMS->new_threads}
  35              (<span class="PhorumNewFlag">{FORUMS->new_threads} {LANG->newflag}</span>)
  36            {/IF}
  37          </td>
  38          <td class="forum-posts" nowrap="nowrap">
  39            {FORUMS->message_count}
  40            {IF FORUMS->new_messages}
  41              (<span class="PhorumNewFlag">{FORUMS->new_messages} {LANG->newflag}</span>)
  42            {/IF}
  43          </td>
  44          <td class="forum-last-post" nowrap="nowrap">{FORUMS->last_post}</td>
  45        </tr>
  46      {/IF}
  47    {/LOOP FORUMS}
  48  </table>


Généré le : Thu Nov 29 12:22:27 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics