2015-02-17 10:55:05 +01:00
<?xml version="1.0" encoding="UTF-8"?>
2023-01-04 18:28:10 +01:00
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
2008-04-14 07:54:10 +02:00
<overlay>
2010-05-11 17:02:30 +02:00
<template id="filemanager.file.general" template="" lang="" group="0" version="1.7.002">
2015-01-12 09:53:27 +01:00
<grid width="100%" spacing="10">
2008-04-14 07:54:10 +02:00
<columns>
<column width="80"/>
<column/>
</columns>
<rows>
2016-04-11 17:19:41 +02:00
<row height="30">
2024-09-27 11:06:05 +02:00
<et2-vfs-mime align="center" id="mime"></et2-vfs-mime>
<et2-vfs-name id="name" required="true" 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">
2023-01-04 18:28:10 +01:00
<et2-description for="symlink" value="Link"></et2-description>
<et2-textbox id="symlink" readonly="true" class="fileName"></et2-textbox>
2009-03-19 21:12:35 +01:00
</row>
2008-04-14 07:54:10 +02:00
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Type"></et2-description>
<et2-description id="mime"></et2-description>
2008-04-14 07:54:10 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Directory"></et2-description>
<et2-description id="dir"></et2-description>
2008-04-14 07:54:10 +02:00
</row>
2009-03-19 21:12:35 +01:00
<row disabled="@is_link">
2023-01-04 18:28:10 +01:00
<et2-description value="Size"></et2-description>
2024-09-27 11:06:05 +02:00
<vfs-size id="size"/>
2008-04-14 07:54:10 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Created"></et2-description>
<et2-date-time id="ctime" readonly="true"></et2-date-time>
2008-04-14 07:54:10 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Modified"></et2-description>
<et2-date-time id="mtime" readonly="true"></et2-date-time>
2008-04-14 07:54:10 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description for="comment" value="Comment"></et2-description>
<et2-textarea id="comment" height="100"></et2-textarea>
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">
2015-01-12 09:53:27 +01:00
<grid width="100%" spacing="10">
2008-04-14 07:54:10 +02:00
<columns>
<column/>
</columns>
<rows>
<row>
2024-09-27 11:06:05 +02:00
<et2-groupbox summary="Accessrights">
2022-11-02 21:06:02 +01:00
<grid width="100%">
<columns>
<column width="80"/>
<column/>
</columns>
<rows>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Owner"></et2-description>
<et2-select id="perms[owner]"></et2-select>
2008-04-14 07:54:10 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Group"></et2-description>
<et2-select id="perms[group]"></et2-select>
2008-04-14 07:54:10 +02:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Other"></et2-description>
<et2-select id="perms[other]"></et2-select>
2008-04-14 07:54:10 +02:00
</row>
<row disabled="@is_dir">
2023-01-04 18:28:10 +01:00
<et2-description></et2-description>
<et2-checkbox label="Executable" id="perms[executable]"></et2-checkbox>
2008-04-14 07:54:10 +02:00
</row>
<row disabled="1">
2023-01-04 18:28:10 +01:00
<et2-description></et2-description>
<et2-checkbox label="Only owner can rename or delete the content" id="perms[sticky]"></et2-checkbox>
2008-04-14 07:54:10 +02:00
</row>
</rows>
</grid>
2024-09-27 11:06:05 +02:00
</et2-groupbox>
2008-04-14 07:54:10 +02:00
</row>
<row>
2024-09-27 11:06:05 +02:00
<et2-groupbox summary="Owner">
2023-01-19 17:21:03 +01:00
<grid width="100%">
<columns>
<column width="80"/>
<column/>
</columns>
<rows>
<row>
2024-09-27 11:06:05 +02:00
<et2-description value="User"></et2-description>
<et2-select-account label="@ro_uid_root" id="uid" accountType="accounts"></et2-select-account>
2023-01-19 17:21:03 +01:00
</row>
<row>
2024-09-27 11:06:05 +02:00
<et2-description value="Group"></et2-description>
<et2-select-account label="@ro_gid_root" id="gid" accountType="groups"></et2-select-account>
2023-01-19 17:21:03 +01:00
</row>
2008-04-14 07:54:10 +02:00
</rows>
</grid>
2024-09-27 11:06:05 +02:00
</et2-groupbox>
2008-04-14 07:54:10 +02:00
</row>
<row disabled="!@is_dir">
2023-01-04 18:28:10 +01:00
<et2-checkbox label="Modify all Subdirectories and their content" id="modify_subs"></et2-checkbox>
2008-04-14 07:54:10 +02:00
</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">
2024-09-27 11:06:05 +02:00
<et2-vbox class="full-height">
<et2-groupbox style="flex-grow: 1" summary="Extended access control list">
2023-07-14 21:15:44 +02:00
<grid width="100%" overflow="auto" id="eacl">
<columns>
<column width="80"/>
<column width="80"/>
<column width="20%"/>
<column width="16"/>
</columns>
<rows>
<row class="th">
2024-09-27 11:06:05 +02:00
<et2-description value="Owner"></et2-description>
<et2-description value="Rights"></et2-description>
<et2-description value="Inherited"></et2-description>
2023-07-14 21:15:44 +02:00
<et2-description></et2-description>
</row>
<row class="row" disabled="!@1">
2024-09-27 11:06:05 +02:00
<et2-select-account id="${row}[owner]" readonly="true"></et2-select-account>
<et2-select id="${row}[rights]" readonly="true"></et2-select>
<et2-description id="${row}[path]"></et2-description>
<et2-button label="Delete" id="delete[$row_cont[ino]-$row_cont[owner]]" onclick="et2_dialog.confirm(widget,'Delete this extended ACL?','Delete')" image="delete"></et2-button>
2023-07-14 21:15:44 +02:00
</row>
</rows>
</grid>
2024-09-27 11:06:05 +02:00
</et2-groupbox>
<et2-hbox disabled="!@is_owner">
<et2-select-account class="filemanager-file_filemanager-file-eaclowner eaclAccount" label="Owner" id="eacl_owner" emptyLabel="select one" accountType="both" placement="top"></et2-select-account>
<et2-select class="eaclRights" statustext="You can only grant additional rights, you can NOT take rights away!" label="Rights" id="eacl[rights]"></et2-select>
<et2-button label="Add" id="button[eacl]" image="add"></et2-button>
2023-07-14 21:15:44 +02:00
</et2-hbox>
</et2-vbox>
</template>
2008-04-14 07:54:10 +02:00
<template id="filemanager.file.preview" template="" lang="" group="0" version="1.5.001">
2015-01-12 09:53:27 +01:00
<grid width="100%" spacing="10" overflow="auto">
2008-04-14 07:54:10 +02:00
<columns>
<column/>
</columns>
<rows>
<row valign="top" disabled="!@mime=/^image/">
2023-01-04 18:28:10 +01:00
<et2-image src="link" class="previewImage"></et2-image>
2008-04-14 07:54:10 +02:00
</row>
<row valign="top" height="280" disabled="!@text_content">
2023-01-04 18:28:10 +01:00
<et2-textarea id="text_content" readonly="true" class="previewText"></et2-textarea>
2008-04-14 07:54:10 +02:00
</row>
<row disabled="@mime=/^(image|text)/">
2023-01-04 18:28:10 +01:00
<et2-description value="No preview available"></et2-description>
2008-04-14 07:54:10 +02:00
</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">
2015-01-12 09:53:27 +01:00
<grid width="100%" spacing="10" overflow="auto">
2008-10-05 19:07:36 +02:00
<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">
2015-01-12 09:53:27 +01:00
<grid width="100%" spacing="10" overflow="auto">
2012-09-29 12:32:33 +02:00
<columns>
<column/>
</columns>
<rows>
2012-10-27 13:38:47 +02:00
<row disabled="@mergeapp_itempicker_disabled">
2023-01-04 18:28:10 +01:00
<et2-hbox>
2012-10-27 13:38:47 +02:00
<itempicker id="itempicker_merge" application="@mergeapp_effective" action="itempickerDocumentAction" action_label="Merge"/>
2023-01-04 18:28:10 +01:00
</et2-hbox>
2012-09-29 12:32:33 +02:00
</row>
<row>
2024-09-27 11:06:05 +02:00
<et2-groupbox summary="Merge settings">
2012-09-29 12:32:33 +02:00
<grid>
<columns>
<column />
<column />
</columns>
<rows>
<row disabled="@is_dir">
2023-01-04 18:28:10 +01:00
<et2-description value="Items of the selected application can be inserted into this document"></et2-description>
<et2-select id="mergeapp"></et2-select>
2012-09-29 12:32:33 +02:00
</row>
<row disabled="!@is_dir">
2023-01-04 18:28:10 +01:00
<et2-description value="Items of the selected application can be inserted into files of this directory"></et2-description>
<et2-select id="mergeapp"></et2-select>
2012-09-29 12:32:33 +02:00
</row>
</rows>
</grid>
2024-09-27 11:06:05 +02:00
</et2-groupbox>
2012-09-29 12:32:33 +02:00
</row>
</rows>
</grid>
</template>
<template id="filemanager.file" template="" lang="" group="0" version="1.9.001">
2015-01-09 16:42:43 +01:00
<grid width="100%">
2008-04-14 07:54:10 +02:00
<columns>
<column/>
</columns>
<rows>
<row disabled="!@msg">
2023-01-04 18:28:10 +01:00
<et2-description id="msg" span="all" class="redItalic"></et2-description>
2008-04-14 07:54:10 +02:00
</row>
2014-03-14 17:16:29 +01:00
<row class="dialogTabs">
2023-01-04 18:28:10 +01:00
<et2-tabbox id="tabs" span="all" tabHeight="330">
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>
2023-01-04 18:28:10 +01:00
</et2-tabbox>
2008-04-14 07:54:10 +02:00
</row>
2014-03-14 17:16:29 +01:00
<row class="dialogFooterToolbar">
2023-01-04 18:28:10 +01:00
<et2-hbox>
<et2-hbox>
<et2-button label="Save" id="button[save]" image="save"></et2-button>
<et2-button label="Apply" id="button[apply]" image="apply"></et2-button>
<et2-button label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel" noSubmit="true"></et2-button>
</et2-hbox>
2024-09-27 11:06:05 +02:00
<et2-button align="right" statustext="Enter setup user and password to get root rights" label="Superuser" id="sudouser" onclick="jQuery('.superuser').css('display','inline'); document.getElementById(form::name('sudo[user]')).focus();" image="lock" noSubmit="true"></et2-button>
2023-01-04 18:28:10 +01:00
</et2-hbox>
2008-04-14 07:54:10 +02:00
</row>
2023-07-14 21:15:44 +02:00
<row>
2024-09-27 11:06:05 +02:00
<et2-groupbox class="superuser" summary="Enter setup user and password">
2023-07-14 21:15:44 +02:00
<grid>
<columns>
<column/>
<column/>
</columns>
<rows>
<row>
2024-09-27 11:06:05 +02:00
<et2-description for="sudo[user]" value="User"></et2-description>
<et2-textbox id="sudo[user]"></et2-textbox>
2023-07-14 21:15:44 +02:00
</row>
<row>
2024-09-27 11:06:05 +02:00
<et2-description for="sudo[passwd]" value="Password"></et2-description>
<et2-password id="sudo[passwd]" autocomplete="on"></et2-password>
2023-07-14 21:15:44 +02:00
</row>
<row>
<et2-description></et2-description>
<et2-hbox>
2024-09-27 11:06:05 +02:00
<et2-button label="Submit" id="button[setup]" image="check"></et2-button>
<et2-button label="Cancel" onclick="jQuery('.superuser').hide();" noSubmit="true" image="cancel"></et2-button>
2023-07-14 21:15:44 +02:00
</et2-hbox>
2015-01-12 15:56:48 +01:00
2023-07-14 21:15:44 +02:00
</row>
</rows>
</grid>
2024-09-27 11:06:05 +02:00
</et2-groupbox>
2023-07-14 21:15:44 +02:00
</row>
</rows>
</grid>
<styles>
.full-height { height: 100% }
.full-height > fieldset { flex-grow: 1; }
.superuser {
2024-09-27 11:06:05 +02:00
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 5px;
background-color: white;
z-index: 1;
display: none;
2023-07-14 21:15:44 +02:00
}
</styles>
</template>
2024-09-27 11:06:05 +02:00
</overlay>