Update of /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistic/templates
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14729/modules/statistic/templates
Modified Files:
module_statistic.tpl
Added Files:
referer_statistic.tpl
Removed Files:
referrer_statistic.tpl
Log Message:
last step for module_phpcms
--- NEW FILE: referer_statistic.tpl ---
{config_load file="`$MODULE_PATH`/statistic/module_statistic_`$LANG`.lng" section="referer" scope="local"}<h2>{#title_referer#}</h2>
<h3>{#title_referer_list#}</h3>
<table id="table_referer">
<thead>
<tr>
<th>{#label_referer_address#}</th>
<th>{#label_referer_count#}</th>
<th>{#label_referer_ip#}</th>
<th>{#label_referer_lasttime#}</th>
</tr>
</thead>
<tfoot>
<tr>
<td>{#label_referer_address#}</td>
<td>{#label_referer_count#}</td>
<td>{#label_referer_ip#}</td>
<td>{#label_referer_lasttime#}</td>
</tr>
</tfoot>
<tbody>
{assign var=i value="1"}
{foreach from=$moduledata.referer item=referer}
{if ($referer.p != '')}
{if ($i == 2)}
{assign var=i value=1}
{else}
{assign var=i value=2}
{/if}
<tr class="line{$i}">
<td title="{$referer.p|strip_tags|htmlentities}">{$referer.p|strip_tags|truncate:60:'...'|htmlentities}</td>
<td>{$referer.c|strip_tags}</td>
<td>{$referer.x|strip_tags|htmlentities}</td>
<td>{$referer.t|strip_tags|date_format:"%Y-%m-%d %H:%M"}</td>
</tr>
{/if}
{/foreach}
</tbody>
</table>
<script src="{$MODULE_WEB}../tools/tablesort.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
initTable("table_referer");
-->
</script>
Index: module_statistic.tpl
===================================================================
RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/modules/statistic/templates/module_statistic.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- module_statistic.tpl 7 Apr 2005 14:09:06 -0000 1.1
+++ module_statistic.tpl 20 May 2005 05:54:04 -0000 1.2
@@ -1,17 +1,13 @@
-<h1>Statistik</h1>
-
-<ul class="horizontal" id="yearlist">
-</ul>
-
-<ul class="horizontal" id="yearlist">
+{config_load file="`$MODULE_PATH`/statistic/module_statistic_`$LANG`.lng" scope="local"}<h1>{#title_statistic#}</h1>
+{*<ul class="horizontal" id="yearlist">
{foreach from=$moduledata.months item=month}
<li><a href="?moduleid=stat&action=$moduledata.action
{/foreach}
</ul>
-
-{if ($moduledata.action == 'referrer')}
- {include file="$INDEX_PATH/modules/statistic/templates/referrer_statistic.tpl"}
+*}
+{if ($moduledata.action == 'referer')}
+ {include file="$INDEX_PATH/modules/statistic/templates/referer_statistic.tpl"}
{/if}
{if ($moduledata.action == 'access')}
--- referrer_statistic.tpl DELETED ---
|