report.tpl 1.18 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{include file="header.tpl"}

<p>{str tag=userreportsdescription section=admin}</p>

<form id="report" method="post">
  <select id="users" class="hidden" multiple="multiple" name="users[]">
  {foreach from=$users key=id item=item}
    <option selected="selected" value="{$id}">{$id}</option>
  {/foreach}
  </select>

  <div class="tabswrap"><ul class="in-page-tabs">
  {foreach from=$tabs item=tab}
    <li {if $tab.selected} class="current-tab"{/if}>
15
16
17
      <button type="submit" class="linkbtn{if $tab.selected} current-tab{/if}" name="report:{$tab.id}" value="{$tab.name}" />
        {$tab.name}<span class="accessible-hidden">({str tag=tab}{if $tab.selected} {str tag=selected}{/if})</span>
      </button>
18
19
20
21
22
23
24
25
26
    </li>
  {/foreach}
  </ul></div>
</form>

<div class="subpage">
  {if $csv}
  <div class="fr">
    <span class="bulkaction-title">{str tag=exportusersascsv section=admin}:</span>
27
    <a href="{$WWWROOT}download.php" target="_blank">{str tag=Download section=admin} <span class="accessible-hidden">{str tag=downloadusersascsv section=admin}</span></a>
28
29
30
31
32
33
34
35
  </div>
  {/if}
  <h2>{str tag=selectedusers section=admin} ({count($users)})</h2>

  {$userlisthtml|safe}
</div>

{include file="footer.tpl"}