2008-04-14 07:54:10 +02:00
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
2010-05-11 17:02:30 +02:00
<template id="filemanager.file.general" template="" lang="" group="0" version="1.7.002">
2008-04-14 07:54:10 +02:00
<grid width="450" height="300" spacing="10">
<columns>
<column width="80"/>
<column/>
</columns>
<rows>
<row height="60">
2012-07-17 17:39:46 +02:00
<image align="center" src="icon" class="mimeHuge"/>
2010-05-11 17:02:30 +02:00
<vfs-name id="name" needed="1" class="fileName"/>
2008-04-14 07:54:10 +02:00
</row>
<row>
<hrule span="all"/>
</row>
2009-03-19 21:12:35 +01:00
<row disabled="!@is_link">
2012-07-17 17:39:46 +02:00
<description for="symlink" value="Link"/>
<textbox id="symlink" readonly="true" class="fileName"/>
2009-03-19 21:12:35 +01:00
</row>
2008-04-14 07:54:10 +02:00
<row>
<description value="Type"/>
<description id="mime"/>
</row>
<row>
<description value="Directory"/>
<description id="dir"/>
</row>
2009-03-19 21:12:35 +01:00
<row disabled="@is_link">
2008-04-14 07:54:10 +02:00
<description value="Size"/>
2008-10-06 19:43:42 +02:00
<vfs-size id="size" options="1"/>
2008-04-14 07:54:10 +02:00
</row>
<row>
<description value="Created"/>
<date-time id="ctime" readonly="true"/>
</row>
<row>
<description value="Modified"/>
<date-time id="mtime" readonly="true"/>
</row>
<row>
2012-07-17 17:39:46 +02:00
<description for="comment" value="Comment"/>
2008-10-05 19:07:36 +02:00
<textbox multiline="true" id="comment" class="comment"/>
2008-04-14 07:54:10 +02:00
</row>
</rows>
</grid>
</template>
<template id="filemanager.file.perms" template="" lang="" group="0" version="1.5.001">
<grid width="450" height="300" spacing="10">
<columns>
<column/>
</columns>
<rows>
<row>
<groupbox>
<caption label="Accessrights"/>
<grid>
<columns>
<column width="80"/>
<column/>
</columns>
<rows>
<row>
<description value="Owner"/>
<menulist>
<menupopup id="perms[owner]"/>
</menulist>
</row>
<row>
<description value="Group"/>
<menulist>
<menupopup id="perms[group]"/>
</menulist>
</row>
<row>
<description value="Other"/>
<menulist>
<menupopup id="perms[other]"/>
</menulist>
</row>
<row disabled="@is_dir">
<description/>
<checkbox label="Executable" id="perms[executable]"/>
</row>
<row disabled="1">
<description/>
<checkbox label="Only owner can rename or delete the content" id="perms[sticky]"/>
</row>
</rows>
</grid>
</groupbox>
</row>
<row>
<groupbox>
<caption label="Owner"/>
<grid>
<columns>
<column width="80"/>
<column/>
</columns>
<rows>
<row>
<description value="User"/>
<menulist>
2012-07-17 17:39:46 +02:00
<menupopup type="select-account" label="@ro_uid_root" id="uid" options="root,accounts"/>
2008-04-14 07:54:10 +02:00
</menulist>
</row>
<row>
<description value="Group"/>
<menulist>
2012-07-17 17:39:46 +02:00
<menupopup type="select-account" label="@ro_gid_root" id="gid" options="root,groups"/>
2008-04-14 07:54:10 +02:00
</menulist>
</row>
</rows>
</grid>
</groupbox>
</row>
<row disabled="!@is_dir">
<checkbox label="Modify all Subdirectories and their content" id="modify_subs"/>
</row>
</rows>
</grid>
</template>
2012-07-17 17:39:46 +02:00
<template id="filemanager.file.eacl" template="" lang="" group="0" version="1.9.001">
2014-01-18 18:52:26 +01:00
<grid width="550" height="300" spacing="10">
2008-04-14 07:54:10 +02:00
<columns>
2014-01-18 18:52:26 +01:00
<column width="120"/>
2008-04-14 07:54:10 +02:00
<column/>
<column/>
</columns>
<rows>
2012-07-17 17:39:46 +02:00
<row valign="top" height="200">
2008-04-14 07:54:10 +02:00
<groupbox span="all">
<caption label="Extended access control list"/>
2014-02-06 19:04:35 +01:00
<grid width="100%" overflow="auto" id="eacl">
2008-04-14 07:54:10 +02:00
<columns>
<column width="80"/>
<column width="80"/>
<column width="20%"/>
<column width="16"/>
</columns>
<rows>
<row class="th">
<description value="Owner"/>
<description value="Rights"/>
<description value="Inherited"/>
<description/>
</row>
<row class="row" disabled="!@1">
<menulist>
<menupopup type="select-account" id="${row}[owner]" readonly="true"/>
</menulist>
<menulist>
<menupopup id="${row}[rights]" readonly="true"/>
</menulist>
<description id="${row}[path]"/>
2013-12-05 12:20:20 +01:00
<button label="Delete" id="delete[$row_cont[ino]-$row_cont[owner]]" onclick="et2_dialog.confirm(widget,'Delete this extended ACL','Delete')" image="delete"/>
2008-04-14 07:54:10 +02:00
</row>
</rows>
</grid>
</groupbox>
</row>
<row valign="bottom" disabled="!@is_owner">
2014-01-18 18:52:26 +01:00
<menulist class="filemanager-file_filemanager-file-eaclowner eaclAccount">
2012-07-17 17:39:46 +02:00
<menupopup type="select-account" class="eaclAccount" label="Owner" id="eacl[owner]" options="select one,both"/>
2008-04-14 07:54:10 +02:00
</menulist>
2012-07-17 17:39:46 +02:00
<menulist>
<menupopup class="eaclRights" statustext="You can only grant additional rights, you can NOT take rights away!" label="Rights" id="eacl[rights]"/>
2008-04-14 07:54:10 +02:00
</menulist>
2014-01-18 18:52:26 +01:00
<button label="Add" id="button[eacl]" image="add" background_image="1"/>
2008-04-14 07:54:10 +02:00
</row>
</rows>
</grid>
</template>
<template id="filemanager.file.preview" template="" lang="" group="0" version="1.5.001">
<grid width="450" height="300" spacing="10" overflow="auto">
<columns>
<column/>
</columns>
<rows>
<row valign="top" disabled="!@mime=/^image/">
<image src="link" class="previewImage"/>
</row>
<row valign="top" height="280" disabled="!@text_content">
2012-07-17 17:39:46 +02:00
<textbox multiline="true" id="text_content" readonly="true" class="previewText"/>
2008-04-14 07:54:10 +02:00
</row>
<row disabled="@mime=/^(image|text)/">
<description value="No preview available"/>
</row>
</rows>
</grid>
</template>
2008-10-05 19:07:36 +02:00
<template id="filemanager.file.custom" template="" lang="" group="0" version="1.5.001">
<grid width="450" height="300" spacing="10" overflow="auto">
<columns>
<column/>
</columns>
<rows>
<row valign="top">
<customfields/>
</row>
</rows>
</grid>
</template>
2012-09-29 12:32:33 +02:00
<template id="filemanager.file.merge" template="" lang="" group="0" version="1.9.001">
<grid width="450" height="300" spacing="10" overflow="auto">
<columns>
<column/>
</columns>
<rows>
2012-10-27 13:38:47 +02:00
<row disabled="@mergeapp_itempicker_disabled">
2012-09-29 12:32:33 +02:00
<hbox>
2012-10-27 13:38:47 +02:00
<itempicker id="itempicker_merge" application="@mergeapp_effective" action="itempickerDocumentAction" action_label="Merge"/>
2012-09-29 12:32:33 +02:00
</hbox>
</row>
<row>
<groupbox>
<caption label="Merge settings"/>
<grid>
<columns>
<column />
<column />
</columns>
<rows>
<row disabled="@is_dir">
<description value="Items of the selected application can be inserted into this document"/>
<menulist>
2012-10-27 13:38:47 +02:00
<menupopup id="mergeapp"/>
2012-09-29 12:32:33 +02:00
</menulist>
</row>
<row disabled="!@is_dir">
<description value="Items of the selected application can be inserted into files of this directory"/>
<menulist>
2012-10-27 13:38:47 +02:00
<menupopup id="mergeapp"/>
2012-09-29 12:32:33 +02:00
</menulist>
</row>
</rows>
</grid>
</groupbox>
</row>
</rows>
</grid>
</template>
<template id="filemanager.file" template="" lang="" group="0" version="1.9.001">
2008-04-14 07:54:10 +02:00
<grid>
<columns>
<column/>
</columns>
<rows>
<row disabled="!@msg">
2012-07-17 17:39:46 +02:00
<description id="msg" span="all" class="redItalic"/>
2008-04-14 07:54:10 +02:00
</row>
2014-03-14 17:16:29 +01:00
<row class="dialogTabs">
2013-08-20 18:41:31 +02:00
<tabbox id="tabs" span="all">
2008-04-14 07:54:10 +02:00
<tabs>
2012-07-17 17:39:46 +02:00
<tab id="filemanager.file.general" label="General"/>
<tab id="filemanager.file.perms" label="Permissions"/>
<tab id="filemanager.file.eacl" label="Extended ACL"/>
<tab id="filemanager.file.preview" label="Preview"/>
<tab id="filemanager.file.custom" label="Custom fields"/>
2008-04-14 07:54:10 +02:00
</tabs>
<tabpanels>
<template id="filemanager.file.general"/>
<template id="filemanager.file.perms"/>
<template id="filemanager.file.eacl"/>
<template id="filemanager.file.preview"/>
2008-10-05 19:07:36 +02:00
<template id="filemanager.file.custom"/>
2008-04-14 07:54:10 +02:00
</tabpanels>
</tabbox>
</row>
2014-03-14 17:16:29 +01:00
<row class="dialogFooterToolbar">
2008-04-14 07:54:10 +02:00
<hbox>
2008-11-09 17:33:09 +01:00
<hbox>
2014-01-18 18:52:26 +01:00
<button label="Save" id="button[save]" image="save" background_image="1"/>
<button label="Apply" id="button[apply]" image="apply" background_image="1"/>
<buttononly label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel" background_image="1"/>
2008-11-09 17:33:09 +01:00
</hbox>
2014-02-13 19:06:44 +01:00
<buttononly align="right" statustext="Enter setup user and password to get root rights" label="Superuser" id="sudo" onclick="jQuery('.superuser').css('display','inline'); document.getElementById(form::name('sudo[user]')).focus();" image="superuser" background_image="1"/>
2008-04-14 07:54:10 +02:00
</hbox>
</row>
2008-11-09 17:33:09 +01:00
<row>
<groupbox class="superuser">
<caption label="Enter setup user and password"/>
<grid>
<columns>
<column/>
<column/>
</columns>
<rows>
<row>
2012-07-17 17:39:46 +02:00
<description for="sudo[user]" value="User"/>
2008-11-09 17:33:09 +01:00
<textbox id="sudo[user]"/>
</row>
<row>
2012-07-17 17:39:46 +02:00
<description for="sudo[passwd]" value="Password"/>
2008-11-09 17:33:09 +01:00
<passwd id="sudo[passwd]"/>
</row>
<row>
<description/>
<button label="Submit" id="button[setup]"/>
</row>
</rows>
</grid>
</groupbox>
</row>
2008-04-14 07:54:10 +02:00
</rows>
</grid>
<styles>
.eaclAccount select,.eaclRights select { width: 160px; }
2012-07-17 17:39:46 +02:00
.superuser {
position: absolute;
top: 130px;
left: 120px;
width: 200px;
2008-11-09 17:33:09 +01:00
background-color: white;
z-index: 1;
display: none;
}
2008-04-14 07:54:10 +02:00
</styles>
</template>
</overlay>