|
|
{* $Id$ *}
|
|
|
|
|
|
{title}
|
|
|
{tr}File Archive:{/tr} {if empty($file_info.name)}{$file_info.filename}{else}{$file_info.name}{/if}
|
|
|
{/title}
|
|
|
|
|
|
<div class="t_navbar mb-4">
|
|
|
{if $tiki_p_list_file_galleries eq 'y' or ( ! isset($tiki_p_list_file_galleries) and $tiki_p_view_file_gallery eq 'y' )}
|
|
|
{button href="tiki-list_file_gallery.php" class="btn btn-primary" _text="{tr}List Galleries{/tr}"}
|
|
|
{/if}
|
|
|
|
|
|
{assign var=thisgall value=$gal_info.galleryId}
|
|
|
{button href="tiki-list_file_gallery.php?galleryId=$thisgall" class="btn btn-primary" _text="{tr}List Gallery{/tr}"}
|
|
|
|
|
|
{if $tiki_p_admin_file_galleries eq 'y' or $user eq $gal_info.user}
|
|
|
{button href="tiki-list_file_gallery.php?edit_mode=1&galleryId=$thisgall" class="btn btn-primary" _text="{tr}Edit Gallery{/tr}"}
|
|
|
{/if}
|
|
|
|
|
|
{if $tiki_p_admin_file_galleries eq 'y' or $user eq $gal_info.user or $gal_info.public eq 'y'}
|
|
|
{if $tiki_p_upload_files eq 'y'}
|
|
|
{button href="tiki-upload_file.php?galleryId=$thisgall" class="btn btn-primary" _text="{tr}Upload File{/tr}"}
|
|
|
{/if}
|
|
|
{if $prefs.feature_file_galleries_batch eq "y" and $tiki_p_batch_upload_file_dir eq 'y'}
|
|
|
{button href="tiki-batch_upload_files.php?galleryId=$thisgall" class="btn btn-primary" _text="{tr}Directory Batch{/tr}"}
|
|
|
{/if}
|
|
|
{/if}
|
|
|
</div>
|
|
|
|
|
|
{include file='list_file_gallery.tpl'}
|