2017-10-11 18:27:42 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
<!-- $Id$ -->
<overlay>
<template id="api.vfsSelectUI" template="" lang="" group="0" version="1.9.002">
<grid width="100%" class="vfs-select-container" resize_ratio="0">
<columns>
2017-10-12 18:27:27 +02:00
<column/>
2017-10-11 18:27:42 +02:00
</columns>
<rows >
<row class="et2_toolbar" disabled="@mode=/(open-multiple|select-dir)/">
2017-10-12 17:45:46 +02:00
<textbox id="name" class="et2_fullWidth" blur="enter your file name"/>
2017-10-11 18:27:42 +02:00
</row>
<row class="nextmatch_header_row">
2017-10-12 18:27:27 +02:00
<box class="et2_toolbar et2_fullWidth">
2020-07-20 11:07:19 +02:00
<buttononly statustext="Go to your home directory" id="home" onclick="app.vfsSelectUI.do_action('home', widget)" image="filemanager/gohome" background_image="1"/>
<buttononly statustext="Up" id="up" onclick="app.vfsSelectUI.change_dir('..', widget);" image="filemanager/goup" background_image="1"/>
<buttononly statustext="Favorites" id="favorites" onclick="app.vfsSelectUI.change_dir('/apps/favorites', widget);" image="filemanager/fav_filter" background_image="1"/>
2017-10-11 18:27:42 +02:00
<select width="175" id="app" empty_label="Applications" no_lang="1" onchange="app.vfsSelectUI.do_action('app', widget)"/>
2020-07-20 11:07:19 +02:00
<buttononly statustext="Create directory" id="createdir" class="createDir" onclick="app.vfsSelectUI.createdir" image="filemanager/button_createdir" ro_image="filemanager/createdir_disabled" background_image="1"/>
2017-10-13 14:52:38 +02:00
<file id='upload_file' statustext="upload file" progress_dropdownlist = "true" multiple="true" onFinish="app.vfsSelectUI.storeFile"/>
2019-07-26 17:26:53 +02:00
<searchbox id="search" onchange="app.vfsSelectUI.search"/>
2019-07-26 12:40:13 +02:00
<vfs-path id="path" class="et2_fullWidth selectPath" align="left" onchange="app.vfsSelectUI.do_action('path', widget)"/>
2017-10-11 18:27:42 +02:00
</box>
</row>
2017-10-12 17:45:46 +02:00
<row>
2017-10-11 18:27:42 +02:00
<hbox class="selectFiles">
<grid width="100%" id="dir">
<columns>
<column width="20"/>
<column/>
<column width="1%" disabled="!@mode=open-multiple"/>
</columns>
<rows>
<row class="row">
2020-03-30 18:28:48 +02:00
<vfs-mime align="center" id="$row" size="16" class="selectIcon"/>
2017-10-11 18:27:42 +02:00
<vfs id="$row" onclick="app.vfsSelectUI.select_clicked"/>
2020-03-30 18:41:39 +02:00
<checkbox align="right" id="selected[]" selected_value="$row_cont[name]"/>
2017-10-11 18:27:42 +02:00
</row>
</rows>
</grid>
</hbox>
</row>
2017-10-12 17:45:46 +02:00
<row disabled="!@showmime">
2020-03-30 18:28:48 +02:00
<select id="mime" onchange="app.vfsSelectUI.do_action('mime', widget)" empty_label="All files" class="et2_fullWidth"/>
2017-10-11 18:27:42 +02:00
</row>
</rows>
</grid>
</template>
</overlay>