2009-04-15 23:11:57 +02:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!-- $Id$ -->
|
|
|
|
<overlay>
|
2012-10-31 19:20:34 +01:00
|
|
|
<template id="filemanager.select" template="" lang="" group="0" version="1.9.002">
|
2013-10-04 11:28:10 +02:00
|
|
|
<grid width="100%">
|
2009-04-15 23:11:57 +02:00
|
|
|
<columns>
|
|
|
|
<column width="32"/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row valign="top">
|
2009-04-17 09:37:12 +02:00
|
|
|
<grid id="apps">
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
2009-05-11 22:48:09 +02:00
|
|
|
<row disabled="!@0">
|
2012-07-03 00:57:02 +02:00
|
|
|
<button align="center" label="Favorites" id="favorites" image="favorites"/>
|
2009-04-17 09:37:12 +02:00
|
|
|
</row>
|
|
|
|
<row height="40">
|
2012-07-03 00:57:02 +02:00
|
|
|
<button align="center" label="$row_cont" id="${row}" image="$row_cont/navbar"/>
|
2009-04-17 09:37:12 +02:00
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
2009-04-15 23:11:57 +02:00
|
|
|
<grid width="100%">
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
2014-03-14 17:16:29 +01:00
|
|
|
<row class="dialogHeader">
|
2009-04-15 23:11:57 +02:00
|
|
|
<hbox>
|
|
|
|
<html id="js"/>
|
2012-07-03 00:57:02 +02:00
|
|
|
<button label="Up" id="button[up]" image="goup"/>
|
|
|
|
<button label="Go to your home directory" id="button[home]" image="gohome"/>
|
2009-05-03 22:45:34 +02:00
|
|
|
<box class="selectPathContainer">
|
2013-10-01 17:40:14 +02:00
|
|
|
<vfs-name id="path" class="selectPath"/>
|
2009-05-03 22:45:34 +02:00
|
|
|
</box>
|
2012-10-31 19:20:34 +01:00
|
|
|
<button label="Create directory" id="button[createdir]" onclick="var dir = prompt(egw::lang('New directory')); if (!dir) return false; document.getElementById(form::name('path')).value+='/'+dir;" image="button_createdir" ro_image="createdir_disabled" class="createDir"/>
|
2009-04-15 23:11:57 +02:00
|
|
|
</hbox>
|
|
|
|
</row>
|
|
|
|
<row class="selectFiles">
|
2012-07-03 00:57:02 +02:00
|
|
|
<grid width="100%" overflow="auto" id="dir">
|
2009-04-15 23:11:57 +02:00
|
|
|
<columns>
|
|
|
|
<column width="20"/>
|
|
|
|
<column/>
|
|
|
|
<column width="1%" disabled="!@mode=open-multiple"/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row class="row">
|
2012-07-03 00:57:02 +02:00
|
|
|
<vfs-mime align="center" id="$row" options="16" class="selectIcon"/>
|
2014-02-10 19:37:51 +01:00
|
|
|
<vfs id="$row" onclick="app.filemanager.select_clicked"/>
|
2013-10-02 09:34:23 +02:00
|
|
|
<checkbox align="right" id="selected[]" options=""$row_cont[name]""/>
|
2009-04-15 23:11:57 +02:00
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</row>
|
2009-04-18 12:13:12 +02:00
|
|
|
<row disabled="@mode=/(open-multiple|select-dir)/">
|
2010-12-31 15:31:50 +01:00
|
|
|
<textbox id="name" class="selectName"/>
|
2009-04-15 23:11:57 +02:00
|
|
|
</row>
|
2009-04-17 08:28:19 +02:00
|
|
|
<row disabled="!@options-mime">
|
2009-04-15 23:11:57 +02:00
|
|
|
<menulist class="selectMime">
|
2012-07-03 00:57:02 +02:00
|
|
|
<menupopup id="mime" onchange="1" options="All files"/>
|
2009-04-15 23:11:57 +02:00
|
|
|
</menulist>
|
|
|
|
</row>
|
2010-12-31 15:31:50 +01:00
|
|
|
<row disabled="@no_upload">
|
2013-10-04 11:28:10 +02:00
|
|
|
<groupbox>
|
2010-12-31 15:31:50 +01:00
|
|
|
<caption label="File upload"/>
|
|
|
|
<description value="Choose a file for uploading"/>
|
|
|
|
<file id="file_upload"/>
|
|
|
|
</groupbox>
|
|
|
|
</row>
|
2014-03-14 17:16:29 +01:00
|
|
|
<row class="dialogFooterToolbar">
|
2009-04-15 23:11:57 +02:00
|
|
|
<hbox align="right">
|
2013-11-27 08:21:32 +01:00
|
|
|
<button label="@label" id="button[ok]" image="save" background_image="1"/>
|
|
|
|
<buttononly label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel" background_image="1"/>
|
2009-04-15 23:11:57 +02:00
|
|
|
</hbox>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
2010-12-31 15:31:50 +01:00
|
|
|
<styles>
|
|
|
|
.error{color:red; font-style:italic;}
|
2012-10-31 19:20:34 +01:00
|
|
|
.createDir img {padding-right:30px;}
|
2010-12-31 15:31:50 +01:00
|
|
|
</styles>
|
2009-04-15 23:11:57 +02:00
|
|
|
</template>
|
|
|
|
</overlay>
|