File: templates/publisher_archive.tpl

Recommend this page to a friend!
  Classes of Michael Beck  >  XOOPS Publisher Module  >  templates/publisher_archive.tpl  >  Download  
File: templates/publisher_archive.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: XOOPS Publisher Module
Publish static HTML content and article with XOOPS
Author: By
Last change:
Date: 1 year ago
Size: 1,723 bytes
 

 

Contents

Class file image Download
<table>
    <tr>
        <th><{$lang_newsarchives}></th>
    </tr>
    <{foreach item=year from=$years}>
        <tr class="even">
            <td><{$year.number}> (<{$year.articlesYearCount}>)</td>
        </tr>
        <tr class="odd">
            <td>
                <{foreach item=month from=$year.months}>
                    <a href="./archive.php?year=<{$year.number}>&month=<{$month.number}>"><{$month.string}> (<{$month.articlesMonthCount}>) </a>
                    &nbsp;
                <{/foreach}>
            </td>
        </tr>
    <{/foreach}>
</table>

<{if $show_articles == true}>
    <table>
        <tr>
            <th><{$lang_articles}></th>
            <th align="center"><{$lang_actions}></th>
            <th align="center"><{$lang_views}></th>
            <th align="center"><{$lang_date}></th>
        </tr>
        <{foreach item=story from=$stories}>
            <tr class="<{cycle values=" even,odd"}>">
                <td><{$story.title}></td>
                <td align="center">
                    <a href="<{$story.print_link}>" rel="nofollow"><img src="<{$xoops_url}>/modules/<{$module_dirname}>/assets/images/links/print.gif" border="0" alt="<{$lang_printer}>"></a>
                    <a href="<{$story.mail_link}>" target="_top"><img src="<{$xoops_url}>/modules/<{$module_dirname}>/assets/images/links/friend.gif" border="0"
                                                                      alt="<{$smarty.const._MD_PUBLISHER_SENDSTORY}>"></a>
                </td>
                <td align="center"><{$story.counter}></td>
                <td align="center"><{$story.date}></td>
            </tr>
        <{/foreach}>
    </table>
    <div><{$lang_storytotal}></div>
<{/if}>

For more information send a message to info at phpclasses dot org.