forked from extern/egroupware
86 lines
3.4 KiB
XML
86 lines
3.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
|
|
<overlay>
|
|
<template id="admin.account.delete.delete" template="" lang="" group="0" version="18.1.001">
|
|
<grid width="100%" height="100%">
|
|
<columns>
|
|
<column width="60%"/>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<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>
|
|
</row>
|
|
<row>
|
|
<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>
|
|
</row>
|
|
<row>
|
|
<et2-vbox>
|
|
<et2-description value="Please manually deal with entries owned by the user:"></et2-description>
|
|
<grid id="counts" disabled="!@counts">
|
|
<columns>
|
|
<column width="150"/>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<et2-select-app id="${row}[app]" readonly="true"></et2-select-app>
|
|
<et2-description id="${row}[count]"></et2-description>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<grid>
|
|
<columns>
|
|
<column width="150"/>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<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>
|
|
</row>
|
|
<row>
|
|
<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>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<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>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
<template id="admin.account.delete" template="" lang="" group="0" version="18.1.001">
|
|
<grid width="100%">
|
|
<columns>
|
|
<column width="100%"/>
|
|
</columns>
|
|
<rows>
|
|
<row class="dialogHeader">
|
|
<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>
|
|
</row>
|
|
<row>
|
|
<et2-tabbox id="tabs" width="100%" tabHeight="400px">
|
|
<tabs>
|
|
<tab id="main" label="Delete"/>
|
|
</tabs>
|
|
<tabpanels>
|
|
<template template="admin.account.delete.delete" width="100%"/>
|
|
</tabpanels>
|
|
</et2-tabbox>
|
|
</row>
|
|
<row class="dialogFooterToolbar">
|
|
<et2-hbox>
|
|
<et2-button id="delete" label="Delete"></et2-button>
|
|
<et2-button id="cancel" label="Cancel" onclick="window.close()"></et2-button>
|
|
</et2-hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
</overlay> |