{* $Id$ *} {if (! empty($tree) && $tiki_p_list_file_galleries != 'n' && $fgal_options.show_explorer.value eq 'y' && $tiki_p_view_fgal_explorer eq 'y' ) or ( !empty($gallery_path) && $fgal_options.show_path.value eq 'y' && $tiki_p_view_fgal_path eq 'y' ) }
{if ! empty($tree) && $tiki_p_list_file_galleries != 'n' && $fgal_options.show_explorer.value eq 'y' && $tiki_p_view_fgal_explorer eq 'y'} {if $prefs.javascript_enabled eq 'y'}
{icon name='file-archive'}
{icon name='file-archive-open'}
{else}
{if isset($smarty.request.show_fgalexplorer) and $smarty.request.show_fgalexplorer eq 'y'} {self_link _icon_name='file-archive-open' _class="tips" _title=":{tr}Hide Tree{/tr}" show_fgalexplorer='n'} {/self_link} {else} {self_link _icon_name='file-archive' show_fgalexplorer='y' _class="tips" _title=":{tr}Show Tree{/tr}"} {/self_link} {/if}
{/if} {/if} {if $gallery_path neq '' && $fgal_options.show_path.value eq 'y' && $tiki_p_view_fgal_path eq 'y'}
  {$gallery_path}
{/if}
{/if}
{if ! empty($tree) && $tiki_p_list_file_galleries != 'n' && $fgal_options.show_explorer.value eq 'y' && $tiki_p_view_fgal_explorer eq 'y' && $view neq 'page'}
{$tree}
{else}
{/if}
{if $maxRecords > 20 and $cant > $maxRecords}
{pagination_links cant=$cant step=$maxRecords offset=$offset}{/pagination_links}
{/if}
{ticket} {if !empty($show_details)}{/if} {if $prefs.fgal_asynchronous_indexing eq 'y'}{/if} {if !empty($sort_mode)}{/if} {if isset($file_info)}{/if} {if isset($page)}{/if} {if isset($view)}{/if} {assign var=nbCols value=0} {assign var=other_columns value=''} {assign var=other_columns_selected value=''} {if $view eq 'browse' or $view eq 'page'} {assign var=show_infos value='y'} {if $view eq 'page'} {include file='fgal_view_page.tpl'} {else} {include file='browse_file_gallery.tpl'} {/if} {else} {assign var=show_infos value='n'} {include file='list_file_gallery_content.tpl'} {/if} {if (isset($files) && $files and $gal_info.show_checked neq 'n' and $prefs.fgal_checked eq 'y' and ($tiki_p_admin_file_galleries eq 'y' or $tiki_p_upload_files eq 'y' or $tiki_p_assign_perm_file_gallery eq 'y') and ($prefs.fgal_show_thumbactions eq 'y' or $show_details eq 'y' or $view neq 'browse') and $view neq 'page' )}
{if $tiki_p_admin_file_galleries eq 'y' or $tiki_p_remove_files eq 'y' or !isset($file_info) or $tiki_p_admin_file_galleries eq 'y' or $prefs.fgal_display_zip_option eq 'y' or $tiki_p_assign_perm_file_gallery eq 'y' }
{/if} {/if}
{/if} {if !empty($movesel_x) and !isset($file_info)}
{tr}Move selected file or gallery{/tr}
{/if}
{if !empty($perms)}
{tr}Assign file gallery permissions to groups{/tr}
{tr}Permissions{/tr}
{tr}Groups{/tr}
{/if}
{/if}
{reindex_file_pixel id=$reindex_file_id}
{pagination_links cant=$cant step=$maxRecords offset=$offset} {if $view eq 'page'} tiki-list_file_gallery.php?galleryId={$galleryId}&maxWidth={$maxWidth}&maxRecords={$maxRecords}&view={$view} {/if} {/pagination_links}