{* $Id$ *} {* Copyright (c) 2002-2008 *} {* All Rights Reserved. See copyright.txt for details and a complete list of authors. *} {* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. *} {title help="Quiz"}{tr}Admin Quizzes{/tr}{/title}
{button href="tiki-list_quizzes.php" class="btn btn-link" _type="link" _icon_name="list" _text="{tr}List Quizzes{/tr}"} {button href="tiki-quiz_stats.php" class="btn btn-link" _type="link" _icon_name="bar-chart" _text="{tr}Quiz Stats{/tr}"}
{tabset} {tab name="{tr}Quizzes{/tr}"}

{tr}Quizzes{/tr}

{include file='find.tpl'}
{section name=user loop=$channels} {sectionelse} {norecords _colspan=7} {/section}
{self_link _sort_arg='sort_mode' _sort_field='quizId'}{tr}ID{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='name'}{tr}Quiz{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='canRepeat'}{tr}Quiz can be repeated{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='timeLimit'}{tr}Time Limit{/tr}{/self_link} {tr}Questions{/tr} {tr}Results{/tr}
{$channels[user].quizId} {$channels[user].name|escape} {$channels[user].description|escape|nl2br} {$channels[user].canRepeat} {$channels[user].timeLimited} {if $channels[user].timeLimited eq 'y'}({$channels[user].timeLimit} {tr}mins{/tr}){/if} {$channels[user].questions} {$channels[user].results} {actions} {strip} {icon name='help' _menu_text='y' _menu_icon='y' alt="{tr}Questions{/tr}"} {icon name='view' _menu_text='y' _menu_icon='y' alt="{tr}Results{/tr}"} {permission_link mode=text type=quiz permType=quizzes id=$channels[user].quizId title=$channels[user].name} {self_link _icon_name='edit' _menu_text='y' _menu_icon='y' cookietab='2' _anchor='anchor2' quizId=$channels[user].quizId} {tr}Edit{/tr} {/self_link} {icon name='remove' _menu_text='y' _menu_icon='y' alt="{tr}Remove{/tr}"} {/strip} {/actions}
{pagination_links cant=$cant_pages step=$prefs.maxRecords offset=$offset}{/pagination_links} {/tab} {tab name="{tr}Create/edit quizzes{/tr}"}

{tr}Create/edit quizzes{/tr}

{if $individual eq 'y'} {permission_link mode=link type=quiz permType=quizzes id=$quizId title=$name label="{tr}There are individual permissions set for this quiz{/tr}"}

{/if}
{include file='categorize.tpl'}
{html_select_date prefix="publish_" time=$publishDateSite start_year="-5" end_year="+10" field_order=$prefs.display_field_order}
{tr}at{/tr}
{html_select_time prefix="publish_" time=$publishDateSite display_seconds=false use_24_hours=$use_24hr_clock} {$siteTimeZone}
{html_select_date prefix="expire_" time=$expireDateSite start_year="-5" end_year="+10" field_order=$prefs.display_field_order}
{tr}at{/tr}
{html_select_time prefix="expire_" time=$expireDateSite display_seconds=false use_24_hours=$use_24hr_clock} {$siteTimeZone}
{* Not implemented
*}
{tr}minutes{/tr}
{tr}%{/tr}
{/tab} {/tabset}