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">
2014-03-19 14:20:46 +01:00
<overlay>
2018-08-23 12:11:33 +02:00
<template id="admin.account.delete.delete" template="" lang="" group="0" version="18.1.001">
2020-02-18 11:29:09 +01:00
<grid width="100%" height="100%">
<columns>
<column width="60%"/>
<column/>
</columns>
<rows>
<row>
2023-01-04 18:28:10 +01:00
<et2-description value="Who would you like to transfer records owned by the deleted user to?" class="dialogHeader2"></et2-description>
<et2-select-account id="new_owner" class="dialogHeader3" emptyLabel="Delete all records"></et2-select-account>
2020-02-18 11:29:09 +01:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-vbox>
<et2-description value="Automatically transfer entries owned by the user:"></et2-description>
<et2-select id="delete_apps" rows="6" multiple="1" span="2"></et2-select>
</et2-vbox>
2020-02-18 11:29:09 +01:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-vbox>
<et2-description value="Please manually deal with entries owned by the user:"></et2-description>
2020-02-18 11:29:09 +01:00
<grid id="counts" disabled="!@counts">
<columns>
<column width="150"/>
<column/>
</columns>
<rows>
<row>
2023-01-04 18:28:10 +01:00
<et2-select-app id="${row}[app]" readonly="true"></et2-select-app>
<et2-description id="${row}[count]"></et2-description>
2020-02-18 11:29:09 +01:00
</row>
</rows>
</grid>
<grid>
<columns>
<column width="150"/>
<column/>
</columns>
<rows>
<row>
2023-01-04 18:28:10 +01:00
<et2-select-app value="filemanager" readonly="true"></et2-select-app>
<et2-description value="Change owner of found files to the new user, and move the home folder to /home/new-user/old-home-username."></et2-description>
2020-02-18 11:29:09 +01:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-select-app value="mail" readonly="true"></et2-select-app>
<et2-description value="Please check email. It gets automatically deleted if email integration is used."></et2-description>
2020-02-18 11:29:09 +01:00
</row>
</rows>
</grid>
2023-01-04 18:28:10 +01:00
<et2-description value="If you delete the user without selecting an account to move the data to, all entries get deleted!" fontStyle="b"></et2-description>
</et2-vbox>
2020-02-18 11:29:09 +01:00
</row>
</rows>
</grid>
2014-03-19 14:20:46 +01:00
</template>
2019-07-19 22:31:27 +02:00
<template id="admin.account.delete" template="" lang="" group="0" version="18.1.001">
2020-02-17 17:43:26 +01:00
<grid width="100%">
<columns>
<column width="100%"/>
</columns>
<rows>
<row class="dialogHeader">
2023-01-04 18:28:10 +01:00
<et2-select-account id="account_id" readonly="true" label="Delete" onchange="var apps = widget.getRoot().getWidgetById('delete_apps'); apps.set_enabled(widget.getValue());"></et2-select-account>
2020-02-17 17:43:26 +01:00
</row>
<row>
2023-01-04 18:28:10 +01:00
<et2-tabbox id="tabs" width="100%" tabHeight="400px">
2020-02-17 17:43:26 +01:00
<tabs>
<tab id="main" label="Delete"/>
</tabs>
<tabpanels>
<template template="admin.account.delete.delete" width="100%"/>
</tabpanels>
2023-01-04 18:28:10 +01:00
</et2-tabbox>
2020-02-17 17:43:26 +01:00
</row>
<row class="dialogFooterToolbar">
2023-01-04 18:28:10 +01:00
<et2-hbox>
<et2-button id="delete" label="Delete"></et2-button>
<et2-button id="cancel" label="Cancel" onclick="window.close()"></et2-button>
</et2-hbox>
2020-02-17 17:43:26 +01:00
</row>
</rows>
</grid>
2019-07-19 22:31:27 +02:00
</template>
2023-01-04 18:28:10 +01:00
</overlay>