{include file="common/head.tpl.html" html5=true}
{menubutton->link query="op=files_selectionframe&modul=own&topath=$topath&filelist=$filelist&mail_unique=`$mail_unique`&cp=`$cp`" string=$lang.global_owndocuments target="files" id="own" script="click_menu(this.id)"} {menubutton->link query="op=files_selectionframe&modul=common&topath=$topath&filelist=$filelist&mail_unique=`$mail_unique`&cp=`$cp`" string=$lang.navigate_common_docs target="files" id="common" script="click_menu(this.id)"} {if $access.contacts} {menubutton->link query="op=files_selectionframe&modul=`$smarty.const.MODULE_CONTACTS`&topath=$topath&filelist=$filelist&mail_unique=`$mail_unique`" string=$lang.global_contacts target="files" id=$smarty.const.MODULE_CONTACTS script="click_menu(this.id)"} {/if} {if $smarty.const.PROJECTS && $access.projects} {menubutton->link query="op=files_selectionframe&modul=`$smarty.const.MODULE_PROJECTS`&topath=$topath&filelist=$filelist&mail_unique=`$mail_unique`" string=$lang.global_projects target="files" id=$smarty.const.MODULE_PROJECTS script="click_menu(this.id)"} {/if} {if $smarty.const.TICKETS && $access.tickets} {menubutton->link query="op=files_selectionframe&modul=`$smarty.const.MODULE_TICKETS`&topath=$topath&filelist=$filelist&mail_unique=`$mail_unique`" string=$lang.global_tickets target="files" id=$smarty.const.MODULE_TICKETS script="click_menu(this.id)"} {/if} {if $smarty.const.OFFERS && $access.offers} {menubutton->link query="op=files_selectionframe&modul=`$smarty.const.MODULE_OFFERS`&topath=$topath&filelist=$filelist&mail_unique=`$mail_unique`" string=$lang.global_offers target="files" id=$smarty.const.MODULE_OFFERS script="click_menu(this.id)"} {/if} {if $smarty.const.CONTRACTS && $access.contracts} {menubutton->link query="op=files_selectionframe&modul=`$smarty.const.MODULE_CONTRACTS`&topath=$topath&filelist=$filelist&mail_unique=`$mail_unique`" string=$lang.global_contracts target="files" id=$smarty.const.MODULE_CONTRACTS script="click_menu(this.id)"} {/if} {if $smarty.const.ORDERS && $access.orders} {menubutton->link query="op=files_selectionframe&modul=`$smarty.const.MODULE_ORDERS`&topath=$topath&filelist=$filelist&mail_unique=`$mail_unique`" string=$lang.global_order target="files" id=$smarty.const.MODULE_ORDERS script="click_menu(this.id)"} {/if}
{help->link name="files_selection" class="help-explorer"}
{if $filename !== false && !$action}
{if isset($fileext)} {/if}
{$lang.projectwindow_filename}: (.{$fileext})
{/if}
{if $topath} {cssbutton->click id="save" script="return file_selection.$().select_files(this, $touserid)" string=$lang.global_add} {elseif $filelist && $action} {cssbutton->click id="save" script="return file_selection.$().save_files()" string=$lang.filemanager_context_paste} {elseif $filelist} {cssbutton->click id="save" script="return file_selection.$().insert_files('`$filelist`', '`$md5body`')" string=$lang.filemanager_context_paste} {elseif $mail_ids} {cssbutton->click id="save" script="return file_selection.$().save_mails()" string=$lang.filemanager_context_paste} {/if} {cssbutton->link link="javascript:window.close()" string=$lang.global_cancel}
{include file="common/foot.tpl.html"}