{* $Id$ *} {title help="Spreadsheet"}{tr}Spreadsheets{/tr}{/title} {tabset} {tab name="{tr}List{/tr}"}

{tr}Spreadsheets{/tr}

{if $sheets or $find ne ''} {include file='find.tpl'} {/if}
{foreach item=sheet from=$sheets} {include name='base' file='tiki-sheets_listing.tpl' sheet=$sheet} {foreach item=childSheet from=$sheet.children} {include name='child' file='tiki-sheets_listing.tpl' sheet=$childSheet} {/foreach} {foreachelse} {norecords _colspan=6} {/foreach}
{self_link _sort_arg='sort_mode' _sort_field='title'}{tr}Title{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='description'}{tr}Description{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='created'}{tr}Created{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='lastModif'}{tr}Last modified{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='user'}{tr}User{/tr}{/self_link}
{pagination_links cant=$cant_pages step=$prefs.maxRecords offset=$offset}{/pagination_links} {/tab} {if $tiki_p_edit_sheet eq 'y'} {capture name=title}{if $sheetId eq 0}{tr}Create{/tr}{else}{tr}Configure{/tr}{/if}{/capture} {tab name=$smarty.capture.title} {if $sheetId eq 0}

{tr}Create sheet{/tr}

{else}

{tr}Configure sheet:{/tr} {$title|escape}

{/if} {if $individual eq 'y'} {permission_link mode=link type=sheet id=$sheetId title=$name label="{tr}There are individual permissions set for this sheet{/tr}"} {/if}
{if $tiki_p_admin_sheet eq "y"}
{user_selector name="creator" editable=$tiki_p_admin_sheet user=$creator}
{/if}
{tr}Makes this sheet a "child" sheet of a multi-sheet set{/tr}
{include file='categorize.tpl'}
{if $sheetId > 0}
{remarksbox type="tip" title="{tr}Tip{/tr}" close="n"} {tr}You can access the sheet using the following URL:{/tr} {$url}?sheetId={$sheetId} {/remarksbox}
{/if} {/tab} {/if} {/tabset}