{* $Id$ *} {title}{tr}Stats for surveys{/tr}{/title}
{button href="tiki-list_surveys.php" class="btn btn-primary" _text="{tr}List Surveys{/tr}"} {button href="tiki-survey_stats.php" class="btn btn-primary" _text="{tr}Survey Stats{/tr}"} {if $tiki_p_admin_surveys eq 'y'} {button href="tiki-admin_surveys.php" class="btn btn-primary" _text="{tr}Admin Surveys{/tr}"} {/if}
{include file='find.tpl'}
{section name=user loop=$channels} {if ($tiki_p_admin eq 'y') or ($channels[user].individual eq 'n' and $tiki_p_view_survey_stats eq 'y') or ($channels[user].individual_tiki_p_view_survey_stats eq 'y')} {/if} {sectionelse} {norecords _colspan=4} {/section}
{tr}Survey{/tr} {tr}taken{/tr} {tr}Created{/tr} {tr}Last taken{/tr}
{$channels[user].name|escape} {$channels[user].taken} {$channels[user].created|tiki_short_datetime} {$channels[user].lastTaken|tiki_short_datetime}
{pagination_links cant=$cant_pages step=$prefs.maxRecords offset=$offset}{/pagination_links}