egroupware_official/filemanager/templates/default/select.xet
2012-07-02 22:57:02 +00:00

88 lines
2.6 KiB
XML

<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<template id="filemanager.select" template="" lang="" group="0" version="1.9.001">
<description align="center" id="msg" class="error"/>
<grid width="600">
<columns>
<column width="32"/>
<column/>
</columns>
<rows>
<row valign="top">
<grid id="apps">
<columns>
<column/>
</columns>
<rows>
<row disabled="!@0">
<button align="center" label="Favorites" id="favorites" image="favorites"/>
</row>
<row height="40">
<button align="center" label="$row_cont" id="${row}" image="$row_cont/navbar"/>
</row>
</rows>
</grid>
<grid width="100%">
<columns>
<column/>
</columns>
<rows>
<row>
<hbox>
<html id="js"/>
<button label="Up" id="button[up]" image="goup"/>
<button label="Go to your home directory" id="button[home]" image="gohome"/>
<box class="selectPathContainer">
<vfs id="path" onclick="path=document.getElementById(form::name('path')); path.value=$path; path.form.submit();" class="selectPath"/>
</box>
<textbox id="path" class="displayNone"/>
</hbox>
</row>
<row class="selectFiles">
<grid width="100%" overflow="auto" id="dir">
<columns>
<column width="20"/>
<column/>
<column width="1%" disabled="!@mode=open-multiple"/>
</columns>
<rows>
<row class="row">
<vfs-mime align="center" id="$row" options="16" class="selectIcon"/>
<vfs id="$row" onclick="$row_cont[onclick]"/>
<checkbox align="right" id="selected[]" options="&quot;$row_cont[name]&quot;"/>
</row>
</rows>
</grid>
</row>
<row disabled="@mode=/(open-multiple|select-dir)/">
<textbox id="name" class="selectName"/>
</row>
<row disabled="!@options-mime">
<menulist class="selectMime">
<menupopup id="mime" onchange="1" options="All files"/>
</menulist>
</row>
<row disabled="@no_upload">
<groupbox id="upload_groupbox">
<caption label="File upload"/>
<description value="Choose a file for uploading"/>
<file id="file_upload"/>
</groupbox>
</row>
<row>
<hbox align="right">
<button label="@label" id="button[ok]"/>
<buttononly label="Cancel" id="button[cancel]" onclick="window.close();"/>
</hbox>
</row>
</rows>
</grid>
</row>
</rows>
</grid>
<styles>
.error{color:red; font-style:italic;}
</styles>
</template>
</overlay>