index.tpl 1.2 KB
Newer Older
1
2
3
{include file="header.tpl"}
{include file="adminmenu.tpl"}

4
<h2>{str tag="activity"}</h2>
5
6

<div class="content">
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<form method="post">
{str section='activity' tag='type'}
<select name="type" onChange="{$typechange}">
    <option value="all">{str section='activity' tag='alltypes'}</option>
{foreach from=$types item='type'}
    {assign var="tag1" value=$type->name}
    {assign var="tag" value=type$tag1}
    <option value="{$type->name}">{str section='activity' tag=$tag}</option>
{/foreach}
</select>
</form>
<form method="post" onSubmit="{$markread}">
<table id="activitylist">
    <thead>
        <tr>
            <th></th>
            <th>{str section='activity' tag='date'}</th>
            <th>{str section='activity' tag='read'}</th>
            <th>{str section='activity' tag='markasread'} [<a href="" onClick="{$selectall}">{str section='activity' tag='selectall'}</a>]</th>
            <th></th>
        </tr>
    </thead>
    <tbody>

    </tbody>
    <tfoot>
        <tr>
            <td align="right" colspan="4"><div id="messagediv"></div></td>
            <td align="right"><input type="submit" value="{str tag='update'}" /></td>
        </tr>
    </tfoot>
</table>
</form>
40
41
42
</div>

{include file="footer.tpl"}