egroupware_official/admin/templates/default/acl.edit.xet

55 lines
2.4 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
2014-06-25 17:39:34 +02:00
<overlay>
2018-08-24 00:17:23 +02:00
<template id="admin.acl.edit.acl" template="" lang="" group="0" version="1.9.001">
<grid width="100%" resize_ratio="0">
2014-06-25 17:39:34 +02:00
<columns>
<column/>
<column/>
</columns>
<rows>
<row disabled="@acl_location=run" part="header">
<et2-description value="Application"></et2-description>
<!-- app.admin doesn't exist (for unknown reason), but accessing it through etemplate2 works -->
<et2-select id="acl_appname" onchange="let admin = app.admin ?? etemplate2.getById('admin-acl').app_obj.admin; admin.acl_reopen_dialog();" required="1" emptyLabel="Select one"></et2-select>
2014-06-25 17:39:34 +02:00
</row>
<row part="header">
<et2-description value="Data from" for="acl_account"></et2-description>
<!-- app.admin doesn't exist (for unknown reason), but accessing it through etemplate2 works -->
<et2-select-account id="acl_account" onchange="let admin = app.admin ?? etemplate2.getById('admin-acl').app_obj.admin; admin.acl_reopen_dialog();" accountType="both" required="1"></et2-select-account>
2014-06-25 17:39:34 +02:00
</row>
<row disabled="@acl_location=run" part="header">
<et2-description value="Access by" for="acl_location"></et2-description>
<et2-select-account id="acl_location" accountType="both"></et2-select-account>
2014-06-25 17:39:34 +02:00
</row>
<row valign="top" disabled="@acl_location=run">
<et2-description value="Rights"></et2-description>
2014-06-25 17:39:34 +02:00
<grid>
<columns>
<column/>
</columns>
<rows>
<row>
<et2-checkbox label="@label[$row]" id="acl[$row]" span="all" selectedValue="{$cont['right'][$row]}" unselectedValue="0"></et2-checkbox>
2014-06-25 17:39:34 +02:00
</row>
</rows>
</grid>
</row>
<row disabled="!@acl_location=run">
<et2-description value="Applications" for="apps"></et2-description>
<et2-select-app id="apps" rows="8" multiple="1"></et2-select-app>
2014-06-25 17:39:34 +02:00
</row>
</rows>
</grid>
</template>
2018-08-24 00:17:23 +02:00
<template id="admin.acl.edit" template="" lang="" group="0" version="1.9.001">
<et2-tabbox id="tabs" class="et2_nowrap" span="all" width="100%" tabHeight="250px">
2018-08-24 00:17:23 +02:00
<tabs>
<tab id="acl" label="Access" statustext="Access"/>
</tabs>
<tabpanels>
2018-08-24 00:17:23 +02:00
<template id="admin.acl.edit.acl"/>
</tabpanels>
</et2-tabbox>
2018-08-24 00:17:23 +02:00
</template>
</overlay>